:root {
  --bg: #000000;
  --bg-elev: #1a1714;
  --fg: #f2ede3;
  --fg-dim: #8a857c;
  --fg-mute: #4a453e;
  --line: #25211c;
  --accent: #f9c644;
  --accent-deep: #e0a91c;
  --serif: "Vipnagorgialla", "VipnagorgiallaFallback", "Arial Black", sans-serif;
  --sans: "Roboto", ui-sans-serif, system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --max: 1280px;
  --gutter: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-style: normal !important; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  font-weight: 300;
}
/* Tame Vipnagorgialla heaviness everywhere except the hero name */
.site-header .mark,
.hero-top strong,
.hero-meta .row span:last-child,
.metric-num,
.trusted-item,
.story-heading,
.framework-title,
.pillar-name,
.difference-heading,
.diff-label,
.vision-quote,
.cta-heading,
.footer-mark,
.marquee-track,
.authority-body {
  font-weight: 500 !important;
  letter-spacing: 0.005em;
}
/* Contact IDs use Roboto SemiBold, not Vipnagorgialla */
.hero-meta .row span span { font-family: inherit !important; }
.contact-row .v {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
}
/* All mono sub-text (eyebrows, labels, rows, footer) → Roboto medium */
.eyebrow,
.hero-top,
.hero-meta,
.metric-label,
.metric-suffix,
.pillar-num,
.pillar-arrow,
.diff-num,
.diff-meta,
.vision-attribution,
.contact-row .k,
.site-footer,
.mark-text,
.portrait-label {
  font-family: var(--sans) !important;
  font-weight: 500 !important;
}
body { cursor: none; overflow-x: hidden; }
@media (hover: none), (max-width: 900px) { body { cursor: auto; } #cursor { display: none !important; } }

/* ---------- Section zoom transitions ---------- */
main section:not(.hero) {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
section.section-enter {
  transform: scale(0.93);
  opacity: 0;
  filter: blur(6px);
}
section.section-active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}
section.section-leave {
  transform: scale(1.05);
  opacity: 0.25;
  filter: blur(3px);
}
@media (prefers-reduced-motion: reduce) {
  section.section-enter, section.section-leave, section.section-active {
    transform: none; opacity: 1; filter: none;
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #0e0d0b; }

/* Display font normalisation — Vipnagorgialla is all-caps display */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------- Cursor ---------- */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.35s ease;
}
#cursor.idle { opacity: 0; }
#cursor-dot {
  position: absolute; top: -8px; left: -8px;
  width: 0; height: 0;
  border-left: 8px solid var(--fg);
  border-top: 8px solid var(--fg);
  border-right: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-top-left-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#cursor-label {
  position: absolute; top: 2px; left: 4px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--fg);
  background: #1a1815; padding: 5px 11px 5px 9px; border-radius: 999px;
  white-space: nowrap; opacity: 1; transform: none;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
#cursor-label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
  padding: 20px 40px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 75%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); padding: 14px 40px; }
