/* Layout: full-bleed brand-green hero with molecular canvas/video, then wide 1240px editorial sections; sticky header turns solid on scroll */
:root {
  --bg: #f5f7f5;
  --surface: #ffffff;
  --tint: #e9f0ec;
  --ink: #0f2219;
  --muted: #4f665c;
  --line: #d6e1db;
  --brand: #0c3528;
  --brand-deep: #072219;
  --brand-2: #1b6a50;
  --gold: #cf9f3e;
  --gold-ink: #8a6418;
  --on-brand: #f0f6f2;
  --on-brand-muted: #a7c4b7;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-deva: "Mukta", "Noto Sans Devanagari", sans-serif;
  --max: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09130f; --surface: #0f1d17; --tint: #12241c; --ink: #e4ede8; --muted: #91a89e; --line: #20352c;
    --brand: #0a2a20; --brand-deep: #05160f; --brand-2: #52b791; --gold: #dcb058; --gold-ink: #e2bb66;
    --on-brand: #f0f6f2; --on-brand-muted: #a7c4b7; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #09130f; --surface: #0f1d17; --tint: #12241c; --ink: #e4ede8; --muted: #91a89e; --line: #20352c;
  --brand: #0a2a20; --brand-deep: #05160f; --brand-2: #52b791; --gold: #dcb058; --gold-ink: #e2bb66;
  --on-brand: #f0f6f2; --on-brand-muted: #a7c4b7; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img, video, canvas { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 18px; } }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.h-xl { font-size: clamp(44px, 7.6vw, 104px); font-weight: 700; }
.h-lg { font-size: clamp(34px, 5vw, 60px); font-weight: 700; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.on-dark { background: var(--brand); color: var(--on-brand); }
.on-dark .lede { color: var(--on-brand-muted); }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head > * { min-width: 0; }
.sec-head .h-lg { margin-top: 14px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s, background .2s; border: 0; cursor: pointer; font-family: var(--f-body); }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: var(--gold); color: #0c3528; }
.btn.line { border: 1px solid rgba(240,246,242,.35); color: var(--on-brand); }
.btn.dark { background: var(--brand); color: var(--on-brand); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--brand-deep); color: var(--on-brand); transition: background .3s, box-shadow .3s; }
.top.overlay { position: fixed; left: 0; right: 0; background: transparent; }
.top.solid { background: var(--brand-deep); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.badge { width: 44px; height: 44px; border-radius: 10px; background: var(--gold); color: #0c3528; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; flex: none; }
.mark b { font-family: var(--f-display); font-size: 18px; display: block; line-height: 1.1; }
.mark small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--on-brand-muted); }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-brand-muted); padding-block: 6px; border-bottom: 2px solid transparent; transition: color .2s; }
.nav a:hover { color: var(--on-brand); }
.nav a[aria-current="page"] { color: var(--on-brand); border-color: var(--gold); }
.top .btn { padding: 10px 18px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(240,246,242,.3); color: var(--on-brand); border-radius: 8px; padding: 8px 14px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 1060px) {
  .nav, .top .btn.gold { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 76px; background: var(--brand-deep); padding: 8px 24px 24px; }
  .nav.open a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(240,246,242,.1); }
  .top .wrap { position: relative; }
}

