:root {
  --paper: #F2EFE7;
  --cream: #F4EFE6;
  --ink: #171615;
  --body: #5B5447;
  --mute: #6D6E70;
  --faint: #9c968b;
  --blue: #748BB8;
  --blue-deep: #4A5E86;
  --ice: #D6DDEA;
  --beige: #B0926D;
  --line: rgba(23, 22, 21, 0.08);
  --display: "Space Grotesk", Inter, sans-serif;
  --display-weight: 600;
  --display-track: -0.04em;
  --ui: Inter, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --logo: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.preset-agrandir {
  --display: "Anybody", Inter, sans-serif;
  --display-weight: 500;
  --display-track: -0.02em;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body { overflow-x: hidden; overscroll-behavior-x: none; }

body {
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
summary,
.msbtn {
  touch-action: manipulation;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.logo img {
  width: var(--logo);
  height: var(--logo);
  display: block;
  flex: none;
}

.logo span {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 20px;
  line-height: 0.7;
  letter-spacing: -0.035em;
  display: block;
  overflow: visible;
}

.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  white-space: nowrap;
  cursor: pointer;
}

.banner:hover { background: var(--blue-deep); }

nav.top {
  position: fixed;
  left: 50%;
  top: calc(34px + clamp(10px, 1.6vw, 20px));
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 28px);
  display: flex;
  align-items: center;
  padding: 7px 8px 7px 18px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 12px 32px rgba(8, 10, 14, 0.42);
  transform: translateX(-50%);
  animation: fade-down 0.9s var(--ease) both;
}

nav.top .logo { --logo: 24px; }
nav.top .logo span {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.7;
}
nav.top .logo img { filter: invert(1) brightness(1.7); }

.nav-links {
  display: none;
  align-items: center;
  margin-left: 16px;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.78);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #fff; }

.nav-toggle {
  margin-left: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle .icon-close { display: none; }
nav.top.is-open .icon-menu { display: none; }
nav.top.is-open .icon-close { display: block; }

.nav-sheet {
  position: fixed;
  left: 50%;
  top: calc(34px + clamp(10px, 1.6vw, 20px) + 68px);
  z-index: 49;
  width: min(420px, calc(100% - 28px));
  padding: 10px 8px;
  border-radius: 28px;
  background: rgba(10, 12, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 12px 32px rgba(8, 10, 14, 0.42);
  transform: translateX(-50%);
}

.nav-sheet[hidden] { display: none; }

.nav-sheet a {
  display: block;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-sheet a:hover { background: rgba(255, 255, 255, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    transform 0.5s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.5s var(--ease);
}

.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn.btn-nav {
  height: 36px;
  margin-left: 16px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero .kicker { color: var(--ice); }
.hero h1 { color: #F5F6F7; text-shadow: 0 2px 28px rgba(23, 22, 21, 0.45); }
.hero .lede { color: rgba(245, 246, 247, 0.88); text-shadow: 0 1px 18px rgba(23, 22, 21, 0.4); }
.hero .btn-ghost { border-color: rgba(245, 246, 247, 0.45); color: #F5F6F7; }
.hero .btn-ghost:hover { border-color: #F5F6F7; }

.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 88px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  isolation: isolate;
  background: var(--ink);
  overflow: hidden;
}

.hero-boot {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  filter: contrast(1.02) brightness(0.98) saturate(0.94) sepia(0.12);
}

.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) brightness(0.98) saturate(0.94) sepia(0.12);
  animation: film-in 2.8s var(--ease) both;
  z-index: 0;
}

.hero-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #F4EFE6;
  mix-blend-mode: overlay;
  opacity: 0.18;
}

.hero-grain {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.13  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.58 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  animation: grain-shift 0.9s steps(2) infinite;
}

.hero-vhs {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero-vhs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(23, 22, 21, 0.28) 0,
      rgba(23, 22, 21, 0.28) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.42;
  mix-blend-mode: multiply;
  animation: vhs-roll 0.14s steps(2) infinite;
}

.hero-vhs::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 12%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(23, 22, 21, 0.22) 48%,
    transparent 100%
  );
  mix-blend-mode: multiply;
  animation: vhs-track 7.2s var(--ease) infinite;
  opacity: 0;
}

.hero-halftone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: soft-light;
  z-index: 2;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(23, 22, 21, 0.08) 0%, rgba(23, 22, 21, 0.22) 62%, rgba(23, 22, 21, 0.42) 100%);
}

.tone-svg {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: tone-in 1.6s var(--ease) both, tone-drift 36s ease-in-out 1.6s infinite alternate;
}

.tone-grid {
  opacity: 0.14;
  animation: tone-grid 18s ease-in-out infinite;
}

.tone-body { opacity: 0.4; }

.person-copy .tone-body { opacity: 0.16; }
.person-copy .tone-grid { opacity: 0.22; }

.hero-halftone .tone-body { opacity: 0.72; }
.hero-halftone .tone-grid { opacity: 0.28; }

.dotfield .tone-svg { animation-duration: 1.2s, 22s; }
.final .tone-svg { animation-duration: 1.8s, 40s; }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(23, 22, 21, 0.38) 0%, rgba(23, 22, 21, 0.08) 42%, rgba(23, 22, 21, 0.48) 100%),
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(23, 22, 21, 0.22) 78%);
}