.site-header { z-index: 100; }
.site-header .mark { position: relative; z-index: 2; }
.mark { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 11px; letter-spacing: 0.04em; font-weight: 300; }
.mark-logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 900px) { .mark-logo { height: 26px; } }
.mark-text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.mark-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.nav { display: flex; gap: 28px; justify-content: center; }
.nav a { position: relative; color: var(--fg-dim); transition: color 0.2s; }
.nav a:hover { color: var(--fg); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav a:hover::after { width: 100%; }
.nav-cta { color: var(--fg) !important; }

.status { display: flex; align-items: center; gap: 8px; justify-self: end; color: var(--fg-dim); }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .nav, .status { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hamburger button ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid color-mix(in oklch, var(--fg) 14%, transparent);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.25s ease, background 0.25s ease;
  z-index: 200;
}
.nav-toggle:hover { border-color: color-mix(in oklch, var(--accent) 60%, transparent); }
.nav-toggle-bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, background 0.25s ease;
  transform-origin: center;
}
.nav-toggle.is-open { border-color: color-mix(in oklch, var(--accent) 60%, transparent); }
.nav-toggle.is-open .nav-toggle-bar { background: var(--accent); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 90;
}
.mobile-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(82vw, 360px);
  background: linear-gradient(160deg, #0e0d0b 0%, #1a1714 100%);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 96px 32px 40px;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); pointer-events: auto; visibility: visible; }
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.mobile-link {
  display: block;
  padding: 18px 0;
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--fg) 8%, transparent);
  font-weight: 400;
  transition: color 0.25s ease, padding-left 0.3s ease;
}
.mobile-link:hover,
.mobile-link:focus { color: var(--accent); padding-left: 6px; }
.mobile-cta {
  margin-top: 22px;
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  border-radius: 999px;
  padding: 14px 22px;
  text-align: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.mobile-cta:hover { background: var(--accent); color: #0e0d0b; padding-left: 22px; }
.mobile-status {
  margin-top: auto;
  padding-top: 24px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
body.drawer-open { overflow: hidden; }

/* ---------- Section primitives ---------- */
section { padding: 120px 40px; position: relative; }
.container { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }

/* Reveal animations — bottom to top rise */
.reveal {
  opacity: 0; transform: translateY(60px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Char-by-char display reveal */
.char-reveal { display: inline-block; overflow: hidden; }
.char-reveal .ch {
  display: inline-block; transform: translateY(102%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.char-reveal.in .ch { transform: translateY(0); }

/* Word-by-word reveal — bottom-to-top rise */
.word-reveal .wr-w {
  display: inline-block; overflow: hidden;
  vertical-align: top;
}
.word-reveal .wr-wi {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  filter: blur(4px);
  transition:
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity, filter;
}
.word-reveal.in .wr-wi {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}
.word-reveal.in .wr-wi {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* duplicate removed */

/* Parallax utility */
[data-parallax] { will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; padding: 120px 40px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 70%);
  transform: none !important;
}
.hero-top {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; align-items: start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-dim);
  padding-top: 40px; position: relative;
}
.hero-top > div { display: flex; flex-direction: column; gap: 8px; }
.hero-top .hero-top-center { align-items: center; text-align: center; }
.hero-top .hero-top-right { align-items: flex-end; text-align: right; }
.hero-top > div > span:first-child { color: var(--fg-mute); font-size: 10px; }
.hero-top strong {
  color: var(--fg); font-weight: 500;
  font-family: var(--sans); font-size: 14px; letter-spacing: 0;
  text-transform: none;
}

.hero-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 10vw, 160px);
  line-height: 0.95; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: auto 0;
  padding: 40px 0;
  position: relative;
}
.hero-name .line { display: block; overflow: hidden; letter-spacing: 0; }
.hero-name .line + .line { padding-left: 0; }
.hero-name .ch { display: inline-block; letter-spacing: -0.015em; }
.hero-name .accent { color: var(--accent); }

.hero-bottom {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: end;
}
.hero-statement {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55; color: var(--fg);
  max-width: 56ch; text-wrap: pretty;
}
.hero-statement .em { color: var(--accent); font-weight: 400; }
.hero-statement .em::before, .hero-statement .em::after { content: ""; }

.hero-meta {
  display: flex; flex-direction: column; gap: 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim);
}
.hero-meta .row {
  display: flex; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.hero-meta .row:first-child { border-top: 1px solid var(--line); }
.hero-meta .row span:last-child { color: var(--fg); font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-start; justify-content: center;
  width: 24px; height: 40px; border: 1px solid var(--fg-mute); border-radius: 20px;
  padding-top: 8px;
}
.scroll-hint .dot {
  width: 3px; height: 6px; border-radius: 2px; background: var(--accent);
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ---------- Metrics ---------- */
.metrics { padding: 80px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
}
.metric {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  will-change: transform, opacity;
}
/* Once revealed, scroll-linked transform takes over — use a short transition so it feels silky */
.metric.in {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.metric-num {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1; letter-spacing: 0;
  display: flex; align-items: baseline; gap: 10px;
  font-variant-numeric: tabular-nums;
}
.metric-suffix {
  font-size: 0.28em; color: var(--accent);
  font-family: var(--mono); font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.metric-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-dim);
  padding-top: 12px; border-top: 1px solid var(--line); width: 100%;
}
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .metrics { padding: 48px 20px; }
}

/* ---------- Trusted ---------- */
.trusted { padding: 60px 40px; border-bottom: 1px solid var(--line); }
.trusted-head { margin-bottom: 24px; }
.trusted-row {
  display: flex; flex-wrap: nowrap; gap: clamp(14px, 2vw, 32px);
  align-items: center; justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}
.trusted-row::-webkit-scrollbar { display: none; }
.trusted-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-weight: 400 !important;
  font-size: clamp(11px, 1.1vw, 15px);
  color: var(--fg); text-transform: uppercase; letter-spacing: 0.04em;
  transition: color 0.3s;
  white-space: nowrap; flex-shrink: 0;
}
.trusted-item:hover { color: var(--accent); }
.trusted-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 24px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  animation: marquee 36s linear infinite;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.marquee-track span:nth-child(even) {
  color: transparent; -webkit-text-stroke: 1px var(--fg-mute);
}
.marquee-track .accent { color: var(--accent) !important; -webkit-text-stroke: 0 !important; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Authority ---------- */
.authority-section .container {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 80px; align-items: center;
}
.authority-image-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(0.1) contrast(1.05);
}
.authority-image-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, color-mix(in oklch, var(--fg) 3%, transparent) 8px, color-mix(in oklch, var(--fg) 3%, transparent) 16px);
}
.img-placeholder-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim); text-align: center;
  padding: 16px;
}
.img-placeholder-label strong {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: 13px; color: var(--fg); letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.authority-content {
  display: flex; flex-direction: column; gap: 28px;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.authority-image {
  aspect-ratio: 3/4;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.authority-body {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--fg);
  text-wrap: balance;
}
.authority-body .accent { color: var(--accent); font-weight: 400; }
.authority-body .dim {
  display: block;
  font-family: var(--sans);
  color: var(--fg-dim);
  font-size: 15px; line-height: 1.7;
  margin-top: 32px; font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .authority-section .container { grid-template-columns: 1fr; gap: 32px; }
  .authority-image { max-width: 380px; margin: 0 auto; width: 100%; }
}

/* ---------- Story ---------- */
.story-section .container {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 80px; align-items: start;
}
.story-portrait {
  aspect-ratio: 3/4;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-portrait-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(0.1) contrast(1.05);
}
.story-portrait::before {
  content: none;
}

.story-content {
  display: flex; flex-direction: column;
  gap: 28px;
  align-self: center;
}
.story-content .eyebrow { margin-bottom: 8px; }
.story-heading { margin-bottom: 40px; }
.story-heading + p,
.story-heading ~ p:first-of-type { margin-top: 0; }
.portrait-label {
  position: relative; text-align: center; padding: 20px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim);
}
.portrait-label strong {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: 16px; color: var(--fg); letter-spacing: 0.04em;
  margin-bottom: 8px; text-transform: uppercase;
}

.story-content {
  display: flex; flex-direction: column; gap: 20px; align-self: center;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-heading {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(18px, 2.4vw, 30px);
  line-height: 1.2; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 48px; text-wrap: balance;
}
.story-heading .accent { color: var(--accent); }
.story p {
  font-size: 15px; line-height: 1.7; color: var(--fg-dim);
  max-width: 60ch; text-wrap: pretty; font-weight: 300;
}
.story p.lead { color: var(--fg); font-size: 17px; font-weight: 400; }
.story p strong { color: var(--fg); font-weight: 500; }

@media (max-width: 900px) {
  .story-section .container { grid-template-columns: 1fr; gap: 32px; }
  .story-portrait { position: static; max-height: 480px; }
}

/* ---------- Framework ---------- */
.framework-head {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 64px;
}
.framework-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 0.95; letter-spacing: 0.01em;
  text-transform: uppercase; text-wrap: balance;
  will-change: transform, opacity;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.framework-title .accent { color: var(--accent); }
.framework-kicker {
  color: var(--fg-dim); font-size: 15px; line-height: 1.65;
  max-width: 46ch; font-weight: 300;
  will-change: transform, opacity;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
  max-width: 46ch; font-weight: 300;
}

.pillars { display: grid; grid-template-columns: 1fr; }
.pillar {
  display: grid; grid-template-columns: 70px 260px 1fr 60px;
  gap: 40px; align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative; transition: padding-left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: none;
  will-change: transform, opacity;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pillar:hover { padding-left: 16px; }
.pillar:hover::before { width: 100%; }
.pillar:hover .pillar-arrow { transform: translate(8px, -8px); color: var(--accent); }
.pillar:hover .pillar-name { color: var(--accent); }

.pillar-num {
  font-family: var(--mono); font-size: 11px; color: var(--fg-dim);
  letter-spacing: 0.12em; padding-top: 6px;
}
.pillar-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(16px, 1.9vw, 24px);
  line-height: 1.1; letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s; text-wrap: balance;
}
.pillar-desc {
  font-size: 14px; line-height: 1.65; color: var(--fg-dim);
  max-width: 48ch; padding-top: 8px; font-weight: 300;
}
.pillar-arrow {
  justify-self: end; padding-top: 6px;
  font-family: var(--mono); font-size: 18px; color: var(--fg-dim);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s;
  display: inline-block;
}

@media (max-width: 900px) {
  .framework-head { grid-template-columns: 1fr; gap: 20px; }
  .pillar { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .pillar-desc, .pillar-arrow { grid-column: 2; }
  .pillar-arrow { justify-self: start; padding-top: 0; }
}

/* ---------- Difference ---------- */
.difference {
  background: #141414;
  padding: 120px 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.difference-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: var(--max); margin: 0 auto;
}
.difference-heading {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.08; letter-spacing: 0.01em;
  text-transform: uppercase; text-wrap: balance;
}
.difference-heading .accent { color: var(--accent); }
.diff-head {
  will-change: transform, opacity;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.diff-list { display: flex; flex-direction: column; }
.diff-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  will-change: transform, opacity;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.diff-item:last-child { border-bottom: 1px solid var(--line); }
.diff-num { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.1em; }
.diff-label {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.25; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg);
}
.diff-meta {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .difference-inner { grid-template-columns: 1fr; gap: 32px; }
  .difference { padding: 80px 20px; }
  .diff-item { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 18px 0; }
  .diff-label { font-size: 17px; line-height: 1.3; }
  .diff-meta { font-size: 9px; }
}
@media (max-width: 600px) {
  .difference-heading { font-size: clamp(20px, 6vw, 28px); }
  .diff-item { grid-template-columns: 36px 1fr; }
  .diff-label { font-size: 19px; line-height: 1.35; letter-spacing: 0.02em; }
  .diff-meta { grid-column: 2; padding-top: 4px; font-size: 10px; }
}

/* ---------- Vision ---------- */
.vision {
  text-align: center; padding: 160px 40px;
  position: relative; overflow: hidden;
}
.vision-quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 4vw, 56px);
  line-height: 1.1; letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 22ch; margin: 0 auto;
  text-wrap: balance;
}
.vision-quote .accent { color: var(--accent); }
.vision-attribution {
  margin-top: 48px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; color: var(--fg-dim);
  text-transform: uppercase;
}

/* ---------- CTA ---------- */
.cta { padding: 140px 40px 80px; border-top: 1px solid var(--line); }
.cta-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end;
  max-width: var(--max); margin: 0 auto;
}
.cta-heading {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4.5vw, 68px);
  line-height: 1.02; letter-spacing: 0.01em;
  text-transform: uppercase; text-wrap: balance;
}
.cta-heading .accent { color: var(--accent); }
.cta-sub {
  font-size: 15px; line-height: 1.65; color: var(--fg-dim);
  max-width: 40ch; margin-bottom: 28px; font-weight: 300;
}
.cta-button {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative; overflow: hidden; cursor: none;
}
.cta-button::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent); transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.cta-button:hover { color: #0e0d0b; border-color: var(--accent); }
.cta-button:hover::before { transform: translateX(0); }
.cta-button .arrow { transition: transform 0.3s; }
.cta-button:hover .arrow { transform: translateX(4px); }

.cta-contacts { display: flex; flex-direction: column; gap: 0; }
.contact-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
}
.contact-row:first-child { border-top: 1px solid var(--line); }
.contact-row .k { color: var(--fg-dim); text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; }
.contact-row .v { color: var(--fg); font-family: var(--serif); font-size: 11px; letter-spacing: 0.04em; font-weight: 300; }

