/* ==========================================================================
   Awakeye — Concept F "Agency"
   Design system recreated from the digitalgrowthagency.nl reference:
   warm off-white body, deep aubergine dark sections, white rounded cards,
   mint arrow-box icons on forest green, pill buttons, big tight display type (Nexus logo palette).
   ========================================================================== */

:root {
  --bg: #F3F6F1;
  --bg-beige: #D9E3D8;
  --bg-beige-2: #E8EFE6;
  --bg-grey: #E6ECE5;
  --dark: #012A1C;
  --dark-2: #02231A;
  --white: #FFFFFF;
  --text: #0E1F17;
  --text-2: #4A5A51;
  --text-on-dark: #C9D8CD;
  --orange: #87FBB4;
  --orange-dark: #6BEFA2;
  --on-accent: #012A1C;
  --blue: #BFE3CC;
  --green: #04B745;

  --r-6: 6px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-pill: 50px;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 2.8vw, 40px);
  --max: 1360px;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, dt, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
.muted { color: var(--text-2); font-weight: 400; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  background: var(--dark); color: #fff; padding: 12px 18px; border-radius: var(--r-8);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.hero-title, .statement-title, .why-title, .work-title, .band-title, .about-title, .contact-title, .panel-title, .footer-giant {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
.js .ln > span { transform: translateY(110%); }
.js .is-revealed .ln > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 10px 10px 10px 18px;
  border-radius: var(--r-8);
  font-weight: 500; font-size: 16px; line-height: 1;
  white-space: nowrap;
  transition: transform .4s var(--ease), background-color .25s, box-shadow .3s;
  will-change: transform;
}
.btn-white { background: var(--white); color: var(--text); box-shadow: 0 0 0 1px rgba(23,7,30,.06), 0 1px 2px rgba(23,7,30,.06); }
.btn-white:hover { background: #fff; box-shadow: 0 0 0 1px rgba(23,7,30,.06), 0 10px 30px -12px rgba(23,7,30,.35); }
.btn-orange { background: var(--orange); color: var(--dark); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-orange .arrow-box { background: var(--dark); color: var(--orange); }

.arrow-box {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: var(--r-6);
  background: var(--orange); color: var(--dark);
  overflow: hidden;
  display: inline-grid; place-items: center;
}
.arrow-box svg { width: 12px; height: 12px; transition: transform .45s var(--ease); }
.arrow-box-lg { width: 40px; height: 40px; border-radius: var(--r-8); }
.arrow-box-lg svg { width: 14px; height: 14px; }
/* icon slides out top-right, a clone slides in from bottom-left */
.arrow-box svg { position: relative; z-index: 1; }
.btn:hover .arrow-box svg, .text-link:hover .arrow-box svg, .panel-media:hover .arrow-box svg, .work-card:hover .arrow-box svg {
  animation: arrowSlide .5s var(--ease) both;
}
@keyframes arrowSlide {
  0% { transform: translate(0, 0); }
  45% { transform: translate(140%, -140%); }
  50% { transform: translate(-140%, 140%); }
  100% { transform: translate(0, 0); }
}

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 17px; min-height: 44px;
}
.text-link .arrow-box { width: 26px; height: 26px; }

.pill {
  display: inline-flex; align-items: center; min-height: 28px;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--bg-beige); color: var(--text-2);
  font-size: 13px; font-weight: 400; white-space: nowrap;
}
a.pill { min-height: 44px; }
.pill-line { background: transparent; border: 1px solid currentColor; min-height: 30px; }
.pill-dark { background: #2A1A33; color: var(--text-on-dark); font-size: 12px; min-height: 36px; padding: 6px 14px; }
a.pill-dark { min-height: 44px; }
a.pill-dark:hover { background: #3A2845; }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-header {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 100;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 20px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: 0 10px 40px -18px rgba(23,7,30,.45), 0 1px 0 rgba(0,0,0,.04);
  transition: height .4s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.is-scrolled .nav {
  height: 56px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -16px rgba(23,7,30,.5);
}
.nav-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--dark); min-height: 44px; }
.logo-mark { color: var(--dark); flex: none; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; color: var(--text);
  transition: background-color .2s;
}
.nav-links a:hover { background: var(--bg-beige-2); }
.chev { width: 12px; height: 12px; }
.nav-cta { min-height: 48px; }
.nav-burger {
  display: none; width: 48px; height: 48px; border-radius: var(--r-12);
  background: var(--bg-beige-2);
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--dark); border-radius: 2px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--dark); color: #fff;
  display: flex; flex-direction: column;
  padding: 24px 24px 32px;
  opacity: 0; transition: opacity .3s;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-brand { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.mobile-menu-close { width: 48px; height: 48px; border-radius: var(--r-12); background: rgba(255,255,255,.1); display: grid; place-items: center; }
.mobile-menu-links { margin: auto 0; }
.mobile-menu-links a {
  display: block; padding: 12px 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 10vw, 52px); line-height: 1.05; letter-spacing: -0.02em;
  transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.is-open .mobile-menu-links a { transform: none; opacity: 1; }
.is-open .mobile-menu-links li:nth-child(2) a { transition-delay: .05s; }
.is-open .mobile-menu-links li:nth-child(3) a { transition-delay: .1s; }
.is-open .mobile-menu-links li:nth-child(4) a { transition-delay: .15s; }
.is-open .mobile-menu-links li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 16px; color: var(--text-on-dark); font-size: 14px; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background: var(--dark);
  color: #F9FFF8;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 120px;
}
.hero-glow {
  position: absolute; left: 50%; top: 50%; width: 760px; height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120,70,140,.34), rgba(23,7,30,0));
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 1000px; }
.hero-title {
  font-size: clamp(50px, 7vw, 100px);
  line-height: 1.0;
  color: #F6F4F1;
}
.hero-sub {
  max-width: 680px; margin: 28px auto 0;
  font-size: clamp(16px, 1.3vw, 18px); color: var(--text-on-dark);
}
.hero-cta { margin-top: 36px; }

