/* ==========================================================================
   Hassan — US Real Estate Market Research & Content Specialist
   Design system + components. Shared by every page of the site.
   --------------------------------------------------------------------------
   1. Fonts & tokens      6. Hero               11. Testimonials
   2. Base & utilities    7. Stats              12. Research sources
   3. Buttons & chips     8. Section headings   13. Closing CTA
   4. Header & nav        9. Services           14. Footer
   5. Ambient motion     10. Featured work      15. Coming-soon page
                                                16. Reveal + reduced motion
   ========================================================================== */

/* ---------- 1. Fonts & tokens ---------- */
/* Manrope is embedded in fonts.css so it also works when index.html is opened directly from disk. */

:root {
  --white: #FFFFFF;
  /* Supporting: slate & soft blue */
  --slate-900: #1F2933;
  --slate-700: #3E4C59;
  --slate-600: #52606D;
  --slate-500: #616E7C;
  --slate-300: #9AA5B1;
  --slate-200: #CBD2D9;
  --line: #E4E7EB;

  /* Type */
  --font: "Manrope", "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.3rem, 1.3rem + 3.1vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2vw, 2.85rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  /* Shape, depth, rhythm */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .06), 0 2px 8px rgba(16, 42, 67, .05);
  --shadow: 0 2px 6px rgba(16, 42, 67, .05), 0 16px 40px -12px rgba(16, 42, 67, .16);
  --shadow-lg: 0 30px 70px -24px rgba(8, 24, 39, .45);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 9vw, 128px);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Color themes (switch in Admin Panel → Theme) ----------
   Each theme redefines the same variables, so every page changes at once. */
:root, [data-theme="midnight"] {
  --navy: #102A43; --navy-950: #081827; --navy-900: #0B1F33; --navy-800: #0E2740; --navy-700: #163654; --navy-650: #143352; --navy-600: #243B53;
  --green: #247A5A; --green-700: #1C6248; --green-800: #145740; --green-900: #0E3E2E; --green-400: #2E8C68; --green-100: #DDEFE6; --green-50: #EEF6F2;
  --gold: #C6A46B; --gold-600: #A9884F; --gold-300: #DCC08E; --gold-100: #F3EAD9; --gold-ink: #6B5326;
  --bg: #F7F8F5; --surface-alt: #EEF1EC; --track: #EBEFF2;
  --blue-100: #DCE7F2; --blue-300: #BCCCDC; --blue-500: #829AB1; --hero-text: #C9D6E3; --blue-glow: #4A78A3; --muted-ink: #5F7A96;
  --navy-rgb: 16, 42, 67; --navy-950-rgb: 8, 24, 39; --navy-900-rgb: 11, 31, 51; --gold-rgb: 198, 164, 107; --green-rgb: 36, 122, 90;
  --blue-300-rgb: 188, 204, 220; --blue-500-rgb: 130, 154, 177; --bg-rgb: 247, 248, 245; --blue-glow-rgb: 74, 120, 163;
  --street: url("../img/streetscape-midnight.svg");
}
[data-theme="charcoal"] {
  --navy: #22252A; --navy-950: #121417; --navy-900: #181A1E; --navy-800: #1D2025; --navy-700: #2C3036; --navy-650: #2A2D33; --navy-600: #3A3F46;
  --green: #D9622B; --green-700: #B84E1E; --green-800: #8F3C17; --green-900: #6A2C10; --green-400: #E8793F; --green-100: #FBE3D6; --green-50: #FDF1EA;
  --gold: #F0B35B; --gold-600: #C98F3A; --gold-300: #F6CC8D; --gold-100: #FCEFD9; --gold-ink: #7A5218;
  --bg: #F7F6F4; --surface-alt: #EFEDEA; --track: #ECE9E5;
  --blue-100: #E6E3DF; --blue-300: #C9C4BD; --blue-500: #9A948C; --hero-text: #D9D4CD; --blue-glow: #6B5E52; --muted-ink: #857E76;
  --navy-rgb: 34, 37, 42; --navy-950-rgb: 18, 20, 23; --navy-900-rgb: 24, 26, 30; --gold-rgb: 240, 179, 91; --green-rgb: 217, 98, 43;
  --blue-300-rgb: 201, 196, 189; --blue-500-rgb: 154, 148, 140; --bg-rgb: 247, 246, 244; --blue-glow-rgb: 107, 94, 82;
  --street: url("../img/streetscape-charcoal.svg");
}
[data-theme="purple"] {
  --navy: #262338; --navy-950: #13111D; --navy-900: #1A1828; --navy-800: #201D31; --navy-700: #322E4A; --navy-650: #2E2A45; --navy-600: #403B5C;
  --green: #6E56CF; --green-700: #5A43B5; --green-800: #47348F; --green-900: #33256B; --green-400: #8B75E0; --green-100: #E7E1FA; --green-50: #F3F0FD;
  --gold: #C4B5FD; --gold-600: #8E79E0; --gold-300: #D9CFFE; --gold-100: #F0ECFF; --gold-ink: #4C3D8F;
  --bg: #F7F7FA; --surface-alt: #EFEEF5; --track: #ECEBF3;
  --blue-100: #E3E1EE; --blue-300: #C3BFD9; --blue-500: #9690B3; --hero-text: #D6D3E8; --blue-glow: #6A5FA8; --muted-ink: #7B76A0;
  --navy-rgb: 38, 35, 56; --navy-950-rgb: 19, 17, 29; --navy-900-rgb: 26, 24, 40; --gold-rgb: 196, 181, 253; --green-rgb: 110, 86, 207;
  --blue-300-rgb: 195, 191, 217; --blue-500-rgb: 150, 144, 179; --bg-rgb: 247, 247, 250; --blue-glow-rgb: 106, 95, 168;
  --street: url("../img/streetscape-purple.svg");
}
[data-theme="emerald"] {
  --navy: #0F2E26; --navy-950: #071712; --navy-900: #0A221C; --navy-800: #0D2922; --navy-700: #173F35; --navy-650: #143A30; --navy-600: #24493F;
  --green: #1F9D6E; --green-700: #17805A; --green-800: #116446; --green-900: #0B4A33; --green-400: #34B985; --green-100: #D5F2E6; --green-50: #ECF8F3;
  --gold: #D4B26A; --gold-600: #B08F48; --gold-300: #E3C98F; --gold-100: #F6EDD8; --gold-ink: #6B5422;
  --bg: #F5F8F6; --surface-alt: #EAF1ED; --track: #E6EEEA;
  --blue-100: #DCE9E3; --blue-300: #B7CEC4; --blue-500: #84A598; --hero-text: #CFE0D8; --blue-glow: #3F7F69; --muted-ink: #5E8174;
  --navy-rgb: 15, 46, 38; --navy-950-rgb: 7, 23, 18; --navy-900-rgb: 10, 34, 28; --gold-rgb: 212, 178, 106; --green-rgb: 31, 157, 110;
  --blue-300-rgb: 183, 206, 196; --blue-500-rgb: 132, 165, 152; --bg-rgb: 245, 248, 246; --blue-glow-rgb: 63, 127, 105;
  --street: url("../img/streetscape-emerald.svg");
}