@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta { padding: 80px 20px 60px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 60px 40px 32px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; align-items: end;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-dim);
}
.site-footer strong { color: var(--fg); font-weight: 400; }
.footer-mark {
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 0.9; color: var(--fg);
  letter-spacing: 0.02em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
}
.footer-mark-logo {
  height: 28px; width: auto; display: block; object-fit: contain;
  opacity: 0.92;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--fg-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 48px 20px 28px; }
  .site-footer > div { text-align: center !important; }
  .site-footer .footer-links { justify-content: center !important; gap: 22px; flex-wrap: wrap; }
  .footer-mark { justify-content: center; }
  section { padding: 64px 20px; }
  .hero {
    padding: 100px 20px 60px;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-top {
    grid-template-columns: 1fr;
    padding-top: 0;
    text-align: center;
    gap: 8px;
  }
  .hero-top > div { justify-self: center; }
  .hero-name {
    text-align: center;
    font-size: clamp(36px, 11vw, 72px) !important;
    line-height: 0.95;
    white-space: nowrap;
  }
  .hero-name .line {
    text-align: center;
    white-space: nowrap;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-statement {
    text-align: center;
    font-size: clamp(15px, 4vw, 20px) !important;
  }
  .hero-meta {
    align-items: center;
  }
  .hero-meta .row {
    justify-content: center;
    text-align: center;
  }
  .scroll-hint { left: 50%; transform: translateX(-50%); }
  .framework-head, .story-section .container, .authority-section .container { padding: 0; }
}

@media (max-width: 600px) {
  .hero-name { font-size: clamp(30px, 12vw, 56px) !important; }
  .hero-name .line { white-space: normal; }
  .trusted-row { gap: 10px !important; flex-wrap: wrap; justify-content: center; }
  .trusted-item { font-size: 10px !important; }
  .vision-quote { font-size: clamp(22px, 7vw, 32px) !important; }
  .cta-heading { font-size: clamp(32px, 10vw, 56px) !important; }
  section { padding: 56px 18px; }
  .container { padding: 0; }
  .site-header { padding: 14px 18px; }
  .mark-logo { height: 22px; }
  .nav { gap: 16px; font-size: 10px; }
  .authority-section .container,
  .story-section .container { gap: 28px; }
  .authority-image, .story-portrait { max-width: 100%; }
  .authority-body { font-size: clamp(16px, 5vw, 22px); line-height: 1.25; }
  .authority-body .dim { font-size: 13px; line-height: 1.6; margin-top: 20px; }
  .story-heading { font-size: clamp(18px, 5.5vw, 24px); margin-bottom: 28px; }
  .pillar { grid-template-columns: 36px 1fr !important; gap: 12px !important; padding: 22px 0 !important; }
  .pillar-num { font-size: 10px; }
  .pillar-name { font-size: clamp(16px, 4.6vw, 20px); }
  .pillar-desc { font-size: 13px; line-height: 1.55; }
  .pillar-arrow { display: none; }
  .framework-title { font-size: clamp(22px, 6.6vw, 32px) !important; }
  .framework-kicker { font-size: 13px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
  .metric-num { font-size: clamp(36px, 12vw, 56px) !important; }
  .metric-suffix { font-size: 0.32em !important; }
  .metric-label { font-size: 10px; }
  .marquee { padding: 16px 0; font-size: 11px; }
  .site-footer { padding: 40px 18px 24px; gap: 18px; }
  .footer-mark { font-size: 26px; }
  .footer-mark-logo { height: 22px; }
  .contact-row { padding: 14px 0; flex-wrap: wrap; gap: 4px; }
  .contact-row .v { font-size: 11px; }
  .cta-button { padding: 14px 20px; font-size: 10px; }
  /* On mobile: keep vertical rise reveal, but neutralize any horizontal slide / cached desktop transforms */
  .metric, .authority-content, .authority-image,
  .story-portrait, .story-content, .diff-head, .diff-item,
  .pillar, .framework-title, .framework-kicker {
    transform: translateY(40px);
  }
  .metric.in, .authority-content.in, .authority-image.in,
  .story-portrait.in, .story-content.in, .diff-head.in, .diff-item.in,
  .pillar.in, .framework-title.in, .framework-kicker.in {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

/* Prevent horizontal overflow from slide-out anims */
html, body { overflow-x: hidden; }
.metrics, .authority-section, .story-section, .difference, #work { overflow: hidden; }

/* ---------- Hero — Split panel (Knowledge17 style) ---------- */
.hero.hero-split {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
/* Hide grid bg in split mode */
.hero.hero-split .hero-grid { display: none; }

/* Right-side portrait — full bleed, anchored to right */
.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-portrait img {
  position: absolute;
  right: -2%;
  bottom: 0;
  height: 102%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  filter: contrast(1.05) saturate(0.92) brightness(0.96);
  /* faint warm light from the right edge */
}
/* subtle vignette on portrait so it sinks into the black panel seam */
.hero-portrait-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 60%, transparent 0%, transparent 35%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, #000 0%, #000 38%, rgba(0,0,0,0.0) 58%);
  pointer-events: none;
}

/* Left-side dark panel */
.hero-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 48%;
  background: #000;
  z-index: 1;
  /* angled edge — slight diagonal seam like the ref */
  clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 0 100%);
}

/* Top eyebrow row (3 cols) — sits above panel + portrait */
.hero.hero-split .hero-top {
  position: relative;
  z-index: 5;
  padding: 130px 56px 0;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 56px;
  max-width: 48%;
  box-sizing: border-box;
}
.hero.hero-split .hero-top > div { gap: 6px; }

/* Mini eyebrow line directly above the big headline */
.hero-eyebrow-mini {
  position: absolute;
  top: 38%;
  left: 56px;
  z-index: 6;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-100%);
  margin-bottom: 14px;
}
.hero-eyebrow-line {
  width: 36px; height: 1px; background: var(--accent);
  display: inline-block;
}

/* Big overlapping headline — positioned absolutely, spans both halves */
.hero.hero-split .hero-name-overlap {
  position: absolute;
  top: 38%;
  left: 56px;
  right: 0;
  z-index: 6;
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 13.5vw, 230px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--fg);
  white-space: nowrap;
  pointer-events: none;
}
.hero.hero-split .hero-name-overlap .line {
  overflow: visible;
  white-space: nowrap;
  display: block;
}
.hero.hero-split .hero-name-overlap .ch {
  letter-spacing: -0.025em;
}
.hero-name-spacer {
  display: inline-block;
  width: 0.18em;
}