.hero-video {
  position: absolute; right: 40px; bottom: 40px;
  width: 250px; border-radius: var(--r-8); overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.hero-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-video-meta {
  position: absolute; left: 10px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,.45);
}
.hero-video-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

@media (max-width: 720px) {
  .hero { min-height: 100svh; padding: calc(var(--nav-h) + 72px) 20px 200px; place-items: center start; }
  .hero-inner { text-align: left; }
  .hero-title { font-size: clamp(44px, 12.8vw, 60px); }
  .hero-sub { margin-left: 0; }
  .hero-video { right: 20px; left: auto; bottom: 28px; width: 160px; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.clients { background: var(--bg-beige); padding: 48px 0 72px; overflow: hidden; }
.clients-label { padding: 0 var(--gutter); font-size: 18px; color: var(--text-2); margin-bottom: 40px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; gap: clamp(56px, 7vw, 120px); padding-right: clamp(56px, 7vw, 120px); flex: none; }
.js .marquee-track { animation: marquee 38s linear infinite; }
.js .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; }
.client .pill { background: rgba(255,255,255,.55); color: var(--text); }
.client a.pill:hover { background: var(--white); }
.wordmark {
  display: flex; align-items: center; height: 36px;
  font-size: 30px; line-height: 1; color: #B7B2AA;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
}
.wm-serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: 0; }
.wm-caps { letter-spacing: .18em; font-weight: 500; font-size: 24px; }
.wm-script { font-family: Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.wm-black { font-weight: 600; font-size: 32px; letter-spacing: -0.04em; }
.wm-mono { font-family: var(--font-mono); font-size: 22px; letter-spacing: .04em; }
.wm-wide { letter-spacing: .3em; font-size: 20px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .js .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { background: var(--bg-beige); padding: clamp(80px, 12vw, 190px) var(--gutter) clamp(72px, 9vw, 130px); }
.statement-title { font-size: clamp(36px, 5.1vw, 74px); line-height: 1.02; color: var(--dark); max-width: 1120px; }
.statement .text-link { margin-top: 36px; }

/* ==========================================================================
   STACKING PANELS
   ========================================================================== */
.stack {
  background: var(--bg-beige);
  padding: 0 var(--gutter) 24px;
  --stack-top: 88px;
}
.panel {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * 24px);
  background: var(--white);
  border-radius: var(--r-16);
  min-height: min(600px, calc(100vh - 180px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 24px;
  margin-bottom: 24px;
  transform-origin: 50% 0;
  box-shadow: 0 -8px 30px -20px rgba(23,7,30,.25);
  will-change: transform;
}
.panel-copy { padding: 40px 0 40px 32px; max-width: 540px; }
.panel-title { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.05; color: var(--dark); }
.panel-copy p { margin: 24px 0 36px; color: var(--text-2); font-size: 17px; }
.panel-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-12); background: var(--bg-grey);
  min-height: 420px;
}
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel-media:hover img { transform: scale(1.04); }

.media-card {
  position: absolute; right: 12px; bottom: 12px; left: 26%;
  background: var(--white); border-radius: var(--r-12);
  padding: 20px 24px 22px;
  display: block; color: var(--text);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.45);
}
.media-card .arrow-box-lg { position: absolute; right: 12px; top: 12px; }
.media-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; color: var(--dark); margin-top: 32px; }
.media-sub { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.5; }