/* ---------- 2. Base & utilities ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--slate-700); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.12; letter-spacing: -.022em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-100); color: var(--navy); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: var(--radius-sm); font-weight: 700; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 3. Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.55em; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .005em; line-height: 1.2; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(var(--green-rgb), .7); }
.btn--primary:hover { background: var(--green-700); box-shadow: 0 16px 30px -12px rgba(var(--green-rgb), .75); }
.btn--light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .32); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); box-shadow: 0 16px 30px -14px rgba(var(--gold-rgb), .8); }
.btn[aria-disabled="true"] { cursor: not-allowed; }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .9rem; border-radius: 10px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold); }

.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .38em .8em; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap;
}
.chip .icon { width: 1.05em; height: 1.05em; }
.chip--planned   { background: var(--blue-100); color: var(--navy-600); }
.chip--progress  { background: var(--gold-100); color: var(--gold-ink); }
.chip--published { background: var(--green-100); color: var(--green-700); }
.chip--type      { background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- 4. Header & nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--navy); border: 1.5px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 1.15rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__role { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 11px; border-radius: 10px; font-size: .92rem; font-weight: 600; white-space: nowrap;
  color: rgba(255, 255, 255, .82); transition: color .25s, background-color .25s;
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold);
}
.site-header__cta { margin-left: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; place-items: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* Solid state after scrolling (or on light pages) */
.site-header.is-solid { background: rgba(var(--bg-rgb), .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(var(--navy-rgb), .25); height: 68px; }
.site-header.is-solid .brand { color: var(--navy); }
.site-header.is-solid .nav__link { color: var(--slate-600); }
.site-header.is-solid .nav__link:hover { color: var(--navy); background: rgba(var(--navy-rgb), .05); }
.site-header.is-solid .nav__link[aria-current="page"] { color: var(--navy); }
.site-header.is-solid .menu-toggle { color: var(--navy); border-color: var(--line); background: var(--white); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-900);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a.mobile-nav__link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.3rem; font-weight: 700;
  color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-nav.is-open a.mobile-nav__link { opacity: 1; transform: none; }
.mobile-nav__link small { font-size: .72rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.mobile-nav .btn { margin-top: 24px; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.nav-open .site-header .brand, body.nav-open .site-header .menu-toggle { color: var(--white); }
body.nav-open .site-header .menu-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); }

@media (max-width: 1200px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: grid; }
}

/* ---------- 5. Ambient motion (soft drifting shapes) ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.blob--green { background: radial-gradient(circle, var(--green-400) 0%, rgba(var(--green-rgb), 0) 70%); }
.blob--gold  { background: radial-gradient(circle, var(--gold) 0%, rgba(var(--gold-rgb), 0) 70%); }
.blob--blue  { background: radial-gradient(circle, var(--blue-glow) 0%, rgba(var(--blue-glow-rgb), 0) 70%); }
.drift-a { animation: drift-a 34s ease-in-out infinite alternate; }
.drift-b { animation: drift-b 40s ease-in-out infinite alternate; }
.drift-c { animation: drift-c 46s ease-in-out infinite alternate; }
@keyframes drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(8%, 10%, 0) scale(1.12); } }
@keyframes drift-b { 0% { transform: translate3d(0, 0, 0) scale(1.05); } 100% { transform: translate3d(-10%, -6%, 0) scale(.92); } }
@keyframes drift-c { 0% { transform: translate3d(0, 0, 0); opacity: .35; } 100% { transform: translate3d(6%, -10%, 0); opacity: .55; } }
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(var(--blue-300-rgb), .16) 1.2px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--blue-300);
  background: linear-gradient(160deg, var(--navy-650) 0%, var(--navy) 45%, var(--navy-900) 100%);
  padding: calc(var(--header-h) + clamp(40px, 5.5vw, 76px)) 0 clamp(150px, 14vw, 200px);
}
.hero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s; }
.hero__photo.has-image { opacity: .28; }
.hero__photo.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(var(--navy-rgb), .55)); }
.hero .blob--green { width: 620px; height: 620px; right: -140px; top: -160px; }
.hero .blob--gold  { width: 420px; height: 420px; left: 32%; bottom: 8%; opacity: .22; }
.hero .blob--blue  { width: 560px; height: 560px; left: -220px; top: 10%; opacity: .45; }
.hero__street {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(150px, 22vw, 300px); z-index: 0;
  background: var(--street) center bottom / cover no-repeat; opacity: .95;
}
.hero__street { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.hero__title { color: var(--white); display: flex; flex-direction: column; gap: 14px; margin: 22px 0 0; }
.hero__name { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 700; letter-spacing: .01em; color: var(--blue-300); display: inline-flex; align-items: center; gap: 12px; }
.hero__name strong { color: var(--white); font-weight: 800; }
.hero__tagline { font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.032em; font-weight: 800; text-wrap: balance; }
.hero__tagline .hl { color: var(--gold); }
.hero__intro { margin-top: 22px; max-width: 34em; font-size: var(--fs-lead); line-height: 1.7; color: var(--hero-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(var(--blue-300-rgb), .14); }
.credential {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(var(--gold-rgb), .35);
}
.credential__seal { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-300), var(--gold-600)); color: var(--navy-900); }
.credential__seal .icon { width: 18px; height: 18px; }
.credential__text { display: flex; flex-direction: column; line-height: 1.2; }
.credential__text strong { color: var(--white); font-size: .9rem; }
.credential__text span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-500); font-weight: 600; }
.focus-markets { font-size: .88rem; color: var(--blue-500); }
.focus-markets strong { color: var(--blue-300); font-weight: 600; }

/* Portrait */
.hero__visual { position: relative; justify-self: center; width: min(100%, 410px); }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.portrait__frame {
  position: absolute; inset: 0; border-radius: 220px 220px 26px 26px; overflow: hidden;
  background: var(--blue-100); box-shadow: var(--shadow-lg);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(var(--navy-rgb),0) 40%, rgba(var(--navy-rgb),.18)); }
