/* =========================================================
   Krishan Rana: header, hero, and the sections below it.
   Layout and styling modelled on the ovoye.com hero.
   Sections: header, hero, proof, work, process, about, faq.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ---------- Tokens ---------- */
:root {
  --night: #05140F;          /* hero base */
  --green: #0B5345;          /* Deep Green */
  --green-dark: #072E26;     /* Darkest Green */
  --green-glow: #1F7A64;     /* Glow Green */
  --cream: #FFF4DA;
  --cream-muted: #D9CFB4;
  --cream-72: rgba(255, 244, 218, 0.72);
  --warm-white: #FAF8F3;
  --ink: #0F231D;
  --ink-65: rgba(15, 35, 29, 0.65);
  --ink-line: rgba(15, 35, 29, 0.12);
  --ink-line-14: rgba(15, 35, 29, 0.14);
  --line: rgba(255, 244, 218, 0.2);
  --line-18: rgba(255, 244, 218, 0.18);

  --font-display: "General Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-cut: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --nav-top: 18px;
  --nav-h: 60px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
main:focus { outline: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 0.8px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s var(--ease-out), background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {            /* keeps every tap target at least 44px tall */
  content: "";
  position: absolute;
  inset: -4px 0;
}

.btn--primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green);
}
.btn--primary:hover { filter: brightness(1.04); }
.btn--primary:active { transform: scale(0.98); }

.btn--sm {
  height: 37px;
  padding: 0 20px;
  font-size: 15px;
}

.btn--block { width: 100%; height: 56px; }

/* Text link with wipe-in underline ("Watch My Work →") */
.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-cut);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.link-underline__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.link-underline:hover .link-underline__arrow { transform: translateX(4px); }

/* ---------- Header: floating liquid-glass pill ---------- */
.site-header {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 24px;
  pointer-events: none;
}

.site-header__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1080px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 12px 0 28px;
  border-radius: 999px;
  background: rgba(255, 244, 218, 0.05);
  border: 0.8px solid var(--line);
  -webkit-backdrop-filter: blur(6px) saturate(1.7);
  backdrop-filter: blur(6px) saturate(1.7);
  box-shadow:
    inset 1px 1px 0 rgba(255, 244, 218, 0.38),
    inset -1px -1px 0 rgba(255, 244, 218, 0.1),
    inset 0 0 22px rgba(255, 244, 218, 0.06),
    0 10px 34px -18px rgba(5, 20, 15, 0.9);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s ease;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 32px; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 15px;
  font-weight: 400;
  color: var(--cream-72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-cut);
}
.nav__link:hover,
.nav__link.is-active { color: var(--cream); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle { display: none; }

/* Pill over light sections (JS adds .on-light once the hero has scrolled away) */
.site-header.on-light .site-header__pill {
  background: rgba(250, 248, 243, 0.72);
  border-color: rgba(15, 35, 29, 0.12);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 34px -18px rgba(15, 35, 29, 0.35);
}
.site-header.on-light .wordmark { color: var(--ink); }
.site-header.on-light .nav__link { color: rgba(15, 35, 29, 0.75); }
.site-header.on-light .nav__link:hover,
.site-header.on-light .nav__link.is-active { color: var(--ink); }
.site-header.on-light .btn--sm { background: var(--green); border-color: var(--green); color: var(--cream); }
.site-header.on-light .menu-toggle__line { background: var(--ink); }
.site-header.on-light :focus-visible { outline-color: var(--ink); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 112px 20px max(28px, env(safe-area-inset-bottom));
  background: var(--night);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s var(--ease-cut);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link {
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-decoration: none;
}
.mobile-menu__link.is-active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

/* While the menu is open the pill always reads as "dark" */
.menu-open .site-header.on-light .site-header__pill {
  background: rgba(255, 244, 218, 0.05);
  border-color: var(--line);
}
.menu-open .site-header.on-light .wordmark { color: var(--cream); }
.menu-open .site-header.on-light .menu-toggle__line { background: var(--cream); }
.menu-open .site-header.on-light .btn--sm { background: var(--cream); border-color: var(--cream); color: var(--green); }
.menu-open .site-header.on-light :focus-visible { outline-color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-top) + var(--nav-h) + 48px) 24px 96px;
  background: var(--night);
  text-align: left;
}

/* Krishan's photo: he sits on the left looking right, toward the text */
.hero__photo,
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__photo { z-index: -2; }
.hero__photo img {
  object-fit: cover;
  object-position: center;
}

