/* ==========================================================
   MAYA NIJHAWAN — design system
   Visual language recreated from emmajohnson.webflow.io:
   oversized uppercase display type used SELECTIVELY, restrained
   utility labels, readable editorial body copy, near-black ink
   on white/grey, neon-yellow + pastel section-level color blocks.

   This is a portfolio, not a document — SHOW → PROVE → EXPLAIN →
   CONVERT. Scale and whitespace carry the hierarchy; dividers and
   cards are used sparingly, not as default scaffolding.
   ========================================================== */

:root{
  /* -- palette (sampled from the reference site's computed styles) -- */
  --ink:            #191919;
  --ink-soft:       #4a4a4a;
  --paper:          #ffffff;
  --paper-soft:     #fbfbfa;
  --grey-line:      #d9d9d9;
  --grey-fill:      #d3d3d3;
  --grey-fill-dark: #b7b7b7;
  --yellow:         #ffff37;
  --pink:           #ffdede;
  --mint:           #d8efe6;
  --periwinkle:     #858eca;
  --sky:            #aebac4;
  --cream:          #f3ecdd;

  /* -- type -- */
  --font-display: "Clash Display Variable", "Clash Display", "Archivo Black", sans-serif;
  --font-body: "Satoshi Variable", "Satoshi", "Inter", sans-serif;

  /* Three roles, used deliberately:
     A. DISPLAY  — graphic, huge, bold. Names, major statements,
        giant stats, project titles, final CTA.
     B. UTILITY  — small, controlled. /Labels, categories, nav, metadata.
     C. BODY     — readable editorial copy, comfortable line-height. */
  --display-giant: clamp(2.1rem, 4.2vw, 4.1rem); /* positioning statement, why-maya moments */
  --display-xxl:   clamp(1.8rem, 3.3vw, 3.3rem); /* section headlines, project titles */
  --display-xl:    clamp(1.4rem, 2.2vw, 2rem);   /* pillar/row/scenario titles */
  --display-lg:    clamp(1.3rem, 2vw, 1.8rem);   /* smaller display moments */
  --stat-lg:       clamp(2.4rem, 4.8vw, 4rem);   /* in-project metrics */

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1440px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{
  font: inherit; color: inherit; background: none; border: none;
  cursor: pointer; padding: 0; text-align: inherit;
}

/* width:100% keeps this filling-then-capped inside a flex container too — a
   flex item with an auto cross-axis margin sizes via shrink-to-fit instead
   of the "fill available width" that block layout gives width:auto, so
   without this a .wrap inside any flex section renders narrower than
   var(--max) and its auto margins stop centering it correctly. */
.wrap{ width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide{ width: 100%; max-width: 1720px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- reveal-on-scroll: applied to whole MODULES, not paragraphs ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

[data-reveal-img]{
  transform: scale(1.06);
  transition: transform 1.3s var(--ease);
}
[data-reveal-img].is-visible{ transform: scale(1); }

/* ==========================================================
   NAV — fixed bottom-center pill
   ========================================================== */
.nav{
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 14px);
  z-index: 200; opacity: 0;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.nav.is-shown{ opacity: 1; transform: translate(-50%, 0); }
.nav-pill{
  display: flex; align-items: center; gap: 6px;
  background: var(--ink); border-radius: 999px; padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.nav-chip{
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: .04em; color: var(--paper); border: 1px solid transparent;
  white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav-chip--logo{ background: var(--paper); color: var(--ink); width: 40px; padding: 0; font-size: 12px; }
.nav-chip:not(.nav-chip--logo):hover{ background: #2c2c2c; }
.nav-chip.is-active{ border-color: var(--yellow); }

@media (max-width: 480px){
  .nav{ bottom: 14px; left: 8px; right: 8px; transform: none; width: calc(100% - 16px); }
  .nav.is-shown{ transform: none; }
  .nav-pill{ padding: 5px; gap: 2px; justify-content: space-between; }
  .nav-chip{ height: 34px; padding: 0 8px; font-size: 10px; letter-spacing: .01em; }
  .nav-chip--logo{ width: 34px; }
}

/* ==========================================================
   HERO — dominates the opening viewport. Name is measured and
   fit to the available width in JS (initHeroNameFit) so it always
   reads as a graphic element, never leaving dead white space.
   ========================================================== */
.hero{ position: relative; height: 100vh; height: 100dvh; }
.hero-sticky{
  position: relative; height: 100%; overflow: hidden; background: var(--paper);
}

.hero-card{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; background: var(--paper);
}

.hero-card-image{
  position: relative; flex: 1; min-height: 0;
  background: linear-gradient(120deg, #d6d6d6, #c7c7c7 55%, #dedede);
  overflow: hidden;
}
.hero-eyebrow-group{
  position: absolute; z-index: 1;
  left: clamp(1.25rem, 5vw, 5rem); top: 12%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  max-width: 58%;
}
.hero-eyebrow{
  margin: 0;
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: clamp(.68rem, .85vw, .78rem);
  color: var(--cream); opacity: .8;
}
.hero-headline{
  margin: 0; margin-top: 1.3rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem); line-height: 1.18;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero-flip{
  position: relative; display: inline-block; overflow: visible;
  height: 1em; vertical-align: top;
}
.hero-flip-word{
  position: absolute; left: 0; top: 0; overflow: visible;
  opacity: 0; white-space: nowrap;
  filter: blur(3px); transform: translateY(9px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
}
.hero-flip-word.is-active{
  opacity: 1; filter: blur(0); transform: translateY(0);
}
.hero-flip-text{
  position: relative; z-index: 2; display: inline-block;
  color: var(--ink); text-shadow: none; padding: 0 .12em;
}
.hero-flip-w2{ margin-left: .11em; }

/* GETS IT — a loose marker swipe, imperfect edges, paints in from the left */
.hero-flip-swipe{
  position: absolute; z-index: 1; inset: -.06em -.16em;
  background: var(--yellow);
  clip-path: polygon(1% 14%, 97% 0%, 100% 80%, 4% 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease);
}
.hero-flip-word--gets.is-active .hero-flip-swipe{ transform: scaleX(1); }

/* WANTS IT — a clean reveal that expands from the center outward */
.hero-flip-reveal{
  position: absolute; z-index: 1; inset: -.06em -.16em;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: center;
  transition: transform .55s var(--ease);
}
.hero-flip-word--wants.is-active .hero-flip-reveal{ transform: scaleX(1); }

/* BUYS IT — underline draws in, then expands upward into a full field */
.hero-flip-field{
  position: absolute; z-index: 1; left: -.14em; bottom: -.1em;
  width: calc(100% + .28em); height: 0;
  background: var(--yellow);
  transition: height .42s var(--ease);
}
.hero-flip-word--buys.is-active .hero-flip-field{
  height: calc(100% + .2em);
}

@media (prefers-reduced-motion: reduce){
  .hero-flip-word{ transition: none; }
  .hero-flip-swipe, .hero-flip-reveal, .hero-flip-field{ transition: none; }
}
.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;
}
.availability-indicator{
  margin: 0; margin-top: 2.25rem; display: inline-flex; align-items: center; gap: .5rem;
  color: var(--cream); opacity: .82;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(.72rem, .95vw, .85rem);
}
.availability-dot{
  width: 7px; height: 7px; border-radius: 50%; background: #5CE1A6; flex: none;
  animation: availabilityPulse 1.8s ease-in-out infinite;
}
@keyframes availabilityPulse{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .35; transform: scale(.65); }
}
.hero-portrait{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

.hero-name-bar{
  position: relative; background: var(--paper);
  padding: clamp(.45rem, 1.3vw, .9rem) clamp(1.25rem, 5vw, 3rem);
  display: flex; align-items: flex-end; justify-content: flex-start;
  gap: clamp(.75rem, 2vw, 2rem);
}
.hero-name{
  margin: 0; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; line-height: .92; letter-spacing: -.005em; word-spacing: .148em;
  color: var(--ink); white-space: nowrap;
  /* font-size is set inline by JS (initHeroNameFit) to always fill the bar */
  font-size: clamp(1.5rem, 9vw, 7.2rem);
}
.hero-name-kern{ display: inline-block; margin-left: -.045em; }
.scroll-cue-slot{
  flex: 1 1 auto; min-width: 0; align-self: center;
  display: flex; align-items: center; justify-content: center;
}
.hero-name-period{ color: var(--yellow); }

@media (max-width: 720px){
  .hero-portrait{ object-position: 80% top; }
  .hero-eyebrow-group{ max-width: 78%; top: 8%; gap: 0; }
  .hero-eyebrow{ font-size: .62rem; }
  .hero-headline{ font-size: clamp(1.6rem, 8vw, 2.6rem); margin-top: .8rem; }
  .availability-indicator{ font-size: .68rem; margin-top: 1.5rem; }
  .hero-cta{ margin-top: 14px; }
  .hero-name-bar{ flex-direction: row; align-items: flex-end; }
}

/* ==========================================================
   SECTION SCAFFOLDING
   ========================================================== */
.section{ padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tint{ position: relative; }

.section-label{
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.section-label--light{ color: rgba(255,255,255,.62); }
.section-label--onblue{ color: rgba(255,255,255,.75); }

.editorial-headline{
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--display-giant); line-height: 1.22; letter-spacing: -.005em;
  margin: 0 0 1.5rem; max-width: 34ch;
}
.editorial-headline--light{ color: var(--paper); }

.supporting-copy{
  font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.62;
  color: var(--ink-soft); max-width: 56ch; margin: 0 0 1.1rem;
}

.cta-row{ display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.9rem; border-radius: 999px; font-weight: 700;
  font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn--fill{ background: var(--ink); color: var(--paper); }
.btn--fill:hover{ background: #333; transform: translateY(-2px); }
.work-cta:hover{ background: var(--yellow); color: var(--ink); }
.btn--outline{ border: 1.5px solid var(--ink); color: var(--ink); }
.btn--outline:hover{ background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.see-work-cta:hover{ background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--outline-light{ border: 1.5px solid rgba(255,255,255,.55); color: var(--paper); }
.btn--outline-light:hover{ background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn--yellow{ background: var(--yellow); color: var(--ink); padding: 1.25rem 2.25rem; font-size: 14px; }
.btn--yellow:hover{ transform: translateY(-2px); }

/* hero CTA — deliberately quiet by default so the "WANTS IT." highlight
   stays the only dominant acid-yellow element in the hero; yellow only
   appears here on hover. */
.hero-cta{
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.6rem; margin-top: 14px;
  transition: background-color .18s ease, color .18s ease;
}
.hero-cta:hover{ background: var(--yellow); color: var(--ink); }

.link-arrow{
  font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: opacity .25s var(--ease);
}
.link-arrow:hover{ opacity: .6; }
.link-arrow--light{ color: var(--paper); }

/* ==========================================================
   02 — POSITIONING STATEMENT
   ========================================================== */
.positioning{ padding: clamp(5rem, 11vw, 9rem) 0; }
.positioning-statement{
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--display-giant); line-height: 1.22; letter-spacing: -.005em;
  color: var(--ink); max-width: 44ch; margin: 0 0 2.75rem;
}
.accent-highlight{
  position: relative; display: inline-block; padding: 0 .12em; z-index: 0;
}
.accent-highlight::before{
  content: ''; position: absolute; z-index: -1;
  inset: -.04em 0;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: left center;
}
.accent-highlight.is-entering::before{
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.accent-highlight.is-leaving::before{
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform .42s var(--ease);
}
@media (prefers-reduced-motion: reduce){
  .accent-highlight.is-entering::before, .accent-highlight.is-leaving::before{ transition: none; }
}
.positioning-foot{ display: flex; flex-direction: column; align-items: flex-start; }
.intro-copy{ max-width: min(830px, 100%); }
.intro-copy p{ font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.62; color: var(--ink-soft); margin: 0 0 1.1rem; }
.intro-copy p strong{ font-weight: 700; color: var(--ink); }
.intro-copy p.intro-copy-beat{ margin-top: .3rem; }
.intro-copy p.intro-copy-final{ color: var(--ink); font-weight: 700; margin-bottom: 0; }
.intro-copy p.intro-copy-final strong{ font-weight: 700; }
.positioning-foot .cta-row{ margin-top: 2.25rem; }

/* ==========================================================
   04 — SELECTED WORK (centerpiece)
   ========================================================== */
.work-intro{ padding-bottom: 0; border-top: 1px solid var(--grey-line); }

.project{ position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; overflow: hidden; }
.project--pink{ background: #FAEBDC; }
.project--periwinkle{ background: #DFDECE; }
.project--mint{ background: #F4EDE1; }

.project-head{
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap;
}
.project-eyebrow{
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); display: block; margin-bottom: .75rem;
}
.project-title{
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--display-giant); line-height: .92; letter-spacing: -.01em; margin: 0;
}
.project-index{
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--ink-soft); flex: none; opacity: .7;
}

/* -- PROOF: the headline takeaways, shown in the left column right below
   the company name — the "movie trailer" for the project. Compact and
   editorial, not full-width dashboard scale, but sized to be one of the
   first things the eye lands on. -- */
.project-proof{
  display: flex; flex-direction: column; gap: 1.1rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem); padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(25,25,25,.12);
}
.proof-row{ display: flex; gap: clamp(2rem, 4vw, 3rem); }
.proof-stat{ display: flex; flex-direction: column; }
.proof-stat-number{
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.1rem, 3.2vw, 2.75rem); line-height: 1;
}
.proof-stat-label{
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: .5rem;
}

.project-body{
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.project-copy{ font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: min(56ch, 100%); margin: 0 0 1.5rem; }
.project-insight{ font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; max-width: min(56ch, 100%); margin: 0 0 2rem; }
.project-insight strong{
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .7rem; color: var(--ink-soft);
}
.project-insight strong::before{ content: '/'; margin-right: .3em; opacity: .55; }
.project-insight:last-of-type{ margin-bottom: 0; }
.project-insight:last-of-type:has(+ .project-recognition){ margin-bottom: 2rem; }
.project-insight:has(+ .project-insight--continue){ margin-bottom: .6rem; }

/* -- SELECTED RECOGNITION: optional, deliberately quiet — never large
   stats or badges, just a short muted list beneath the case-study copy. -- */
.recognition-label{
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .75rem; color: var(--ink-soft);
}
.recognition-label::before{ content: '/'; margin-right: .3em; opacity: .55; }
.recognition-list{
  list-style: none; margin: 0; padding: .9rem 0 0; border-top: 1px solid rgba(25,25,25,.14);
  display: flex; flex-direction: column; gap: .45rem; max-width: min(48ch, 100%);
}
.recognition-list li{ font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }

/* -- visual compositions (placeholders, clearly marked, swap for real assets later) --
   Asymmetric editorial hierarchy (one/two lead pieces + smaller supporting tiles),
   with a restrained hover treatment previewing that these become clickable/linked. */
.project-visual{ position: relative; min-height: 360px; min-width: 0; }

.collage-block, .f2-asset, .social-tile{
  position: relative;
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.collage-block:hover, .social-tile:hover{ transform: scale(1.015); box-shadow: inset 0 0 0 1.5px rgba(25,25,25,.18); cursor: pointer; }
.f2-asset:hover{ transform: scale(1.012); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); cursor: pointer; }

.collage-block::after, .social-tile::after{
  content: '↗'; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
  background: rgba(255,255,255,.92); color: var(--ink);
  opacity: 0; transform: scale(.7); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.collage-block:hover::after, .social-tile:hover::after{ opacity: 1; transform: scale(1); }

.f2-asset::after{
  content: '↗'; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.28);
  opacity: 0; transform: scale(.7); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.f2-asset:hover::after{ opacity: 1; transform: scale(1); }

/* FINCH — editorial collage */
.collage{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; aspect-ratio: 1.538; }
.collage-block{
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.55);
}
.collage-tile-image{ position: relative; flex: 1; min-height: 0; background-size: cover; background-position: center; }
.collage-tile-bar{
  flex: none; display: flex; align-items: center; height: 40px; padding: 0 14px;
  background: rgba(25,25,25,.92);
}
.collage-tile-label{
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.collage-block--a{ grid-column: 1 / 5; grid-row: 1 / 3; }
.collage-block--b{ grid-column: 1 / 3; grid-row: 3 / 5; }
.collage-block--b:hover{ transform: none; box-shadow: none; cursor: default; }
.collage-block--b::after{ display: none; }
.collage-block--c{ grid-column: 3 / 7; grid-row: 3 / 5; }
.collage-block--e{ grid-column: 5 / 7; grid-row: 1 / 3; }

/* F2 — one hero proof point (website before/after) + four supporting tiles
   (launch video, launch cadence, sales deck, motion asset), all one cohesive
   dark/charcoal system: same radius, border treatment, padding, hover, label style. */
.f2-assets{
  display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, 1fr);
  gap: 10px; width: 100%; aspect-ratio: 1.4;
}
.f2-asset{
  border-radius: 18px; overflow: hidden; background: rgba(25,25,25,.92);
  display: flex; flex-direction: column;
}
.f2-asset--thumb{ background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #141414; }
.f2-asset--hero{ grid-column: 1; grid-row: 1 / 3; }
.f2-asset--video{ grid-column: 2; grid-row: 1; }
.f2-asset--remotion{ grid-column: 2; grid-row: 2; }

/* hero: simple split-screen before/after, same caption bar as the rest */
.f2-split{ position: relative; flex: 1; min-height: 0; display: flex; }
.f2-split-before, .f2-split-after{
  position: relative; flex: 1; display: flex; align-items: flex-start; padding: 16px;
  background-size: contain; background-repeat: no-repeat; background-position: top center; background-color: #141414;
}
.f2-split-before::before, .f2-split-after::before{
  content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.f2-split-after{ border-left: 1px solid rgba(255,255,255,.14); }
.f2-split-tag{ position: relative; z-index: 1; }
.f2-split-tag{ font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.f2-asset:hover .tile-play-icon{ transform: translate(-50%, -50%) scale(1.08); background: rgba(0,0,0,.7); }

@media (max-width: 900px){
  .f2-assets{ grid-template-columns: 1fr; grid-template-rows: auto 1fr 1fr; aspect-ratio: auto; }
  .f2-asset--hero{ grid-column: 1; grid-row: 1; aspect-ratio: 1.9; }
  .f2-asset--video{ grid-column: 1; grid-row: 2; aspect-ratio: 1.9; }
  .f2-asset--remotion{ grid-column: 1; grid-row: 3; aspect-ratio: 1.9; }
}

@media (max-width: 640px){
  .f2-assets{ display: block; }
  .f2-asset--hero{ aspect-ratio: 1.7; margin-bottom: 10px; }
  .f2-asset-scroll{
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .f2-asset-scroll .f2-asset{ flex: 0 0 68%; aspect-ratio: 1.25; scroll-snap-align: start; }
}
@media (min-width: 641px){
  .f2-asset-scroll{ display: contents; }
}

/* DOT DOT MAYA — social content grid: one lead video tile + supporting tiles */
.social-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; aspect-ratio: 1.196; }
.social-tile{
  border-radius: 12px; background: rgba(25,25,25,.08); min-width: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(25,25,25,.4); text-align: center; padding: .5rem;
}
.social-tile--a{ grid-column: 1 / 3; grid-row: 1 / 3; }
.social-tile--b{ grid-column: 3 / 4; grid-row: 1 / 2; }
.social-tile--c{ grid-column: 4 / 5; grid-row: 1 / 2; }
.social-tile--d{ grid-column: 3 / 4; grid-row: 2 / 3; }
.social-tile--e{ grid-column: 4 / 5; grid-row: 2 / 3; }
.social-tile--f{ grid-column: 1 / 5; grid-row: 3 / 5; }
.social-tile--f:hover{ transform: none; box-shadow: none; cursor: default; }
.social-tile--f::after{ display: none; }
.social-tile--dark{ background: rgba(25,25,25,.85); color: rgba(255,255,255,.55); }
.social-tile--play::before{
  content: ""; position: absolute; bottom: 10px; left: 10px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(255,255,255,.9);
}

/* -- real video thumbnail (e.g. YouTube), with a centered play button
   instead of the small placeholder dot -- */
.social-tile--thumb{ background-size: cover; background-position: center; }
.tile-play-icon{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.tile-play-icon::before{
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.social-tile--thumb:hover .tile-play-icon,
.collage-block--thumb:hover .tile-play-icon{ transform: translate(-50%, -50%) scale(1.08); background: rgba(0,0,0,.7); }

@media (max-width: 900px){
  .project-body{ grid-template-columns: 1fr; }
}

/* ==========================================================
   PERSONAL PROJECTS — two side projects, split evenly
   ========================================================== */
.personal-projects{ padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--grey-line); }
.personal-projects-intro{
  font-family: var(--font-body); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.62;
  color: var(--ink-soft); max-width: 62ch; margin: 0;
}
.personal-projects-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.personal-project-title{
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--display-xl); letter-spacing: -.005em; margin: 0 0 1.1rem;
}
.personal-project-thumb{
  position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1.6;
  background: var(--paper-soft); border: 1px solid var(--grey-line);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.personal-project-thumb:hover{ transform: scale(1.015); box-shadow: inset 0 0 0 1.5px rgba(25,25,25,.18); cursor: pointer; }
.personal-project-thumb--image{
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 0; font-size: 0;
}
.personal-project-thumb::after{
  content: '↗'; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
  background: rgba(255,255,255,.92); color: var(--ink);
  opacity: 0; transform: scale(.7); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.personal-project-thumb:hover::after{ opacity: 1; transform: scale(1); }

/* diagonal work-in-progress ribbon across the top-left of each thumbnail */
.personal-project-thumb::before{
  content: 'Work in progress';
  position: absolute; top: 44px; left: -62px; z-index: 2;
  transform: rotate(-45deg);
  background: var(--yellow); color: var(--ink);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; padding: 7px 64px;
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
  pointer-events: none;
}

@media (max-width: 720px){
  .personal-projects-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   05 — SERVICES (three editorial pillars)
   ========================================================== */
.services{ background: var(--paper); }

/* ==========================================================
   06 — WHEN I'M USEFUL
   ========================================================== */
.when-useful{ background: var(--ink); color: var(--paper); }
.when-statement{
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--display-giant); line-height: 1.22; letter-spacing: -.005em;
  margin: 0 0 1.75rem; max-width: 36ch;
  color: var(--paper);
}
.when-highlight{
  background: var(--yellow); color: var(--ink);
  padding: .05em .18em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.scenario-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12);
}
.scenario{
  background: var(--ink);
  padding: clamp(2.25rem, 4vw, 3.25rem);
  display: flex; align-items: center; gap: 1.5rem;
}
.scenario-num{
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: rgba(255,255,255,.9); flex: none;
}
.scenario-divider{ width: 2px; align-self: stretch; background: var(--yellow); flex: none; }
.scenario-text{
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; margin: 0;
  color: rgba(255,255,255,.88);
}
@media (max-width: 720px){
  .scenario-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   ENGAGEMENT MODELS — three cards, all content visible at once
   so the three options are easy to compare at a glance. Now part
   of the merged Services section.
   ========================================================== */
.engage-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 2.8vw, 2.25rem);
  margin-top: clamp(3rem, 6vw, 5rem); align-items: stretch;
}
.engage-card{
  display: flex; flex-direction: column;
  border: 1px solid rgba(25,25,25,.16); border-radius: 20px;
  padding: clamp(2rem, 3vw, 2.75rem);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.engage-card:hover{ border-color: var(--ink); transform: translateY(-4px); }
.engage-num{
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 1.5rem;
}
.engage-name{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -.005em; margin: 0 0 1rem;
}
.engage-desc{ font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 1rem; }
.engage-desc:last-child{ margin-bottom: 0; }
.engage-examples{
  list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--grey-line); display: flex; flex-direction: column; gap: .55rem;
}
.engage-examples li{ font-size: .95rem; color: var(--ink-soft); }

@media (max-width: 860px){
  .engage-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   FINAL CTA + FOOTER
   ========================================================== */
.contact-cta{ background: var(--ink); color: var(--paper); padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: 0; }
.contact-statement{
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--display-giant); line-height: 1.22; letter-spacing: -.005em; max-width: 26ch; margin: 0 0 1.5rem;
}
.contact-statement-break{ display: block; }
@media (max-width: 640px){
  .contact-statement{ max-width: none; }
  .contact-statement-break{ display: none; }
}
.contact-secondary{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: rgba(255,255,255,.55); margin: 0 0 2rem;
}
.contact-links{ display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }

.footer-bottom{
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.75rem; padding-bottom: 1.75rem; border-top: 1px solid rgba(255,255,255,.15);
  margin-top: clamp(4rem, 9vw, 6rem); font-size: 12px; color: rgba(255,255,255,.55);
}

@media (max-width: 640px){
  .contact-links{ flex-direction: column; gap: 1rem; }
}