.portrait__outline { position: absolute; inset: -14px -14px 14px 14px; border-radius: 230px 230px 30px 30px; border: 1.5px solid rgba(var(--gold-rgb), .6); z-index: -1; }
.portrait__glow { position: absolute; inset: 10% -10% -6% -10%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb), .28), transparent 65%); filter: blur(30px); z-index: -2; }
.portrait__tag {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px; background: rgba(var(--navy-rgb), .78); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

/* Floating illustrative data card */
.data-card {
  position: absolute; left: -22%; bottom: 9%; width: 236px; padding: 16px 18px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); color: var(--navy);
  animation: float 9s ease-in-out infinite;
}
.data-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.data-card__title { font-size: .78rem; font-weight: 800; color: var(--navy); }
.data-card__pill { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-50); padding: 3px 7px; border-radius: 999px; }
.data-card svg { width: 100%; height: 64px; margin: 8px 0 6px; }
.data-card__note { font-size: .66rem; color: var(--slate-500); line-height: 1.35; }
.data-card--top { left: auto; right: -16%; bottom: auto; top: 12%; width: auto; padding: 12px 14px; display: flex; align-items: center; gap: 10px; animation-delay: -4s; }
.data-card__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.data-card__ico .icon { width: 20px; height: 20px; }
.data-card--top strong { display: block; font-size: .84rem; line-height: 1.3; }
.data-card__sub { display: block; font-size: .72rem; color: var(--slate-500); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Hero entrance (staggered) */
.js .hero-anim { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .portrait__frame { clip-path: inset(100% 0 0 0 round 220px 220px 26px 26px); animation: wipe 1.5s var(--ease-out) .35s forwards; }
.js .portrait__frame img { transform: scale(1.08); animation: settle 2s var(--ease-out) .35s forwards; }
.js .portrait__outline, .js .data-card-wrap { opacity: 0; animation: fade 1.2s var(--ease) 1.1s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0 round 220px 220px 26px 26px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 1240px) {
  .data-card { left: -12%; bottom: 17%; }
  .data-card--top { left: auto; right: -6%; top: 6%; bottom: auto; }
}
@media (max-width: 1100px) {
  .data-card { width: 210px; padding: 13px 15px 12px; }
  .data-card svg { height: 50px; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(72%, 340px); margin-left: 12%; }
  .data-card { left: -26%; bottom: 8%; width: 200px; }
  .data-card--top { display: none; }
}
@media (max-width: 560px) {
  .hero__visual { width: 54%; margin-left: 22%; }
  .data-card-wrap { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- 7. Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: clamp(-110px, -8vw, -80px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(var(--navy-rgb),.05), 0 24px 50px -16px rgba(var(--navy-rgb),.22); }
.stat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.stat__icon .icon { width: 22px; height: 22px; }
.stat__value { display: flex; align-items: baseline; gap: 8px; color: var(--navy); }
.stat__num { font-size: clamp(2.4rem, 2rem + 1.2vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__unit { font-size: .95rem; font-weight: 700; color: var(--green); }
.stat__label { font-size: .92rem; line-height: 1.5; color: var(--slate-600); }
.stat--badge { background: linear-gradient(155deg, var(--navy-700), var(--navy) 60%, var(--navy-900)); border-color: transparent; color: var(--blue-300); overflow: hidden; }
.stat--badge .stat__label { color: var(--blue-300); }
.stat--badge::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb),.35), transparent 70%); }
.seal {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-300), var(--gold) 50%, var(--gold-600)); color: var(--navy-900);
  box-shadow: 0 0 0 5px rgba(var(--gold-rgb), .15), 0 8px 18px -6px rgba(0,0,0,.4);
}
.seal .icon { width: 26px; height: 26px; }
.stat__badge-title { font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; line-height: 1.1; }
.stat__badge-sub { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: 1fr; } .stat { flex-direction: row; flex-wrap: wrap; align-items: center; } .stat__label { flex: 1 1 100%; } }

/* ---------- 8. Section headings ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 16px; text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: var(--fs-lead); color: var(--slate-600); text-wrap: pretty; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--split > div { max-width: 680px; }
.section--navy { background: linear-gradient(170deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--blue-300); overflow: hidden; isolation: isolate; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .section-head p { color: var(--blue-300); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.link-arrow .icon { transition: transform .3s var(--ease); width: 1.1em; height: 1.1em; color: var(--green); }
.link-arrow:hover .icon { transform: translateX(4px); }
@media (max-width: 760px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* ---------- 9. Services ---------- */
.services { padding-top: calc(var(--section-y) * .85); padding-bottom: calc(var(--section-y) * .6); }
.work { padding-top: calc(var(--section-y) * .75); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px 30px 30px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--green-50), rgba(255,255,255,0) 55%); opacity: 0; transition: opacity .45s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(var(--gold-rgb), .55); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service__num { position: absolute; top: 26px; right: 28px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--slate-200); }
.service__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--navy); color: var(--gold); transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease);
}
.service__icon .icon { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--green); color: var(--white); transform: rotate(-4deg) scale(1.04); }
.service h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.service p { font-size: .95rem; color: var(--slate-600); }
.services__foot { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- 10. Featured work ---------- */
.work { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%); }
.work__notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 24px;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); font-size: .9rem; color: var(--slate-600);
}
.work__notice .icon { color: var(--gold-600); margin-top: 2px; }
.work__notice strong { color: var(--navy); }
.filters {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) auto; gap: 12px; align-items: center;
  padding: 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 32px;
}
.field { position: relative; }
.field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate-500); width: 18px; height: 18px; pointer-events: none; }
.field input, .field select {
  width: 100%; height: 48px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg);
  padding: 0 14px; font-size: .92rem; color: var(--navy); transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field input { padding-left: 42px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352606D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); background-color: var(--white); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .14); }