/* Location line — under the headline, on dark panel */
.hero-loc {
  position: absolute;
  top: calc(38% + clamp(72px, 13.5vw, 230px) * 0.95);
  left: 56px;
  z-index: 6;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 18px;
  max-width: 44%;
}

/* Bottom-left stat block */
.hero-stat {
  position: absolute;
  left: 56px;
  bottom: 60px;
  z-index: 6;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.hero-stat-line { display: block; }
.hero-stat .accent { color: var(--accent); }

/* Bottom-right circular play button — sits over the photo */
.hero-play {
  position: absolute;
  right: 7%;
  bottom: 22%;
  z-index: 6;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e0d0b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
.hero-play svg { margin-left: 3px; }
.hero-play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--accent) 60%, transparent);
  animation: hero-play-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-play-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 0; }
}
.hero-play:hover { transform: scale(1.08); }

/* Bring portrait + panel below content but above background */
.hero.hero-split .hero-portrait { z-index: 0; }
.hero.hero-split .hero-panel { z-index: 1; }
.hero.hero-split .hero-top,
.hero.hero-split .hero-eyebrow-mini,
.hero.hero-split .hero-name-overlap,
.hero.hero-split .hero-loc,
.hero.hero-split .hero-stat,
.hero.hero-split .hero-play { z-index: 6; }