.preset-space .hero-media::after {
  background:
    linear-gradient(180deg, rgba(23, 22, 21, 0.32) 0%, rgba(23, 22, 21, 0.06) 42%, rgba(23, 22, 21, 0.42) 100%),
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(23, 22, 21, 0.18) 78%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

h1 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: var(--display-track);
  margin: 18px 0 20px;
}

.preset-agrandir .logo span,
.preset-agrandir h1,
.preset-agrandir h2,
.preset-agrandir h3,
.preset-agrandir .mute,
.preset-agrandir .play h3,
.preset-agrandir .start h3,
.preset-agrandir .step h3,
.preset-agrandir .proof-row b,
.preset-agrandir .person b {
  font-stretch: 150%;
  font-variation-settings: "wdth" 150;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 36em;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.section {
  padding: 100px 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.section-inner { max-width: 1080px; margin: 0 auto; }

.section.alt { background: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.mute {
  font-family: var(--display);
  font-weight: 500;
  color: var(--mute);
  font-size: 22px;
  line-height: 1.35;
}

h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: var(--display-track);
}

.lead {
  margin-top: 18px;
  max-width: 40em;
  color: var(--body);
  font-size: 17px;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 56px;
}

.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.step .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  padding-top: 6px;
}

.step h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: var(--display-weight);
  margin-bottom: 8px;
}

.step p { color: var(--body); max-width: 42em; }

.ribbon {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.plays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.play {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}

.play:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 139, 184, 0.45);
  box-shadow: 0 22px 44px -28px rgba(23, 22, 21, 0.4);
}

.play h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: var(--display-weight);
  margin-bottom: 8px;
}

.play p { color: var(--body); font-size: 15px; }

.start {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.start a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  min-height: 160px;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.4s ease;
}

.start a:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(23, 22, 21, 0.4);
}

.start h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: var(--display-weight);
  margin: 10px 0 8px;
}

.start p { color: var(--body); }

.start .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.hire-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}

.hire-split .start {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  margin-top: 0;
  min-height: 0;
}

.hire-split .start a { height: 100%; }

.hire-form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 30px 26px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 48px -34px rgba(23, 22, 21, 0.42);
  scroll-margin-top: 96px;
}

.hire-form .tone-wash {
  position: absolute;
  right: -20%;
  top: -44%;
  width: 104%;
  height: 108%;
  -webkit-mask-image: radial-gradient(ellipse at 58% 34%, #000 10%, rgba(0, 0, 0, 0.55) 46%, transparent 76%);
  mask-image: radial-gradient(ellipse at 58% 34%, #000 10%, rgba(0, 0, 0, 0.55) 46%, transparent 76%);
}

.hire-form .tone-body { opacity: 0.32; }
.hire-form .tone-grid { opacity: 0.24; }

.hire-form .form {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.hire-form .form-fields {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hire-form .field-row:has(textarea) { flex: 1; }

.hire-form textarea {
  flex: 1;
  min-height: 88px;
}

.hire-form .msbtn { margin-top: auto; }

.hire-form .form.is-sent .form-thanks {
  flex: 1;
  justify-content: center;
}

.proof-box {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.proof-row b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: var(--display-weight);
}

.proof-row span { color: var(--mute); font-size: 13px; }

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.person {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  transition: transform 0.55s var(--ease);
}

.person:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.person:hover b { color: var(--blue); }

.person .portrait {
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--ice);
}

.person .portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.person-copy {
  position: relative;
  min-height: 84px;
  padding: 10px 0 8px;
}

.person-copy .dotfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.person-copy .dotfield svg {
  display: block;
  width: 100%;
  height: 100%;
}

.person-copy .person-lines {
  position: relative;
  z-index: 1;
}

.person-copy b,
.person-copy span {
  display: block;
  width: max-content;
  max-width: 100%;
}

.person b {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: var(--display-weight);
}

.person span {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font-size: 13px;
}

.person .role {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  margin-top: 40px;
}

.faq { max-width: none; }

.faq h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.35;
  list-style: none;
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.2;
  color: var(--mute);
}

.faq details[open] summary::after { content: "\2212"; }

.faq p { margin-top: 10px; color: var(--body); max-width: 38em; }

.faq a {
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 22, 21, 0.28);
}

.faq a:hover { border-bottom-color: var(--ink); }

.final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "form copy";
  min-height: min(88svh, 820px);
  padding: 0;
  text-align: left;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 88px;
}