.filters__count { font-size: .85rem; font-weight: 600; color: var(--slate-500); padding: 0 8px; white-space: nowrap; }
@media (max-width: 980px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field--search { grid-column: 1 / -1; } .filters__count { grid-column: 1 / -1; padding: 2px 4px; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }

.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.report {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s;
}
.report:hover { transform: translateY(-8px); box-shadow: 0 2px 6px rgba(var(--navy-rgb),.05), 0 30px 60px -20px rgba(var(--navy-rgb),.28); }
.report__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.report__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.report:hover .report__media img { transform: scale(1.07); }
.report__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--line); }
.report__badges { position: absolute; z-index: 1; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.report__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.report__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; font-weight: 600; color: var(--slate-500); }
.report__meta span { display: inline-flex; align-items: center; gap: 6px; }
.report__meta .icon { width: 15px; height: 15px; color: var(--green); }
.report h3 { font-size: 1.12rem; margin: 12px 0 10px; line-height: 1.3; letter-spacing: -.015em; }
.report__summary { font-size: .92rem; color: var(--slate-600); }
.report__details {
  display: grid; gap: 6px; margin: 18px 0 20px; padding: 14px 0 0; border-top: 1px dashed var(--line); font-size: .8rem;
}
/* Card contents settle in one after another as the card enters view */
.js .report .report__body > * { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .report.is-visible .report__body > * { opacity: 1; transform: none; }
.js .report.is-visible .report__body > :nth-child(2) { transition-delay: .12s; }
.js .report.is-visible .report__body > :nth-child(3) { transition-delay: .2s; }
.js .report.is-visible .report__body > :nth-child(4) { transition-delay: .28s; }
.js .report.is-visible .report__body > :nth-child(5) { transition-delay: .36s; }
.report__details div { display: flex; gap: 8px; }
.report__details dt { color: var(--slate-500); font-weight: 600; min-width: 92px; }
.report__details dd { margin: 0; color: var(--navy); font-weight: 600; }
.report__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report__foot .btn--outline { border-color: var(--line); color: var(--navy); }
.report__foot .btn--outline:hover { border-color: var(--navy); }
.report__foot .btn[aria-disabled="true"] { background: var(--bg); color: var(--slate-500); border-color: var(--line); transform: none; }
.report__date { font-size: .76rem; color: var(--slate-500); }
.report.is-hidden { display: none; }
.work__empty { display: none; text-align: center; padding: 48px 24px; border-radius: var(--radius); border: 1px dashed var(--slate-200); color: var(--slate-600); }
.work__empty.is-visible { display: block; }
.work__empty button { margin-top: 12px; }
.work__foot { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.work__foot p { font-size: .88rem; color: var(--slate-500); }
@media (max-width: 1080px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- 11. Testimonials ---------- */
.testimonials .blob--green { width: 520px; height: 520px; left: -200px; bottom: -220px; opacity: .3; }
.testimonials .blob--gold  { width: 380px; height: 380px; right: -120px; top: -140px; opacity: .16; }
.carousel { position: relative; z-index: 1; }
.carousel__viewport { overflow: hidden; margin: -12px; padding: 12px; }
.carousel__track { display: flex; transition: transform .9s var(--ease-out); }
.carousel__slide { flex: 0 0 50%; padding: 0 12px; }
.quote-card {
  height: 100%; margin: 0; display: flex; flex-direction: column; gap: 22px; padding: 34px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(var(--blue-300-rgb), .14); backdrop-filter: blur(6px);
}
.quote-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quote-card__mark { width: 40px; height: 40px; color: var(--gold); }
.quote-card__label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px dashed rgba(var(--gold-rgb), .55); color: var(--gold); }
.quote-card__focus { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.quote-card__text { font-size: 1.02rem; line-height: 1.7; color: var(--blue-300); }
.quote-card__text--placeholder { color: rgba(var(--blue-300-rgb), .75); font-style: italic; }
.quote-card__author { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(var(--blue-300-rgb), .12); }
.avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.06); border: 1.5px dashed rgba(var(--blue-300-rgb), .4); color: var(--blue-500); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__author strong { display: block; color: var(--white); font-size: .95rem; }
.quote-card__author span { font-size: .82rem; color: var(--blue-500); }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(var(--blue-300-rgb), .3); transition: width .4s var(--ease), background-color .4s; }
.carousel__dot[aria-current="true"] { width: 28px; background: var(--gold); }
.carousel__buttons { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(var(--blue-300-rgb), .28); background: rgba(255, 255, 255, .04); color: var(--white);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .12); transform: translateY(-2px); }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn--sm { width: 40px; height: 40px; }
.round-btn--sm .icon { width: 16px; height: 16px; }
.testimonials__note { margin-top: 26px; font-size: .84rem; color: var(--blue-500); text-align: center; }
@media (max-width: 860px) { .carousel__slide { flex-basis: 100%; } .quote-card { padding: 26px; } }

/* ---------- 12. Research sources ---------- */
.sources { overflow: hidden; }
.disclosure {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--slate-600);
}
.disclosure .icon { color: var(--gold-600); width: 18px; height: 18px; }
.marquee {
  position: relative; margin: 0 calc(var(--gutter) * -1); padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 16px; padding-right: 16px; }
.source {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); white-space: nowrap;
}
.source__mono { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.source__mono .icon { width: 20px; height: 20px; }
.source__name { display: block; font-weight: 800; color: var(--navy); font-size: .98rem; letter-spacing: -.01em; }
.source__kind { display: block; font-size: .76rem; color: var(--slate-500); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sources__body { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: clamp(48px, 6vw, 72px); }
.sources__statement { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.45; font-weight: 700; color: var(--navy); letter-spacing: -.015em; text-wrap: pretty; }
.sources__statement em { font-style: normal; color: var(--green); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.principle .icon { width: 24px; height: 24px; color: var(--green); margin-bottom: 12px; }
.principle h3 { font-size: 1rem; margin-bottom: 6px; }
.principle p { font-size: .88rem; color: var(--slate-600); line-height: 1.55; }
.sources__fine { margin-top: 28px; font-size: .8rem; color: var(--slate-500); }
@media (max-width: 900px) { .sources__body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

/* ---------- 13. Closing CTA ---------- */
.cta-section { padding: 0 0 var(--section-y); }
.cta {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); --fs-h2: clamp(1.9rem, 1.3rem + 1.7vw, 2.6rem);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 88px);
  background: linear-gradient(140deg, var(--navy-700) 0%, var(--navy) 50%, var(--navy-900) 100%);
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: center; box-shadow: var(--shadow-lg);
}
.cta .blob--green { width: 460px; height: 460px; right: -120px; bottom: -200px; opacity: .45; }
.cta .blob--gold { width: 320px; height: 320px; left: 30%; top: -180px; opacity: .2; }
.cta .dot-grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 90% 50%, #000 10%, transparent 70%); }
.cta > :not(.ambient) { position: relative; z-index: 1; }
.cta h2 { color: var(--white); font-size: var(--fs-h2); margin-top: 16px; text-wrap: balance; }
.cta p { margin-top: 18px; color: var(--blue-300); font-size: var(--fs-lead); max-width: 36em; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; justify-self: end; width: min(100%, 320px); }
.cta__actions .btn { width: 100%; }
.cta__contact { font-size: .82rem; color: var(--blue-500); text-align: center; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta__actions { justify-self: start; } }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--blue-500); padding: clamp(64px, 7vw, 88px) 0 32px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { color: var(--white); }
.footer__brand p { margin-top: 18px; max-width: 30em; line-height: 1.7; }
.footer__col h2 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-300); transition: color .25s; }
.footer__col a:hover { color: var(--white); }
.footer__col a .icon { width: 17px; height: 17px; color: var(--blue-500); }
.soon { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); border: 1px solid rgba(var(--blue-500-rgb), .35); padding: 1px 6px; border-radius: 999px; }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(var(--blue-500-rgb), .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: .82rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: var(--white); }
.footer__disclaimer { flex: 1 1 100%; color: var(--muted-ink); font-size: .78rem; line-height: 1.6; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Toast (used by placeholder links) */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px;
  background: var(--navy); color: var(--white); font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast .icon { color: var(--gold); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 15. Coming-soon page ---------- */
.soon-hero { min-height: min(86vh, 820px); display: flex; align-items: center; padding-bottom: clamp(170px, 18vw, 240px); }
.soon-hero .hero__inner { grid-template-columns: 1fr; }
.soon-hero .hero__inner > div { max-width: 780px; }
.soon-hero h1 { color: var(--white); font-size: var(--fs-display); margin-top: 22px; letter-spacing: -.03em; }
.soon-hero p:not(.eyebrow) { margin-top: 22px; font-size: var(--fs-lead); color: var(--hero-text); max-width: 36em; }
.soon-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.soon-list a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--blue-300-rgb), .22); font-size: .86rem; font-weight: 600; color: var(--blue-300); transition: border-color .25s, color .25s; }
.soon-list a:hover { border-color: var(--gold); color: var(--white); }
.soon-list a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* ---------- 17. Inner page hero (Portfolio and later pages) ---------- */
.page-hero { min-height: 0; padding: calc(var(--header-h) + clamp(48px, 6vw, 84px)) 0 clamp(150px, 15vw, 210px); }
.page-hero .hero__inner { grid-template-columns: 1fr; }
.page-hero .hero__inner > div { max-width: 880px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--blue-500); margin-bottom: 22px; }
.breadcrumb a { color: var(--blue-300); transition: color .25s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: var(--fs-display); letter-spacing: -.032em; margin-top: 18px; text-wrap: balance; }
.page-hero__lead { margin-top: 22px; font-size: var(--fs-lead); color: var(--hero-text); max-width: 40em; line-height: 1.7; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fact { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(var(--blue-300-rgb), .16); }
.fact__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--gold-rgb), .14); color: var(--gold); }
.fact__ico .icon { width: 19px; height: 19px; }
.fact strong { display: block; color: var(--white); font-size: 1rem; line-height: 1.2; }
.fact span { font-size: .78rem; color: var(--blue-500); font-weight: 600; }