/* Responsive: stack on mobile, portrait fades behind */
@media (max-width: 900px) {
  .hero.hero-split { min-height: 100vh; padding: 0; }
  .hero-panel {
    width: 100%;
    clip-path: none;
    background: linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,0.85) 100%);
  }
  .hero-portrait img {
    right: -10%;
    height: 70%;
    opacity: 0.55;
  }
  .hero-portrait-fade {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 70%, #000 100%);
  }
  .hero.hero-split .hero-top {
    padding: 100px 24px 0;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero.hero-split .hero-top > div { justify-self: start; }
  .hero-eyebrow-mini {
    top: auto;
    bottom: 360px;
    left: 24px;
    transform: none;
    font-size: 11px;
  }
  .hero.hero-split .hero-name-overlap {
    top: auto;
    bottom: 220px;
    left: 24px;
    right: 24px;
    font-size: clamp(44px, 14vw, 88px);
    white-space: normal;
  }
  .hero.hero-split .hero-name-overlap .line { white-space: normal; }
  .hero-name-spacer { display: none; }
  .hero-loc {
    top: auto;
    bottom: 170px;
    left: 24px;
    margin-top: 0;
    font-size: 11px;
    max-width: 90%;
  }
  .hero-stat {
    left: 24px;
    bottom: 28px;
    font-size: clamp(20px, 5.5vw, 28px);
  }
  .hero-play {
    right: 24px;
    bottom: 28px;
    width: 56px;
    height: 56px;
  }
  .hero-play svg { width: 18px; height: 18px; }
}