.hero__bg,
.hero__bg > div {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg { z-index: -1; }

.hero__tint { display: none; }
/* lighten lifts the photo's black backdrop to the page's night green, leaving him untouched */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--night);
  mix-blend-mode: lighten;
}

.hero__bg > .hero__drift {
  inset: -8%;
  background:
    radial-gradient(40% 46% at 18% 26%, rgba(31, 122, 100, 0.3) 0%, rgba(31, 122, 100, 0) 72%),
    radial-gradient(36% 40% at 88% 70%, rgba(11, 83, 69, 0.45) 0%, rgba(11, 83, 69, 0) 70%);
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__drift { animation: drift 22s ease-in-out infinite alternate; }
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2.5%, 0) scale(1.04); }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.02); }
}

.hero__shade { background: var(--night); opacity: 0.12; }

.hero__vignette { display: none; }

.hero__floor { background: linear-gradient(to top, rgba(5, 20, 15, 0.55) 0%, rgba(5, 20, 15, 0) 28%); }

/* Desktop: he sits in the centre; the heading takes the top-left corner,
   the buttons sit on the right, lower down, beside the chair */
.hero {
  display: block;
  padding: calc(var(--nav-top) + var(--nav-h) + 56px) 24px 64px;   /* same side padding as the header */
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  /* the nav pill's box: the headline starts under "Krishan Rana",
     the buttons end under the nav's "Book a Call" */
  max-width: 1080px;
  min-height: calc(100svh - var(--nav-top) - var(--nav-h) - 120px);
  margin: 0 auto;
  padding: 0 12px 0 28px;
}

.hero__title {
  grid-column: 1;
  grid-row: 1;
  max-width: min(10em, 400px);     /* stays clear of his face, which sits ~400px in from the nav edge */
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 3vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
}

.hero__sub {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--cream-muted);
  text-wrap: pretty;
}

.hero__actions {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: row;          /* buttons side by side */
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(32px, 7vh, 72px);
}
.hero__actions .link-underline { padding-right: 0; }              /* arrow ends on the nav edge */
.hero__actions .link-underline::after { right: 0; }

/* Load: text rises in, one after another (CSS only, so it also runs without JS) */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease-out) both; }
  .hero__title.rise   { animation-delay: 0.1s; }
  .hero__sub.rise     { animation-delay: 0.25s; }
  .hero__actions.rise { animation-delay: 0.4s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

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

/* ---------- Page card: everything after the hero (Ovoye-style) ---------- */
.page-card {
  position: relative;
  z-index: 2;
  overflow: clip;
  background: var(--warm-white);
  color: var(--ink);
  border-top-left-radius: var(--card-radius, 32px);
  border-top-right-radius: var(--card-radius, 32px);
  box-shadow: 0 -18px 44px -26px rgba(15, 35, 29, 0.22);
  transform: scale(var(--card-scale, 1));
  transform-origin: center top;
}
.page-card :focus-visible { outline-color: var(--green); }

/* =========================================================
   Responsive
   ========================================================= */


/* Tablet and mobile: photo on top, text below on night green */
@media (max-width: 1023px) {
  .hero {
    align-items: end;
    justify-items: stretch;
    padding: 0 36px 72px 52px;        /* header 24px + pill 28px / 12px */
  }
  .hero__photo { bottom: auto; height: 62%; }
  .hero__photo img { object-position: center top; }
  .hero__floor { background: linear-gradient(to top, var(--night) 0%, var(--night) 40%, rgba(5, 20, 15, 0) 66%); }
  .hero { display: grid; }
  .hero__content { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 640px; min-height: 0; margin: 0; padding: 52vh 0 0; }
  .hero__title { max-width: 640px; font-size: clamp(40px, 6.4vw, 60px); }
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-self: auto; margin-top: 36px; }
}
@media (max-height: 800px) and (min-width: 768px) {
  .hero__sub { margin-top: 22px; }
  .hero__actions { margin-top: 32px; }
}

@media (max-width: 860px) {
  .nav__list { gap: 22px; }
  .site-header__pill { gap: 16px; }
}

