@font-face {
  font-family: Manrope;
  src: url('assets/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #141414;
  --lime: #b6fa48;
  --cream: #f6f5ee;
  --muted: #a2a39a;
  --line: #35362f;
  --header-height: 84px;
  --page-gutter: clamp(24px, 4.3vw, 80px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

button:disabled {
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
fieldset,
p,
h1,
h2,
h3 {
  margin: 0;
}

svg {
  display: block;
}

em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

strong {
  font-weight: 750;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
}

.contact :focus-visible,
.about :focus-visible {
  outline-color: var(--ink);
}

[hidden] {
  display: none!important;
}

.wrap {
  width: min(100% - var(--page-gutter)*2, 1480px);
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 24px;
  transform: translateY(-200%);
  background: var(--lime);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(20, 20, 20, .94);
  border-bottom: 1px solid #ffffff14;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img,
.brand .logo-anim {
  width: 205px;
  height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.main-nav>a {
  position: relative;
  white-space: nowrap;
  transition: color .2s;
}

.main-nav>a:not(.nav-contact) {
  padding-block: 15px;
}

.main-nav>a:not(.nav-contact):after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.main-nav>a[aria-current=location]:not(.nav-contact):after {
  transform: scaleX(1);
}

.main-nav>a:not(.nav-contact):hover {
  color: var(--lime);
}

.nav-contact {
  margin-left: 16px;
  padding: 13px 21px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 100px;
  display: flex;
  gap: 21px;
  align-items: center;
  transition: background .2s!important;
}

.nav-contact span {
  font-size: 20px;
  line-height: 1;
}

.nav-contact:hover {
  background: #c5ff68;
}

.menu-toggle {
  display: none;
}

.eyebrow,
.section-note {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 650;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  font-size: 12px;
  font-weight: 650;
  border-bottom: 1px solid #77796c;
  padding-bottom: 7px;
}

.text-link span {
  font-size: 20px;
  line-height: 1;
}

.text-link:hover {
  color: var(--lime);
}

.reel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.94;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  text-align: left;
  background: #254a34;
}

.reel:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #08130b60 0%, transparent 30%, transparent 60%, #08130b9c 100%);
  z-index: 0;
  transition: background .3s;
}

.reel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .6, .3, 1), filter .5s;
}

.reel:hover .reel-image {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.reel-top,
.reel-bottom {
  position: absolute;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
}

.reel-top {
  top: 27px;
  font-size: 10px;
  letter-spacing: .11em;
  font-weight: 650;
}

.reel-top>span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.reel-bottom {
  bottom: 27px;
  font-size: 21px;
  letter-spacing: -.03em;
}

.reel-cta {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.reel-cta>span {
  font-size: 24px;
}

.play-large {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  background: #f6f5eeed;
  color: var(--ink);
  z-index: 2;
  transition: transform .3s, background .3s;
  box-shadow: 0 5px 40px #0002;
}

.play-large svg {
  height: 30px;
  width: 30px;
  margin-left: 1px;
  fill: currentColor;
}

.reel:hover .play-large {
  background: var(--lime);
  transform: translate(-50%, -50%) scale(1.06);
}

.projects {
  padding-top: 98px;
  padding-bottom: 105px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.section-note {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 28px 0 36px;
}

.projects h2 {
  font-size: clamp(44px, 4.45vw, 72px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.055em;
}

.projects h2 em {
  color: var(--lime);
  letter-spacing: -.05em;
  white-space: nowrap;
}

.filters {
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 100px;
  flex-shrink: 0;
}

.filters button {
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.filters button.active {
  background: var(--cream);
  color: var(--ink);
}

.filters button:hover:not(.active) {
  background: #ffffff10;
}

.filters sup {
  font-size: 8px;
  vertical-align: super;
  margin-left: 3px;
  font-weight: 600;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #24241f;
  isolation: isolate;
}

.project-button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.project-image {
  position: relative;
  aspect-ratio: 607/326;
  overflow: hidden;
}

.project-image:after {
  position: absolute;
  content: '';
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 36%, #0b0d0c20 52%, #0b0d0cbf 100%);
  transition: background .3s;
}

.project-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .6, .3, 1), filter .3s;
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.045);
  filter: brightness(.9);
}

.project-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%) scale(.8);
  height: 46px;
  width: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  padding-left: 2px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
}

.project-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.project-card:hover .project-play,
.project-card:focus-within .project-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-button:focus-visible {
  outline-offset: -4px;
  outline-width: 3px;
}

.project-caption {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.project-title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.25;
}

.project-type {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #f6f5eec9;
  white-space: nowrap;
}

.archive-row {
  margin-top: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.archive-row>p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid #64665a;
  border-radius: 100px;
  padding: 14px 23px;
  font-size: 12px;
  font-weight: 650;
  transition: background .2s, border-color .2s;
}

.outline-button span {
  font-size: 21px;
  line-height: 1;
}

.outline-button:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.about {
  background: var(--lime);
  color: var(--ink);
  padding-top: 65px;
  padding-bottom: 32px;
  overflow: hidden;
}

.about-layout {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 6%;
  align-items: center;
}

.avatar-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 490px;
  isolation: isolate;
}

.avatar-wrap img {
  height: 510px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 15px 13px #39540014);
}

.avatar-orbit {
  position: absolute;
  inset: 20% -5% 17%;
  border: 1px solid #20350e28;
  border-radius: 50%;
  transform: rotate(-22deg);
  z-index: 0;
}

.avatar-orbit:after {
  content: '';
  position: absolute;
  inset: 18px -16px;
  border: 1px solid #20350e17;
  border-radius: 50%;
}

.avatar-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  z-index: 3;
  font-size: 8px;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 650;
}

.about-copy {
  padding: 20px 0 30px;
}

.about-copy>.eyebrow {
  font-size: 9px;
  letter-spacing: .14em;
  margin-bottom: 28px;
}

.about h2 {
  font-size: clamp(37px, 4.25vw, 68px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.04;
  margin-bottom: 26px;
}

.about h2 em {
  letter-spacing: -.05em;
}

.about-copy>p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 570px;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.about-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  max-width: 570px;
}

.about-signature>span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 27px;
  font-style: italic;
  letter-spacing: -.04em;
}

.about-signature>a {
  font-size: 10px;
  font-weight: 650;
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #14141470;
  padding: 5px 0;
}

.about-signature>a>span {
  font-size: 19px;
}

.expertise-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #14141445;
  margin-top: 20px;
  padding: 26px 0 29px;
  gap: 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .01em;
}

.expertise-line i {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  color: #14141485;
}

.contact {
  background: var(--cream);
  color: var(--ink);
  padding: 85px 0 100px;
  color-scheme: light;
}

.contact .section-note {
  color: #696b62;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin-top: 50px;
}

.contact h2 {
  font-size: clamp(54px, 5.7vw, 90px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 500;
}

.contact h2 em {
  display: block;
  letter-spacing: -.05em;
}

.contact-copy>p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 32px;
  color: #5b5d53;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  font-size: 18px;
  letter-spacing: -.03em;
  margin-top: 34px;
  border-bottom: 0;
  padding-bottom: 10px;
}

.contact-email span {
  font-size: 24px;
}

.contact-form {
  padding-top: 4px;
}

.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .01em;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form label>span:not(.optional) {
  font-size: 10px;
}

.contact-form .optional {
  font-weight: 400;
  color: #65685b;
  font-size: 9px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #a9ac9e;
  background: none;
  padding: 14px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  transition: border-color .2s;
  box-shadow: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  border-bottom-width: 2px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #76796c;
  opacity: 1;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}

.form-bottom p {
  font-size: 9px;
  line-height: 1.7;
  color: #696c5e;
}

.solid-button {
  background: var(--lime);
  color: var(--ink);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 27px;
  white-space: nowrap;
  transition: background .2s;
}

.solid-button>span {
  font-size: 21px;
  line-height: 1;
}

.solid-button:hover {
  background: #a2e936;
}

.contact-status {
  font-size: 12px;
  margin-top: 16px;
  line-height: 1.7;
}

.contact-status:empty {
  display: none;
}

.contact-mail-link {
  margin-top: 14px;
}