/* ---------- Hero — SRKP centered style ---------- */
.hero.hero-srkp {
  position: relative;
  min-height: 100vh;
  padding: 130px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

/* Centered portrait + glow halo */
.hero-srkp-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(380px, 42vw, 620px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}
.hero-srkp-halo {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    color-mix(in oklch, var(--accent) 22%, transparent) 0%,
    color-mix(in oklch, var(--accent) 8%, transparent) 35%,
    transparent 65%
  );
  filter: blur(20px);
}
.hero-srkp-spotlight {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(255,255,255,0.06) 0%,
    transparent 55%
  );
}
.hero-srkp-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.05) saturate(0.92);
}

/* Content sits on top of portrait */
.hero-srkp-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  flex: 1;
}

/* Tagline at top center */
.hero-srkp-tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0 auto 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
}
.hero-srkp-tagline-line {
  width: 36px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* Small aside name (top-left, the "Thamjid Canoli" 2-line stack) */
.hero-srkp-name-side {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  z-index: 6;
}
.hero-srkp-name-side .line { display: block; }
.hero-srkp-name-side .accent { color: var(--accent); }

/* Big centered headline */
.hero-srkp-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7.2vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 auto;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-srkp-headline .accent {
  color: var(--accent);
  font-style: normal;
}

/* Badge cards row */
.hero-srkp-badges {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-top: auto;
  padding-top: 80px;
  gap: 24px;
}
.hero-srkp-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 26px;
  border-radius: 4px;
  min-width: 280px;
}
.hero-srkp-badge-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
}
.hero-srkp-badge-num span {
  font-size: 0.55em;
  margin-top: 0.2em;
}
.hero-srkp-badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-srkp-badge-text > span:first-child {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-transform: uppercase;
}
.hero-srkp-badge-text .dim {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Footer row inside hero */
.hero-srkp-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-srkp-loc { display: inline-flex; align-items: center; gap: 8px; }
.hero-srkp-loc .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 80%, transparent);
  animation: hero-srkp-dot 2s ease-out infinite;
}
@keyframes hero-srkp-dot {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  100% { box-shadow: 0 0 0 12px transparent; }
}
.hero-srkp-divider {
  width: 1px; height: 14px; background: var(--fg-mute);
}

/* Responsive */
@media (max-width: 900px) {
  .hero.hero-srkp {
    padding: 110px 20px 32px;
    justify-content: flex-start;
  }
  .hero-srkp-portrait {
    width: 90vw;
    max-width: 480px;
    top: 50%;
    opacity: 0.85;
  }
  .hero-srkp-name-side {
    position: static;
    text-align: center;
    margin-bottom: 20px;
    font-size: clamp(18px, 5.5vw, 24px);
  }
  .hero-srkp-tagline {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .hero-srkp-headline {
    font-size: clamp(34px, 9.5vw, 56px);
    max-width: 14ch;
  }
  .hero-srkp-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 40px;
    margin-top: 40px;
  }
  .hero-srkp-badge {
    min-width: 0;
    padding: 14px 18px;
    gap: 14px;
  }
  .hero-srkp-badge-num { font-size: clamp(32px, 9vw, 44px); }
  .hero-srkp-badge-text > span:first-child { font-size: 12px; }
  .hero-srkp-badge-text .dim { font-size: 10px; }
  .hero-srkp-foot {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    font-size: 10px;
  }
  .hero-srkp-divider { display: none; }
}

/* ============================================================
   HERO — 3-column reference layout (clean rewrite)
   Left: name + copy + CTA + stats
   Center: portrait image (vertically + horizontally centered)
   Right: quote on top, 5 service cards stacked at bottom
   ============================================================ */
.hero.hero-tp {
  position: relative;
  min-height: 100vh;
  padding: 0 56px;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero.hero-tp .hero-grid { display: none; }

.hero-tp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.7fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 100px 0 60px;
}

/* ── LEFT column ─────────────────────────────────────── */
.hero-tp-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  align-self: center;
}
.hero-tp-headline {
  font-family: "Vipnagorgialla", "VipnagorgiallaFallback", var(--serif);
  font-weight: 400 !important;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  text-align: left;
}
.hero-tp-headline .line { display: block; overflow: visible; letter-spacing: -0.015em; }
.hero-tp-headline .line:last-child { color: var(--fg); }
.hero-tp-copy {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-dim);
  font-weight: 300;
  max-width: 38ch;
  text-wrap: pretty;
}

.hero-tp-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 2px;
}
.hero-tp-btn .arrow { transition: transform 0.3s; display: inline-block; }
.hero-tp-btn:hover .arrow { transform: translate(3px, -3px); }
.hero-tp-btn.primary {
  background: var(--accent);
  color: #0e0d0b;
  border: 1px solid var(--accent);
}
.hero-tp-btn.primary:hover {
  background: transparent;
  color: var(--accent);
}
.hero-tp-btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid transparent;
  padding: 16px 8px;
}
.hero-tp-btn.ghost:hover { color: var(--accent); }