.panel-media-chart { background: var(--dark); display: grid; place-items: center; padding: 28px; }
.chart { width: 100%; max-width: 560px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: #8E7F99; stroke-width: 1.5; }
.chart .grid { stroke: #3A2845; stroke-width: 1; stroke-dasharray: 3 5; }
.chart .bar { fill: var(--blue); transform-box: fill-box; transform-origin: 50% 100%; }
.chart .bar { fill: var(--blue); }
.chart .bar-accent { fill: var(--orange); }
.chart-labels text { fill: var(--text-on-dark); font-family: var(--font-body); font-size: 14px; text-anchor: middle; }
.chart-callout rect { fill: var(--white); }
.chart-callout text { fill: var(--dark); font-family: var(--font-body); font-size: 13px; font-weight: 500; text-anchor: middle; }
.chart-callout line { stroke: var(--white); stroke-width: 1.5; }
.chart figcaption { margin-top: 14px; color: var(--text-on-dark); font-size: 13px; text-align: center; }
/* JS drives the sequence; without JS it is simply visible */
.js .chart:not(.is-built) .axis, .js .chart:not(.is-built) .grid { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .chart:not(.is-built) .bar { transform: scaleY(0); }
.js .chart:not(.is-built) .chart-labels, .js .chart:not(.is-built) .chart-callout { opacity: 0; }
.js .chart.is-built .axis { stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); }
.js .chart.is-built .grid { stroke-dasharray: 3 5; }
.js .chart.is-built .bar { transform: none; transition: transform .7s var(--ease); }
.js .chart.is-built .bar:nth-child(1) { transition-delay: .6s; }
.js .chart.is-built .bar:nth-child(2) { transition-delay: .75s; }
.js .chart.is-built .bar:nth-child(3) { transition-delay: .9s; }
.js .chart.is-built .bar:nth-child(4) { transition-delay: 1.05s; }
.js .chart.is-built .bar:nth-child(5) { transition-delay: 1.2s; }
.js .chart.is-built .bar:nth-child(6) { transition-delay: 1.35s; }
.js .chart.is-built .chart-labels { opacity: 1; transition: opacity .5s 1.2s; }
.js .chart.is-built .chart-callout { opacity: 1; transition: opacity .5s 1.9s; }

@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 20px; }
  .panel-copy { padding: 16px 8px 8px; }
  .panel-media { min-height: 360px; }
  .media-card { left: 12px; }
}
@media (max-width: 720px) {
  .stack { --stack-top: 80px; }
  .panel { top: calc(var(--stack-top) + var(--i, 0) * 16px); }
  .panel-media { display: none; }
  .panel-media-chart { display: grid; min-height: 0; padding: 20px 14px; }
  .chart-labels text { font-size: 15px; }
  .chart-callout text { font-size: 16px; }
  .chart-callout rect { x: 219px; width: 288px; }
  .panel-copy p { font-size: 16px; }
  .panel-title { font-size: 36px; }
}