.final-copy {
  grid-area: copy;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 88px 56px 80px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.final-copy .tone-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
}

.final-copy .tone-wash svg { display: block; width: 100%; height: 100%; }

.final-copy-inner {
  position: relative;
  max-width: 28em;
}

.final-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.final-brand img {
  width: 52px;
  height: 52px;
  display: block;
  flex: none;
}

.final-brand span {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 0.7;
  letter-spacing: var(--display-track);
  color: var(--cream);
}

.final-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 58px);
}

.contact-ways {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.contact-ways a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 239, 230, 0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  transition: color 0.2s ease;
}

.contact-ways a:hover {
  color: #fff;
}

.contact-ways svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.final-copy p {
  margin: 0;
  max-width: 22em;
  color: rgba(244, 239, 230, 0.72);
  font-size: 17px;
}

.final-form {
  grid-area: form;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 48px;
  background: #fff;
}

.form {
  width: min(100%, 420px);
  margin: 0;
  text-align: left;
}

.contact-stack {
  width: min(100%, 420px);
}

.contact-stack .form {
  width: 100%;
}

.form-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 8px;
}

.form-note {
  margin: 0 0 22px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.45;
  max-width: 32em;
}

.contact-stack:has(.form-firm[open]) .form-apply {
  display: none;
}

.contact-stack:has(.form-apply.is-sent) .form-firm {
  display: none;
}

.contact-stack:has(#firmForm.is-sent) .form-firm summary {
  display: none;
}

.form-firm {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.contact-stack:has(.form-firm[open]) .form-firm {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-firm summary {
  display: block;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mute);
}

.form-firm summary::-webkit-details-marker { display: none; }

.form-firm summary:hover { color: var(--ink); }

.form-firm summary .back { display: none; }
.form-firm[open] summary .ask { display: none; }
.form-firm[open] summary .back { display: inline; }

.form-firm-body { margin-top: 18px; }

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

.field-row {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

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

.field-row .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--faint);
}

.field-row input,
.field-row textarea,
.field-row select {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(23, 22, 21, 0.14);
  border-radius: 13px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.4;
  min-height: 48px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field-row input::placeholder,
.field-row textarea::placeholder { color: #A89F92; }

.field-row input:focus,
.field-row textarea:focus,
.field-row select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 94, 134, 0.16);
}

.field-row.invalid input,
.field-row.invalid textarea,
.field-row.invalid select {
  border-color: #B4453D;
  box-shadow: 0 0 0 4px rgba(180, 69, 61, 0.14);
}

.msbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  height: 58px;
  margin-top: 4px;
  background: var(--ink);
  border: none;
  border-radius: 16px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: var(--display-weight);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.msbtn:hover {
  background: #000;
  box-shadow: 0 14px 30px -10px rgba(28, 26, 23, 0.45);
  transform: translateY(-1px);
}

.msbtn:active { transform: translateY(0); }