.contact-mail-link:hover {
  color: #405719;
}

.footer {
  padding: 50px 0 22px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 55px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.footer-top>p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.back-top {
  margin-left: auto;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 23px;
}

.back-top span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
}

.back-top:hover span {
  color: var(--lime);
  border-color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 9px;
  color: var(--muted);
  padding-top: 22px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-links button {
  padding: 0;
  font-size: 9px;
}

.social-links a:hover,
.social-links button:hover {
  color: var(--cream);
}

dialog {
  color: var(--cream);
  background: #1b1c18;
  border: 1px solid #5c5e52;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 20px 100px #0007;
  max-height: calc(100dvh - 44px);
  overflow: auto;
}

dialog::backdrop {
  background: #080b07dc;
  backdrop-filter: blur(6px);
}

.video-dialog {
  width: min(1100px, calc(100% - 48px));
  max-width: none;
}

.dialog-bar {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dialog-bar h2 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.5;
}

.dialog-close {
  padding: 5px 0 5px 12px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.dialog-close span {
  font-size: 22px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--lime);
}

.video-container {
  aspect-ratio: 16/9;
  background: #080b07;
  display: grid;
  place-items: center;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
}

.video-footer a {
  color: var(--cream);
  white-space: nowrap;
}

.legal-dialog {
  width: min(680px, calc(100% - 40px));
}

.legal-content {
  padding: 10px 25px 30px;
  font-size: 13px;
  line-height: 1.9;
  color: #d2d4c7;
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  color: var(--cream);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-error {
  padding: 24px;
  text-align: center;
}

.video-error p {
  margin-bottom: 16px;
}

@media(min-width: 1600px) {
  .reel {
    aspect-ratio: 2.05;
  }
  .about-copy>p {
    font-size: 18px;
  }
  .project-title {
    font-size: 17px;
  }
  .project-type {
    font-size: 9px;
  }
}

@media(max-width: 1100px) {
  .main-nav {
    gap: 22px;
    font-size: 12px;
  }
  .nav-contact {
    margin-left: 0;
    padding: 12px 17px;
    gap: 12px;
  }
  .brand img,
  .brand .logo-anim {
    width: 180px;
  }
  .projects-heading {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .filters {
    align-self: flex-end;
  }
  .project-caption {
    flex-direction: column;
    align-items: start;
    gap: 4px;
    left: 14px;
    bottom: 13px;
  }
  .project-title {
    font-size: 14px;
  }
  .project-type {
    font-size: 7px;
  }
  .about-layout {
    gap: 4%;
    grid-template-columns: 30% 1fr;
  }
  .about h2 {
    font-size: 4.35vw;
  }
  .about-copy>p {
    font-size: 14px;
  }
  .avatar-wrap {
    min-height: 440px;
  }
  .avatar-wrap img {
    height: 435px;
  }
  .about-signature>span {
    font-size: 23px;
  }
  .about-signature>a {
    font-size: 9px;
  }
  .contact-layout {
    gap: 7%;
  }
  .contact h2 {
    font-size: 6.4vw;
  }
  .contact-email {
    font-size: 16px;
    gap: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-bottom {
    align-items: start;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .footer-top {
    gap: 35px;
  }
  .social-links {
    gap: 18px;
  }
}

@media(max-width: 820px) {
  :root {
    --header-height: 72px;
  }
  .header-inner {
    gap: 20px;
  }
  .header .brand img,
  .header .brand .logo-anim {
    width: 175px;
    height: 42px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    padding: 14px 0 14px 15px;
    font-weight: 650;
  }
  .menu-toggle i {
    position: relative;
    display: block;
    width: 22px;
    height: 12px;
    border-block: 1px solid currentColor;
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded=true] i {
    transform: rotate(-12deg);
    color: var(--lime);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #181916;
    border-bottom: 1px solid var(--line);
    padding: 20px var(--page-gutter) 25px;
    gap: 8px;
    align-items: stretch;
    box-shadow: 0 20px 30px #0003;
    font-size: 14px;
  }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }
  .main-nav>a:not(.nav-contact) {
    padding: 13px 0;
  }
  .main-nav>a:not(.nav-contact):after {
    width: 28px;
    bottom: 4px;
  }
  .nav-contact {
    align-self: start;
    margin-top: 12px;
    padding: 13px 20px;
    gap: 30px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .reel {
    aspect-ratio: 1.82;
    border-radius: 9px;
  }
  .reel-top,
  .reel-bottom {
    left: 22px;
    right: 22px;
  }
  .reel-top {
    font-size: 8px;
    top: 21px;
  }
  .reel-bottom {
    bottom: 21px;
    font-size: 18px;
  }
  .reel-cta {
    font-size: 11px;
    gap: 16px;
  }
  .play-large {
    width: 70px;
    height: 70px;
  }
  .play-large svg {
    width: 25px;
    height: 25px;
  }
  .projects {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section-note {
    font-size: 8px;
    letter-spacing: .07em;
  }
  .projects-heading {
    margin-top: 24px;
  }
  .projects h2 {
    font-size: 54px;
  }
  .filters {
    align-self: start;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .project-title {
    font-size: 15px;
  }
  .project-type {
    font-size: 8px;
  }
  .about {
    padding-top: 45px;
  }
  .about-layout {
    grid-template-columns: 29% 1fr;
    gap: 5%;
  }
  .about-copy {
    padding-top: 5px;
  }
  .about-copy>.eyebrow {
    font-size: 8px;
    letter-spacing: .08em;
    margin-bottom: 20px;
  }
  .about h2 {
    font-size: 4.7vw;
    margin-bottom: 22px;
  }
  .about-copy>p {
    font-size: 13px;
  }
  .avatar-wrap {
    min-height: 400px;
    align-items: center;
  }
  .avatar-wrap img {
    height: auto;
    max-height: 380px;
  }
  .about-signature {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }
  .about-signature>span {
    font-size: 23px;
  }
  .expertise-line {
    font-size: 9px;
    gap: 10px;
    margin-top: 15px;
    padding: 22px 0;
  }
  .expertise-line i {
    font-size: 17px;
  }
  .contact {
    padding-top: 60px;
    padding-bottom: 68px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 35px;
  }
  .contact h2 {
    font-size: 76px;
  }
  .contact-copy>p {
    margin-top: 25px;
  }
  .contact-email {
    margin-top: 24px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .form-bottom {
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 22px;
  }
  .footer-top .brand img {
    width: 180px;
  }
  .footer-top>p {
    font-size: 10px;
  }
  .back-top {
    font-size: 9px;
    gap: 14px;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .social-links {
    gap: 24px;
  }
  .video-footer {
    flex-direction: column;
    gap: 8px;
  }
  .video-dialog {
    width: calc(100% - 24px);
  }
}

@media(max-width: 560px) {
  .reel {
    aspect-ratio: 1.24;
  }
  .reel-image {
    object-position: 61% center;
  }
  .reel-top {
    top: 16px;
    left: 16px;
    right: 16px;
    font-size: 7px;
    letter-spacing: .08em;
  }
  .reel-top>span:last-child {
    display: none;
  }
  .reel-top .dot {
    width: 5px;
    height: 5px;
  }
  .reel-bottom {
    bottom: 15px;
    left: 16px;
    right: 16px;
    font-size: 13px;
    gap: 10px;
  }
  .reel-cta {
    font-size: 9px;
    gap: 9px;
  }
  .reel-cta>span {
    font-size: 18px;
  }
  .play-large {
    width: 62px;
    height: 62px;
  }
  .play-large svg {
    width: 23px;
    height: 23px;
  }
  .section-top>.section-note {
    display: none;
  }
  .projects {
    padding-top: 56px;
    padding-bottom: 57px;
  }
  .projects-heading {
    gap: 22px;
    margin: 20px 0 25px;
  }
  .projects h2 {
    font-size: 44px;
    line-height: 1.07;
    max-width: 300px;
  }
  .projects h2 em {
    display: block;
  }
  .filters {
    width: 100%;
    justify-content: space-between;
    padding: 4px;
    gap: 0;
  }
  .filters button {
    padding: 8px 11px;
    font-size: 9px;
  }
  .filters sup {
    font-size: 7px;
    margin-left: 1px;
  }
  .project-grid {
    gap: 11px 10px;
  }
  .project-card {
    border-radius: 5px;
  }
  .project-image {
    aspect-ratio: 1.18;
  }
  .project-image img {
    object-position: center;
  }
  .project-caption {
    bottom: 9px;
    left: 10px;
    right: 8px;
    gap: 4px;
  }
  .project-title {
    font-size: 12px;
    letter-spacing: -.03em;
    line-height: 1.25;
  }
  .project-type {
    font-size: 6px;
    letter-spacing: .07em;
    white-space: normal;
  }
  .project-play {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }
  .project-play svg {
    height: 14px;
    width: 14px;
  }
  .archive-row {
    margin-top: 25px;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .archive-row>p {
    font-size: 11px;
  }
  .outline-button {
    align-self: start;
    font-size: 10px;
    padding: 12px 18px;
    gap: 30px;
  }
  .about {
    padding-top: 39px;
  }
  .about-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
  }
  .about-copy {
    padding: 0;
    width: 100%;
  }
  .about-copy>.eyebrow {
    font-size: 8px;
    margin-bottom: 23px;
  }
  .about h2 {
    font-size: clamp(35px, 8.8vw, 48px);
    margin-bottom: 21px;
    line-height: 1.08;
  }
  .about-copy>p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 13px;
  }
  .about-signature {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .about-signature>span {
    font-size: 23px;
  }
  .about-signature>a {
    font-size: 8px;
    gap: 8px;
  }
  .avatar-wrap {
    min-height: 0;
    height: 285px;
    align-self: center;
    width: 245px;
    margin-top: 9px;
  }
  .avatar-wrap img {
    height: 285px;
    max-height: none;
    object-position: center bottom;
    width: auto;
    max-width: 100%;
  }
  .avatar-orbit {
    inset: 20% -5% 10%;
  }
  .avatar-caption {
    left: -34px;
    bottom: 33px;
    font-size: 7px;
  }
  .expertise-line {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12px;
    row-gap: 8px;
    margin-top: 25px;
    padding: 20px 0;
    font-size: 8px;
  }
  .expertise-line i {
    font-size: 14px;
  }
  .expertise-line i:nth-of-type(2) {
    display: none;
  }
  .contact {
    padding-top: 45px;
    padding-bottom: 50px;
  }
  .contact-layout {
    gap: 40px;
    margin-top: 27px;
  }
  .contact h2 {
    font-size: clamp(50px, 13.8vw, 74px);
  }
  .contact-copy>p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 24px;
  }
  .contact-email {
    font-size: 17px;
    margin-top: 24px;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form label {
    font-size: 10px;
    margin-bottom: 22px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .form-bottom {
    flex-direction: column-reverse;
    align-items: start;
    gap: 14px;
  }
  .solid-button {
    font-size: 11px;
    gap: 40px;
    padding: 15px 21px;
  }
  .form-bottom p {
    font-size: 9px;
  }
  .footer {
    padding: 34px 0 25px;
  }
  .footer-top {
    gap: 22px;
    padding-bottom: 27px;
    justify-content: space-between;
  }
  .footer-top .brand img {
    width: 160px;
    height: 40px;
  }
  .footer-top>p {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .back-top {
    font-size: 0;
    gap: 0;
  }
  .back-top span {
    font-size: 19px;
    width: 34px;
    height: 34px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 18px;
    padding-top: 23px;
  }
  .social-links {
    flex-wrap: wrap;
    gap: 18px;
    font-size: 9px;
  }
  .social-links button {
    font-size: 8px;
  }
  .dialog-bar {
    padding: 12px 14px;
    gap: 15px;
  }
  .dialog-bar h2 {
    font-size: 11px;
  }
  .dialog-close {
    font-size: 9px;
    gap: 9px;
    padding-left: 0;
  }
  .video-footer {
    padding: 12px 14px;
    font-size: 8px;
  }
  .legal-content {
    font-size: 12px;
    padding: 12px 18px 20px;
  }
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none!important;
    animation: none!important;
  }
}

section[id] {
  scroll-margin-top: 0;
}

.testimonials {
  --muted: #696b62;
  --line: #14141426;
  background: var(--cream);
  color: var(--ink);
  color-scheme: light;
  padding: 70px 0 73px;
}

.testimonials :focus-visible {
  outline-color: var(--ink);
}

.testimonials-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 37px;
}

.testimonials h2 {
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: clamp(37px, 3.6vw, 57px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.testimonials-heading>.text-link {
  flex-shrink: 0;
  gap: 14px;
  margin-bottom: 4px;
  font-size: 11px;
  border-color: #696b62;
}

.testimonials .text-link:hover {
  color: #55594b;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 130px repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.review-summary {
  min-width: 0;
}

.malt-badge {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 6px;
  margin-bottom: 19px;
  border-radius: 50%;
  background: #ff7370;
}

.malt-badge img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.review-score {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1;
}

.review-score small {
  font-size: 19px;
  letter-spacing: -.02em;
  color: var(--muted);
  margin-left: 4px;
}

.review-stars {
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 7px;
}

.review-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 17px;
  margin: 23px 0 0;
}

.review-stats>div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}

.review-stats dt {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.review-stats dd {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
  margin: 0;
}

.review-quote {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.review-quote blockquote {
  order: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -.01em;
  font-weight: 450;
  overflow-wrap: anywhere;
}

.review-quote blockquote p+p {
  margin-top: 12px;
}

.review-quote .review-author {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 24px;
  padding-top: 0;
  font-size: 11px;
  line-height: 1.5;
}

.review-author>img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
}

.review-author>div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.review-author strong {
  font-size: 12px;
  font-weight: 650;
}

.review-author span {
  color: var(--muted);
}

.review-quote .review-origin {
  align-self: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-quote .review-origin:hover {
  color: var(--ink);
}

@media(max-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
  .review-summary {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .malt-badge {
    margin: 0;
  }
  .review-score {
    font-size: 49px;
  }
  .review-stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 0 0 0 10px;
  }
  .review-quote {
    padding-left: 22px;
  }
  .review-quote:nth-of-type(1) {
    border-left: 0;
    padding-left: 0;
  }
}

@media(max-width: 850px) {
  .testimonials {
    padding: 53px 0 56px;
  }
  .testimonials-heading {
    align-items: start;
    flex-direction: column;
    gap: 19px;
    margin-bottom: 30px;
  }
  .testimonials h2 {
    font-size: 45px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .review-summary {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .review-quote,
  .review-quote:nth-of-type(1) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0 0;
  }
  .review-quote blockquote {
    font-size: 15px;
    line-height: 1.75;
  }
  .review-quote .review-author {
    padding-top: 0;
  }
}

@media(max-width: 560px) {
  .testimonials {
    padding: 43px 0 47px;
  }
  .testimonials-heading {
    margin-bottom: 29px;
    gap: 18px;
  }
  .testimonials h2 {
    font-size: 39px;
    line-height: 1.1;
  }
  .testimonials-heading>.text-link {
    font-size: 10px;
    gap: 15px;
  }
  .review-summary {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 15px 24px;
    align-items: center;
  }
  .malt-badge {
    grid-column: 1;
    grid-row: 1;
    width: 72px;
    height: 72px;
    padding: 4.5px;
  }
  .malt-badge img {
    width: 63px;
    height: 63px;
  }
  .review-rating {
    grid-column: 1;
    grid-row: 2;
  }
  .review-score {
    font-size: 48px;
  }
  .review-score small {
    font-size: 18px;
  }
  .review-stars {
    font-size: 11px;
    margin-top: 5px;
  }
  .review-stats {
    grid-column: 2;
    grid-row: 1/span 2;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
  }
  .review-stats dd {
    font-size: 24px;
  }
  .review-stats dt {
    font-size: 10px;
  }
  .review-quote .review-author {
    padding-top: 0;
  }
}

.project-card {
  box-shadow: 0 0 0 1px #b6fa4800, 0 0 18px #b6fa4800, 0 0 38px #b6fa4800;
  transition: box-shadow .55s cubic-bezier(.2, .6, .3, 1);
}

.project-card:hover,
.project-card:focus-within {
  z-index: 1;
  box-shadow: 0 0 0 1px #b6fa48cc, 0 0 18px #b6fa4873, 0 0 38px #b6fa484d;
}

.intro {
  margin-top: 44px;
  background: #191919;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 38px;
  box-shadow: 0 0 30px #b6fa4812;
}

.intro-text {
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.45;
  letter-spacing: -.035em;
  font-weight: 450;
}

.intro-text strong {
  display: block;
  font-weight: 600;
}

.intro-text>span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -.01em;
  color: #b5b7ac;
}

.intro-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  color: #f6f5eed9;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.intro-signature>img {
  width: 26px;
  height: 23px;
  object-fit: contain;
  flex-shrink: 0;
}

.intro-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 26px 0 0;
  margin: 27px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  align-content: start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

.process-card+.process-card {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.process-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 600;
  color: var(--cream);
}

.process-card p {
  grid-column: 2;
  grid-row: 2;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--muted);
  margin: 7px 0 0;
  max-width: none;
}

.process-card>img,
.process-card>.picto {
  grid-column: 1;
  grid-row: 1/span 2;
  align-self: start;
  height: 40px;
  width: 40px;
  object-fit: contain;
  margin: 1px 0 0;
}

.process-break {
  display: none;
}

.intro+.projects {
  padding-top: 63px;
}

@media(max-width: 1000px) {
  .intro {
    padding: 30px;
  }
  .intro-steps {
    gap: 20px;
  }
  .process-card {
    column-gap: 13px;
  }
  .process-card+.process-card {
    padding-left: 20px;
  }
}

@media(max-width: 820px) {
  .intro {
    margin-top: 34px;
    padding: 28px;
  }
  .intro-text {
    font-size: 22px;
  }
  .intro-steps {
    gap: 17px;
  }
  .process-card {
    column-gap: 11px;
  }
  .process-card+.process-card {
    padding-left: 17px;
  }
  .process-card h3 {
    font-size: 17px;
  }
  .intro+.projects {
    padding-top: 54px;
  }
}

@media(max-width: 760px) {
  .intro-steps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 23px;
    margin-top: 24px;
  }
  .process-card {
    column-gap: 17px;
  }
  .process-card+.process-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
  }
  .process-card h3 {
    font-size: 18px;
  }
  .process-card p {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media(max-width: 560px) {
  .intro {
    margin-top: 28px;
    padding: 25px 22px;
    border-radius: 9px;
  }
  .intro-text {
    font-size: 20px;
    line-height: 1.45;
  }
  .intro-text>span {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
  }
  .intro-signature {
    font-size: 20px;
    margin-top: 17px;
    gap: 12px;
  }
  .intro-signature>img {
    width: 25px;
    height: 22px;
  }
  .process-card {
    column-gap: 14px;
  }
  .process-card h3 {
    font-size: 17px;
  }
  .process-card p {
    font-size: 13px;
  }
  .intro+.projects {
    padding-top: 47px;
  }
}

@media(max-width: 560px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
  .contact-form label {
    font-size: 11px;
  }
  .filters button {
    min-height: 36px;
  }
}

.showreels {
  padding-top: 44px;
}

.showreels-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.showreels h2 {
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: clamp(29px, 2.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.05em;
  color: var(--lime);
}

.showreels h2>span {
  color: var(--lime);
}

@media(max-width: 560px) {
  #showreel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #showreel-grid .project-image {
    aspect-ratio: 607/326;
  }
}

.solid-button svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.contact-email {
  font-family: Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
}

.contact-form .solid-button {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  gap: 24px;
}

.archive-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--lime);
  transition: opacity .2s ease;
}

.archive-toggle:hover {
  opacity: .75;
}

.archive-toggle svg {
  display: block;
  width: 42px;
  height: 42px;
  transition: transform .25s ease;
}

.archive-toggle[aria-expanded=true] svg {
  transform: rotate(180deg);
}

@media(max-width: 820px) {
  .showreels {
    padding-top: 34px;
  }
  .showreels-heading {
    margin-bottom: 21px;
  }
}

@media(max-width: 560px) {
  .showreels {
    padding-top: 28px;
  }
  .showreels-heading {
    margin-bottom: 18px;
  }
  .showreels h2 {
    font-size: 30px;
  }
  .showreels .section-note {
    display: none;
  }
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: var(--header-height);
}

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #080b12;
  isolation: isolate;
}

.hero-video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}

/* La vidéo apparaît en fondu dès qu'elle joue ; avant cela, les deux flèches tournent par demi-tours au centre. */
.hero-video[data-playback] video {
  opacity: 1;
}

.hero-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity .4s ease;
}

.hero-loader svg {
  width: clamp(40px, 4.5vw, 80px);
  height: auto;
  animation: hero-loader 1.6s cubic-bezier(.65, 0, .35, 1) infinite;
}

.hero-video[data-playback] .hero-loader {
  opacity: 0;
}

.hero-video[data-playback] .hero-loader svg {
  animation-play-state: paused;
}

@keyframes hero-loader {
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media(prefers-reduced-motion: reduce) {
  .hero-loader svg {
    animation: none;
  }
}

.hero-video:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #080e1b4d, transparent 65%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: clamp(20px, 3.8vw, 76px);
  left: var(--page-gutter);
  right: var(--page-gutter);
  margin: 0;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(22px, 5.6vw, 112px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  color: var(--cream);
  text-shadow: none;
}

.hero h1>span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 750;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--lime);
}

.intro {
  --line: #14141438;
  --muted: #35431d;
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  padding: 40px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.intro .intro-steps {
  border: 0;
  padding-top: 0;
  margin-top: 30px;
}

.intro .process-card,
.intro .process-card+.process-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 248px;
  border: 1px solid #14141470;
  padding: 28px 24px;
  border-radius: 7px;
  background: transparent;
  text-align: center;
}

.intro .intro-signature {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
}

@media(max-width: 560px) {
  .intro {
    padding: 32px 0;
  }
  .intro .process-card,
  .intro .process-card+.process-card {
    min-height: 235px;
    padding: 26px 22px;
    border-radius: 5px;
  }
}

.intro-text>span {
  color: #35431d;
}

.intro-text strong {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
}

.intro-signature,
.intro .process-card h3 {
  color: var(--ink);
}

.intro .process-card p {
  order: 3;
  color: #35431d;
  margin: 0;
  max-width: 34ch;
}

.intro .process-card h3 {
  order: 2;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
}

.intro .process-card>img,
.intro .process-card>.picto {
  order: 1;
  align-self: center;
  width: 44px;
  height: 44px;
  margin: 0 0 3px;
}

.intro-signature>img,
.intro .process-card>img,
.intro .process-card>.picto {
  filter: brightness(0);
  opacity: .9;
}

.contact {
  background: var(--lime);
  color: var(--ink);
}

.nav-contact svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.contact-layout {
  margin-top: 0;
  gap: 7%;
  align-items: start;
}

.contact h2 {
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  padding: 28px 32px;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(30px, 3.75vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.contact h2>span,
.contact h2 em {
  display: block;
}

.contact h2 em {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 750;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--lime);
  white-space: nowrap;
}

.contact-copy>p {
  color: #35431d;
  margin-top: 27px;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.contact-email {
  padding-bottom: 0;
}

.contact-email:hover {
  color: #3c501e;
}

.contact-form label {
  color: var(--ink);
}

.contact-form .optional,
.contact .form-bottom p {
  color: #3c501e;
}

.contact-form input,
.contact-form textarea {
  font-size: 14px;
  border-color: #14141480;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #3c501e;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.contact-form .solid-button {
  background: var(--ink);
  color: var(--cream);
  padding: 16px 24px;
}

.contact-form .solid-button svg {
  color: var(--lime);
}

.contact-form .solid-button:hover {
  background: #2c3520;
}

.contact .contact-mail-link {
  border-color: var(--ink);
}

.contact .contact-mail-link:hover {
  color: #3c501e;
}

@media(max-width: 820px) {
  .contact-layout {
    margin-top: 0;
    gap: 40px;
  }
  .contact h2 {
    font-size: clamp(30px, 6.8vw, 54px);
    padding: 26px 30px;
  }
  .contact-copy {
    max-width: 620px;
  }
}

@media(max-width: 560px) {
  .contact h2 {
    font-size: clamp(25px, 7.8vw, 42px);
    padding: 24px 20px;
    border-radius: 8px;
  }
  .contact-layout {
    gap: 34px;
  }
  .contact-copy>p {
    margin-top: 24px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

.projects h2,
.projects h2 em {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Shared spacing between the main sections. */

:root {
  --section-space: 64px;
  --section-heading-gap: 32px;
}

.showreels,
.intro,
.projects,
.intro+.projects,
.about,
.testimonials,
.contact {
  padding-block: var(--section-space);
}

.intro {
  margin-top: 0;
}

.projects-heading {
  margin-top: 0;
  margin-bottom: var(--section-heading-gap);
}

.showreels-heading,
.testimonials-heading {
  margin-top: 0;
  margin-bottom: var(--section-heading-gap);
}

.footer {
  padding-top: var(--section-space);
}

@media(max-width: 820px) {
  :root {
    --section-space: 48px;
    --section-heading-gap: 28px;
  }
}

@media(max-width: 560px) {
  :root {
    --section-space: 36px;
    --section-heading-gap: 24px;
  }
}

.about-copy {
  container-type: inline-size;
}

.about h2 {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(18px, 7.5cqi, 68px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.about h2>span {
  display: block;
  white-space: nowrap;
}

.review-summary-details {
  min-width: 0;
}

.review-summary-link {
  font-size: 10px;
  gap: 0;
  margin-top: 18px;
  padding-bottom: 5px;
}

@media(max-width: 1100px) {
  .review-summary-details .review-stats {
    margin: 0;
  }
}

@media(max-width: 560px) {
  .review-summary-details {
    grid-column: 2;
    grid-row: 1/span 2;
  }
}

.filters button {
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.filters {
  border-color: transparent;
  box-shadow: 0 0 16px #b6fa4838, 0 0 32px #b6fa481f;
}

.filters {
  position: relative;
  isolation: isolate;
}

.filters:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pill-width, 0px);
  height: var(--pill-height, 0px);
  transform: translate(var(--pill-x, 0px), var(--pill-y, 0px));
  border-radius: 100px;
  background: var(--lime);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}

.filters[data-indicator-ready]:before {
  opacity: 1;
  transition: transform .32s cubic-bezier(.22, .68, .25, 1), width .32s cubic-bezier(.22, .68, .25, 1), height .32s ease;
}

.filters button {
  position: relative;
  z-index: 1;
}

.filters button.active {
  background: transparent;
  color: var(--ink);
}

.filters:not([data-indicator-ready]) button.active {
  background: var(--lime);
}

.projects-heading {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: var(--ink);
  padding-block: 16px;
}

.floating-back-top {
  position: fixed;
  z-index: 90;
  left: 24px;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: #141414f2;
  color: var(--lime);
  box-shadow: 0 2px 18px #0004;
  transition: background .2s, box-shadow .2s;
}

.floating-back-top svg {
  width: 26px;
  height: 26px;
  transform: rotate(-90deg);
}

.floating-back-top:hover {
  background: #253516;
  box-shadow: 0 0 18px #b6fa4838;
}

@media(max-width: 560px) {
  .floating-back-top {
    left: 16px;
  }
}

.back-top-slot {
  margin-left: auto;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.floating-back-top {
  left: auto;
  right: var(--back-top-right, calc(var(--page-gutter) - 5px));
  bottom: max(var(--back-top-bottom, 97px), calc(env(safe-area-inset-bottom) + 16px));
}

@media(max-width: 560px) {
  .back-top-slot {
    width: 34px;
    height: 34px;
  }
}

.floating-back-top {
  border-color: transparent;
  box-shadow: 0 0 16px #b6fa4838, 0 0 32px #b6fa481f;
}

.floating-back-top:hover {
  box-shadow: 0 0 16px #b6fa4838, 0 0 32px #b6fa481f;
}

.contact h2 {
  background: transparent;
  color: var(--ink);
  padding: 0;
  border-radius: 0;
}

.contact h2 em {
  color: var(--ink);
}

.contact-icon {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 0 20px;
  object-fit: contain;
}

@media(max-width: 560px) {
  .contact-icon {
    width: 144px;
    height: 144px;
    margin-bottom: 16px;
  }
}

.contact h2,
.contact h2 em {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
}

.contact-icon {
  width: 196px;
  height: 196px;
  margin-bottom: 12px;
}

.contact-copy>p {
  margin-top: 20px;
}

.contact-email {
  margin-top: 20px;
}

@media(min-width: 821px) {
  .contact-layout {
    align-items: stretch;
  }
  .contact-form {
    display: flex;
    flex-direction: column;
  }
  .contact-form>label[for=contact-message] {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .contact-form textarea {
    flex: 1;
  }
}

@media(max-width: 560px) {
  .contact-icon {
    width: 156px;
    height: 156px;
    margin-bottom: 12px;
  }
}

/* Enlarge the contact introduction proportionally and bring it toward the centre. */

@media(min-width: 821px) {
  .contact-layout {
    grid-template-columns: minmax(0, 55fr) minmax(0, 40fr);
    gap: 5%;
  }
}

.contact-icon {
  width: 245px;
  height: 245px;
  margin-bottom: 15px;
}

.contact h2 {
  font-size: clamp(37.5px, 4.6875vw, 75px);
}

.contact-copy>p {
  font-size: clamp(20px, 1.8125vw, 25px);
  margin-top: 25px;
}

.contact-email {
  font-size: 22.5px;
  margin-top: 25px;
}

@media(max-width: 1100px) {
  .contact-email {
    font-size: 20px;
  }
}

@media(max-width: 820px) {
  .contact h2 {
    font-size: clamp(37.5px, 8.5vw, 67.5px);
  }
  .contact-copy {
    max-width: 100%;
  }
}

@media(max-width: 560px) {
  .contact-icon {
    width: 195px;
    height: 195px;
    margin-bottom: 15px;
  }
  .contact h2 {
    font-size: clamp(25px, 9.75vw, 52.5px);
  }
  .contact-email {
    font-size: 21.25px;
  }
}

/* Compact contact spacing while retaining the current typography and button sizes. */

.contact {
  padding-block: 32px;
}

.contact-icon {
  height: auto;
  margin: 0 0 10px;
}

.contact-copy>p {
  margin-top: 14px;
}

.contact-email {
  margin-top: 14px;
}

.contact-form label {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  padding-block: 10px;
}

.contact-form textarea {
  min-height: 88px;
}

.contact .form-bottom {
  margin-top: 0;
  gap: 14px;
}

@media(max-width: 820px) {
  .contact-layout {
    row-gap: 24px;
  }
}

@media(max-width: 560px) {
  .contact {
    padding-block: 24px;
  }
  .contact-layout {
    row-gap: 20px;
  }
  .contact-icon {
    height: auto;
    margin-bottom: 10px;
  }
  .contact-form label {
    margin-bottom: 14px;
  }
}

.about-signature>span {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* ==========================================================================
   Animations d'entrée
   Le contenu reste visible sans JavaScript et avec « réduire les animations » :
   l'état masqué n'est activé que par app.js (classes .reveal-ready / .draw-ready).
   ========================================================================== */

/* 1. Titre du header : masque de chaque ligne (l'animation est celle des titres, section 1 bis) */
.hero-line {
  overflow: hidden;
  /* marge basse/droite : laisse passer les jambages et l'italique sans décaler la mise en page */
  padding: 0 .15em .16em 0;
  margin: 0 -.15em -.16em 0;
}

.hero-line-in {
  display: block;
  transform-origin: 0 100%;
}

/* 1 bis. Titres : une bande se dessine de gauche à droite, puis se retire vers la droite en découvrant le texte.
   Au bord de la bande, trois carrés « glitch » qui se chevauchent scintillent et la suivent (invisibles au départ).
   Couleurs : --wipe-color (bande et carrés) et --wipe-accent (le carré du milieu) ; durée : --wipe-time ;
   décalage entre lignes : 0,1 s (--w posé par app.js). Débord de la bande autour du texte : top/bottom/left/right. */
.wipe {
  --wipe-color: var(--lime);
  --wipe-accent: var(--cream);
  --wipe-time: .75s;
  --wipe-delay: 0s;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.about .wipe {
  --wipe-color: var(--cream);
  --wipe-accent: var(--ink);
}

.hero .wipe {
  --wipe-delay: .3s;
}

.hero-line.wipe {
  overflow: visible;
}

/* Bande */
.wipe:after {
  content: '';
  position: absolute;
  top: -.06em;
  bottom: -.14em;
  left: -.1em;
  right: -.16em;
  background: var(--wipe-color);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Petits carrés : une bande étroite, centrée sur le bord en mouvement de la bande */
.wipe:before {
  --px: var(--wipe-color);
  --px2: var(--wipe-accent);
  content: '';
  position: absolute;
  z-index: 1;
  top: -.22em;
  bottom: -.3em;
  left: -.1em;
  width: 1em;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--px), var(--px)) 55% 32% / .34em .34em no-repeat,
    linear-gradient(var(--px2), var(--px2)) 78% 46% / .24em .24em no-repeat,
    linear-gradient(var(--px), var(--px)) 42% 58% / .28em .28em no-repeat;
}

.hero .wipe:after {
  bottom: -.02em;
  right: 0;
}

.hero .wipe:before {
  bottom: -.16em;
}

.wipe-in {
  display: inline-block;
}

.wipe-ready .wipe .wipe-in {
  opacity: 0;
}

.wipe-ready .wipe.is-wiped:after {
  animation: wipe-bar var(--wipe-time) linear calc(var(--wipe-delay) + var(--w, 0) * .1s) both;
}

.wipe-ready .wipe.is-wiped:before {
  animation:
    wipe-pixels var(--wipe-time) linear calc(var(--wipe-delay) + var(--w, 0) * .1s) both,
    wipe-pixels-flicker .12s steps(1, end) calc(var(--wipe-delay) + var(--w, 0) * .1s) 7;
}

.wipe-ready .wipe.is-wiped .wipe-in {
  animation: wipe-text var(--wipe-time) step-end calc(var(--wipe-delay) + var(--w, 0) * .1s) both;
}

/* Bande : aller (0-48 %), retour (52-100 %). */
@keyframes wipe-bar {
  0% {
    transform: scaleX(0);
    transform-origin: left;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  48%,
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50.1% {
    transform: scaleX(1);
    transform-origin: right;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* Les carrés suivent le bord avant de la bande à l'aller, puis son bord arrière au retour (même courbe). */
@keyframes wipe-pixels {
  0% {
    left: -.1em;
    opacity: 0;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  12%,
  40% {
    opacity: 1;
  }
  48% {
    left: calc(100% + .16em);
    opacity: 0;
  }
  50.1% {
    left: -.1em;
    opacity: 0;
  }
  52% {
    left: -.1em;
    opacity: 0;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  62%,
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% + .16em);
    opacity: 0;
  }
}

/* Scintillement : les carrés changent de place par à-coups, en restant groupés */
@keyframes wipe-pixels-flicker {
  0% {
    background-position: 55% 32%, 78% 46%, 42% 58%;
  }
  33% {
    background-position: 40% 62%, 24% 52%, 60% 74%;
  }
  66% {
    background-position: 70% 22%, 50% 36%, 82% 40%;
  }
}

/* Deuxième ligne de chaque titre (.wipe--alt) : bande blanc cassé qui balaie dans l'autre sens
   (de droite à gauche, puis se retire vers la gauche) ; les carrés la suivent de la même façon. */
.wipe--alt {
  --wipe-color: var(--cream);
  --wipe-accent: var(--lime);
}

.about .wipe--alt {
  --wipe-color: var(--cream);
  --wipe-accent: var(--ink);
}

.wipe--alt:after {
  transform-origin: right;
}

.wipe-ready .wipe.wipe--alt.is-wiped:after {
  animation-name: wipe-bar-alt;
}

.wipe-ready .wipe.wipe--alt.is-wiped:before {
  animation-name: wipe-pixels-alt, wipe-pixels-flicker;
}

@keyframes wipe-bar-alt {
  0% {
    transform: scaleX(0);
    transform-origin: right;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  48%,
  50% {
    transform: scaleX(1);
    transform-origin: right;
  }
  50.1% {
    transform: scaleX(1);
    transform-origin: left;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  100% {
    transform: scaleX(0);
    transform-origin: left;
  }
}

@keyframes wipe-pixels-alt {
  0% {
    left: calc(100% + .16em);
    opacity: 0;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  12%,
  40% {
    opacity: 1;
  }
  48% {
    left: -.1em;
    opacity: 0;
  }
  50.1% {
    left: calc(100% + .16em);
    opacity: 0;
  }
  52% {
    left: calc(100% + .16em);
    opacity: 0;
    animation-timing-function: cubic-bezier(.7, 0, .3, 1);
  }
  62%,
  88% {
    opacity: 1;
  }
  100% {
    left: -.1em;
    opacity: 0;
  }
}

/* Texte : invisible sous la bande, visible dès qu'elle est pleine. */
@keyframes wipe-text {
  0% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}

/* 2. Galerie : vignettes en cascade (--stagger posé par app.js) */
#project-grid.reveal-ready .project-card {
  opacity: 0;
  transform: translateY(18px) scale(.98);
}

#project-grid.reveal-ready .project-card.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .5s cubic-bezier(.16, .84, .24, 1);
  transition-delay: calc(var(--stagger, 0) * 45ms);
}

#project-grid.reveal-ready .project-card.is-quick {
  transition: none;
}

/* 3. Présentation : les pictos se tracent, puis se remplissent */
.draw-ready .picto path {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
}

.draw-ready .is-drawn .picto path {
  animation: picto-draw 1.5s cubic-bezier(.45, .05, .25, 1) both;
  animation-delay: calc(var(--card-delay, 0s) + var(--p, 0) * 70ms);
}

.picto path:nth-child(2) { --p: 1; }
.picto path:nth-child(3) { --p: 2; }
.picto path:nth-child(4) { --p: 3; }
.picto path:nth-child(5) { --p: 4; }
.picto path:nth-child(6) { --p: 5; }
.picto path:nth-child(7) { --p: 6; }
.picto path:nth-child(8) { --p: 7; }

@keyframes picto-draw {
  0% {
    stroke-dashoffset: 1;
    stroke-opacity: 1;
    fill-opacity: 0;
  }
  62% {
    stroke-dashoffset: 0;
    stroke-opacity: 1;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-opacity: 0;
    fill-opacity: 1;
  }
}

/* 4. Logo du contact : la bulle entre par la gauche en tournant légèrement, les traits se tracent derrière elle,
   puis le triangle plein apparaît par un effet d'échelle. Au repos (état final) : triangle noir plein.
   L'état « caché » n'existe que pendant l'animation (.cp-ready). */
.cp-logo {
  overflow: visible;
}

.cp-bubble,
.cp-play {
  transform-box: fill-box;
  transform-origin: center;
}

.cp-play {
  fill: currentColor;
}

.cp-logo.cp-ready .cp-trails path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.cp-logo.cp-ready .cp-play {
  transform: scale(0);
}

.cp-logo.cp-play-in .cp-play {
  animation: cp-play-pop .55s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes cp-play-pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* 5. Logo Malt : un tour complet, freiné jusqu'à l'arrêt (classe posée par app.js à l'arrivée dans l'écran) */
.malt-badge.is-spinning {
  animation: malt-spin 1.5s cubic-bezier(.12, .7, .2, 1) both;
}

@keyframes malt-spin {
  from {
    transform: rotate(-360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* 6. Tête 3D : elle surgit du bas (de la section des avis) avec un léger rebond, jusqu'à sa place,
   centrée en hauteur avec le texte. Départ : sous le bord inférieur de la section À propos, qui la masque
   (overflow: hidden).
   Réglages : durée et courbe du rebond dans .avatar-stack.rise-ready.is-risen. */
.avatar-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: end;
}

/* Départ de la montée : --rise-from (posé par app.js) = distance jusqu'au bas de la section, + une marge. */
.avatar-stack.rise-ready {
  transform: translateY(var(--rise-from, 120%));
}

.avatar-stack.rise-ready.is-risen {
  transform: none;
  transition: transform .85s cubic-bezier(.3, 1.3, .55, 1);
}

/* 7. Logo du header : les lettres entrent par la gauche de l'écran (de la dernière à la première), sans rebond,
   puis les deux chevrons se dessinent, puis le point apparaît. Réglages : délais et durées ci-dessous. */
.logo-anim {
  overflow: visible;
}

.logo-word text {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: logo-letter .95s cubic-bezier(.16, .84, .3, 1) both;
  animation-delay: calc(.12s + var(--i) * 60ms);
}

@keyframes logo-letter {
  from {
    transform: translateX(-1500px) skewX(-18deg);
  }
  to {
    transform: none;
  }
}

.logo-arrows path {
  animation: logo-draw .5s cubic-bezier(.5, 0, .2, 1) both;
  animation-delay: 1.2s;
}

.logo-arrows path+path {
  animation-delay: 1.34s;
}

@keyframes logo-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}

.logo-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-dot .55s cubic-bezier(.2, .8, .3, 1) both;
  animation-delay: 1.75s;
}

@keyframes logo-dot {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* ==========================================================================
   8. Autres animations
   ========================================================================== */

/* Vignettes : un contour vert se trace autour de la carte au survol / au focus clavier.
   Il part du milieu du bord inférieur et monte des deux côtés à la fois, jusqu'à se refermer en haut au milieu. */
@property --trace {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.project-card:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 2px solid var(--lime);
  border-radius: 7px;
  pointer-events: none;
  -webkit-mask: conic-gradient(from 180deg, #000 calc(var(--trace) / 2), transparent 0 calc(360deg - var(--trace) / 2), #000 0);
  mask: conic-gradient(from 180deg, #000 calc(var(--trace) / 2), transparent 0 calc(360deg - var(--trace) / 2), #000 0);
  transition: --trace .7s cubic-bezier(.4, 0, .2, 1);
}

.project-card:hover:after,
.project-card:focus-within:after {
  --trace: 360deg;
}

/* Apparition douce des blocs (classe .reveal-js posée par app.js) */
.reveal-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .85s cubic-bezier(.16, .84, .24, 1);
  transition-delay: calc(var(--rd, 0) * 90ms);
}

/* Chevrons de la signature : ils se découvrent de gauche à droite */
.reveal-js .intro-signature>img {
  clip-path: inset(0 100% 0 0);
  transform: translateX(-10px);
}

.reveal-js .intro-signature.is-revealed>img {
  clip-path: inset(0);
  transform: none;
  transition: clip-path .7s cubic-bezier(.4, 0, .2, 1) .15s, transform .7s cubic-bezier(.16, .84, .24, 1) .15s;
}

/* Étoiles de la note : elles s'allument une à une */
.star-ready .star {
  opacity: .15;
  transform: scale(.4);
}

.star-ready.is-lit .star {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .3, 1);
  transition-delay: calc(var(--s) * 110ms);
}

.review-stars .star {
  display: inline-block;
}

/* Boutons « Envoyer » et « Parlons de votre projet » : les chevrons filent vers la droite au survol */
.solid-button:hover svg,
.solid-button:focus-visible svg,
.nav-contact:hover svg,
.nav-contact:focus-visible svg {
  animation: chevrons-run .55s cubic-bezier(.4, 0, .2, 1);
}

@keyframes chevrons-run {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(10px);
    opacity: 0;
  }
  46% {
    transform: translateX(-10px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Message de confirmation du formulaire */
.contact-status:not(:empty) {
  animation: status-in .5s cubic-bezier(.16, .84, .24, 1) both;
}

@keyframes status-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Bouton flottant : les chevrons « respirent » doucement */
.floating-back-top svg {
  animation: chevrons-breathe 2.6s ease-in-out infinite;
}

.floating-back-top:hover svg {
  animation-play-state: paused;
}

@keyframes chevrons-breathe {
  0%, 100% {
    transform: rotate(-90deg) translateX(0);
  }
  50% {
    transform: rotate(-90deg) translateX(3px);
  }
}


/* Flèches « afficher tous les projets » : au survol, elles sautent sur elles-mêmes et s'entourent d'un halo vert */
.archive-toggle:hover {
  opacity: 1;
}

.archive-toggle svg {
  transition: transform .25s ease, filter .3s ease;
}

.archive-toggle:hover svg,
.archive-toggle:focus-visible svg {
  filter: drop-shadow(0 0 6px #b6fa48b3) drop-shadow(0 0 16px #b6fa4866);
}

.archive-toggle:hover,
.archive-toggle:focus-visible {
  animation: arrows-hop .6s cubic-bezier(.3, 0, .3, 1);
}

@keyframes arrows-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  55% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-4px);
  }
}

/* Cartouches Objectif / Histoire / Réalisation : au survol, fond noir et contenu en vert.
   Le contenu de repos (picto, titre, texte) s'efface en remontant, le titre rétrécit ; un second calque
   (.card-hover, ajouté dans le HTML) apparaît en fondu : titre fin et petit, texte en gras plus grand.
   Uniquement des fondus et des transformations, pour une animation fluide. Réglages : --card-ease et durées. */
.intro .process-card {
  --card-ease: cubic-bezier(.33, 0, .2, 1);
  position: relative;
  overflow: hidden;
  transition: background-color .7s var(--card-ease), border-color .7s var(--card-ease);
}

.intro .process-card>.picto,
.intro .process-card>h3,
.intro .process-card>p {
  transition: opacity .55s var(--card-ease) .12s, transform .8s var(--card-ease) .05s;
}

.intro .process-card:hover,
.intro .process-card:hover+.process-card:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.intro .process-card:hover>.picto,
.intro .process-card:hover>h3,
.intro .process-card:hover>p {
  opacity: 0;
  transition: opacity .4s var(--card-ease), transform .8s var(--card-ease);
}

.intro .process-card:hover>.picto {
  transform: translateY(-16px) scale(.85);
}

.intro .process-card:hover>h3 {
  transform: translateY(-34px) scale(.45);
}

.intro .process-card:hover>p {
  transform: translateY(-10px);
}

.card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 28px 24px;
  text-align: center;
  color: var(--lime);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--card-ease);
}

.card-hover-title {
  font-family: "Arial Nova Light", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-shadow: 0 0 10px #b6fa4880, 0 0 22px #b6fa4840;
  transform: translateY(26px) scale(2.2);
  transition: transform .8s var(--card-ease);
}

.card-hover-text {
  max-width: 30ch;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  text-shadow: 0 0 8px #b6fa4833;
  transform: translateY(14px);
  transition: transform .8s var(--card-ease);
}

.intro .process-card:hover .card-hover {
  opacity: 1;
  transition: opacity .6s var(--card-ease) .12s;
}

.intro .process-card:hover .card-hover-title,
.intro .process-card:hover .card-hover-text {
  transform: none;
}

@media(max-width: 560px) {
  .card-hover {
    padding: 26px 22px;
  }
}

@media(prefers-reduced-motion: reduce) {
  .intro .process-card,
  .intro .process-card>*,
  .card-hover,
  .card-hover>* {
    transition: none !important;
  }
}

/* À propos : bloc vert resserré en hauteur ; la tête (agrandie) est plus haute que le bloc : elle déborde
   par le haut sur la section précédente et son cou disparaît sous le bord inférieur, dans la section des avis.
   Le texte donne la hauteur du bloc ; la tête est placée en absolu, son visage un peu au-dessus du milieu du texte.
   Réglages (ordinateur) : hauteur de la tête (.avatar-wrap img) et décalage vertical (top de .avatar-stack). */
.about-layout {
  grid-template-columns: minmax(0, 470px) minmax(0, 760px);
  justify-content: center;
  column-gap: 5%;
  align-items: center;
}

@media(min-width: 821px) {
  .about {
    position: relative;
    z-index: 2;
    padding-block: 40px;
    overflow: visible;
    /* masque seulement le bas (et les côtés) : la tête peut dépasser au-dessus du bloc */
    clip-path: inset(-400px 0 0 0);
  }
  .avatar-wrap {
    align-self: stretch;
    min-height: 0;
  }
  .avatar-stack {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 375px);
  }
  .avatar-wrap img {
    height: 692px;
    max-width: none;
  }
}

@media(min-width: 821px) and (max-width: 1100px) {
  .about-layout {
    grid-template-columns: 34% minmax(0, 1fr);
    column-gap: 4%;
  }
  .avatar-stack {
    top: calc(50% - 275px);
    right: auto;
    left: 50%;
    width: max-content;
    transform-origin: center;
    translate: -58% 0;
  }
  .avatar-wrap img {
    height: 540px;
  }
}

@media(max-width: 820px) {
  .avatar-wrap img {
    height: auto;
    max-height: 515px;
  }
}

@media(max-width: 560px) {
  .avatar-wrap {
    height: 386px;
    width: 332px;
    max-width: 100%;
  }
  .avatar-wrap img {
    height: 386px;
    max-height: none;
  }
}

/* Halo vert autour de la tête */
.about .avatar-wrap img {
  filter: drop-shadow(0 0 22px #b6fa4859) drop-shadow(0 0 60px #b6fa4840) drop-shadow(0 15px 13px #39540014);
}
/* La tête (et son halo) passe devant le titre collant « Ça bouge par ici ! », sous le menu. */
@media(min-width: 821px) {
  .about {
    z-index: 60;
  }
}

/* « Ça bouge par ici ! » : un seul trait sur tout le titre, carrés du glitch plus gros pour rester bien visibles. */
#projects-title .wipe:before {
  top: -.3em;
  bottom: -.4em;
  width: 1.5em;
  background:
    linear-gradient(var(--px), var(--px)) 55% 30% / .52em .52em no-repeat,
    linear-gradient(var(--px2), var(--px2)) 80% 46% / .36em .36em no-repeat,
    linear-gradient(var(--px), var(--px)) 40% 62% / .42em .42em no-repeat;
}

/* Phrase d'accroche (sous les showreels) : plus grande, sur deux lignes, centrée dans l'écran,
   comme la phrase en dessous et la signature. */
.intro-text,
.intro-text>span {
  text-align: center;
}

.intro .intro-text strong {
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.2;
}

.intro .intro-signature {
  justify-content: center;
}

@media(max-width: 560px) {
  .intro .intro-text strong {
    font-size: 24px;
  }
  .intro-break {
    display: none;
  }
}

.intro .intro-text>span {
  margin-top: 14px;
}

/* Accroche deux fois plus grande, phrase du dessous rapprochée. */
.intro .intro-text strong {
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.intro .intro-text>span {
  margin-top: 6px;
}

@media(max-width: 560px) {
  .intro .intro-text strong {
    font-size: 34px;
  }
}

/* Descente du contenu du bloc vert (app.js : initIntroDrop). Douce, sans rebond. */
.intro.drop-ready {
  overflow: clip;
}

.intro.drop-ready>.wrap {
  transform: translateY(calc(var(--drop-from, 100%) * -1));
}

.intro.drop-ready.is-dropped>.wrap {
  transform: none;
  transition: transform 1.3s cubic-bezier(.22, .61, .36, 1);
}

/* Chevrons de la signature : ils se découvrent à la fin de la descente du bloc. */
.reveal-js .intro.is-dropped .intro-signature>img,
.reveal-js .intro:not(.drop-ready) .intro-signature>img {
  clip-path: inset(0);
  transform: none;
  transition: clip-path .7s cubic-bezier(.4, 0, .2, 1) 1s, transform .7s cubic-bezier(.16, .84, .24, 1) 1s;
}

/* Deux flèches noires pointées vers le bas, sous la phrase « Des vidéos qui éclairent… ».
   Elles apparaissent en glissant vers le bas à la fin de la descente du bloc. */
.intro-arrows {
  display: block;
  width: 26px;
  height: 33px;
  margin: 18px auto 0;
  background: var(--ink);
  -webkit-mask: url(assets/process-chevrons.svg) center / contain no-repeat;
  mask: url(assets/process-chevrons.svg) center / contain no-repeat;
  transform: rotate(90deg);
}

.intro.drop-ready .intro-arrows {
  opacity: 0;
  transform: translateY(-10px) rotate(90deg);
}

.intro.drop-ready.is-dropped .intro-arrows {
  opacity: 1;
  transform: rotate(90deg);
  transition: opacity .6s ease 1.1s, transform .7s cubic-bezier(.22, .61, .36, 1) 1.1s;
}

.intro .intro-signature {
  margin-top: 14px;
}

/* Avis : au-delà de trois, les suivants passent à la ligne sous les trois premiers (back-office) */
@media(min-width: 1101px) {
  .review-quote:nth-of-type(3n+4) {
    grid-column: 2;
  }
}

@media(min-width: 851px) and (max-width: 1100px) {
  .review-quote:nth-of-type(3n+4) {
    border-left: 0;
    padding-left: 0;
  }
}

/* Confirmation d'envoi du formulaire : petite coche verte */
.contact-status.is-success {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
}

.contact-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #141414;
  color: #b9f442;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.contact-status.is-error {
  color: #8f1116;
}

/* Confirmation d'envoi : le formulaire s'efface, une grande coche se dessine */
.contact-form.is-leaving {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
}

/* Retour du formulaire après la confirmation : fondu doux */
.contact-form.is-returning {
  animation: form-back .6s ease both;
}

@keyframes form-back {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.contact-sent.is-leaving {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .55s ease, transform .55s ease;
}

.contact-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 0;
  text-align: center;
  outline: none;
}

.contact-sent-mark {
  width: clamp(120px, 14vw, 170px);
  height: auto;
  overflow: visible;
}

.contact-sent-disc {
  fill: #141414;
  transform-origin: 60px 60px;
  animation: sent-pop .55s cubic-bezier(.34, 1.56, .64, 1) both;
}

.contact-sent-ring {
  fill: none;
  stroke: #141414;
  stroke-width: 1;
  transform-origin: 60px 60px;
  animation: sent-ring .9s .25s ease-out both;
}

.contact-sent-check {
  fill: none;
  stroke: #b6fa48;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sent-draw .45s .4s cubic-bezier(.65, 0, .35, 1) forwards;
}

.contact-sent-text {
  margin: 0;
  max-width: 14em;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -.045em;
  color: #141414;
  animation: sent-text .5s .7s cubic-bezier(.16, .84, .24, 1) both;
}

@keyframes sent-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes sent-ring {
  from { opacity: .6; transform: scale(1); }
  to { opacity: 0; transform: scale(1.45); }
}

@keyframes sent-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes sent-text {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .contact-sent {
    gap: 22px;
    padding: 48px 0;
  }

  .contact-sent-text {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form.is-returning {
    animation: none;
  }

  .contact-sent-disc,
  .contact-sent-ring,
  .contact-sent-text {
    animation: none;
  }

  .contact-sent-ring {
    opacity: 0;
  }

  .contact-sent-check {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Nouvelle tête (avatar-fabien.webp, buste en t-shirt) : le bas de l'image est toujours posé un peu sous
   le bord inférieur du bloc vert, qui le masque ; on ne voit donc jamais la coupure du t-shirt.
   Le haut de la tête peut dépasser au-dessus du bloc sur ordinateur.
   Réglages : largeur de la tête (width de .avatar-stack) et décalage à droite (right). */
.about .avatar-wrap {
  position: relative;
  align-self: stretch;
}

.about .avatar-stack {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  width: auto;
  translate: none;
  /* padding bas du bloc + 4 px : le bord de l'image reste caché */
  bottom: calc(-1 * var(--about-pad-bottom, 40px) - 4px);
}

.about .avatar-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

@media(min-width: 821px) {
  .about {
    --about-pad-bottom: 40px;
  }
  .about .avatar-stack {
    left: auto;
    right: -24px;
    width: 140%;
  }
}

@media(max-width: 820px) {
  .about {
    --about-pad-bottom: 48px;
  }
  .about .avatar-wrap {
    min-height: 300px;
  }
}

@media(max-width: 560px) {
  .about {
    --about-pad-bottom: 36px;
  }
  .about .avatar-wrap {
    height: 260px;
    min-height: 0;
  }
}
