:root {
  --cream: #f2f2ea;
  --cream-2: #e8e8dc;
  --olive: #2a2d21;
  --olive-2: #363a2b;
  --ink: #111111;
  --ink-2: #1a1a1a;
  --lime: #d2ff00;
  --lime-soft: #e9ff8a;
  --grey: #8a8a7c;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --script: "Mrs Saint Delafield", cursive;
  --gutter: clamp(16px, 2.2vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, p, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* Mixed type: bold wide sans + thin serif */
b { font-family: var(--sans); font-weight: 800; font-stretch: 75%; letter-spacing: -0.02em; }
i { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.01em; }

.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.eyebrow.light { color: rgba(242, 242, 234, 0.6); }
.signature { font-family: var(--script); line-height: 1; color: var(--lime); pointer-events: none; }
.mono-sm { font-family: var(--sans); font-weight: 900; font-stretch: 62%; font-size: 20px; letter-spacing: -0.06em; border: 1.5px solid currentColor; border-radius: 6px; padding: 2px 6px; display: inline-block; }
.mono-sm.lime { color: var(--lime); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ============ HEADER ============ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: var(--gutter);
  pointer-events: none;
  mix-blend-mode: normal;
}
.hdr > * { pointer-events: auto; }
.logo { display: flex; flex-direction: column; line-height: 0.82; color: var(--hdr-c, var(--ink)); transition: color .4s; }
.logo-a { font-weight: 900; font-stretch: 70%; font-size: 22px; letter-spacing: -0.03em; }
.logo-b { font-family: var(--serif); font-size: 25px; text-transform: uppercase; letter-spacing: -0.02em; }
.mono { position: absolute; left: 50%; top: var(--gutter); transform: translateX(-50%); font-weight: 900; font-stretch: 62%; font-size: 26px; letter-spacing: -0.08em; color: var(--hdr-c, var(--ink)); transition: color .4s, opacity .4s; }
.hdr-r { display: flex; gap: 8px; align-items: center; }
.btn-lime {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 10px;
  transition: transform .25s, background .25s;
}
.btn-lime:hover { transform: translateY(-2px); background: #e4ff4d; }
.btn-lime.big { font-size: 14px; padding: 16px 22px; }
.burger {
  width: 40px; height: 40px; border-radius: 10px; background: var(--cream);
  border: 1.5px solid var(--ink);
  display: grid; place-content: center; gap: 5px;
}
.burger span { width: 16px; height: 1.5px; background: var(--ink); display: block; transition: transform .3s; }
.burger span:last-child { width: 10px; justify-self: end; }
body.menu-open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .burger span:last-child { width: 16px; transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--cream);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1);
  display: flex; align-items: center; justify-content: center;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
body.menu-open .logo, body.menu-open .mono { --hdr-c: var(--cream); color: var(--cream); }
.menu-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.menu ul { text-align: center; }
.menu li a { font-weight: 800; font-stretch: 70%; font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; display: block; transition: color .2s; }
.menu li:nth-child(even) a { font-family: var(--serif); font-weight: 400; text-transform: none; }
.menu li a:hover { color: var(--lime); }

/* ============ INTRO (hero -> message, pinned) ============ */
.intro { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--cream); }
.hero, .message { position: absolute; inset: 0; }
.hero { background: var(--cream); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours path { fill: none; stroke: #dcdccf; stroke-width: 1; }
.hero-name {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  text-align: center; line-height: 0.8; white-space: nowrap; color: var(--ink);
  font-weight: 400;
}
.hn-1 { display: block; font-weight: 900; font-stretch: 62%; font-size: clamp(48px, 13vw, 240px); letter-spacing: -0.04em; }
.hn-2 { display: block; font-family: var(--serif); font-size: clamp(48px, 13vw, 240px); letter-spacing: -0.03em; color: var(--ink); }
.hero-card {
  position: absolute; left: var(--gutter); bottom: var(--gutter); z-index: 6;
  width: 168px; padding: 12px; border: 1px solid #cfcfc0; border-radius: 10px;
  background: rgba(242, 242, 234, .7); backdrop-filter: blur(8px);
}
.hero-card .eyebrow { color: var(--grey); font-size: 9px; }
.hc-title { font-weight: 800; font-stretch: 75%; font-size: 18px; margin-top: 10px; text-transform: uppercase; }
.hc-sub { font-size: 11px; color: #555; margin-top: 2px; }
.hc-badge { margin-top: 14px; border-top: 1px solid #cfcfc0; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; letter-spacing: .1em; }
.hc-badge strong { font-family: var(--serif); font-size: 20px; letter-spacing: 0; font-weight: 400; }
.hero-role { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 6; text-align: right; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: grid; gap: 10px; }
.hero-role p:first-child { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; font-weight: 400; }

/* Shared portrait frame */
.pf {
  position: absolute; z-index: 5; left: 50%; top: 8%; height: 92%; aspect-ratio: 1067 / 1600;
  transform: translateX(-50%); overflow: hidden; background-color: rgba(54, 58, 43, 0);
}
.pf-inner { width: 100%; height: 100%; }
.pf img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 10%; }

/* ============ MESSAGE (layer inside intro) ============ */
.message { background: var(--olive); color: var(--cream); clip-path: inset(100% 0 0 0); }
.msg-head { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); text-align: center; display: grid; justify-items: center; gap: 10px; color: var(--cream); }
.marquee-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.mq { white-space: nowrap; font-weight: 800; font-stretch: 70%; font-size: clamp(48px, 9.5vw, 150px); line-height: .9; letter-spacing: -0.03em; color: var(--lime); }
.mq em { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--cream); }
.mq span { display: inline-block; }
.sig-msg { position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%, -45%) rotate(-12deg); font-size: clamp(120px, 20vw, 300px); text-shadow: 0 0 1px var(--lime); clip-path: inset(0 100% 0 0); }

/* Reduced motion / no-JS fallback: stack hero and message */
.intro.static { height: auto; }
.intro.static .hero, .intro.static .message { position: relative; height: 100svh; min-height: 600px; clip-path: none; }
.intro.static .pf { top: calc(8svh); height: 92svh; }
.intro.static .sig-msg { top: 150svh; clip-path: none; }

/* ============ STATEMENT ============ */
.statement { background: var(--olive); color: var(--cream); padding: 18vh var(--gutter) 22vh; text-align: center; }
.st-badge { display: grid; justify-items: center; gap: 10px; margin-bottom: 7vh; }
.st-text { font-size: clamp(42px, 7.4vw, 124px); line-height: .92; max-width: 1400px; margin: 0 auto; text-transform: uppercase; }
.st-text i { text-transform: none; color: var(--lime); }
.st-text .w { opacity: .15; transition: opacity .2s; }

/* ============ STORY ============ */
.story { position: relative; background: var(--olive); color: var(--cream); padding: 10vh var(--gutter) 20vh; }
.story-inner { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 7vw; gap: 0 2vw; }
.si figcaption { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.si img, .si .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.si-1 { grid-column: 3 / 5; grid-row: 1 / 4; }
.si-2 { grid-column: 9 / 12; grid-row: 2 / 6; }
.sq { font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); line-height: 1.05; }
.sq .signature.sm { display: block; font-size: 48px; margin-top: 8px; }
.sq-1 { grid-column: 6 / 9; grid-row: 2 / 4; }
.si-3 { grid-column: 4 / 6; grid-row: 5 / 8; }
.si-4 { grid-column: 1 / 3; grid-row: 8 / 11; }
.si-5 { grid-column: 7 / 12; grid-row: 7 / 13; }
.si-5 img { aspect-ratio: 4/5; }
.si-6 { grid-column: 4 / 6; grid-row: 10 / 13; }
.sq-2 { grid-column: 1 / 5; grid-row: 13 / 15; align-self: end; max-width: 420px; }

/* Placeholders */
.ph { position: relative; background:
  radial-gradient(120% 80% at 20% 10%, #4a4f3a 0%, transparent 60%),
  linear-gradient(160deg, #3b3f30, #23261c); overflow: hidden; }
.ph::after { content: attr(data-label); position: absolute; left: 10px; bottom: 10px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,242,234,.55); }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 14px); }
.ph.lime { background: radial-gradient(100% 80% at 70% 20%, #eaff7a, var(--lime) 50%, #a9cc00); }
.ph.lime::after { color: rgba(17,17,17,.55); }
.ph.dark { background: radial-gradient(120% 80% at 30% 20%, #2a2a2a, #0d0d0d); }

/* ============ BUILD / TEACH ============ */
.bt { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--cream); }
.bt-pane { position: absolute; inset: 0; transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.bt-pane img, .bt-pane .ph { width: 100%; height: 100%; object-fit: cover; }
.bt-build { clip-path: inset(0 50% 0 0); }
.bt-teach { clip-path: inset(0 0 0 50%); }
.bt-pane .ph::after { font-size: 11px; left: 50%; transform: translateX(-50%); bottom: 30px; }
.bt[data-active="build"] .bt-build { clip-path: inset(0 22% 0 0); }
.bt[data-active="build"] .bt-teach { clip-path: inset(0 0 0 78%); }
.bt[data-active="teach"] .bt-build { clip-path: inset(0 78% 0 0); }
.bt[data-active="teach"] .bt-teach { clip-path: inset(0 0 0 22%); }
.bt-titles { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4vw; z-index: 2; pointer-events: none; }
.bt-t { pointer-events: auto; display: grid; justify-items: center; gap: 10px; color: var(--cream); mix-blend-mode: difference; }
.bt-t b, .bt-t i { font-size: clamp(64px, 13vw, 220px); line-height: .85; }
.bt-t span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ============ PROGRAMS ============ */
.programs { background: var(--ink); color: var(--cream); padding: 16vh var(--gutter) 10vh; position: relative; }
.pg-head { text-align: center; margin-bottom: 8vh; display: grid; justify-items: center; gap: 14px; }
.pg-head h2 { font-size: clamp(40px, 6vw, 96px); line-height: .9; }
.pg-head h2 i { color: var(--lime); }
.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1500px; margin: 0 auto; }
.pg-col { display: grid; gap: 14px; align-content: start; }
.pg-col.offset { margin-top: 12vw; }
.card {
  background: var(--ink-2); border: 1px solid #262626;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  aspect-ratio: 4/5; display: flex; flex-direction: column; overflow: hidden;
  transition: background .3s;
}
.card:hover { background: #222; }
.card .art { flex: 1; margin: 18px; border-radius: 50%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .art { transform: scale(1.06) rotate(-6deg); }
.card footer { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 14px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.card footer em { font-style: normal; color: var(--lime); }
/* Generative placeholder art */
.a1 { background: radial-gradient(circle at 35% 30%, var(--lime) 0 18%, transparent 19%), repeating-radial-gradient(circle at 50% 50%, #2b2b2b 0 6px, #1e1e1e 6px 12px); }
.a2 { background: conic-gradient(from 40deg, var(--lime), #1c1c1c 30%, var(--lime) 55%, #1c1c1c 80%, var(--lime)); }
.a3 { background: repeating-linear-gradient(45deg, var(--lime) 0 10px, #1a1a1a 10px 22px); }
.a4 { background: radial-gradient(circle at 60% 40%, #f2f2ea 0 22%, #2a2d21 23% 45%, var(--lime) 46% 60%, #1a1a1a 61%); }
.a5 { background: conic-gradient(from 0deg at 50% 50%, #e8e8dc 0 25%, #1b1b1b 0 50%, var(--lime) 0 75%, #333 0); }
.a6 { background: repeating-radial-gradient(circle at 30% 70%, var(--lime) 0 3px, transparent 3px 16px), #202020; }
.a7 { background: linear-gradient(135deg, #2a2d21, var(--lime)); }
.a8 { background: radial-gradient(circle, transparent 40%, var(--lime) 41% 46%, transparent 47%), repeating-conic-gradient(#1c1c1c 0 10deg, #262626 10deg 20deg); }
.a9 { background: radial-gradient(circle at 50% 120%, var(--lime), #2a2d21 55%, #111 75%); }
.pg-cta { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 16vh 0 6vh; }
.pg-cta p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); }

/* ============ WORK WITH ME ============ */
.wwm { position: relative; background: var(--cream); padding: 0 var(--gutter) 16vh; }
.wwm-curve { height: 14vh; background: var(--ink); border-radius: 0 0 50% 50% / 0 0 100% 100%; margin: 0 calc(var(--gutter) * -1); }
.wwm-inner { max-width: 1400px; margin: 10vh auto 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; align-items: center; }
.wwm-text h2 { font-size: clamp(48px, 7vw, 120px); line-height: .86; margin: 18px 0 24px; }
.lede { max-width: 400px; font-size: 14px; color: #444; }
.offer { margin: 28px 0 32px; border-top: 1px solid #cfcfc0; max-width: 420px; }
.offer li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid #cfcfc0; font-weight: 700; font-stretch: 85%; font-size: 17px; text-transform: uppercase; }
.offer span { color: var(--grey); font-weight: 500; font-size: 12px; padding-top: 3px; }
.wwm-visual { position: relative; height: 80vh; min-height: 520px; }
.wv-main { position: absolute; right: 10%; top: 0; width: 62%; height: 92%; object-fit: cover; border-radius: 4px; }
.wv-float { position: absolute; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.f1 { left: 0; bottom: 6%; width: 36%; aspect-ratio: 4/3; transform: rotate(-6deg); }
.f2 { right: 0; top: 50%; width: 26%; aspect-ratio: 3/4; transform: rotate(5deg); }

/* ============ CLIENTS ============ */
.clients { position: relative; background: var(--cream); padding: 14vh 0 18vh; overflow: hidden; }
.cl-scribble { position: absolute; left: 5%; top: 2%; font-size: clamp(200px, 32vw, 520px); transform: rotate(-14deg); z-index: 0; opacity: .95; }
.cl-head { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cl-head h2 { font-size: clamp(44px, 6vw, 96px); line-height: .86; }
.cl-head p { max-width: 320px; font-size: 13px; color: #333; }
.logo-marquee { position: relative; z-index: 1; margin-top: 12vh; overflow: hidden; }
.lm-track { display: flex; gap: 7vw; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.lm-track.slow { animation-duration: 40s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.lg { font-size: clamp(26px, 3vw, 44px); white-space: nowrap; color: var(--ink); }
.lg-apu { font-weight: 900; font-stretch: 125%; letter-spacing: .05em; }
.lg-khan { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); }
.lg-net { font-weight: 300; letter-spacing: -.03em; }
.lg-num { font-weight: 800; font-stretch: 62%; border: 2px solid currentColor; padding: 0 10px; border-radius: 6px; }
.lg-asia { font-weight: 600; font-stretch: 90%; font-style: italic; }
.lg-goog { font-weight: 500; letter-spacing: -.01em; }
.lg-golab { font-weight: 900; font-stretch: 70%; letter-spacing: -.04em; text-transform: uppercase; }

/* ============ SOCIALS ============ */
.socials { position: relative; background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 55%, #f0ffb0 85%, var(--lime-soft) 100%); padding: 16vh var(--gutter) 22vh; text-align: center; overflow: hidden; }
.so-head { display: grid; justify-items: center; gap: 16px; }
.so-head h2 { font-size: clamp(40px, 5vw, 80px); line-height: .9; }
.deck { position: relative; height: clamp(340px, 46vw, 560px); margin: 8vh auto 6vh; max-width: 1100px; }
.dc { position: absolute; left: 50%; top: 50%; width: clamp(150px, 20vw, 260px); aspect-ratio: 3/4.4; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.2); transform: translate(-50%, -40%); border: 4px solid #fff; background-color: #ddd; }
.dc img { width: 100%; height: 100%; object-fit: cover; }
.so-links p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); }
.so-links ul { display: flex; justify-content: center; gap: 26px; margin-top: 16px; }
.so-links a { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid transparent; transition: border-color .2s; }
.so-links a:hover { border-color: currentColor; }

/* ============ FOOTER ============ */
.ftr { background: var(--lime-soft); padding: 0 var(--gutter) var(--gutter); margin-top: -1px; }
.ftr-card {
  position: relative; background: var(--olive); color: var(--cream); border-radius: 28px;
  border: 3px solid var(--lime); min-height: 92svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; grid-template-rows: auto 1fr auto auto;
  padding: 10vh 4vw 3vh;
}
.ftr-title { grid-column: 1 / -1; text-align: center; position: relative; z-index: 2; }
.ftr-title h2 { font-size: clamp(44px, 6.5vw, 108px); line-height: .88; }
.ftr-title h2 i { color: var(--lime); }
.sig-ftr { position: absolute; left: 50%; top: -55%; transform: translateX(5%) rotate(-10deg); font-size: clamp(70px, 8vw, 130px); opacity: .9; }
.ftr-portrait { grid-column: 2; grid-row: 2 / 5; align-self: end; justify-self: center; width: min(100%, 520px); position: relative; z-index: 1; margin-bottom: -3vh; }
.ftr-col { grid-row: 2; align-self: center; display: grid; gap: 4px; z-index: 2; }
.ftr-col.left { grid-column: 1; justify-items: center; }
.ftr-col.right { grid-column: 3; justify-items: center; }
.ftr-col .eyebrow { margin-bottom: 8px; }
.ftr-col a { font-weight: 800; font-stretch: 75%; font-size: 20px; text-transform: uppercase; line-height: 1.05; transition: color .2s; }
.ftr-col a:hover, .lime-link { color: var(--lime); }
.ftr-logos { grid-column: 1 / -1; grid-row: 3; overflow: hidden; z-index: 0; margin: 0 -4vw; padding: 2vh 0; }
.ftr-logos span { font-weight: 700; font-size: 22px; opacity: .8; white-space: nowrap; }
.ftr-logos span:nth-child(even) { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.ftr-btn { grid-column: 2; grid-row: 4; justify-self: center; z-index: 3; position: relative; }
.ftr-bottom { display: flex; justify-content: space-between; padding: 14px 6px 0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .mono { display: none; }
  .pf { top: 32%; height: 68%; }
  .hero-role { display: none; }
  .hero-card { width: 150px; }
  .hn-1 { font-size: 22vw; } .hn-2 { font-size: 21vw; }
  .hero-name { top: 30%; }
  .story-inner { grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; gap: 40px 14px; }
  .si-1, .si-3, .si-4, .si-6 { grid-column: span 3; grid-row: auto; }
  .si-2, .si-5 { grid-column: 1 / -1; grid-row: auto; }
  .sq-1, .sq-2 { grid-column: 1 / -1; grid-row: auto; }
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-col.offset { margin-top: 18vw; }
  .wwm-inner { grid-template-columns: 1fr; }
  .wwm-visual { height: 110vw; min-height: 0; }
  .bt-titles { flex-direction: column; gap: 6vh; }
  .ftr-card { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto auto; padding: 12vh 6vw 3vh; }
  .ftr-col.left { grid-column: 1; grid-row: 2; }
  .ftr-col.right { grid-column: 2; grid-row: 2; }
  .ftr-portrait { grid-column: 1 / -1; grid-row: 3; width: 80%; margin: 4vh auto -3vh; }
  .ftr-logos { grid-row: 4; }
  .ftr-btn { grid-column: 1 / -1; grid-row: 5; }
  .ftr-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 520px) {
  .btn-lime { padding: 10px 12px; font-size: 10px; }
  .logo-a { font-size: 18px; } .logo-b { font-size: 20px; }
  .pg-grid { gap: 10px; } .pg-col { gap: 10px; }
  .card footer { font-size: 9px; padding: 8px 10px 10px; }
  .card { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
}

@media (prefers-reduced-motion: reduce) {
  .lm-track { animation: none; }
  .st-text .w { opacity: 1; }
}

/* Client logo images (single-colour, transparent) */
.lg-img { height: clamp(34px, 3.6vw, 54px); width: auto; display: block; }
.lg-grow-with-google { height: clamp(62px, 6vw, 92px); }
.lg-golab { height: clamp(30px, 3vw, 44px); }
.ftr-logos .lm-track { gap: 5vw; }
.ftr-logos .lg-img { filter: invert(1) brightness(1.6); opacity: .85; height: clamp(24px, 2.4vw, 36px); }
.ftr-logos .lg-grow-with-google { height: clamp(44px, 4vw, 60px); }
.ftr-logos .lg { color: var(--cream); font-size: 22px; }