.hero-tp-stats {
  display: flex;
  gap: 56px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-tp-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-tp-stat-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
}
.hero-tp-stat-num span {
  font-size: 0.42em;
  margin-left: 4px;
  color: var(--accent);
  font-weight: 500;
}
.hero-tp-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 500;
}

/* ── CENTER column — portrait, fully centered ──────── */
.hero-tp-image {
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  max-height: 1000px;
  overflow: visible;
}
.hero-tp-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.hero-tp-image-frame::before { content: none; }
.hero-tp-image-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 760px;
  object-fit: contain;
  object-position: center center;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  display: block;
}
.hero-tp-image-empty {
  position: absolute;
  inset: 0;
  border: 1.5px dashed color-mix(in oklch, var(--accent) 45%, transparent);
  border-radius: 2px;
  display: none;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 12px, color-mix(in oklch, var(--fg) 3%, transparent) 12px, color-mix(in oklch, var(--fg) 3%, transparent) 24px);
}
.hero-tp-image-frame.is-empty .hero-tp-image-empty { display: flex !important; }
.hero-tp-image-img + .hero-tp-image-empty { display: none; }
.hero-tp-image-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.hero-tp-image-empty-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-tp-image-empty-inner strong {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg);
  font-weight: 500;
}
.hero-tp-image-empty-inner span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.hero-tp-image-empty-inner em {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  margin-top: 6px;
}
.hero-tp-image-corner { display: none; }

/* RIGHT — quote at top of services column */
.hero-tp-quote {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 4px;
  width: 100%;
  text-align: left;
  position: relative;
  padding: 6px 0 8px 16px;
  border-left: 2px solid var(--accent);
}
.hero-tp-quote q {
  quotes: "\201C" "\201D";
  color: var(--fg);
  font-weight: 400;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-tp-quote q::before { content: open-quote; color: var(--accent); margin-right: 2px; font-size: 1.4em; line-height: 0; vertical-align: -0.18em; }
.hero-tp-quote q::after  { content: close-quote; color: var(--accent); margin-left: 2px; font-size: 1.4em; line-height: 0; vertical-align: -0.18em; }
.hero-tp-quote-attr {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-weight: 400;
}
.hero-tp-quote-attr::before {
  content: "-";
  margin-right: 4px;
  color: var(--accent);
}
/* ── RIGHT column — points up top, larger quote underneath ── */
.hero-tp-right {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: center;
  justify-content: center;
  gap: 36px;
  padding: 0;
}
.hero-tp-right .hero-tp-quote {
  margin: 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--accent);
  max-width: 420px;
  order: 2;
}
.hero-tp-right .hero-tp-cards { order: 1; }
/* card spacing handled by .hero-tp-cards gap */
.hero-tp-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.hero-tp-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-tp-card:hover { transform: translateX(6px); background: transparent; }
.hero-tp-card-icon {
  width: 22px; height: 22px;
  border: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: transparent;
  flex-shrink: 0;
}
.hero-tp-card-icon svg { width: 20px; height: 20px; }
.hero-tp-card:hover .hero-tp-card-icon {
  background: transparent;
  border-color: transparent;
}
.hero-tp-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; overflow: visible; }
.hero-tp-card h3 {
  font-family: var(--sans);
  font-weight: 600 !important;
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--fg);
  text-transform: uppercase;
  margin: 0;
  max-width: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
  transition: color 0.3s;
}
.hero-tp-card:hover h3 { color: var(--accent); }
.hero-tp-card p { display: none; }