/* ==========================================================================
   ARC + WHY
   ========================================================================== */
.why {
  position: relative; background: var(--bg-beige);
  padding: clamp(160px, 22vw, 320px) var(--gutter) clamp(90px, 10vw, 150px);
  overflow: hidden;
}
.arc {
  position: absolute; left: 50%; top: clamp(60px, 10vw, 150px);
  width: 160vw; height: 240vw; max-height: 4000px;
  transform: translateX(-50%);
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 14% 14% 0 0;
  will-change: transform;
}
.why-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.why-title { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.04; color: var(--dark); }
.why-intro { margin: 22px auto 0; color: var(--text-2); max-width: 760px; }
.why-rows { margin-top: 56px; display: grid; gap: 14px; text-align: left; }
.why-row {
  background: var(--white); border-radius: var(--r-12);
  display: grid; grid-template-columns: 80px 1fr; column-gap: 24px; align-items: center;
  padding: 8px;
}
.why-tile { width: 80px; height: 80px; border-radius: var(--r-12); background: var(--dark); display: grid; place-items: center; }
.why-tile svg { width: 48px; height: 48px; }
.why-row-title { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; color: var(--dark); }
.why-row-title button {
  width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 8px 0 0; text-align: left;
}
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: var(--r-8); background: var(--bg-beige-2); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--dark); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.plus::before { width: 12px; height: 1.5px; }
.plus::after { width: 1.5px; height: 12px; }
[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.why-row-body { grid-column: 2; padding: 0 56px 16px 0; color: var(--text-2); font-size: 16px; }
.why-link { margin-top: 44px; }
@media (max-width: 720px) {
  .why-row { grid-template-columns: 64px 1fr; column-gap: 16px; }
  .why-tile { width: 64px; height: 64px; }
  .why-tile svg { width: 40px; height: 40px; }
  .why-row-title { font-size: 19px; }
  .why-row-body { grid-column: 1 / -1; padding: 4px 8px 12px; }
}

/* ==========================================================================
   WORK
   ========================================================================== */
.work { background: var(--bg); padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(80px, 10vw, 160px); }
.work-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.work-title { font-size: clamp(40px, 4vw, 56px); line-height: 1.05; color: var(--dark); }
.work-sub { margin-top: 10px; color: var(--text-2); font-size: 18px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-16); background: var(--bg-grey);
  aspect-ratio: 4 / 3;
  scroll-margin-top: 96px;
  min-width: 0;
}
@media (max-width: 1100px) { .work-card { aspect-ratio: 1; } }
.work-img { position: absolute; inset: 0; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-card .media-card { left: 12px; }
.work-foot { margin-top: 24px; color: var(--text-2); font-size: 15px; }
@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card .media-card { padding: 16px 18px 18px; }
  .work-card .media-sub { font-size: 14px; }
  .media-title { font-size: 20px; margin-top: 30px; }
}

/* ==========================================================================
   DARK CTA BAND
   ========================================================================== */