/* ---------- 18. Portfolio ---------- */
.portfolio { padding-top: 0; }
.portfolio__bar { position: relative; z-index: 5; margin-top: -36px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.tabs {
  position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 7px; max-width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__pill {
  position: absolute; z-index: 0; top: 0; left: 0; height: 0; width: 0; border-radius: 13px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy)); box-shadow: 0 8px 18px -8px rgba(var(--navy-rgb), .6);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), height .55s var(--ease-out); pointer-events: none;
}
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 13px 18px; border: 0; border-radius: 13px; background: transparent; cursor: pointer;
  font-size: .93rem; font-weight: 700; color: var(--slate-600); white-space: nowrap; transition: color .35s var(--ease);
}
.tab:hover { color: var(--navy); }
.tab[aria-pressed="true"] { color: var(--white); }
.tab__count { min-width: 26px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: .74rem; background: var(--bg); color: var(--slate-600); transition: background-color .35s, color .35s; }
.tab[aria-pressed="true"] .tab__count { background: rgba(var(--gold-rgb), .2); color: var(--gold); }
.tabs-desc { max-width: 720px; font-size: .98rem; color: var(--slate-600); min-height: 3.4em; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.tabs-desc.is-changing { opacity: 0; transform: translateY(6px); }
.portfolio__notice { margin: 34px 0 30px; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.project:hover { transform: translateY(-8px); border-color: rgba(var(--gold-rgb), .55); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .12), 0 30px 60px -22px rgba(var(--navy-rgb), .32); }
.project:has(.project__btn:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.project.is-hidden { display: none; }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.project:hover .project__media img { transform: scale(1.07); }
.project__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.project__zoom {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.project:hover .project__zoom, .project:focus-within .project__zoom { opacity: 1; transform: none; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.project h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; margin: 10px 0 8px; }
.project__btn { all: unset; cursor: pointer; }
.project__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.project__summary { font-size: .92rem; color: var(--slate-600); }
.project__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .84rem; font-weight: 700; color: var(--navy); }
.project__foot .icon { width: 18px; height: 18px; color: var(--green); transition: transform .35s var(--ease); }
.project:hover .project__foot .icon { transform: translateX(4px); }
.project__period { font-weight: 600; color: var(--slate-500); display: inline-flex; align-items: center; gap: 6px; }
.project__period .icon { width: 15px; height: 15px; }
.project:hover .project__period .icon { transform: none; }
@media (max-width: 1080px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .projects { grid-template-columns: 1fr; }
  .portfolio__bar { align-items: stretch; }
  .tabs { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .tab { justify-content: space-between; }
}

/* Standards band */
.standards { padding-top: 0; }
.standards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.standard { padding: 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.standard__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green); margin-bottom: 16px; }
.standard__ico .icon { width: 22px; height: 22px; }
.standard h3 { font-size: 1.02rem; margin-bottom: 8px; }
.standard p { font-size: .9rem; color: var(--slate-600); line-height: 1.55; }
@media (max-width: 980px) { .standards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .standards__grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0;
  border-radius: 24px; overflow: hidden; background: var(--white); color: var(--slate-700); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}
.lightbox::backdrop { background: rgba(var(--navy-950-rgb), .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .5s var(--ease-out); }
.lightbox[open]::backdrop { animation: fade .4s var(--ease); }
.lightbox.is-closing { animation: lb-out .28s var(--ease) forwards; }
.lightbox.is-closing::backdrop { animation: fade-out .28s var(--ease) forwards; }
@keyframes lb-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lb-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade-out { to { opacity: 0; } }
.lightbox__inner { display: grid; grid-template-columns: 1.3fr 1fr; max-height: calc(100dvh - 48px); }
.lightbox__media { position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); background: var(--navy); min-height: 100%; }
.lightbox__bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(28px) saturate(1.1); opacity: .55; transform: scale(1.1); }
.lightbox__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(var(--navy-rgb),.55), rgba(var(--navy-950-rgb),.75)); }
.lightbox__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.lightbox__body { position: relative; overflow-y: auto; padding: 40px 40px 28px; display: flex; flex-direction: column; gap: 16px; transition: opacity .25s var(--ease); }
.lightbox__body.is-swapping, .lightbox__media.is-swapping { opacity: 0; }
.lightbox__media { transition: opacity .25s var(--ease); }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .25s, transform .3s var(--ease);
}
.lightbox__close:hover { background: var(--bg); transform: rotate(90deg); }
.lightbox__close .icon { width: 20px; height: 20px; }
.lightbox__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-right: 52px; }
.chip--cat { background: var(--green-50); color: var(--green-700); }
.lightbox h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -.025em; line-height: 1.2; }
.lightbox__desc { font-size: 1rem; color: var(--slate-600); line-height: 1.7; }
.lightbox__notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--gold-100); color: var(--gold-ink); font-size: .84rem; line-height: 1.5; }
.lightbox__notice .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--gold-600); }
.lightbox__facts { display: grid; gap: 14px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.lightbox__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 6px; }
.lightbox__facts dd { margin: 0; color: var(--navy); font-weight: 600; font-size: .94rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--navy); }
.tag--focus { background: var(--white); }
.lightbox__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.lightbox__nav { display: flex; align-items: center; gap: 10px; }
.lightbox__count { font-size: .82rem; font-weight: 700; color: var(--slate-500); min-width: 44px; text-align: center; }
.lightbox .round-btn { border-color: var(--line); background: var(--white); color: var(--navy); }
.lightbox .round-btn:hover { border-color: var(--navy); background: var(--bg); }
.lightbox .btn[aria-disabled="true"] { background: var(--bg); color: var(--slate-500); border-color: var(--line); transform: none; box-shadow: none; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 860px) {
  .lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .lightbox__inner { grid-template-columns: 1fr; max-height: calc(100dvh - 20px); overflow-y: auto; }
  .lightbox__media { min-height: 0; padding: 0; }
  .lightbox__media::before, .lightbox__bg { display: none; }
  .lightbox__img { border-radius: 0; box-shadow: none; }
  .lightbox__body { overflow: visible; padding: 26px 22px 22px; }
  .lightbox__close { background: rgba(255, 255, 255, .94); }
}

