/* =========================================================
   Foundation rebuild — design system reverse-engineered
   from the "Viral" Framer template (free, by Hamza Ehsan).
   All values below were measured from the live site.
   ========================================================= */

:root {
  /* Color */
  --bg: #EFEBE5;            /* page canvas */
  --surface: #F7F2EA;       /* cards */
  --surface-2: #F7F5F2;     /* mask / light panel */
  --ink: #000000;
  --white: #FFFFFF;
  --pill: rgba(0, 0, 0, 0.04);
  --muted: rgba(0, 0, 0, 0.48);
  --muted-2: rgba(0, 0, 0, 0.56);
  --muted-3: rgba(0, 0, 0, 0.36);
  --faint: rgba(0, 0, 0, 0.24);
  --line: rgba(0, 0, 0, 0.08);

  /* Type */
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  /* Layout */
  --page: 1200px;          /* section max width */
  --pad-x: 64px;           /* section horizontal padding */
  --pad-y: 80px;           /* section vertical padding */
  --gap-section: 64px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-badge: 20px;
  --r-pill: 50px;

  /* Motion (measured) */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);    /* in-view reveals, ~1.2s */
  --ease-spring: cubic-bezier(0.22, 1.12, 0.36, 1); /* spring stiffness 121 / damping 27 / mass .3 */
  --ease-intro: cubic-bezier(0.56, 0.22, 0.05, 0.99); /* loader logo spin */
  --ease-pop: cubic-bezier(0.34, 1.45, 0.64, 1);    /* button text roll, accordion */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Type scale ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.t-hero   { font-size: 100px; line-height: 1;   letter-spacing: -6px; }
.t-hero .serif { letter-spacing: -8px; }
.t-h2     { font-size: 70px;  line-height: 1;   letter-spacing: -4.2px; text-align: center; }
.t-h2 .serif { letter-spacing: -5.6px; }
.t-case   { font-size: 64px;  line-height: 1.1; letter-spacing: -3.84px; }
.t-case .serif { letter-spacing: -5.12px; }
.t-cta    { font-size: 56px;  line-height: 1.1; letter-spacing: -3.36px; text-align: center; }
.t-cta .serif { letter-spacing: -4.48px; }
.t-mission{ font-size: 48px;  line-height: 1.1; letter-spacing: -2.88px; }
.t-mission .serif { letter-spacing: -3.84px; }
.t-faq    { font-size: 40px;  line-height: 1.2; letter-spacing: -2.4px; }
.t-faq .serif { font-weight: 600; letter-spacing: -2.8px; }
.t-quote  { font-size: 37px;  line-height: 1.2; letter-spacing: -2.22px; }
.t-quote .serif { letter-spacing: -2.96px; }
.t-h3     { font-size: 28px;  line-height: 1.4; letter-spacing: -1.4px; }
.t-lead   { font-size: 24px;  line-height: 1.5; letter-spacing: -1.2px; color: var(--muted); }
.t-body-lg{ font-size: 20px;  line-height: 1.5; letter-spacing: -1px; }
.t-body   { font-size: 18px;  line-height: 1.5; letter-spacing: -0.72px; }
.t-small  { font-size: 14px;  line-height: 1.5; letter-spacing: -0.56px; }
.muted    { color: var(--muted); }

/* ---------- Primitives ---------- */
.section {
  position: relative;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-section);
}
.stack-center { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pill);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 18px; line-height: 27px; letter-spacing: -0.72px;
  white-space: nowrap;
}

/* Logo mark (placeholder — swap for your own) */
.mark {
  position: relative; flex: none;
  width: 26px; height: 26px;
  background: var(--ink);
  border-radius: 8px;
  display: grid; place-items: center;
}
.mark svg { width: 58%; height: 58%; color: var(--white); }
.mark--lg { width: 80px; height: 80px; border-radius: var(--r-badge); }
.mark--md { width: 32px; height: 32px; border-radius: 10px; }
.logo { display: inline-flex; align-items: center; gap: 5px; }
.logo__word { font-size: 26px; line-height: 1.1; letter-spacing: -1.56px; }