@media (max-width: 767px) {
  :root { --nav-top: 12px; --nav-h: 56px; }

  body { font-size: 16px; }

  .site-header { padding: 0 16px; }
  .site-header__pill { padding: 0 6px 0 20px; gap: 8px; }
  .nav { display: none; }
  .site-header__actions { margin-left: auto; }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle__line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.3s var(--ease-cut), background-color 0.35s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

  .wordmark { font-size: 18px; }
  .btn--sm { padding: 0 16px; font-size: 14px; }

  .hero {
    align-items: end;
    justify-items: stretch;
    padding: 0 22px 56px 36px;        /* header 16px + pill 20px / 6px */
  }
  .hero__photo { bottom: auto; height: 62%; }
  .hero__photo img { object-position: center top; }
  .hero__floor { background: linear-gradient(to top, var(--night) 0%, var(--night) 40%, rgba(5, 20, 15, 0) 66%); }
  .hero__content { width: 100%; padding-top: 52vh; }
  .hero__title { font-size: 40px; line-height: 1.05; }
  .hero__sub { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .hero__actions {
    flex-direction: row;          /* side by side on phones too */
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin-top: 32px;
  }
  .hero__actions .btn { flex: none; height: 52px; padding: 0 22px; }
  .hero__actions .link-underline { flex: none; min-height: 52px; padding: 0 12px; white-space: nowrap; }
}

@media (max-width: 380px) {
  .hero__actions .link-underline { padding: 0 4px; }
}
@media (max-width: 340px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 36px; }
  .wordmark { font-size: 17px; }
  .site-header__pill { padding-left: 16px; }
  .btn--sm { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .menu-toggle__line { transition: none; }
}


/* =========================================================
   Below the hero: proof, work, process, about, FAQ, closing
   call to action, footer, video player.
   Calm and left-aligned on the Warm White sheet; the dark green
   bands (process, closing) carry the brand. One bold moment:
   the "70+ videos" statement. Fonts: General Sans + Inter.
   ========================================================= */
:root {
  --sage: #E9EFEA;           /* quiet surfaces on the sheet */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 152px);
}

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Buttons used below the hero */
.btn--lg { height: 56px; padding: 0 32px; }
.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.btn--green:hover { filter: brightness(1.12); }
.btn--green:active { transform: scale(0.98); }
.btn--outline {
  gap: 10px;
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}
.btn--outline:hover { border-color: var(--cream); }
.btn__icon { flex: none; }

/* ---------- Proof: the one bold statement ---------- */
.proof { padding-block: clamp(88px, 11vw, 144px) 0; }

.proof__stat {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7.4vw, 7.25rem);   /* "Zero missed deadlines." holds one line on desktop */
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--green-dark);
}
.proof__count { display: inline-block; font-variant-numeric: tabular-nums; }
.proof__stat-2 { display: block; }


/* ---------- Work ---------- */
.work { padding-block: var(--section); }

.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--sage);
}
.tabs__tab {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-65);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--green); color: var(--cream); }

.work__panel[hidden] { display: none; }

.work__grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.work__item[hidden] { display: none; }
/* wide videos: the featured one spans two columns and two rows, the rest fill in around it */
.work__grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work__grid--wide > .is-featured:first-child { grid-column: span 2; grid-row: span 2; }
.work__grid--wide > .is-featured:first-child .clip { height: 100%; }
.work__grid--wide > .is-featured:first-child .clip__frame { flex: 1; aspect-ratio: auto; min-height: 240px; }
.work__grid--wide > .is-featured:first-child .clip__title { font-size: 22px; }
/* vertical videos: four to a row, the showreel first */
.work__grid--tall { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.work__more {
  display: flex;
  margin: clamp(28px, 3vw, 40px) auto 0;
  background: transparent;
  border-color: var(--ink-line-14);
  color: var(--ink);
}
.work__more:hover { border-color: var(--ink); }
.work__more[hidden] { display: none; }

.clip {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.clip:focus-visible { outline: none; }
.clip:focus-visible .clip__frame { outline: 2px solid var(--green); outline-offset: 4px; }

.clip__frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
}
.work__grid--tall .clip__frame { aspect-ratio: 9 / 16; }
.clip__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.clip:hover .clip__frame img { transform: scale(1.03); }

.clip__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  box-shadow: 0 10px 30px -12px rgba(5, 20, 15, 0.6);
  transition: transform 0.35s var(--ease-out);
}
.clip:hover .clip__play { transform: scale(1.06); }

.clip { color: inherit; text-decoration: none; }
.clip__poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 2vw, 28px);
  background: var(--green);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.clip__play { z-index: 1; }