/* ── HERO ENTRY ANIMATIONS ──────────────────────────── */
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroWipeLR {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.hero-fx-image {
  animation: heroWipeLR 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
.hero-tp-quote.hero-fx-image,
.hero-fx-quote {
  animation: heroWipeLR 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both;
}
.hero-fx-card {
  opacity: 0;
  animation: heroSlideRight 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-fx-card.c1 { animation-delay: 0.30s; }
.hero-fx-card.c2 { animation-delay: 0.42s; }
.hero-fx-card.c3 { animation-delay: 0.54s; }
.hero-fx-card.c4 { animation-delay: 0.66s; }
.hero-fx-card.c5 { animation-delay: 0.78s; }
@media (prefers-reduced-motion: reduce) {
  .hero-fx-image, .hero-fx-quote, .hero-fx-card,
  .hero-tp-quote.hero-fx-image { animation: none; opacity: 1; clip-path: none; transform: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .hero.hero-tp { padding: 110px 32px 60px; }
  .hero-tp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 80px 0 60px;
  }
  .hero-tp-image { grid-column: 2; grid-row: 1 / span 2; height: 80vh; }
  .hero-tp-image-img { width: 100% !important; max-width: 100%; }
  .hero-tp-right {
    grid-column: 1;
    padding-left: 0;
    flex-direction: column;
  }
  .hero-tp-right .hero-tp-quote { display: none; }
  .hero-tp-stats { gap: 32px; }
}

/* Mobile — fully redesigned: image hidden, clean stacked layout.
   Order: headline → copy → CTA → stats → service cards. */
@media (max-width: 760px) {
  .hero.hero-tp {
    padding: 64px 20px 40px !important;
    min-height: auto !important;
    align-items: flex-start !important;
    overflow: visible !important;
  }
  /* Flatten left column so its children participate directly in grid order */
  .hero.hero-tp .hero-tp-left { display: contents !important; }
  .hero.hero-tp .hero-tp-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    min-height: auto !important;
    padding: 12px 0 32px !important;
    margin: 0 !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  /* HIDE the portrait image on mobile (per request — better to be perfect than to fit it) */
  .hero.hero-tp .hero-tp-image { display: none !important; }

  /* Stack order — headline → copy → CTA → stats → service cards */
  .hero.hero-tp .hero-tp-headline  { order: 1 !important; }
  .hero.hero-tp .hero-tp-copy      { order: 2 !important; }
  .hero.hero-tp .hero-tp-ctas      { order: 3 !important; }
  .hero.hero-tp .hero-tp-stats     { order: 4 !important; }
  .hero.hero-tp .hero-tp-right     {
    order: 5 !important;
    gap: 18px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
  }

  /* Headline — left aligned, two clean lines */
  .hero.hero-tp .hero-tp-headline {
    font-size: clamp(54px, 16vw, 88px) !important;
    line-height: 0.92 !important;
    text-align: left !important;
    white-space: normal !important;
    margin: 12px 0 0 !important;
    letter-spacing: -0.02em !important;
  }
  .hero.hero-tp .hero-tp-headline .line {
    white-space: normal !important;
    display: block !important;
  }

  /* Copy */
  .hero.hero-tp .hero-tp-copy {
    text-align: left !important;
    max-width: 100% !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  /* CTA */
  .hero.hero-tp .hero-tp-ctas {
    gap: 14px !important;
    margin: 4px 0 0 !important;
    flex-wrap: wrap !important;
  }
  .hero.hero-tp .hero-tp-btn.primary,
  .hero.hero-tp .hero-tp-btn.ghost {
    padding: 14px 22px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.16em !important;
  }

  /* Stats — three across, balanced */
  .hero.hero-tp .hero-tp-stats {
    display: flex !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
    padding-top: 26px !important;
    margin: 22px 0 0 !important;
    justify-content: space-between !important;
  }
  .hero.hero-tp .hero-tp-stat {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .hero.hero-tp .hero-tp-stat-num {
    font-size: clamp(30px, 9vw, 44px) !important;
  }
  .hero.hero-tp .hero-tp-stat-label {
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
    line-height: 1.35 !important;
  }

  /* Quote — hidden on mobile */
  .hero.hero-tp .hero-tp-right .hero-tp-quote,
  .hero.hero-tp .hero-tp-quote { display: none !important; }

  /* Service cards */
  .hero.hero-tp .hero-tp-cards {
    gap: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: 1px solid var(--line) !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero.hero-tp .hero-tp-card {
    display: grid !important;
    grid-template-columns: 28px 1fr !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid color-mix(in oklch, var(--fg) 6%, transparent) !important;
    text-align: left !important;
  }
  .hero.hero-tp .hero-tp-card:last-child { border-bottom: none !important; }
  .hero.hero-tp .hero-tp-card-icon {
    width: 28px !important;
    height: 28px !important;
    justify-self: start !important;
  }
  .hero.hero-tp .hero-tp-card-icon svg { width: 18px !important; height: 18px !important; }
  .hero.hero-tp .hero-tp-card h3 {
    font-size: 12.5px !important;
    letter-spacing: 0.12em !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-wrap: pretty !important;
    margin: 0 !important;
    justify-self: start !important;
  }
  /* Inline-style fontWeight/fontSize from JSX get overridden too */
  .hero.hero-tp .hero-tp-card h3 br { display: none !important; } /* break flows naturally */

  /* Hide scroll hint dot on mobile (was overlapping content) */
  .hero.hero-tp .scroll-hint { display: none !important; }
}

@media (max-width: 480px) {
  .hero.hero-tp .hero-tp-headline { font-size: clamp(48px, 15.5vw, 72px) !important; }
  .hero.hero-tp .hero-tp-stats { gap: 12px !important; padding-top: 22px !important; }
  .hero.hero-tp .hero-tp-stat-num { font-size: clamp(28px, 9vw, 40px) !important; }
  .hero.hero-tp .hero-tp-stat-label { font-size: 8.5px !important; }
}

/* ---------- Theme variants ---------- */
body.theme-light {
  --bg: #f3ede0; --bg-elev: #ebe3d2;
  --fg: #1a1812; --fg-dim: #6b6559;
  --fg-mute: #c4bba8; --line: #d9cfba;
}
body.theme-light ::selection { background: var(--accent); color: var(--bg); }
body.accent-red { --accent: oklch(0.65 0.18 25); --accent-deep: oklch(0.55 0.2 20); }
body.accent-blue { --accent: oklch(0.7 0.14 240); --accent-deep: oklch(0.6 0.16 240); }
body.accent-green { --accent: oklch(0.72 0.12 150); --accent-deep: oklch(0.6 0.14 150); }
body.accent-mono { --accent: var(--fg); --accent-deep: var(--fg); }