/* ---------- 19. About ---------- */
.about-hero .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
.about-hero .hero__inner > div:first-child { max-width: 760px; }
.about-hero .hero__visual { width: min(100%, 360px); }
.about-hero .facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); }
.float-badge {
  position: absolute; left: -18%; bottom: 12%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); color: var(--navy); animation: float 9s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: .86rem; line-height: 1.25; }
.float-badge span.sub { display: block; font-size: .72rem; color: var(--slate-500); font-weight: 600; }
@media (max-width: 980px) {
  .about-hero .hero__inner { grid-template-columns: 1fr; }
  .about-hero .hero__visual { order: -1; width: min(60%, 300px); margin-left: 14%; }
}
@media (max-width: 560px) { .about-hero .facts { grid-template-columns: 1fr; } .float-badge { left: -14%; bottom: 6%; padding: 9px 12px 9px 9px; } .float-badge .data-card__ico { width: 32px; height: 32px; } }

/* Story */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.story__aside { position: sticky; top: 110px; }
.story__aside h2 { font-size: var(--fs-h2); margin-top: 16px; text-wrap: balance; }
.pull-quote {
  position: relative; margin: 32px 0 0; padding: 30px 30px 28px; border-radius: var(--radius); background: var(--navy); color: var(--white);
  overflow: hidden; isolation: isolate;
}
.pull-quote::after { content: ""; position: absolute; z-index: -1; right: -80px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--green-rgb),.55), transparent 70%); }
.pull-quote .icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 16px; }
.pull-quote p { font-size: 1.15rem; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; }
.pull-quote footer { margin-top: 18px; font-size: .82rem; color: var(--blue-500); font-weight: 600; }
.chapter { position: relative; padding: 0 0 44px 34px; border-left: 1px solid var(--line); }
.chapter:last-child { padding-bottom: 0; }
.chapter::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.chapter .chapter__num { font-size: .74rem; line-height: 1.4; font-weight: 800; letter-spacing: .14em; color: var(--gold-600); text-transform: uppercase; }
.chapter h3 { font-size: 1.35rem; margin: 6px 0 14px; }
.chapter p { font-size: 1.04rem; line-height: 1.8; color: var(--slate-700); }
.chapter p + p { margin-top: 14px; }
.chapter .tag-list { margin-top: 18px; }
.chapter .tag { background: var(--white); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__aside { position: static; } }

/* Timeline */
.timeline { position: relative; max-width: 1040px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(var(--gold-rgb),0), rgba(var(--gold-rgb),.5) 8%, rgba(var(--gold-rgb),.5) 92%, rgba(var(--gold-rgb),0)); }
.milestone { position: relative; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center; }
.milestone + .milestone { margin-top: 22px; }
.milestone__node {
  grid-column: 2; justify-self: center; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--navy); color: var(--gold); box-shadow: 0 0 0 7px rgba(var(--navy-rgb), .08), 0 0 0 1px rgba(var(--gold-rgb), .5);
}
.milestone__node .icon { width: 24px; height: 24px; }
.milestone__card {
  padding: 26px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.milestone__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(var(--gold-rgb), .5); }