.clip__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Process (dark green band) ---------- */
.process {
  padding-block: var(--section);
  background: var(--green-dark);
  color: var(--cream);
}
.process :focus-visible { outline-color: var(--cream); }

.process__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 24px clamp(40px, 6vw, 96px);
}
.process__lede {
  margin: 0;
  max-width: 34ch;
  font-size: 20px;
  line-height: 1.55;
  color: var(--cream-muted);
}

/* five steps as one calm numbered list: number · title · description */
.steps {
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 6fr);
  align-items: baseline;
  gap: 12px clamp(32px, 4vw, 64px);
  padding-block: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--cream-72);
}
.step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.step__desc {
  margin: 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-72);
}

.process__cta { margin-top: clamp(56px, 6vw, 80px); }

/* ---------- About ---------- */
.about { padding-block: var(--section); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}
.about__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: var(--night);
}
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.about__story { max-width: 580px; }
.about__intro {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.about__p {
  max-width: 56ch;
  margin: 32px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-65);
  text-wrap: pretty;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.tools__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 88px;
  text-align: center;
}
.tools__item img {
  display: block;
  width: 44px;
  height: 44px;
}
.tools__name {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-65);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tools__item img { transition: transform 0.25s var(--ease-out); }
  .tools__item:hover img { transform: translateY(-3px); }
}

/* The most important line on the page, with room to breathe */
.about__statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(120px, 14vw, 200px);
  text-align: center;
}
.statement {
  position: relative;
  margin: 0;
  padding-top: 56px;
}
.statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 2px;
  margin-left: -24px;
  background: var(--green);
}
.statement p {
  max-width: 25ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.1vw, 2.875rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
@media (max-width: 767px) { .statement p { max-width: none; } }
.about__statement .btn { margin-top: clamp(40px, 5vw, 56px); }

/* hand-drawn green swoosh under a phrase (decorative) */
.swoosh {
  position: relative;
  white-space: nowrap;           /* the phrase never splits across lines */
}
.swoosh__line {
  position: absolute;
  left: -2%;
  bottom: -0.26em;
  width: 104%;
  height: 0.4em;
  overflow: visible;
  pointer-events: none;
}
/* stroke in viewBox units, so the dash (pathLength 1) always covers the whole phrase */
.swoosh__line path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;          /* drawn by default (no JS, reduced motion) */
}
@media (prefers-reduced-motion: no-preference) {
  .statement.is-armed .swoosh__line path { stroke-dashoffset: 1; }
  .statement.is-drawn .swoosh__line path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.8s var(--ease-out);
  }
  .statement.is-drawn .swoosh:last-of-type .swoosh__line path { transition-delay: 0.25s; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: 0 var(--section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  padding-top: var(--section);
  border-top: 1px solid var(--ink-line);
}
.faq__head { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 32px); }
.faq__more {
  max-width: 32ch;
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--ink-65);
}
.faq__more a { color: var(--green); text-underline-offset: 3px; }

.qa { border-top: 1px solid var(--ink-line); }
.qa:last-child { border-bottom: 1px solid var(--ink-line); }
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:focus-visible { outline-offset: 4px; border-radius: 6px; }
.qa__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.qa__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--ink-line-14);
  transition: transform 0.35s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease;
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
.qa[open] .qa__icon::before,
.qa[open] .qa__icon::after { background: var(--cream); }
.qa__a { padding: 0 56px 30px 0; }
.qa__a p {
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-65);
}
.qa__a .btn { margin-top: 22px; }

/* ---------- Closing call to action (night) ---------- */
.final {
  padding-block: clamp(112px, 14vw, 184px) clamp(96px, 11vw, 144px);
  background: var(--night);
  color: var(--cream);
  text-align: center;
}
.final :focus-visible { outline-color: var(--cream); }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.final__sub {
  max-width: 40ch;
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--cream-muted);
}
.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.final__email { margin: 24px 0 0; font-size: 15px; color: var(--cream-72); }
.final__email a { color: var(--cream); text-underline-offset: 3px; }