/* Home hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; background: var(--brand-deep); color: var(--on-brand); overflow: hidden; }
.hero canvas, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,15,.25) 0%, rgba(5,22,15,.15) 40%, rgba(5,22,15,.85) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 160px 72px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 24px; color: var(--on-brand-muted); }
.deva { font-family: var(--f-deva); font-weight: 500; font-size: clamp(17px, 1.8vw, 21px); margin-top: 18px; color: var(--on-brand); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(240,246,242,.18); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand-muted); }
.video-tag { position: absolute; z-index: 3; right: 24px; top: 96px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand-muted); border: 1px dashed rgba(240,246,242,.3); padding: 6px 10px; border-radius: 6px; }

/* Inner page hero */
.phero { background: var(--brand-deep); color: var(--on-brand); position: relative; overflow: hidden; }
.phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.phero .wrap { position: relative; z-index: 1; padding-block: 120px 80px; }
.phero h1 { margin-top: 18px; max-width: 16ch; }
.phero .lede { margin-top: 22px; color: var(--on-brand-muted); }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-brand-muted); text-transform: uppercase; }
.crumbs a { text-decoration: none; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat .n sup { font-size: .4em; color: var(--gold-ink); margin-left: 4px; }
.stat .l { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:root[data-theme="dark"] .stat .n { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat .n { color: var(--ink); } }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Marquee */
.marquee { overflow: hidden; background: var(--gold); color: #0c3528; padding-block: 18px; }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); white-space: nowrap; }
.marquee .track span::after { content: "✦"; margin-left: 56px; font-size: .6em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Split feature */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
.split .lede { margin-top: 20px; }
.split .btn { margin-top: 32px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.photo { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; background: var(--brand); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--on-brand-muted); }
.photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo .ph { position: relative; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px dashed rgba(240,246,242,.3); padding: 8px 12px; border-radius: 6px; background: rgba(5,22,15,.4); }

/* Cards / link tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tile { background: var(--surface); padding: 36px 32px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: background .25s; position: relative; }
.tile:hover { background: var(--tint); }
.tile .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--gold-ink); text-transform: uppercase; }
.tile h3 { font-size: 26px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .go { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--brand-2); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Sections strip */
.sections3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sbox { border-radius: 14px; padding: 32px; background: var(--brand); color: var(--on-brand); position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; }
.sbox .code { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.sbox h3 { font-size: 30px; margin-top: auto; }
.sbox p { color: var(--on-brand-muted); font-size: 15px; margin-top: 10px; }
.sbox::before { content: attr(data-l); position: absolute; right: -10px; top: -30px; font-family: var(--f-display); font-weight: 700; font-size: 180px; line-height: 1; color: rgba(240,246,242,.05); }
@media (max-width: 900px) { .sections3 { grid-template-columns: 1fr; } .sbox { min-height: 180px; } }

/* Process stepper */
.stepper { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.stepper > * { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; display: grid; grid-template-columns: 40px 1fr; gap: 8px; font: 600 16px var(--f-body); color: var(--muted); cursor: pointer; transition: color .2s, padding .2s; }
.steps button span { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--gold-ink); padding-top: 3px; }
.steps button:hover { color: var(--ink); }
.steps button[aria-selected="true"] { color: var(--ink); padding-left: 12px; box-shadow: inset 3px 0 0 var(--gold); }
.step-panel { background: var(--brand); color: var(--on-brand); border-radius: 14px; padding: clamp(28px, 4vw, 48px); position: sticky; top: 100px; min-height: 380px; display: flex; flex-direction: column; }
.step-panel .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(80px, 12vw, 160px); line-height: .9; color: var(--gold); }
.step-panel h3 { font-size: clamp(28px, 3vw, 40px); margin-top: auto; padding-top: 24px; }
.step-panel p { color: var(--on-brand-muted); margin-top: 12px; max-width: 52ch; }
.step-panel .tag { margin-top: 20px; display: inline-flex; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.progress { height: 3px; background: rgba(240,246,242,.15); border-radius: 3px; margin-top: 24px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); transition: width .4s; }
@media (max-width: 900px) { .stepper { grid-template-columns: 1fr; } .step-panel { position: static; min-height: 0; } }

/* Tabs (products) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button { font: 600 15px var(--f-body); padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 48px); }
.tabpanel > * { min-width: 0; }
.tabpanel h3 { font-size: clamp(32px, 4vw, 48px); }
.tabpanel .lede { margin-top: 14px; }
.spec { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 24px; }
@media (max-width: 800px) { .tabpanel { grid-template-columns: 1fr; } }

/* Lists & chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 15px; font-weight: 500; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.on-dark .chip { background: transparent; border-color: rgba(240,246,242,.25); color: var(--on-brand); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.checks li { padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 18px; height: 10px; border-left: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: rotate(-45deg); }
.on-dark .checks li { border-color: rgba(240,246,242,.14); }
.on-dark .checks li::before { border-color: var(--gold); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

/* Quote band */
.quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; max-width: 22ch; }
.quote em { font-style: normal; color: var(--gold); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--brand-2); }
.timeline > div { padding: 24px 24px 0 0; position: relative; min-width: 0; }
.timeline > div::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
.timeline .when { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.timeline h3 { font-size: 22px; margin-top: 10px; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* People */
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: 14px; overflow: hidden; background: var(--brand); color: var(--on-brand); }
.founder > * { min-width: 0; }
.founder .portrait { min-height: 360px; background: var(--brand-deep); display: grid; place-items: center; position: relative; }
.founder .portrait .initials { font-family: var(--f-display); font-weight: 700; font-size: 120px; color: var(--gold); }
.founder .portrait .ph { position: absolute; bottom: 16px; left: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-brand-muted); }
.founder .body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.founder .role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.founder h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 12px; }
.founder p { color: var(--on-brand-muted); margin-top: 16px; max-width: 56ch; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder .portrait { min-height: 220px; } }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.member .face { aspect-ratio: 1; max-width: 100%; background: var(--tint); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 56px; color: var(--brand-2); }
.member .info { padding: 22px; }
.member .role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.member h3 { font-size: 20px; margin-top: 8px; }
.member p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 1000px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .board { grid-template-columns: 1fr; } }