/* Badge that hangs off the top of a card (80×80, top:-40px) */
.hang-badge {
  position: absolute; top: -40px; z-index: 6;
  width: 80px; height: 80px;
  background: var(--ink); border-radius: var(--r-badge);
  display: grid; place-items: center;
  color: var(--white);
}
.hang-badge svg { width: 40px; height: 40px; }
.hang-badge.mark-badge svg { width: 46px; height: 46px; }

/* ---------- Buttons with text-roll hover ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white);
  border-radius: var(--r-pill);
  padding: 16px 32px;
  font-size: 18px; line-height: 27px; letter-spacing: -0.72px;
  white-space: nowrap;
}
.btn--sm { padding: 8px 16px; font-size: 14px; line-height: 21px; letter-spacing: -0.56px; }
.btn__roll { position: relative; display: block; }
.btn__roll span { display: block; transition: transform .45s var(--ease-pop), filter .45s var(--ease-pop), opacity .3s ease; }
.btn__roll span:first-child {
  position: absolute; inset: 0;
  transform: translateY(-38px); filter: blur(5px); opacity: 0;
}
.btn:hover .btn__roll span:first-child,
.btn:focus-visible .btn__roll span:first-child { transform: translateY(0); filter: blur(0); opacity: 1; }
.btn:hover .btn__roll span:last-child,
.btn:focus-visible .btn__roll span:last-child { transform: translateY(42px); filter: blur(5px); opacity: 0; }

/* ---------- Media placeholders ---------- */
.ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.75);
  font-size: 12px; letter-spacing: .02em; text-transform: uppercase;
  background: linear-gradient(160deg, #C9A88B 0%, #8C6A55 55%, #4D3A30 100%);
}
.ph--a { background: linear-gradient(160deg, #E3C2A6 0%, #B4876A 50%, #6A4A3A 100%); }
.ph--b { background: linear-gradient(160deg, #F2B9C7 0%, #C47F95 50%, #6E4058 100%); }
.ph--c { background: linear-gradient(160deg, #D9C7A4 0%, #A08A63 50%, #5A4B36 100%); }
.ph--d { background: linear-gradient(160deg, #9FB8A6 0%, #6A8676 55%, #3C5045 100%); }
.ph--e { background: linear-gradient(160deg, #D8D2CA 0%, #A8A096 55%, #6C655D 100%); }
.ph--light { color: var(--muted); background: linear-gradient(160deg, #F4EDE3, #E8DDCD); }
.ph video, .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Progressive blur strip (bottom of media cards / nav) */
.pblur {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  pointer-events: none;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 30s) linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transform-origin: 50% 0%;
  animation: loader-out .7s cubic-bezier(.76,0,.24,1) 1.05s forwards;
}
.loader__mark {
  width: 60px; height: 59px; color: var(--white);
  animation: loader-mark 1.1s var(--ease-intro) both, loader-mark-out .7s cubic-bezier(.76,0,.24,1) 1.05s forwards;
}
.loader__mark svg { width: 100%; height: 100%; }
@keyframes loader-mark { from { opacity: 0; transform: translateY(560px) rotate(360deg); } to { opacity: 1; transform: none; } }
@keyframes loader-mark-out { to { transform: translateY(-100vh); } }
@keyframes loader-out { to { transform: scaleY(0); } }
.no-loader .loader { display: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 50%; z-index: 9;
  width: 100%; max-width: 1376px; height: 85px;
  transform: translateX(-50%);
}
.nav__blur {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.nav__inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; align-items: center; gap: 24px;
  padding: 24px 64px;
}
.nav__links { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.nav__link { font-size: 14px; line-height: 21px; letter-spacing: -0.56px; border-radius: 8px; transition: opacity .2s ease; }
.nav__link:hover { opacity: .56; }
.nav__toggle { display: none; width: 24px; height: 24px; position: relative; }
.nav__toggle span {
  position: absolute; left: 2px; right: 2px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-pop), top .35s var(--ease-pop);
}
.nav__toggle span:nth-child(1) { top: 8px; }
.nav__toggle span:nth-child(2) { top: 14px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 11px; transform: rotate(-45deg); }
.nav__menu { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  max-width: var(--page); margin: 0 auto;
  min-height: 865px;
  padding: 120px var(--pad-x) 80px;
  display: flex; align-items: center; gap: 64px;
  position: relative; z-index: 1;
}
.hero__content { flex: 1 1 0; max-width: 633px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__text { display: flex; flex-direction: column; gap: 32px; }
.hero__lead { max-width: 488px; }

.socials {
  width: 180px; height: 32px; border-radius: var(--r-sm); background: var(--pill);
  display: flex; align-items: center;
}
.socials .marquee__group { gap: 20px; padding-right: 20px; }
.socials svg { width: 16px; height: 16px; fill: var(--ink); }
.socials .marquee { width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }

/* Story card */
.story {
  position: relative; flex: none;
  width: 375px; height: 665px;
  background: var(--white); border-radius: var(--r-lg);
  padding: 8px;
}
.story__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--r-md); overflow: hidden;
  background: #000;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.story__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.story__slide.is-active { opacity: 1; }
.story__shade { position: absolute; inset: 0 0 auto 0; height: 88px; z-index: 9; background: linear-gradient(rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,0) 100%); }
.story__bars { position: absolute; top: 16px; left: 12px; right: 12px; z-index: 10; display: flex; gap: 4px; }
.story__bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 0; background: var(--white); }
.story__meta { position: absolute; top: 36px; left: 12px; right: 12px; z-index: 11; display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 12px; line-height: 12px; letter-spacing: -0.12px; }
.story__avatar { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #E9C9B3, #A47A62); }
.story__meta b { font-weight: 600; }
.story__meta span { opacity: .7; font-weight: 400; }
.story__nav {
  position: absolute; inset: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,0,0,.18); opacity: 0; transition: opacity .3s ease;
}
.story__nav button { width: 40%; height: 100%; display: flex; align-items: center; color: var(--white); transition: transform .35s var(--ease-reveal); }
.story__nav button svg { width: 48px; height: 48px; opacity: .7; }
.story__nav .prev { justify-content: flex-start; transform: translateX(-24px); }
.story__nav .next { justify-content: flex-end; transform: translateX(24px); }
.story:hover .story__nav { opacity: 1; }
.story:hover .story__nav .prev, .story:hover .story__nav .next { transform: none; }
.story .pblur { left: 8px; right: 8px; bottom: 8px; height: 180px; border-radius: 0 0 17px 17px; z-index: 2;
  background: linear-gradient(to bottom, rgba(247,245,242,0) 0%, rgba(247,245,242,.55) 70%, rgba(247,245,242,.85) 100%); }
.story .story__badge { position: absolute; left: 50%; bottom: -31px; transform: translateX(-50%); z-index: 6; }

/* =========================================================
   LOGOS STRIP
   ========================================================= */
.logos { padding: 24px var(--pad-x); display: flex; justify-content: center; }
.logos__inner { width: 100%; max-width: 1072px; display: flex; align-items: center; gap: 24px; }
.logos__label { flex: none; width: 163px; }
.logos .marquee { flex: 1; height: 27px; display: flex; align-items: center; }
.logos .marquee__group { gap: 48px; padding-right: 48px; }
.brandmark { font-size: 22px; letter-spacing: -0.04em; color: rgba(0,0,0,.42); white-space: nowrap; line-height: 1; }
.brandmark.serif { font-size: 24px; }
.brandmark.caps { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }

/* =========================================================
   SERVICES
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 336px)); gap: 32px; justify-content: center; width: 100%; }
.service {
  position: relative; overflow: hidden;
  height: 450px; padding: 32px;
  background: var(--surface); border-radius: var(--r-md);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.service__media { position: absolute; top: 24px; left: 50%; width: 245px; height: 228px; transform: translateX(-50%); }
.service__text { position: relative; display: flex; flex-direction: column; gap: 8px; }

/* 3D-object placeholders for service cards */
.obj { position: absolute; inset: 0; display: grid; place-items: center; }
.obj__shape {
  width: 130px; height: 130px; border-radius: 30px;
  background: linear-gradient(145deg, #3A3633, #121110);
  box-shadow: 0 30px 40px -18px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.12);
  transform: rotate(-8deg);
  animation: float 6s ease-in-out infinite;
}
.obj__shape--phone { width: 92px; height: 160px; border-radius: 22px; background: linear-gradient(145deg, #2E2B29, #0E0D0C); transform: rotate(10deg); animation-delay: -2s; }
.obj__shape--phone::after { content: ""; position: absolute; inset: 7px; border-radius: 16px; background: linear-gradient(180deg, #F6E3D6, #E8B8A0); }
.obj__shape--horn { width: 120px; height: 90px; border-radius: 20px 60px 60px 20px; background: linear-gradient(145deg, #F2E7D8, #D7C3A7); transform: rotate(-14deg); animation-delay: -4s; }
.obj__shape { position: relative; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* =========================================================
   MISSION (letter)
   ========================================================= */
.letter {
  position: relative;
  background: var(--surface); border-radius: var(--r-md);
  padding: 64px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  box-shadow: 0 .6px 3px rgba(0,0,0,0), 0 2.3px 11.4px rgba(0,0,0,.01), 0 10px 50px rgba(0,0,0,.03);
}
.mission { width: 600px; max-width: 100%; }
.mission__body { display: flex; flex-direction: column; gap: 40px; }
.mission__text { display: flex; flex-direction: column; gap: 24px; }
.mission__paras p + p { margin-top: 18px; }
.mission .hang-badge { right: 24px; }

/* =========================================================
   CASE STUDY
   ========================================================= */
.case { display: flex; align-items: center; gap: 64px; width: 100%; max-width: 1072px; }
.case--reverse { flex-direction: row-reverse; }
.case__text { flex: 1 1 0; max-width: 566px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.case__copy { display: flex; flex-direction: column; gap: 24px; }
.case__copy p { max-width: 517px; }
.case__stats { display: flex; gap: 10px; width: 100%; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-size: 56px; line-height: 1.2; letter-spacing: -3.92px; font-variant-numeric: tabular-nums; }
.stat__label { display: flex; flex-direction: column; gap: 2px; }
.case__card {
  position: relative; flex: none; overflow: hidden;
  width: 442px; height: 516px; border-radius: var(--r-md); background: var(--surface);
}
.case__card .ph { filter: brightness(.95); font-size: 0; }
.quote-media .ph { font-size: 0; }
.case__card .pblur { left: 8px; right: 8px; bottom: 8px; height: 139px; border-radius: 16px; }
.case__brand { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--white); font-family: var(--serif); font-size: 40px; letter-spacing: -1.5px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { position: relative; }
.process__line { position: absolute; top: 11px; left: 50%; width: 703px; height: 90px; transform: translateX(-50%); z-index: 0; overflow: visible; }
.process__line path { stroke-dasharray: 716; stroke-dashoffset: 716; transition: stroke-dashoffset 1.8s var(--ease-reveal) .3s; }
.process.is-in .process__line path { stroke-dashoffset: 0; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.step__icon { width: 100px; height: 100px; border-radius: var(--r-lg); background: var(--surface); display: grid; place-items: center; }
.step__icon svg { width: 36px; height: 36px; fill: var(--ink); }
.step__text { display: flex; flex-direction: column; gap: 8px; }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial { flex-direction: row; justify-content: center; align-items: stretch; gap: 16px; padding-top: 160px; }
.quote-card { width: 520px; }
.quote-card .hang-badge { left: 24px; }
.quote-card__text { display: flex; flex-direction: column; gap: 16px; }
.quote-media { position: relative; overflow: hidden; width: 382px; align-self: stretch; min-height: 349px; border-radius: var(--r-md); padding: 8px; }
.quote-media .ph { border-radius: 10px; filter: brightness(.9); }
.quote-media .pblur { left: 8px; right: 8px; bottom: 8px; height: 87px; border-radius: 16px; }
.quote-media__brand { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--white); font-family: var(--serif); font-style: italic; font-size: 48px; letter-spacing: -1.92px; }

/* =========================================================
   COMPARISON
   ========================================================= */
.compare { display: flex; align-items: flex-end; justify-content: center; gap: 48px; width: 100%; }
.compare__col { width: 401px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.compare__title { font-size: 32px; line-height: 1.2; letter-spacing: -1.6px; color: var(--faint); }
.compare__brand { display: flex; align-items: center; gap: 8px; }
.compare__brand .logo__word { font-size: 32px; letter-spacing: -1.92px; }
.compare__list { width: 100%; background: var(--surface); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.compare__list li { display: flex; align-items: center; gap: 12px; }
.compare__list svg { width: 20px; height: 20px; flex: none; }
.compare__col--them li { color: var(--muted); }
.compare__col--them svg { fill: var(--muted); }
.compare__col--us svg { fill: var(--ink); }
.compare__logos { width: 600px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.compare__logos .marquee { width: 100%; height: 27px; display: flex; align-items: center; }
.compare__logos .marquee__group { gap: 48px; padding-right: 48px; }

/* =========================================================
   TEAM
   ========================================================= */
.team { display: flex; gap: 24px; width: 100%; max-width: 1072px; }
.member { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.member__img { position: relative; overflow: hidden; height: 543px; border-radius: var(--r-md); }
.member__img .ph { transform: scale(1.2); transition: transform 1.6s var(--ease-reveal); }
.member.is-in .member__img .ph { transform: scale(1); }
.member__name { font-size: 24px; line-height: 1.5; letter-spacing: -1.2px; }
.member__role { font-size: 16px; line-height: 1.5; letter-spacing: -0.64px; color: var(--muted-3); }
.join { width: 536px; max-width: 100%; background: var(--surface); border-radius: var(--r-md); padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.join__text { max-width: 398px; display: flex; flex-direction: column; gap: 4px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { padding-top: 160px; }
.faq { width: 588px; max-width: 100%; padding: 48px; gap: 40px; }
.faq .hang-badge { right: 24px; }
.faq .hang-badge svg { transform: rotate(90deg); }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__list { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.faq__item { background: var(--pill); border-radius: var(--r-sm); padding: 16px; }
.faq__q { width: 100%; display: flex; align-items: center; gap: 20px; text-align: left; font-size: 16px; line-height: 24px; letter-spacing: -0.64px; }
.faq__q > span:first-child { flex: 1; }
.faq__icon { width: 24px; height: 24px; flex: none; border-radius: 6px; background: var(--ink); display: grid; place-items: center; }
.faq__icon svg { width: 16px; height: 16px; fill: var(--white); transition: transform .5s var(--ease-pop); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-pop); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 10px 20px 0 3px; opacity: 0; transition: opacity .25s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transition-delay: .25s; }
.faq__item.is-open .faq__icon svg { transform: rotate(135deg); }

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding-top: 160px; }
.cta { display: flex; gap: 16px; width: 100%; max-width: 1072px; }
.cta__left { position: relative; flex: 1 1 614px; background: var(--surface); border-radius: var(--r-md); padding: 80px 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.cta__left .hang-badge { left: 50%; margin-left: -40px; }
.cta__heading { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 416px; }
.cta__heading p { max-width: 385px; }
.cta__right { position: relative; flex: 0 1 442px; min-height: 468px; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px 20px 24px; display: flex; justify-content: center; }
.footer__inner { width: 100%; max-width: 1072px; display: flex; flex-direction: column; gap: 64px; }
.footer__grid { display: grid; grid-template-columns: 341px 1fr; gap: 24px; }
.footer__main { display: flex; flex-direction: column; gap: 24px; }
.footer__tag { max-width: 288px; display: flex; flex-direction: column; gap: 16px; }
.footer__tag h2 { font-size: 32px; line-height: 1.1; letter-spacing: -1.92px; }
.footer__tag h2 .serif { letter-spacing: -2.56px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease-pop); }
.footer__social a:hover { transform: scale(1.08); }
.footer__social svg { width: 16px; height: 16px; fill: var(--white); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 24px; font-size: 14px; line-height: 21px; letter-spacing: -0.56px; }
.footer__col a { color: var(--muted-2); transition: color .2s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 14px; line-height: 21px; letter-spacing: -0.56px; color: var(--muted); }
.footer__bottom a { color: var(--muted-2); }
.footer__bottom a:hover { color: var(--ink); }

/* =========================================================
   MOTION STATES
   ========================================================= */
/* Hero appear: spring up from 170px */
.js [data-appear] { opacity: 0; transform: translateY(170px); }
.is-ready [data-appear] {
  opacity: 1; transform: none;
  transition: transform .95s var(--ease-spring), opacity .35s ease;
  transition-delay: var(--d, 0s);
}
/* Word blur reveal */
.word { display: inline-block; }
.js .word { opacity: 0; filter: blur(10px); transform: translateY(10px); }
.is-ready .word, .is-in .word {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity .6s ease, filter .6s ease, transform .7s var(--ease-reveal);
  transition-delay: calc(var(--wd, 0s) + var(--wi, 0) * 0.07s);
}
/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(80px); }
.js [data-reveal="left"] { transform: translateX(-80px); }
.js [data-reveal="right"] { transform: translateX(80px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: transform 1.2s var(--ease-reveal), opacity .9s ease;
  transition-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  [data-appear], [data-reveal], .word { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================
   TABLET  (810–1199)
   ========================================================= */
@media (max-width: 1199.98px) {
  :root { --pad-x: 32px; }
  .t-hero { font-size: 80px; letter-spacing: -4.8px; }
  .t-hero .serif { letter-spacing: -6.4px; }
  .t-h2 { font-size: 56px; letter-spacing: -3.36px; }
  .t-case { font-size: 48px; letter-spacing: -2.88px; }
  .hero { min-height: 0; gap: 40px; }
  .story { width: 320px; height: 568px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .service { height: 420px; padding: 24px; }
  .case { gap: 40px; }
  .case__card { width: 380px; height: 470px; }
  .compare__col { width: auto; flex: 1; }
  .member__img { height: 440px; }
  .cta__right { flex-basis: 360px; }
}

/* =========================================================
   MOBILE  (≤809)
   ========================================================= */
@media (max-width: 809.98px) {
  :root { --pad-x: 24px; }
  .nav { height: 64px; }
  .nav__inner { padding: 16px 24px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__menu {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 0; left: 0; right: 0; z-index: 0;
    padding: 80px 24px 24px;
    background: var(--surface-2);
    border-radius: 0 0 var(--r-md) var(--r-md);
    transform: translateY(-100%); transition: transform .5s var(--ease-reveal);
  }
  .nav__menu a:not(.btn) { padding: 8px 0; font-size: 14px; line-height: 21px; letter-spacing: -0.56px; }
  .nav__menu .btn { margin-top: 12px; width: 100%; }
  .nav.is-open .nav__menu { transform: none; }
  .nav.is-open .nav__blur { opacity: 0; }

  .t-hero { font-size: 48px; letter-spacing: -2.88px; }
  .t-hero .serif { letter-spacing: -3.84px; }
  .t-h2, .t-case, .t-cta, .t-faq { font-size: 40px; letter-spacing: -2.4px; }
  .t-h2 .serif, .t-case .serif, .t-cta .serif { letter-spacing: -3.2px; }
  .t-case, .t-cta { line-height: 1.1; }
  .t-mission { font-size: 30px; letter-spacing: -1.8px; }
  .t-mission .serif { letter-spacing: -2.4px; }
  .t-lead { font-size: 18px; letter-spacing: -0.9px; }
  .t-body-lg { font-size: 18px; letter-spacing: -0.9px; }

  .hero { flex-direction: column; padding: 120px 24px 80px; gap: 64px; text-align: center; }
  .hero__content { align-items: center; max-width: none; }
  .hero__text { align-items: center; }
  .story { width: 100%; max-width: 360px; height: 620px; }

  .logos__inner { flex-direction: column; text-align: center; }
  .logos__label { width: auto; }
  .logos .marquee { width: 100%; }

  .grid-3 { grid-template-columns: 1fr; }
  .service { height: 420px; }

  .letter { padding: 40px 32px; }
  .case, .case--reverse { flex-direction: column; gap: 48px; }
  .case__text { max-width: none; }
  .case__card { width: 100%; height: 420px; }
  .stat__num { font-size: 48px; }

  .process__line { display: none; }
  .testimonial { flex-direction: column; align-items: stretch; }
  .quote-card { width: 100%; padding: 64px 24px 40px; }
  .quote-media { width: 100%; height: 360px; }

  .compare { flex-direction: column; align-items: stretch; }
  .compare__col { width: 100%; }

  .team { flex-direction: column; }
  .member__img { height: 460px; }
  .join { flex-direction: column; align-items: flex-start; }

  .faq { padding: 40px 24px; }
  .cta { flex-direction: column; }
  .cta__left { padding: 80px 20px 40px; }
  .cta__right { flex-basis: auto; min-height: 360px; }

  .footer { padding: 64px 24px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