/* Short brief */
.brief { width: 100%; max-width: 560px; margin-top: 48px; text-align: left; }
.brief__toggle {
  display: block;
  margin: 0 auto;
  padding: 10px 4px;
  border: 0;
  background: none;
  font-size: 15px;
  color: var(--cream-72);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.brief__toggle:hover { color: var(--cream); }
.brief__chev { display: inline-block; margin-left: 4px; transition: transform 0.3s var(--ease-out); }
.brief__toggle[aria-expanded="true"] .brief__chev { transform: rotate(180deg); }

.brief__reveal { overflow: hidden; transition: height 0.45s var(--ease-out); }
.brief__reveal.is-collapsed {
  visibility: hidden;
  transition: height 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.brief__panel {
  margin-top: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid var(--line-18);
  background: rgba(255, 244, 218, 0.04);
}
.brief__intro { margin: 0 0 24px; font-size: 17px; color: var(--cream); }
.brief.is-js .brief__intro { display: none; }   /* the toggle already says it */

.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--cream-72); }
.field__req { font-weight: 400; color: rgba(255, 244, 218, 0.55); }
.field__input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 20, 15, 0.5);
  font: inherit;
  font-size: 16px;
  color: var(--cream);
  transition: border-color 0.2s ease;
}
.field__input:hover { border-color: rgba(255, 244, 218, 0.4); }
.field__input:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; border-color: var(--cream); }
.field__input--area { height: auto; min-height: 124px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field__input::placeholder { color: rgba(255, 244, 218, 0.45); }
.field__input[aria-invalid="true"] { border-color: #F2C2AE; }
.field__error { margin: 8px 0 0; font-size: 14px; color: #F2C2AE; }
.field__error:empty { display: none; }
.brief__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__status { margin: 0 0 12px; font-size: 14px; color: var(--cream-72); }
.brief__status:empty { display: none; }
.brief__status a { color: var(--cream); }
.brief__submit { width: 100%; margin-top: 8px; }
.brief__done { padding: 12px 0; text-align: center; }
.brief__done:focus { outline: none; }
.brief__check { color: var(--cream); }
.brief__thanks { margin: 16px 0 0; font-size: 20px; color: var(--cream); }
.brief__wa { margin-top: 24px; }

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 40px;
  background: var(--night);
  color: var(--cream-72);
  font-size: 16px;
}
.footer .wrap { border-top: 1px solid var(--line-18); padding-top: 56px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
.footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.footer__line { margin: 10px 0 0; font-size: 15px; }
.footer__label {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--cream-muted);
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__small { margin: 64px 0 0; font-size: 14px; color: rgba(255, 244, 218, 0.55); }

/* ---------- Video player ---------- */
.player {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.player[open] { display: grid; place-items: center; }
.player::backdrop { background: rgba(5, 20, 15, 0.9); }
.player__stage {
  position: relative;
  overflow: hidden;
  width: min(1200px, 92vw, calc((100dvh - 120px) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
}
.player__stage[data-ratio="9:16"] { width: min(92vw, calc((100dvh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 244, 218, 0.08);
  color: var(--cream);
  cursor: pointer;
}
.player__close:hover { background: rgba(255, 244, 218, 0.16); }
.player :focus-visible { outline-color: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .player[open] .player__stage { animation: player-in 0.4s var(--ease-out); }
}
@keyframes player-in { from { opacity: 0; transform: scale(0.97); } }

/* ---------- Below the hero: tablet and phone ---------- */
@media (max-width: 1023px) {
  .work__grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__grid--wide > .is-featured:first-child { grid-row: auto; }
  .work__grid--wide > .is-featured:first-child .clip__frame { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step__desc { grid-column: 2; }
}

@media (max-width: 860px) {
  .process__head,
  .about__grid,
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 440px; }
  .about__story { max-width: none; }
  .faq__head { position: static; }
  .work__grid--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .work__head { flex-direction: column; align-items: stretch; }
  .tabs { display: flex; }
  .tabs__tab { flex: 1 1 auto; padding: 0 12px; }
  .work__grid--wide { grid-template-columns: minmax(0, 1fr); }
  .work__grid--wide > .is-featured:first-child { grid-column: auto; }
  .work__grid--wide > .is-featured:first-child .clip__title { font-size: 19px; }
  .clip__play { width: 56px; height: 56px; }
  .process__lede, .final__sub { font-size: 17px; }
  .qa__text { font-size: 18px; }
  .qa__a { padding-right: 0; }
  .final__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .final__actions .btn { width: 100%; }
  .brief__panel { padding: 24px 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__small { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .clip__frame img, .clip__play, .qa__icon, .brief__reveal, .brief__chev { transition: none; }
}