/* Roadmap */
.road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(240,246,242,.12); border-radius: 14px; overflow: hidden; }
.road li { background: var(--brand); padding: 28px 24px; min-height: 150px; display: flex; flex-direction: column; }
.road .n { font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.road b { font-family: var(--f-display); font-size: 20px; margin-top: auto; }
@media (max-width: 860px) { .road { grid-template-columns: 1fr 1fr; } }

/* Video section */
.video-box { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--brand-deep); position: relative; display: grid; place-items: center; color: var(--on-brand-muted); text-align: center; }
.video-box canvas, .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-box .inner { position: relative; z-index: 1; padding: 24px; }
.play { width: 92px; height: 92px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 0 rgba(207,159,62,.5); animation: pulse 2.6s infinite; }
.play::before { content: ""; border-left: 24px solid #0c3528; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(207,159,62,0); } 100% { box-shadow: 0 0 0 0 rgba(207,159,62,0); } }
.video-box small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* Contact */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.office h3 { font-size: 28px; margin-top: 14px; }
.office address { font-style: normal; color: var(--muted); margin-top: 10px; }
.office .rows { margin-top: 24px; border-top: 1px solid var(--line); }
.office .rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.office .rows span:first-child { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pending { color: var(--muted); font-style: italic; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

/* CTA band */
.band { background: var(--gold); color: #0c3528; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 64px; }
.band h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 20ch; }

/* Footer */
footer { background: var(--brand-deep); color: var(--on-brand-muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 72px 48px; }
.foot > * { min-width: 0; }
.foot h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-brand); font-weight: 500; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-brand); }
.foot .tag { font-family: var(--f-display); font-size: 26px; color: var(--on-brand); margin-top: 20px; max-width: 16ch; line-height: 1.2; }
.legal { border-top: 1px solid rgba(240,246,242,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

.note { font-size: 14px; color: var(--muted); max-width: 72ch; }
.on-dark .note { color: var(--on-brand-muted); }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.tint { background: var(--tint); }

/* Language switch */
.lang { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--on-brand); border: 1px solid rgba(240,246,242,.3); padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s, border-color .2s; }
.lang:hover { background: rgba(240,246,242,.1); border-color: var(--gold); }
.lang[lang="ne"] { font-family: var(--f-deva); }
@media (max-width: 1060px) { .top .wrap { gap: 12px; } }

/* Nepali pages: Devanagari faces and looser line-height so matras are not clipped */
:root:lang(ne) { --f-display: "Mukta", "Noto Sans Devanagari", sans-serif; --f-body: "Mukta", "Noto Sans Devanagari", sans-serif; }
:lang(ne) body { font-size: 18px; line-height: 1.7; }
:lang(ne) h1, :lang(ne) h2, :lang(ne) h3, :lang(ne) h4 { line-height: 1.3; letter-spacing: 0; }
:lang(ne) .h-xl { font-size: clamp(38px, 6.4vw, 88px); }
:lang(ne) .eyebrow, :lang(ne) .stat .l, :lang(ne) .tile .k, :lang(ne) .sbox .code, :lang(ne) .road .n,
:lang(ne) .timeline .when, :lang(ne) .member .role, :lang(ne) .founder .role, :lang(ne) .spec dt,
:lang(ne) .office .rows span:first-child, :lang(ne) .crumbs, :lang(ne) .hero-meta, :lang(ne) .step-panel .tag,
:lang(ne) .foot h4, :lang(ne) .photo .ph, :lang(ne) .video-box small, :lang(ne) .mark small {
  font-family: var(--f-deva); letter-spacing: .02em; font-size: 14px; text-transform: none;
}
:lang(ne) .lang[lang="en"] { font-family: "Hanken Grotesk", system-ui, sans-serif; }

/* Product catalogue table (shown when products are added in the admin panel) */
.cat-search { font: 500 16px var(--f-body); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; max-width: 360px; justify-self: end; }
.cat-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cat { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.cat th { text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cat td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cat tr:last-child td { border-bottom: 0; }
.cat td:first-child { font-weight: 600; }
:lang(ne) .cat th { font-family: var(--f-deva); text-transform: none; letter-spacing: .02em; font-size: 14px; }
@media (max-width: 860px) { .cat-search { justify-self: start; max-width: none; } }

/* Factory film: click-to-play embed (YouTube / Vimeo / Cloudflare Stream) */
.video-box .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-play { position: relative; z-index: 1; background: none; border: 0; color: var(--on-brand); cursor: pointer; display: grid; justify-items: center; gap: 4px; font: inherit; padding: 24px; }
.film-play small { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand); }
.film-play:hover .play { transform: scale(1.06); }
.film-play .play { transition: transform .2s; }
.film-link { position: relative; z-index: 1; color: var(--on-brand); }
:lang(ne) .film-play small { font-family: var(--f-deva); text-transform: none; letter-spacing: .02em; font-size: 15px; }