.msbtn:disabled {
  cursor: default;
  opacity: 0.85;
  transform: none;
  box-shadow: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(244, 239, 230, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  margin: 14px 0 0;
  min-height: 16px;
  color: var(--mute);
  text-align: left;
}

.form-status.ok { color: #3E7A4E; }
.form-status.err { color: #B4453D; }

.form-fields {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.form.is-sent .form-fields {
  display: none;
}

.form-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 8px 8px;
  text-align: center;
}

.form.is-sent .form-thanks {
  display: flex;
  animation: form-sent 0.8s var(--ease) both;
}

.form-thanks p {
  margin: 0;
  color: var(--body);
  max-width: 28em;
}

.sent-mark {
  width: 56px;
  height: 56px;
  color: #3E7A4E;
}

.sent-mark circle {
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  animation: sent-ring 0.7s var(--ease) forwards;
}

.sent-mark path {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: sent-check 0.45s var(--ease) 0.35s forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

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

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

.tone-wash {
  pointer-events: none;
}

.tone-wash svg { display: block; width: 100%; height: 100%; }

.split-tone {
  position: relative;
}

.split-tone .tone-wash {
  position: absolute;
  right: -8%;
  top: -40%;
  width: min(520px, 48vw);
  height: 280px;
  opacity: 0.22;
}

.banner { animation: fade-in 0.7s var(--ease) both; }

.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1.1s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.rise {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.95s var(--ease),
    transform 0.95s var(--ease);
  transition-delay: var(--d, 0ms);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes film-in {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.2%, 0.8%); }
}

@keyframes vhs-roll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1px); }
}

@keyframes vhs-track {
  0%, 68%, 100% { top: -18%; opacity: 0; }
  72% { opacity: 0.7; }
  86% { top: 108%; opacity: 0; }
}

@keyframes tone-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tone-drift {
  from { transform: translate3d(-1.4%, -0.9%, 0) scale(1.06); }
  to { transform: translate3d(1.4%, 0.9%, 0) scale(1.06); }
}