.milestone:nth-child(odd) .milestone__card { grid-column: 1; grid-row: 1; }
.milestone:nth-child(even) .milestone__card { grid-column: 3; grid-row: 1; }
.milestone__node { grid-row: 1; }
.milestone .milestone__step { font-size: .72rem; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.milestone h3 { font-size: 1.12rem; margin: 8px 0 8px; line-height: 1.3; }
.milestone p { font-size: .94rem; color: var(--slate-600); }
.js .milestone .milestone__card { opacity: 0; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.js .milestone:nth-child(odd) .milestone__card { transform: translateX(-28px); }
.js .milestone:nth-child(even) .milestone__card { transform: translateX(28px); }
.js .milestone .milestone__node { opacity: 0; transform: scale(.6); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .milestone.is-visible .milestone__card { opacity: 1; transform: none; transition-delay: .12s, .12s, 0s, 0s; }
.js .milestone.is-visible .milestone__node { opacity: 1; transform: none; }
.js .milestone.is-visible .milestone__card:hover { transform: translateY(-4px); }
.timeline__note { margin-top: 30px; text-align: center; font-size: .84rem; color: var(--slate-500); }
@media (max-width: 820px) {
  .timeline::before { left: 29px; }
  .milestone { grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
  .milestone__node { grid-column: 1; }
  .milestone:nth-child(odd) .milestone__card, .milestone:nth-child(even) .milestone__card { grid-column: 2; }
  .js .milestone:nth-child(odd) .milestone__card, .js .milestone:nth-child(even) .milestone__card { transform: translateY(18px); }
  .milestone__card { padding: 22px; }
}

/* Skills */
.skills-wrap { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skills { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.skills__intro h2 { font-size: var(--fs-h2); margin-top: 16px; text-wrap: balance; }
.skills__intro > p:not(.skills__note) { margin-top: 18px; font-size: var(--fs-lead); color: var(--slate-600); }
.skills__note { display: flex; gap: 10px; margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .84rem; color: var(--slate-600); }
.skills__note .icon { color: var(--gold-600); width: 18px; height: 18px; margin-top: 1px; }
.skills__also { margin-top: 28px; }
.skills__also h3 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 12px; }
.skill-list { display: grid; gap: 30px; }
.skill__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.skill h3 { font-size: 1.06rem; }
.skill__level { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.skill p { margin-top: 6px; font-size: .92rem; color: var(--slate-600); }
.skill__track { position: relative; height: 10px; margin-top: 14px; border-radius: 999px; background: var(--track); overflow: hidden; }
.skill__fill { position: absolute; inset: 0 auto 0 0; width: var(--level); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-400) 70%, var(--gold)); }
.js .skill__fill { width: 0; transition: width 1.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms + 150ms); }
.js .skill-list.is-visible .skill__fill { width: var(--level); }
@media (max-width: 900px) { .skills { grid-template-columns: 1fr; } }

/* Mission */
.mission { text-align: center; }
.mission__card { position: relative; isolation: isolate; overflow: hidden; max-width: 980px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) clamp(24px, 6vw, 80px); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--white) 0%, var(--surface-alt) 55%, var(--green-50) 100%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mission__card .blob--green { width: 380px; height: 380px; left: -120px; bottom: -200px; opacity: .18; }
.mission__card .blob--gold { width: 300px; height: 300px; right: -100px; top: -160px; opacity: .2; }
.mission__card > :not(.ambient) { position: relative; z-index: 1; }
.mission__card .eyebrow { justify-content: center; }
.mission__mark { display: block; margin: 0 auto 18px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.mission__mark .icon { width: 24px; height: 24px; }
.mission__text { margin-top: 22px; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.45; font-weight: 700; color: var(--navy); letter-spacing: -.015em; text-wrap: balance; }
.mission__sig { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; color: var(--slate-600); font-weight: 600; font-size: .92rem; }
.mission__sig .brand__mark { width: 36px; height: 36px; font-size: 1rem; }

/* ---------- 20. Services page ---------- */
.audience-bar { position: relative; z-index: 5; margin-top: -40px; }
.audience {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 18px 26px;
  border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.audience__label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.audience__item { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.audience__item .icon { width: 18px; height: 18px; color: var(--green); }

.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.offer {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: 22px;
  background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.offer::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--gold-rgb), .22), transparent 70%); opacity: 0; transition: opacity .6s var(--ease); }
.offer:hover { transform: translateY(-8px); border-color: rgba(var(--gold-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .12), 0 34px 70px -26px rgba(var(--navy-rgb), .32); }
.offer:hover::before { opacity: 1; }
.offer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.offer__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease); }
.offer__icon .icon { width: 27px; height: 27px; }
.offer:hover .offer__icon { background: var(--green); color: var(--white); transform: rotate(-4deg); }
.price { text-align: right; line-height: 1.1; }
.price__from { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.price__amount { display: block; margin-top: 6px; font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.price__amount sup { font-size: .5em; font-weight: 700; vertical-align: .55em; margin-right: 2px; color: var(--green); }
.price__unit { display: block; margin-top: 4px; font-size: .84rem; font-weight: 600; color: var(--slate-500); }
.offer__num { margin-top: 26px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.offer h3 { margin-top: 8px; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; }
.offer__text { margin-top: 12px; font-size: .98rem; line-height: 1.7; color: var(--slate-600); }
.offer__includes { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.offer__includes h4 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin: 0 0 12px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.check-list .icon { width: 17px; height: 17px; color: var(--green); margin-top: 1px; }
.offer__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.offer__foot small { font-size: .8rem; color: var(--slate-500); }
.offer--featured { background: linear-gradient(150deg, var(--navy-700), var(--navy) 55%, var(--navy-900)); border-color: transparent; color: var(--blue-300); }
.offer--featured::before { opacity: .7; background: radial-gradient(circle, rgba(var(--green-rgb), .55), transparent 70%); }
.offer--featured h3, .offer--featured .price__amount, .offer--featured .check-list li { color: var(--white); }
.offer--featured .offer__text, .offer--featured .price__unit, .offer--featured .offer__foot small { color: var(--blue-300); }
.offer--featured .price__from, .offer--featured .offer__includes h4 { color: var(--blue-500); }
.offer--featured .offer__num, .offer--featured .check-list .icon, .offer--featured .price__amount sup { color: var(--gold); }
.offer--featured .offer__includes { border-top-color: rgba(var(--blue-300-rgb), .18); }
.offer--featured .offer__icon { background: var(--gold); color: var(--navy-900); }
.offer--featured:hover .offer__icon { background: var(--white); color: var(--navy); }
.offer__badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 0 0 12px 12px; background: var(--gold); color: var(--navy-900); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-note { display: flex; justify-content: center; gap: 10px; margin-top: 30px; text-align: center; font-size: .88rem; color: var(--slate-500); }
.price-note .icon { width: 18px; height: 18px; color: var(--gold-600); margin-top: 1px; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .check-list { grid-template-columns: 1fr; } .offer__top { flex-direction: column; } .price { text-align: left; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(var(--blue-300-rgb), .14); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step__ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--gold-rgb), .14); color: var(--gold); }
.step__ico .icon { width: 22px; height: 22px; }
.step__num { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: rgba(var(--blue-300-rgb), .22); }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--blue-300); line-height: 1.6; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Data sourcing note */
.sourcing { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.sourcing__ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.sourcing__ico .icon { width: 26px; height: 26px; }
.sourcing h2 { font-size: 1.2rem; margin-bottom: 6px; }
.sourcing p { font-size: .95rem; color: var(--slate-600); }
@media (max-width: 860px) { .sourcing { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- 21. Awards & achievements ---------- */
.awards { position: relative; display: grid; gap: 34px; list-style: none; margin: 0; padding: 0; }
.awards::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, rgba(var(--gold-rgb),.6), rgba(var(--gold-rgb),.15)); }
.award { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; align-items: start; }
.award__node {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-top: 26px;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px rgba(var(--gold-rgb), .45);
}
.award__card {
  display: grid; grid-template-columns: 300px 1fr; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.award__card:hover { transform: translateY(-6px); border-color: rgba(var(--gold-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .12), 0 34px 70px -28px rgba(var(--navy-rgb), .3); }
.award__visual { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 24px; text-align: center; min-height: 300px; color: var(--white); }
.award__visual strong { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; }
.award__visual small { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.award__visual--seal { background: radial-gradient(circle at 50% 38%, var(--navy-650), var(--navy) 55%, var(--navy-900)); }
.award__visual--seal::before, .award__visual--seal::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), .22); transform: translate(-50%, -50%); }
.award__visual--seal::before { width: 190px; height: 190px; }
.award__visual--seal::after { width: 260px; height: 260px; border-color: rgba(var(--gold-rgb), .12); }
.big-seal { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-300), var(--gold) 50%, var(--gold-600)); color: var(--navy-900); box-shadow: 0 0 0 7px rgba(var(--gold-rgb), .16), 0 18px 34px -12px rgba(0, 0, 0, .55); transition: transform .8s var(--ease-out); }
.big-seal .icon { width: 50px; height: 50px; stroke-width: 1.5; }
.award__card:hover .big-seal { transform: scale(1.05) rotate(-6deg); }
.award__visual--nj { background: var(--navy) 72% 50% / cover no-repeat; }
.award__visual--nj::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(var(--navy-900-rgb),.15), rgba(var(--navy-900-rgb),.85)); }
.award__visual--nj { justify-content: flex-end; align-items: flex-start; text-align: left; }
.award__visual--nj .award__big { font-size: 3.2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--white); }
.award__visual--research { background: linear-gradient(155deg, var(--green-700), var(--green-800) 55%, var(--green-900)); }
.paper-stack { position: relative; width: 120px; height: 140px; margin-bottom: 8px; }
.paper-stack span { position: absolute; inset: 0; border-radius: 10px; background: var(--white); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transition: transform .7s var(--ease-out); }
.paper-stack span:nth-child(1) { transform: rotate(-9deg) translate(-12px, 6px); background: var(--green-100); }
.paper-stack span:nth-child(2) { transform: rotate(5deg) translate(10px, 2px); background: var(--green-50); }
.paper-stack span:nth-child(3) { padding: 18px 16px; display: grid; align-content: start; gap: 8px; }
.paper-stack span:nth-child(3) i { display: block; height: 7px; border-radius: 4px; background: var(--slate-200); }
.paper-stack span:nth-child(3) i:first-child { height: 10px; width: 80%; background: var(--navy); }
.paper-stack span:nth-child(3) i:last-child { width: 55%; background: var(--gold); }
.award__card:hover .paper-stack span:nth-child(1) { transform: rotate(-13deg) translate(-20px, 8px); }
.award__card:hover .paper-stack span:nth-child(2) { transform: rotate(9deg) translate(18px, 2px); }
.award__body { padding: clamp(26px, 3vw, 40px); }
.award__kind { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.award__kind .icon { width: 17px; height: 17px; }
.award h3 { margin-top: 10px; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); line-height: 1.22; letter-spacing: -.022em; }
.award__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.award__meta div { padding: 9px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.award__meta dt { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.award__meta dd { margin: 2px 0 0; font-size: .92rem; font-weight: 700; color: var(--navy); }
.award__text { margin-top: 18px; }
.award__text p { font-size: 1rem; line-height: 1.75; color: var(--slate-600); }
.award__text p + p { margin-top: 12px; }
.award .tag-list { margin-top: 18px; }
.award__note { display: flex; gap: 9px; margin-top: 18px; font-size: .84rem; color: var(--slate-500); line-height: 1.55; }
.award__note .icon { width: 17px; height: 17px; color: var(--gold-600); margin-top: 2px; }
.award__link { margin-top: 22px; }
.award__card--wide { grid-template-columns: 300px 1fr; }
.pubs { grid-column: 1 / -1; padding: 6px clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px); display: grid; gap: 14px; }
.pubs__head { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.pub {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: start; padding: 20px 22px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.pub:hover { border-color: rgba(var(--green-rgb), .4); background: var(--white); }
.pub__year { display: grid; place-items: center; height: 54px; border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.pub__type { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pub h4 { margin: 5px 0 6px; font-size: 1.02rem; line-height: 1.4; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.pub__venue { font-size: .88rem; font-weight: 600; color: var(--slate-700); }
.pub__venue em { font-style: italic; }
.pub__date { font-size: .82rem; color: var(--slate-500); }
.pub__authors { margin-top: 8px; font-size: .84rem; color: var(--slate-600); line-height: 1.55; }
.pub__authors strong { color: var(--navy); font-weight: 800; background: linear-gradient(transparent 62%, rgba(var(--gold-rgb), .35) 62%); }
.pub__authors small { display: block; color: var(--slate-500); font-size: .78rem; }
.doi {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--white); font-size: .82rem; font-weight: 700; color: var(--navy);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.doi .icon { width: 15px; height: 15px; color: var(--green); }
.doi:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.doi span { font-weight: 600; color: var(--slate-500); }
.js .award .award__card { opacity: 0; transform: translateX(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.js .award .award__node { opacity: 0; transform: scale(.6); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .award.is-visible .award__card { opacity: 1; transform: none; transition-delay: .1s, .1s, 0s, 0s; }
.js .award.is-visible .award__card:hover { transform: translateY(-6px); }
.js .award.is-visible .award__node { opacity: 1; transform: none; }
.js .award .pub { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .35s, background-color .35s; }
.js .award.is-visible .pub { opacity: 1; transform: none; }
.js .award.is-visible .pub:nth-child(2) { transition-delay: .45s, .45s, 0s, 0s; }
.js .award.is-visible .pub:nth-child(3) { transition-delay: .6s, .6s, 0s, 0s; }
.js .award.is-visible .pub:nth-child(4) { transition-delay: .75s, .75s, 0s, 0s; }
@media (max-width: 980px) {
  .award__card, .award__card--wide { grid-template-columns: 1fr; }
  .award__visual { min-height: 0; padding: 30px 24px; flex-direction: row; justify-content: flex-start; text-align: left; gap: 20px; }
  .award__visual > div { display: grid; gap: 4px; }
  .big-seal { width: 76px; height: 76px; flex: none; } .big-seal .icon { width: 34px; height: 34px; }
  .paper-stack { width: 70px; height: 84px; flex: none; margin: 0; } .paper-stack span:nth-child(3) { padding: 10px; gap: 5px; }
  .award__visual--nj { min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .award__visual--seal::before, .award__visual--seal::after { left: 70px; top: 50%; }
}
@media (max-width: 980px) {
  .pub { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .pub .doi { grid-column: 2; justify-self: start; }
  .pub__year { height: 46px; font-size: .95rem; }
}
@media (max-width: 680px) {
  .awards::before { display: none; }
  .award { grid-template-columns: 1fr; gap: 0; }
  .award__node { display: none; }
  .pub { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .pub .doi { grid-column: auto; max-width: 100%; white-space: normal; word-break: break-all; }
  .pub__year { width: 64px; height: 36px; font-size: .92rem; }
  .js .award .award__card { transform: translateY(20px); }
}
.principles--row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .principles--row { grid-template-columns: 1fr; } }

/* ---------- 22. Contact page ---------- */
.contact__grid { position: relative; z-index: 5; margin-top: -60px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact__aside { padding: 30px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact__heading { font-size: 1.2rem; margin-bottom: 18px; }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .3s, transform .3s var(--ease), background-color .3s; }
.contact-card:hover { border-color: rgba(var(--gold-rgb), .6); background: var(--white); transform: translateY(-2px); }
.contact-card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.contact-card__ico .icon { width: 21px; height: 21px; }
.contact-card strong { display: block; color: var(--navy); font-size: .95rem; }
.contact-card span span { font-size: .86rem; color: var(--slate-500); word-break: break-word; }
.contact-card__go { width: 18px; height: 18px; color: var(--green); }
.contact__availability { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate-600); }
.pulse-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(var(--green-rgb), .18); flex: none; animation: fade 2.4s ease-in-out infinite alternate; }
.contact-form-card { padding: clamp(26px, 3.5vw, 44px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.5rem; }
.contact-form__intro { margin-top: 8px; color: var(--slate-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-field { display: grid; gap: 7px; font-size: .84rem; font-weight: 700; color: var(--navy); }
.form-field--full { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-size: .95rem; font-weight: 500; color: var(--navy);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(var(--green-rgb), .14); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-actions small { color: var(--slate-500); font-size: .82rem; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success__icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--green-50); color: var(--green); margin-bottom: 18px; }
.form-success__icon .icon { width: 34px; height: 34px; }
.form-success p { margin-top: 10px; color: var(--slate-600); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 16. Scroll reveal + reduced motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--fade { transform: none; }

/* Lighter motion on small screens */
@media (max-width: 760px) {
  .blob { filter: blur(60px); animation: none !important; }
  .data-card { animation: none; }
  .js .reveal { transform: translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-anim, .js .portrait__outline, .js .data-card-wrap { opacity: 1; transform: none; animation: none; }
  .js .portrait__frame { clip-path: none; animation: none; }
  .js .portrait__frame img { transform: none; animation: none; }
  .js .reveal, .js .report .report__body > * { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; margin: 0; }
  .marquee__track { animation: none; width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .source { white-space: normal; }
  .tabs__pill { transition: none; }
  .js .milestone .milestone__card, .js .milestone .milestone__node { opacity: 1; transform: none; }
  .js .skill__fill { width: var(--level); }
  .js .award .award__card, .js .award .award__node, .js .award .pub { opacity: 1; transform: none; }
}