.band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--dark-2); color: #fff;
  padding: clamp(110px, 14vw, 200px) var(--gutter);
}
.band-glow { position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(120,70,140,.3), rgba(22,9,30,0)); }
.band-title { position: relative; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.04; }
.band .btn { position: relative; margin-top: 36px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--bg); padding: clamp(80px, 10vw, 150px) var(--gutter); }
.about-title { font-size: clamp(36px, 5vw, 70px); line-height: 1.04; color: var(--dark); max-width: 1000px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: clamp(48px, 7vw, 110px); }
.about-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.01em; color: var(--dark); }
.about-copy > p + p { margin-top: 22px; color: var(--text-2); }
.about-copy .text-link { margin-top: 28px; }
.stats { display: grid; gap: 28px; align-self: start; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(56px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.02em; color: var(--dark); }
.stat-label { display: flex; align-items: center; gap: 0; margin-top: 10px; }
.stat-label::after { content: ""; flex: 1; height: 1px; background: var(--dark); opacity: .8; }
.stat-label .pill-line { color: var(--dark); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; overflow: hidden; background: var(--bg-beige-2); padding: clamp(80px, 10vw, 150px) var(--gutter); }
.contact-glow { position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(135,251,180,.16), rgba(239,236,232,0)); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: var(--max); margin: 0 auto; }
.contact-title { font-size: clamp(40px, 5vw, 70px); line-height: 1.04; color: var(--dark); }
.contact-copy > p { margin-top: 24px; color: var(--text-2); max-width: 480px; }
.contact-side a { color: #0E7A49; font-weight: 500; display: inline-block; padding: 12px 0; margin: -12px 0; }
.form { background: var(--white); border-radius: var(--r-16); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--dark); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #D9D5CE; border-radius: var(--r-8);
  background: var(--bg); font: inherit; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(135,251,180,.45); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C62828; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { justify-self: start; }
.form-note { font-size: 13px; color: var(--text-2); }
.form-status { font-size: 15px; font-weight: 500; color: var(--dark); min-height: 1.4em; }
.form-status.is-error { color: #C62828; }
.form-status.is-ok { color: var(--green); }
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); color: var(--text-on-dark); padding: clamp(60px, 8vw, 110px) var(--gutter) 24px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.footer-card { display: block; border-radius: var(--r-16); overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.footer-card img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.footer-card:hover img { transform: scale(1.04); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h3 { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: #fff; margin-bottom: 14px; }
.footer-col-sub { margin-top: 28px; }
.footer-col li { padding: 6px 0; font-size: 16px; }
.footer-col a { display: inline-block; padding: 12px 0; margin: -12px 0; line-height: 1.3; }
.footer-col a:hover { color: #fff; }
.footer-link-orange { color: var(--orange); }
.footer-link-orange:hover { color: var(--orange) !important; text-decoration: underline; }
.footer-giant {
  margin-top: clamp(60px, 9vw, 140px);
  font-size: clamp(64px, 14.6vw, 212px); line-height: .95; letter-spacing: -0.035em;
  color: var(--orange); white-space: nowrap;
}
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.footer-legal-links { display: inline-flex; gap: 8px; }
.footer-legal .pill { white-space: normal; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-card { max-width: 420px; }
}
@media (max-width: 960px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-giant { white-space: normal; }
}

/* On phones, let the centred/statement headlines wrap naturally instead of
   keeping the desktop line breaks (the mask reveal becomes a plain fade). */
@media (max-width: 720px) {
  .band-title, .why-title, .about-title, .statement-title { text-wrap: balance; overflow: hidden; }
  .band-title .ln, .why-title .ln, .about-title .ln, .statement-title .ln { display: contents; }
  .band-title .ln > span, .why-title .ln > span, .about-title .ln > span, .statement-title .ln > span { display: inline; transform: none !important; }
  .js .band-title, .js .why-title, .js .about-title, .js .statement-title { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js .band-title.is-revealed, .js .why-title.is-revealed, .js .about-title.is-revealed, .js .statement-title.is-revealed { opacity: 1; transform: none; }
}

/* ---------- Scroll reveal states (JS adds .js to <html>) ---------- */
.js [data-fade] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-fade].is-in { opacity: 1; transform: none; }
.js .ln > span { transition: transform .9s var(--ease); }
.js .is-revealed .ln:nth-child(2) > span { transition-delay: .08s; }
.js .is-revealed .ln:nth-child(3) > span { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .ln > span, .js [data-fade] { transform: none; opacity: 1; }
  .js .chart:not(.is-built) .axis, .js .chart:not(.is-built) .grid { stroke-dashoffset: 0; }
  .js .chart:not(.is-built) .bar { transform: none; }
  .js .chart:not(.is-built) .chart-labels, .js .chart:not(.is-built) .chart-callout { opacity: 1; }
}

/* Featured work card */
.work-card.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
@media (max-width: 1100px) { .work-card.is-wide { aspect-ratio: 16 / 9; } }
@media (max-width: 720px) { .work-card.is-wide { aspect-ratio: 1; } }
.work-card.is-wide .work-img img { object-position: top left; }
@media (max-width: 720px) {
  .work-card .work-img img { object-position: left center; }
  .work-card.keep-center .work-img img { object-position: center; }
  .work-card.is-wide .work-img img { object-position: 18% top; }
}

/* Service panels: show the whole screenshot instead of a centre crop */
.panel-media:not(.panel-media-chart) { aspect-ratio: 16 / 10; min-height: 0; align-self: center; width: 100%; }
.panel-media img { object-fit: contain; object-position: top center; background: var(--bg-grey); }
.panel-media:hover img { transform: scale(1.02); }
@media (max-width: 1100px) { .panel-media:not(.panel-media-chart) { min-height: 0; } }
.about-copy strong { color: var(--dark); font-weight: 600; }


/* ===== Concept G: Nexus palette additions ===== */
.logo-mark { color: var(--dark); }
.logo-word { font-weight: 700; letter-spacing: -0.03em; }
.hero-glow { background: radial-gradient(closest-side, rgba(135,251,180,.22), rgba(1,42,28,0)); }
.footer-brand .logo-mark { color: var(--orange); }

/* Work cards: the whole screenshot stays visible, caption sits below it */
.work-card, .work-card.is-wide {
  aspect-ratio: auto; display: flex; flex-direction: column;
  background: var(--white);
}
.work-card .work-img { position: relative; inset: auto; display: block; overflow: hidden; background: var(--bg-grey); }
.work-card .work-img img,
.work-card.is-wide .work-img img { display: block; width: 100%; height: auto; object-fit: initial; object-position: initial; }
.work-card .media-card {
  position: relative; inset: auto; flex: 1;
  border-radius: 0; box-shadow: none;
  padding: 22px 76px 24px 24px;
}
.work-card .media-title { margin-top: 0; }
.work-card .media-card .arrow-box-lg { top: 20px; right: 20px; }
@media (min-width: 721px) {
  .work-card.is-wide { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch; }
  .work-card.is-wide .media-card { display: flex; flex-direction: column; justify-content: center; padding: 32px 40px; }
  .work-card.is-wide .media-title { font-size: clamp(22px, 2.2vw, 30px); padding-right: 56px; }
}
@media (max-width: 720px) {
  .work-card .media-card { padding: 18px 68px 20px 18px; }
  .work-card .media-card .arrow-box-lg { top: 14px; right: 14px; }
}

/* ===== Concept G hero: the running line ===== */
.hero { min-height: max(100svh, 820px); place-items: start center; padding: calc(var(--nav-h) + 56px) var(--gutter) 340px; }
.no-line .hero { min-height: 100svh; place-items: center; padding-bottom: 120px; }
.hero-line { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-glow { top: auto; bottom: -380px; transform: translateX(-50%); }
.hero-title { font-size: clamp(46px, 6.2vw, 92px); }
.hero-sub { margin-top: 20px; }
.hero-cta { margin-top: 24px; }
.hero-readout { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 18px; margin-top: 14px; font: 12px/1.3 var(--font-mono); color: var(--text-on-dark); }
.hero-readout .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: linePulse 1.6s ease-in-out infinite; }
@keyframes linePulse { 50% { opacity: .35; } }
.no-line .hero-readout { display: none; }
@media (max-width: 720px) {
  .hero { min-height: max(100svh, 820px); place-items: start; padding: calc(var(--nav-h) + 40px) 20px 300px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 58px); }
  .hero-readout { justify-content: flex-start; }
}
.pill-dark { background: #0B3D2B; }
a.pill-dark:hover { background: #125239; }

/* ===== Concept G: illustrated Why tiles ===== */
html .why-bento .tile-3d { filter: none; height: auto; }
html .why-bento .tile:hover .tile-3d { transform: translateY(-4px) scale(1.02); }
html .why-a { padding-right: clamp(18px, 2vw, 30px); }
html .why-a .tile-3d { width: clamp(240px, 31vw, 430px); margin: -10px -6px -10px 0; }
html .why-b .tile-3d { width: min(100%, 370px); margin: 0 auto 18px; }
html .why-c .tile-3d { width: min(82%, 290px); margin: -6px auto 14px; filter: drop-shadow(0 16px 18px rgba(1,42,28,.16)); }
html .why-d { min-height: 360px; }
@media (max-width: 860px) {
  html .why-b .tile-3d { width: 210px; margin: 0; }
  html .why-a .tile-3d { width: min(44%, 300px); }
}
@media (max-width: 600px) {
  html .why-a .tile-3d { width: 100%; max-width: 330px; align-self: center; margin: 4px 0 -8px; }
  html .why-b .tile-3d { width: 240px; align-self: center; order: 0; margin-bottom: 10px; }
  html .why-d { min-height: 320px; }
}

/* Footer brand: the mark with the name, nothing else */
.footer-brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: #F7F4EF; align-self: start; }
.footer-brand .logo-mark { flex: none; }
.footer-word { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.03em; }

/* "Our way of working": the running glass machine, nothing moves off the tile */
html .why-d { min-height: 400px; background: radial-gradient(120% 90% at 50% 34%, #063D2B, #02231A 72%); }
.way-scene { position: absolute; left: 0; top: 22px; width: 100%; height: auto; aspect-ratio: 880 / 480; display: block; }
html .why-d .tile-title { color: #fff; }
html .why-d .arrow-box-lg { background: var(--orange); color: var(--dark); }
@media (max-width: 600px) { html .why-d { min-height: 340px; } }

/* ---------- Process insight ---------- */
.statement-lead { margin-top: 28px; max-width: 680px; color: var(--text-2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.panel { top: calc(var(--stack-top) + var(--i, 0) * 20px); }
.week-map { margin: 0; width: 100%; max-width: 560px; }
.week-map-title { margin: 0 0 18px; color: var(--white); font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.week-map ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.week-map li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px 13px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-12); background: rgba(255,255,255,.05); color: var(--text-on-dark); font-size: 15px; line-height: 1.35; }
.week-map li:nth-child(2) { transition-delay: .08s; }
.week-map li:nth-child(3) { transition-delay: .16s; }
.week-map li:nth-child(4) { transition-delay: .24s; }
.week-map b { flex: none; max-width: 46%; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); color: var(--text-on-dark); font-size: 12.5px; font-weight: 500; line-height: 1.25; text-align: center; }
.week-map b.is-next { background: var(--orange); color: var(--on-accent); }
.week-map b.is-hidden { background: none; box-shadow: inset 0 0 0 1px var(--orange); color: var(--orange); }
.week-map figcaption { margin-top: 14px; color: var(--text-on-dark); font-size: 13px; text-align: center; }
@media (max-width: 720px) {
  .panel { top: calc(var(--stack-top) + var(--i, 0) * 13px); }
  .week-map li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .week-map b { max-width: none; }
}

/* ---------- Connections ---------- */
.sr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.connect { background: var(--bg-beige); padding: clamp(56px, 7vw, 110px) var(--gutter) clamp(72px, 9vw, 130px); }
.connect-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.connect-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.04; letter-spacing: -0.02em; color: var(--dark); }
.connect-intro { max-width: 640px; margin: 24px auto 0; color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.connect-logos {
  display: grid; gap: 22px; margin-top: 48px; padding: 14px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.connect-row { display: flex; width: max-content; margin: 0; padding: 12px 0; list-style: none; animation: connect-drift 80s linear infinite; }
.connect-row.is-reverse { animation-direction: reverse; }
.connect-row li { position: relative; flex: none; display: grid; place-items: center; width: 76px; height: 76px; margin-right: 58px; border-radius: 50%; background: var(--white); color: var(--dark); box-shadow: inset 0 1px 0 #fff, 0 0 0 7px rgba(255,255,255,.34), 0 16px 26px -16px rgba(1,42,28,.42); }
.connect-row li:nth-child(even) { top: 9px; }
.connect-row li:nth-child(odd) { top: -9px; }
.connect-row li::after { content: ""; position: absolute; left: 100%; top: 50%; width: 58px; height: 1px; background: rgba(1,42,28,.16); }
.connect-row svg { width: 31px; height: 31px; fill: currentColor; }
@keyframes connect-drift { to { transform: translateX(-50%); } }
.connect-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: 16px; margin-top: 40px; text-align: left; }
.connect-log { grid-row: span 3; gap: 20px; justify-content: space-between; }
.agent-log { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.agent-log li { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-pill); background: rgba(255,255,255,.07); color: #fff; font-size: 15px; line-height: 1.3; }
.agent-log svg { flex: none; width: 15px; height: 15px; color: var(--orange); }
.agent-log i { flex: none; width: 15px; height: 15px; display: grid; place-items: center; }
.agent-log i::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: agent-wait 1.8s ease-in-out infinite; }
.agent-log .is-waiting { border-color: var(--orange); color: var(--orange); }
.agent-note { color: var(--text-on-dark); font-size: 13px; }
@keyframes agent-wait { 50% { opacity: .35; transform: scale(.8); } }
@media (max-width: 960px) {
  .connect-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .connect-bento .tile { grid-column: auto !important; grid-row: auto !important; }
}
@media (max-width: 720px) {
  .connect-logos { gap: 8px; margin-top: 32px; }
  .connect-row li { width: 60px; height: 60px; margin-right: 38px; box-shadow: inset 0 1px 0 #fff, 0 0 0 5px rgba(255,255,255,.34), 0 12px 20px -14px rgba(1,42,28,.42); }
  .connect-row li::after { width: 38px; }
  .connect-row svg { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) { .connect-row, .agent-log i::before { animation: none; } }

/* ---------- Result tile ---------- */
.connect-result { gap: 24px; justify-content: space-between; }
.result-bars { display: grid; gap: 12px; margin: 0; }
.result-bars > div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; }
.result-bars dt { font-size: 14px; }
.result-bars dd { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.result-bars i { display: block; flex: 0 1 var(--w); min-width: 10px; height: 14px; border-radius: var(--r-pill); background: var(--dark); transform-origin: 0 50%; transition: transform 1s var(--ease) .2s; }
.result-bars span { flex: none; font-size: 15px; font-weight: 600; }
.js .connect-result:not(.is-in) .result-bars i { transform: scaleX(0); }

/* ---------- Connection names ---------- */
.connect-logos { gap: 40px; padding-bottom: 34px; }
.connect-row li span { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); color: var(--text-2); font-size: 12px; line-height: 1.2; white-space: nowrap; }
@media (max-width: 720px) {
  .connect-logos { gap: 32px; padding-bottom: 30px; }
  .connect-row li span { top: calc(100% + 11px); font-size: 11px; }
}

/* ---------- CTA band: speech bubbles lean on the glass, in front so the mark stays sharp ---------- */
.band .band-obj-b { z-index: 2; width: clamp(200px, 21vw, 310px); left: auto; right: max(18px, calc(50% - 670px)); margin: 10px 0 0; filter: drop-shadow(0 26px 30px rgba(0,0,0,.34)); }
@media (max-width: 960px) {
  .band .band-obj-b { right: 4px; top: auto; bottom: 8px; width: 140px; margin: 0; }
}