@keyframes tone-grid {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.foot-ink,
.foot-paper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.foot-ink {
  padding: 22px 56px;
  background: var(--ink);
  color: rgba(244, 239, 230, 0.52);
  border-top: 1px solid rgba(244, 239, 230, 0.08);
}

.foot-paper {
  padding: 22px 48px calc(22px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  color: var(--mute);
  border-top: 1px solid var(--line);
}

.foot-logo { --logo: 20px; }

.foot-logo span {
  font-size: 16px;
  color: var(--cream);
}

.foot-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-meta a { color: inherit; }

.foot-meta a:hover { color: var(--cream); }

.foot-paper .foot-meta a:hover { color: var(--ink); }

.sph {
  display: block;
  line-height: 0;
  opacity: 0.9;
}

.sph img {
  display: block;
  height: 36px;
  width: auto;
}

.sph:hover { opacity: 1; }

.switcher a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (hover: none) {
  .btn:hover,
  .msbtn:hover,
  .play:hover,
  .start a:hover,
  .person:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-toggle,
  .nav-sheet { display: none !important; }
}

@media (max-width: 860px) {
  .split, .plays, .start, .hire-split, .step, .faq-grid, .final, footer { grid-template-columns: 1fr; }
  .final { grid-template-areas: "copy" "form"; }
  .proof-row.three {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .form .row { grid-template-columns: 1fr; }
  .split-tone .tone-wash { display: none; }
  .tone-svg { animation: tone-in 1.6s var(--ease) both; }

  .banner {
    height: auto;
    min-height: calc(34px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 12px 8px;
    white-space: normal;
    line-height: 1.25;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-align: center;
  }

  nav.top {
    top: calc(34px + env(safe-area-inset-top, 0px) + 8px);
    max-width: calc(100% - 20px);
    padding: 6px 6px 6px 14px;
  }

  .nav-sheet {
    top: calc(34px + env(safe-area-inset-top, 0px) + 72px);
  }

  .btn-nav { display: none; }

  .btn {
    height: 44px;
    min-height: 44px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 96px) 20px calc(env(safe-area-inset-bottom, 0px) + 36px);
  }

  .hero-boot,
  .hero-media video {
    animation: none;
    object-fit: cover;
    object-position: center 38%;
    transform: none;
  }

  .hero-grain { animation: none; opacity: 0.2; }
  .hero-vhs::before { animation: none; opacity: 0.32; }
  .hero-vhs::after { animation: none; opacity: 0; }

  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero .lede {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    max-width: 34em;
  }
  .cta-row {
    margin-top: 22px;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    gap: 10px;
  }
  .hero .btn { width: 100%; }

  .section {
    padding: 56px 20px;
    scroll-margin-top: calc(34px + env(safe-area-inset-top, 0px) + 72px);
  }

  h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .mute { font-size: 18px; }
  .lead { font-size: 15.5px; margin-top: 14px; }

  .proof-box { margin-top: 28px; padding: 18px 14px; border-radius: 18px; }
  .proof-row b { font-size: 15px; }
  .proof-row span { font-size: 11px; line-height: 1.35; }

  .start { margin-top: 28px; }
  .start a {
    min-height: 0;
    padding: 22px 20px;
  }
  .start h3 { font-size: 22px; }

  .hire-split { gap: 32px; margin-top: 28px; }
  .hire-form { padding: 24px 18px 22px; border-radius: 18px; }
  .hire-form .tone-wash { right: -26%; top: -26%; width: 86%; height: 44%; }
  .hire-form .tone-body { opacity: 0.24; }
  .hire-form .tone-grid { opacity: 0.18; }

  .team {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }
  .person {
    display: grid;
    grid-template-columns: clamp(112px, 30vw, 140px) 1fr;
    gap: 14px 16px;
    align-items: center;
  }
  .person:nth-child(even) {
    grid-template-columns: 1fr clamp(112px, 30vw, 140px);
  }
  .person:nth-child(even) .portrait { order: 2; }
  .person:nth-child(even) .person-copy { text-align: right; }
  .person:nth-child(even) .person-copy b,
  .person:nth-child(even) .person-copy span { margin-left: auto; }
  .person:hover { transform: none; }
  .person .portrait {
    aspect-ratio: 3 / 4;
    margin-bottom: 0;
    border-radius: 12px;
  }
  .person-copy { min-height: 0; padding: 2px 0; }
  .person-copy b,
  .person-copy span { width: auto; }
  .person b { font-size: 18px; line-height: 1.2; }
  .person .role { font-size: 14px; margin-top: 4px; }
  .person span { font-size: 13px; }

  .faq-grid { gap: 28px; margin-top: 28px; }
  .faq summary {
    min-height: 44px;
    align-items: center;
    font-size: 16px;
  }

  .final { min-height: 0; scroll-margin-top: calc(34px + env(safe-area-inset-top, 0px) + 72px); }
  .final-copy {
    align-items: flex-end;
    min-height: 0;
    padding: 48px 24px 36px;
  }
  .final-form { padding: 28px 20px 40px; }
  .final-brand { margin-bottom: 14px; gap: 10px; }
  .final-brand img { width: 36px; height: 36px; }
  .final-brand span { font-size: clamp(32px, 9vw, 48px); }
  .final-copy h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 0; }
  .contact-ways { margin-top: 22px; gap: 10px; }

  .field-row input,
  .field-row textarea,
  .field-row select {
    font-size: 16px;
    min-height: 48px;
    border-radius: 12px;
  }
  .field-row textarea { min-height: 96px; }

  .foot-ink,
  .foot-paper {
    min-height: 64px;
    gap: 12px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .foot-ink { padding-bottom: 16px; padding-top: 16px; }
  .foot-paper { padding-top: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .sph img { height: 28px; }
  .foot-meta { font-size: 10px; letter-spacing: 0.08em; }
}

@media (max-width: 860px) and (max-height: 700px) {
  .hero {
    min-height: 100svh;
    padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
    padding-bottom: 32px;
  }
  .hero h1 { font-size: clamp(26px, 7.2vw, 34px); }
  .hero .lede { display: block; font-size: 14px; }
}

@media (max-width: 380px) {
  .proof-row b { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-hero,
  .rise,
  nav.top,
  .banner,
  .hero-media video,
  .hero-grain,
  .hero-vhs::before,
  .hero-vhs::after,
  .tone-svg,
  .tone-grid,
  .form-thanks,
  .sent-mark circle,
  .sent-mark path {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  nav.top { transform: translateX(-50%); }
  .hero-media video { transform: none; }
  .hero-vhs::after { opacity: 0; }
  .sent-mark circle,
  .sent-mark path { stroke-dashoffset: 0; }
  .hero-vhs::before { opacity: 0.32; }
  .tone-body { opacity: 0.4; }
  .person-copy .tone-body { opacity: 0.16; }
  .person-copy .tone-grid { opacity: 0.22; }
  .tone-grid { opacity: 0.14; }
}
