:root {
  --blue-900: #3368A0;
  --blue-600: #66A3BF;
  --mint-200: #C8DFDB;
  --sand-100: #F2EFE7;
  --ink: #173047;
  --ink-soft: #496170;
  --white: #ffffff;
  --surface: #f8faf9;
  --surface-2: #eef5f4;
  --border: rgba(51, 104, 160, 0.13);
  --shadow: 0 26px 70px rgba(32, 72, 103, 0.13);
  --shadow-soft: 0 12px 36px rgba(32, 72, 103, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="dark"] {
  --ink: #eaf4f5;
  --ink-soft: #b7cbd0;
  --white: #102535;
  --surface: #0f2230;
  --surface-2: #153344;
  --border: rgba(200, 223, 219, 0.13);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--surface);
  color: var(--ink);
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 12%, rgba(102,163,191,.12), transparent 26%),
    radial-gradient(circle at 88% 40%, rgba(200,223,219,.2), transparent 30%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--blue-600); color: #fff; }

.page-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-900));
  z-index: 9999;
}

/* NAV */
.navbar-glass {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.navbar-glass.scrolled { border-color: var(--border); box-shadow: 0 12px 35px rgba(40,80,110,.06); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-900); color: white; box-shadow: 0 10px 25px rgba(51,104,160,.24);
}
.brand-text { font-family: 'Space Grotesk'; font-weight: 700; letter-spacing: -.04em; font-size: 1.15rem; }
.brand-text span { color: var(--blue-600); }
.nav-link { font-size: .9rem; font-weight: 700; color: var(--ink-soft); border-radius: 999px; padding: .55rem .8rem !important; transition: .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--blue-900); background: color-mix(in srgb, var(--mint-200) 42%, transparent); }
.btn-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--border); color: var(--ink); background: var(--white); }
.btn-primary-soft { border-radius: 14px; padding: .7rem 1rem; border: 0; background: var(--blue-900); color: white; font-weight: 700; }
.btn-primary-soft:hover { background: #285889; color: white; transform: translateY(-1px); }

/* GLOBAL */
.section-space { padding: 112px 0; position: relative; }
.section-tint { background: color-mix(in srgb, var(--mint-200) 28%, var(--surface)); }
.section-heading { max-width: 830px; margin-bottom: 42px; }
.section-heading h2 { font: 700 clamp(2rem, 4vw, 4rem)/1.02 'Space Grotesk'; letter-spacing: -.055em; margin: 12px 0 18px; }
.section-heading p { color: var(--ink-soft); font-size: 1.07rem; line-height: 1.75; max-width: 740px; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-900); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.sticky-heading { position: sticky; top: 120px; }
.text-gradient { background: linear-gradient(125deg, var(--blue-900), var(--blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-soft { display: inline-flex; width: fit-content; padding: .45rem .72rem; border-radius: 999px; background: color-mix(in srgb, var(--mint-200) 58%, var(--white)); color: var(--blue-900); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 150px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb,var(--sand-100) 82%, white) 0%, var(--surface) 100%); }
[data-theme="dark"] .hero { background: linear-gradient(180deg,#102737 0%,#0f2230 100%); }
#mistCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero-content { z-index: 2; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; pointer-events: none; animation: floatOrb 9s ease-in-out infinite alternate; }
.orb-one { width: 320px; height: 320px; background: rgba(102,163,191,.22); top: 6%; right: 4%; }
.orb-two { width: 220px; height: 220px; background: rgba(200,223,219,.48); bottom: 8%; left: -3%; animation-delay: -3s; }
@keyframes floatOrb { to { transform: translate3d(20px,-18px,0) scale(1.08); } }
.eyebrow { color: var(--blue-900); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.display-title { font: 700 clamp(3rem, 6.8vw, 6.5rem)/.92 'Space Grotesk'; letter-spacing: -.072em; max-width: 930px; margin: 0; }
.hero-copy { color: var(--ink-soft); max-width: 720px; font-size: clamp(1rem,1.5vw,1.24rem); line-height: 1.7; margin: 28px 0 0; }
.btn-main, .btn-ghost { border-radius: 16px; padding: .95rem 1.25rem; font-weight: 800; transition: .3s var(--ease); }
.btn-main { background: var(--blue-900); color: #fff; border: 1px solid var(--blue-900); box-shadow: 0 14px 32px rgba(51,104,160,.2); }
.btn-main:hover { background: #285889; color: white; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(51,104,160,.27); }
.btn-ghost { border: 1px solid var(--border); background: color-mix(in srgb, var(--white) 68%, transparent); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-600); transform: translateY(-3px); color: var(--blue-900); }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; color: var(--ink-soft); font-size: .83rem; font-weight: 700; }
.hero-meta div { display: flex; align-items: center; gap: 7px; }
.hero-meta i { color: var(--blue-600); }
.hero-image-card { min-height: 590px; position: relative; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.3deg); border: 1px solid rgba(255,255,255,.4); }
.hero-image-card::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.26); border-radius: 24px; pointer-events: none; }
.hero-image-card img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,48,70,.86) 100%); }
.hero-image-caption { position: absolute; left: 34px; right: 34px; bottom: 32px; color: #fff; display: grid; }
.hero-image-caption span { opacity: .7; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-image-caption strong { font: 700 2rem 'Space Grotesk'; letter-spacing: -.04em; }
.hero-image-caption small { opacity: .78; }
.floating-chip { position: absolute; z-index: 2; background: rgba(255,255,255,.9); color: #23455d; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 14px 35px rgba(20,45,62,.14); border-radius: 999px; padding: .65rem .9rem; font-size: .78rem; font-weight: 800; }
.chip-top { top: 28px; left: 26px; }
.chip-bottom { right: 24px; bottom: 118px; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #58a99c; margin-right: 6px; box-shadow: 0 0 0 0 rgba(88,169,156,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(88,169,156,0); } 100% { box-shadow: 0 0 0 0 rgba(88,169,156,0); } }

/* TICKER */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.ticker-track { width: max-content; display: flex; gap: 22px; align-items: center; padding: 17px 0; animation: ticker 30s linear infinite; }
.ticker-track span { font-family: 'Space Grotesk'; font-weight: 700; font-size: .82rem; letter-spacing: .11em; color: var(--ink-soft); }
.ticker-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* BENTO */
.bento-grid { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.bento-card { grid-column: span 4; min-height: 280px; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--white) 92%, transparent); padding: 30px; box-shadow: var(--shadow-soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border .35s ease; }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(102,163,191,.35); }
.bento-wide { grid-column: span 8; }
.bento-card h3 { font: 700 1.5rem 'Space Grotesk'; letter-spacing: -.035em; margin: 18px 0 10px; }
.bento-card p { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.card-number { position: absolute; top: 20px; right: 24px; font: 700 .75rem 'Space Grotesk'; color: color-mix(in srgb, var(--ink-soft) 40%, transparent); letter-spacing: .12em; }
.icon-disc { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--mint-200) 52%, var(--white)); color: var(--blue-900); font-size: 1.4rem; }
.mini-line { width: 64px; height: 2px; background: var(--blue-600); margin: 22px 0 14px; }
.bento-card small { color: var(--ink-soft); }
.bento-accent { background: linear-gradient(145deg, var(--mint-200), color-mix(in srgb, var(--mint-200) 55%, white)); }
[data-theme="dark"] .bento-accent { background: linear-gradient(145deg,#204b58,#173844); }
.bento-dark { background: linear-gradient(145deg, #214d6d, #173b57); color: white; border-color: rgba(255,255,255,.09); }
.bento-dark p, .bento-dark .card-number { color: rgba(255,255,255,.72); }
.icon-light { background: rgba(255,255,255,.14); color: #fff; }
.big-stat { font: 700 clamp(2.3rem,4vw,4rem) 'Space Grotesk'; letter-spacing: -.05em; margin: 20px 0 5px; }
.altitude-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: .65rem .8rem; border-radius: 12px; background: rgba(255,255,255,.48); color: #2d6680; font-size: .78rem; font-weight: 800; }

/* PROCESS */
.quote-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft); }
.quote-card i { font-size: 1.8rem; color: var(--blue-600); }
.quote-card p { margin: 8px 0 0; font-weight: 700; color: var(--ink); line-height: 1.6; }
.process-stack { display: grid; gap: 14px; }
.process-card { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; min-height: 150px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: .3s var(--ease); }
.process-card:hover { transform: translateX(8px); box-shadow: var(--shadow-soft); }
.process-index { font: 700 .72rem 'Space Grotesk'; color: var(--blue-600); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .12em; }
.process-icon { width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; background: color-mix(in srgb, var(--mint-200) 55%, var(--white)); color: var(--blue-900); font-size: 1.7rem; }
.process-card h3 { font: 700 1.25rem 'Space Grotesk'; margin: 0 0 6px; }
.process-card p { color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* TECHNOLOGY */
.technology-grid .tech-feature { grid-column: span 7; min-height: 420px; }
.technology-grid .tech-image { grid-column: span 5; padding: 0; min-height: 420px; }
.technology-grid .tech-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.image-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; background: rgba(20,45,60,.78); color: white; backdrop-filter: blur(10px); padding: 14px 16px; border-radius: 15px; display: grid; }
.image-caption span { font-size: .68rem; opacity: .68; text-transform: uppercase; letter-spacing: .12em; }
.surface-demo { height: 150px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 26px; position: relative; }
.surface { width: 140px; height: 90px; border-radius: 22px; background: linear-gradient(135deg,#f8ffff,#d8eef0); transform: perspective(600px) rotateX(55deg) rotateZ(-18deg); box-shadow: 0 30px 40px rgba(51,104,160,.15); position: relative; overflow: hidden; }
.surface-b { background: linear-gradient(135deg,#bad8dd,#7fb8c6); transform: perspective(600px) rotateX(55deg) rotateZ(15deg); }
.surface span { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #66A3BF; box-shadow: inset 2px 2px 4px rgba(255,255,255,.6); animation: dropletMove 3.5s ease-in-out infinite alternate; }
.surface span:nth-child(1) { left: 18%; top: 16%; }
.surface span:nth-child(2) { left: 55%; top: 28%; width: 22px; height: 22px; animation-delay: -.8s; }
.surface span:nth-child(3) { left: 70%; top: 60%; width: 10px; height: 10px; animation-delay: -1.6s; }
.surface span:nth-child(4) { left: 34%; top: 68%; width: 18px; height: 18px; animation-delay: -2.2s; }
@keyframes dropletMove { to { transform: translateY(20px) scale(1.14); } }

/* IMPACT */
.impact-section { background: linear-gradient(135deg,#214d6d 0%,#3368A0 52%,#497f9f 100%); color: white; overflow: hidden; }
.impact-section::before { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; right: -190px; top: -160px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.section-heading-light h2, .section-heading-light p { color: white; }
.section-heading-light p { opacity: .78; }
.section-heading-light .section-kicker { color: #d9f0ed; }
.metric-card { height: 100%; min-height: 230px; border-radius: var(--radius-lg); padding: 28px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: space-between; transition: .3s ease; }
.metric-card:hover { background: rgba(255,255,255,.15); transform: translateY(-5px); }
.metric-value { font: 700 clamp(2.7rem,5vw,5rem) 'Space Grotesk'; letter-spacing: -.07em; }
.metric-value small { font-size: .9rem; letter-spacing: 0; margin-left: 4px; opacity: .72; }
.metric-card p { margin: 0; max-width: 190px; color: rgba(255,255,255,.76); font-size: .88rem; }
.impact-note { opacity: .58; font-size: .75rem; margin: 16px 0 0; }

/* MARKET */
.market-grid .buyer-card { grid-column: span 4; }
.buyer-icon { font-size: 2rem; color: var(--blue-900); }
.buyer-card h3 { margin-top: 16px; }
.badge-on-accent { background: rgba(255,255,255,.55); }
.market-arrow { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--blue-900); color: white; font-size: 1.5rem; }

/* CANVAS */
.canvas-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.canvas-card { min-height: 250px; position: relative; border-radius: 24px; padding: 24px; border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; transition: .3s var(--ease); }
.canvas-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.canvas-card::after { content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb,var(--mint-200) 38%, transparent); right: -40px; bottom: -45px; }
.canvas-card > i { font-size: 1.55rem; color: var(--blue-600); display: block; margin: 24px 0 18px; }
.canvas-card p { color: var(--ink-soft); line-height: 1.6; font-size: .9rem; margin: 0; }
.canvas-card h3 { font: 700 1.45rem 'Space Grotesk'; letter-spacing: -.035em; }
.canvas-tag { display: inline-flex; padding: .36rem .6rem; border-radius: 999px; background: color-mix(in srgb,var(--mint-200) 42%, var(--white)); color: var(--blue-900); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }
.canvas-feature { grid-column: span 2; background: linear-gradient(135deg,var(--blue-900),#467f9e); color: white; }
.canvas-feature .canvas-tag { background: rgba(255,255,255,.14); color: white; }
.canvas-feature > i, .canvas-feature p { color: rgba(255,255,255,.76); }
.canvas-feature::after { background: rgba(255,255,255,.06); width: 220px; height: 220px; }

/* TIMELINE */
.timeline { position: relative; padding-left: 42px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 18px; bottom: 20px; width: 2px; background: linear-gradient(var(--blue-600),var(--mint-200)); }
.timeline-item { position: relative; padding: 0 0 46px 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -41px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 5px solid var(--blue-600); box-shadow: 0 0 0 6px color-mix(in srgb,var(--mint-200) 44%, transparent); }
.timeline-label { color: var(--blue-600); font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.timeline-item h3 { font: 700 1.6rem 'Space Grotesk'; margin: 6px 0 8px; letter-spacing: -.035em; }
.timeline-item p { color: var(--ink-soft); line-height: 1.7; max-width: 690px; }

/* PARTNERS */
.partner-card { min-height: 230px; height: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); padding: 24px; display: flex; gap: 18px; box-shadow: var(--shadow-soft); transition: .3s var(--ease); }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.partner-monogram { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-900); color: #fff; font: 700 .9rem 'Space Grotesk'; }
.partner-card span { text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 800; color: var(--blue-600); }
.partner-card h3 { font: 700 1.1rem 'Space Grotesk'; margin: 6px 0 10px; letter-spacing: -.025em; }
.partner-card p { font-size: .86rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.partner-placeholder { border-style: dashed; background: color-mix(in srgb,var(--mint-200) 16%, var(--white)); }
.partner-placeholder .partner-monogram { background: color-mix(in srgb,var(--blue-600) 70%, var(--white)); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: 300px 300px; gap: 14px; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 100%; background: #d5e3e5; }
.gallery-large { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s ease; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(12,35,50,.78)); pointer-events: none; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(.85); }
.gallery-item figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: white; display: flex; align-items: center; gap: 10px; }
.gallery-item figcaption span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.36); font-size: .65rem; }
.gallery-item figcaption strong { font-size: .88rem; }

/* REFERENCES */
.references-section { background: var(--white); }
.reference-list { display: grid; gap: 10px; }
.reference-item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); transition: .3s var(--ease); }
.reference-item:hover { transform: translateX(7px); border-color: var(--blue-600); }
.reference-item > span { font: 700 .72rem 'Space Grotesk'; color: var(--blue-600); }
.reference-item div { display: grid; gap: 5px; }
.reference-item strong { font-size: .92rem; }
.reference-item small { color: var(--ink-soft); }
.reference-item > i { color: var(--blue-900); }

/* CTA */
.cta-panel { position: relative; overflow: hidden; border-radius: 36px; background: linear-gradient(135deg,var(--blue-900),#4d8aa6); color: white; padding: 54px; box-shadow: var(--shadow); }
.cta-panel h2 { font: 700 clamp(2.2rem,4vw,4.4rem)/1 'Space Grotesk'; letter-spacing: -.055em; margin: 10px 0 12px; }
.cta-panel p { max-width: 660px; opacity: .78; margin: 0; }
.section-kicker-light { color: #dcefeb; }
.cta-button { border-radius: 16px; padding: .95rem 1.15rem; font-weight: 800; color: var(--blue-900); }
.cta-decoration { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); right: -80px; top: -120px; box-shadow: 0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025); }

/* FOOTER */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--border); background: var(--white); }
.footer-brand { font: 700 1.3rem 'Space Grotesk'; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-brand i { color: var(--blue-600); }
.site-footer p, .site-footer small { color: var(--ink-soft); font-size: .78rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; font-size: .78rem; font-weight: 800; margin-bottom: 8px; }
.footer-links a:hover { color: var(--blue-600); }
.image-credits { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--ink-soft); font-size: .66rem; line-height: 1.6; }

/* EDIT MODE */
.edit-dock { position: fixed; z-index: 9998; left: 50%; bottom: 22px; transform: translate(-50%,140%); opacity: 0; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 18px; background: rgba(25,55,76,.92); color: white; box-shadow: 0 18px 55px rgba(0,0,0,.25); backdrop-filter: blur(14px); transition: .35s var(--ease); }
.edit-dock.active { transform: translate(-50%,0); opacity: 1; }
.edit-dock-info { display: flex; gap: 8px; align-items: center; padding: 0 8px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.edit-dock .btn { border-radius: 11px; font-weight: 800; }
.edit-dock .btn-close-edit { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; }
.editing [data-editable] { outline: 1px dashed var(--blue-600); outline-offset: 4px; border-radius: 5px; cursor: text; }
.editing [data-editable]:focus { outline: 2px solid var(--blue-600); background: color-mix(in srgb,var(--mint-200) 18%, transparent); }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 15px; background: var(--blue-900); color: white; box-shadow: 0 12px 30px rgba(51,104,160,.25); z-index: 1000; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s ease; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.editing .back-to-top { bottom: 92px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .canvas-grid { grid-template-columns: repeat(3,1fr); }
  .canvas-feature { grid-column: span 2; }
  .display-title { font-size: clamp(3rem,7vw,5.5rem); }
}
@media (max-width: 991.98px) {
  .section-space { padding: 88px 0; }
  .navbar-collapse { margin-top: 12px; padding: 12px; border-radius: 18px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
  .hero { padding-top: 130px; }
  .hero-image-card, .hero-image-card img { min-height: 480px; }
  .sticky-heading { position: static; }
  .bento-card, .bento-wide, .technology-grid .tech-feature, .technology-grid .tech-image, .market-grid .buyer-card { grid-column: span 6; }
  .canvas-grid { grid-template-columns: repeat(2,1fr); }
  .canvas-feature { grid-column: span 2; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 260px 300px; }
  .gallery-large { grid-column: span 2; grid-row: auto; }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .section-space { padding: 72px 0; }
  .display-title { font-size: clamp(2.7rem,13vw,4.7rem); }
  .hero-copy { font-size: 1rem; }
  .hero-meta { gap: 12px; }
  .hero-image-card, .hero-image-card img { min-height: 420px; }
  .bento-card, .bento-wide, .technology-grid .tech-feature, .technology-grid .tech-image, .market-grid .buyer-card { grid-column: span 12; }
  .canvas-grid { grid-template-columns: 1fr; }
  .canvas-feature { grid-column: span 1; }
  .process-card { grid-template-columns: auto 1fr; }
  .process-index { display: none; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4,280px); }
  .gallery-large, .gallery-wide { grid-column: auto; grid-row: auto; }
  .cta-panel { padding: 36px 26px; }
  .footer-links { justify-content: flex-start; margin-top: 12px; }
  .edit-dock { width: calc(100% - 24px); overflow-x: auto; justify-content: flex-start; bottom: 12px; }
  .edit-dock-info { display: none; }
}
@media (max-width: 575.98px) {
  .hero { min-height: auto; }
  .hero-image-card, .hero-image-card img { min-height: 360px; }
  .floating-chip { font-size: .68rem; }
  .chip-bottom { bottom: 120px; }
  .bento-card { padding: 24px; }
  .metric-card { min-height: 190px; padding: 20px; }
  .metric-value { font-size: 2.6rem; }
  .section-heading h2 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
