/* Anvid Buildcon — v2. Cinematic, photo-forward, interactive. Ink + gold + fine blueprint linework. */
:root {
  --bg: #0a0c0f; --bg2: #0e1115; --surface: #13171c; --surface2: #1a1f26;
  --ink: #f3f0e9; --muted: #a0a9b3; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.18);
  --gold: #d4b055; --gold2: #f0d68f; --gold-dim: rgba(212,176,85,.14); --gold-ink: #15110a;
  --ok: #7fd1a0; --err: #ef8b8b; --grid: rgba(212,176,85,.06);
  --glass: rgba(14,17,21,.62); --shadow: 0 30px 80px -30px rgba(0,0,0,.75);
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif; --f-body: 'Jost', system-ui, sans-serif;
  --r: 16px; --max: 1280px; --ease: cubic-bezier(.2,.7,.2,1);
}
html[data-theme="light"] {
  --bg: #f8f5ee; --bg2: #f0ebe0; --surface: #ffffff; --surface2: #f4efe5;
  --ink: #15181c; --muted: #58626d; --line: rgba(20,24,30,.10); --line2: rgba(20,24,30,.20);
  --gold: #8a6a1f; --gold2: #b58b30; --gold-dim: rgba(138,106,31,.11); --gold-ink: #fff;
  --ok: #2b7a4f; --err: #b3454c; --grid: rgba(138,106,31,.09);
  --glass: rgba(255,255,255,.72); --shadow: 0 30px 70px -35px rgba(60,45,10,.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { font-variant-numeric: lining-nums; font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--gold-ink); }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; }
h1 { font-size: clamp(3.1rem, 8vw, 7rem); font-weight: 400; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: 1.65rem; }
em, .gold { color: var(--gold); font-style: italic; }
.eyebrow { font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
section { padding: clamp(52px, 6.5vw, 96px) 0; position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 800px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.blueprint { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.alt { background: var(--bg2); }
.photo { object-fit: cover; width: 100%; height: 100%; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--gold-ink); font-weight: 500; letter-spacing: .04em; font-size: .95rem; transition: transform .25s var(--ease), background .2s, box-shadow .25s; position: relative; will-change: transform; }
.btn:hover { box-shadow: 0 14px 34px -12px var(--gold); background: var(--gold2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); } .btn.ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; background: transparent; }
.btn.glass { background: var(--glass); backdrop-filter: blur(10px); color: var(--ink); border-color: var(--line2); }
.btn.sm { padding: 10px 20px; font-size: .86rem; } .btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { color: var(--gold); display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; letter-spacing: .05em; } .link-arrow::after { content: '→'; transition: transform .2s; } .link-arrow:hover::after { transform: translateX(5px); }

/* nav */
.nav { color: var(--ink); position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.stuck { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(16px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.progress-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; letter-spacing: .02em; line-height: 1.1; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand small { display: block; font-family: var(--f-body); font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: -3px; }
.links { display: flex; gap: 28px; font-size: .9rem; letter-spacing: .04em; }
.links a { color: color-mix(in srgb, var(--ink) 78%, transparent); position: relative; padding: 6px 0; transition: color .2s; }
.links a:hover, .links a.on, .links a[aria-current="page"] { color: var(--gold); }
.links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .25s; }
.links a:hover::after, .links a.on::after, .links a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--ink); transition: border-color .2s, color .2s; background: var(--glass); backdrop-filter: blur(8px); }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.burger { display: none; }
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--bg); padding: 26px 24px; display: none; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open { display: flex; }
.drawer a.dl { font-family: var(--f-display); font-size: 2.2rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
@media (max-width: 1080px) { .links, .nav-actions .btn { display: none; } .burger { display: grid; } }

/* nav sits on a dark photo until scrolled: force light-on-dark tokens (matters in light theme) */
.has-hero .nav:not(.stuck) { --ink: #f3f0e9; --gold: #e6c56a; --glass: rgba(14,17,21,.45); --line2: rgba(255,255,255,.28); }

/* hero */
.hero { min-height: 100svh; padding: 0; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.slides { position: absolute; inset: 0; } .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; } .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s ease-out; } .slide.on img { transform: scale(1); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,8,10,.62) 0%, rgba(6,8,10,.5) 40%, rgba(6,8,10,.9) 100%), linear-gradient(90deg, rgba(6,8,10,.55), transparent 70%); }
.slide img { filter: brightness(.8) contrast(1.05); }
.hero .lead, .hero-meta { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero .wrap { position: relative; z-index: 2; padding-block: 150px 60px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; }
.hero h1 { margin: 22px 0 24px; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 34px; }
.rot { display: inline-block; position: relative; color: var(--gold2); font-style: italic; min-width: 1ch; }
.rot span { display: inline-block; animation: rotin .6s var(--ease); }
@keyframes rotin { from { opacity: 0; transform: translateY(.4em); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; color: rgba(255,255,255,.8); font-size: .88rem; }
.hero-meta span::before { content: '◆'; color: var(--gold2); margin-right: 9px; font-size: .55rem; vertical-align: 2px; }
.dots { display: flex; gap: 10px; margin-top: 28px; } .dots button { width: 34px; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; position: relative; overflow: hidden; }
.dots button.on::after { content: ''; position: absolute; inset: 0; background: var(--gold2); animation: fill 6s linear forwards; } @keyframes fill { from { transform: translateX(-100%); } to { transform: none; } }
.glass { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line2); border-radius: 20px; box-shadow: var(--shadow); color: var(--ink); }
.qe { padding: 24px; } .qe h4 { font-family: var(--f-body); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--surface); border-radius: 12px; margin-bottom: 14px; }
.seg button { padding: 9px 4px; border-radius: 9px; font-size: .78rem; color: var(--muted); transition: all .2s; } .seg button.on { background: var(--gold); color: var(--gold-ink); font-weight: 500; }
.qe .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qe .out { margin: 16px 0 4px; font-family: var(--f-display); font-size: 2.15rem; line-height: 1.05; } .qe .sub { color: var(--muted); font-size: .8rem; margin-bottom: 16px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; } .scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 1.8s infinite; } @keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 118px 72px; } .scroll-cue { display: none; } }

/* form controls */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .lbl { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.in { width: 100%; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line2); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.in:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); } .in.bad { border-color: var(--err); }
textarea.in { min-height: 110px; resize: vertical; }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.err { color: var(--err); font-size: .82rem; min-height: 1em; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; margin-top: 12px; }
.form-msg.ok { display: block; background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid var(--ok); }
.form-msg.bad { display: block; background: color-mix(in srgb, var(--err) 12%, transparent); border: 1px solid var(--err); }
input[type=range] { width: 100%; accent-color: var(--gold); height: 28px; }

/* marquee */
.marquee { padding: 18px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.marquee .track { display: flex; width: max-content; gap: 56px; animation: mq 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: 1.7rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; } .marquee span::after { content: '✦'; color: var(--gold); font-size: 1rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* stats on photo */
.statband { padding: 0; position: relative; color: #fff; overflow: hidden; } .statband > img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.statband::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(8,10,12,.78); }
.statband .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(44px, 6vw, 72px); }
.stat { text-align: center; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.14); } .stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 400; color: var(--gold2); line-height: 1; }
.stat span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 720px) { .statband .wrap { grid-template-columns: 1fr 1fr; row-gap: 30px; } .stat:nth-child(2) { border-right: 0; } }

/* service accordion panels */
.pnls { display: flex; gap: 12px; height: 640px; }
.pnl { flex: 1; position: relative; border-radius: 22px; overflow: hidden; cursor: pointer; transition: flex .7s var(--ease); min-width: 0; color: #fff; isolation: isolate; text-align: left; }
.pnl.on { flex: 4.2; cursor: default; }
.pnl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); } .pnl:hover > img { transform: scale(1.05); }
.pnl::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,8,10,.1) 30%, rgba(6,8,10,.9)); }
.pnl .cap { position: absolute; left: 26px; right: 26px; bottom: 26px; display: grid; gap: 10px; }
.pnl:not(.on) .num { display: none; }
.pnl .num { font-family: var(--f-display); font-size: 1.1rem; color: var(--gold2); letter-spacing: .1em; }
.pnl h3 { font-size: 2rem; white-space: nowrap; } .pnl:not(.on) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.7rem; position: absolute; left: 0; bottom: 0; }
.pnl .more { opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s .25s, max-height .6s; display: grid; gap: 14px; } .pnl.on .more { opacity: 1; max-height: 320px; }
.pnl .more p { color: rgba(255,255,255,.85); max-width: 46ch; } .pnl ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; } .pnl li { padding: 5px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; font-size: .8rem; backdrop-filter: blur(4px); }
@media (max-width: 900px) { .pnls { flex-direction: column; height: auto; } .pnl { flex: none; height: 96px; transition: height .6s var(--ease); } .pnl.on { flex: none; height: 460px; } .pnl:not(.on) h3 { writing-mode: horizontal-tb; transform: none; position: static; font-size: 1.5rem; } .pnl .cap { top: 26px; bottom: auto; } .pnl.on .cap { top: auto; } }

/* package explorer */
.pkx { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.pkx > * { min-width: 0; }
.pkx-l { padding: 44px; display: grid; gap: 24px; align-content: start; }
.tabs { display: inline-flex; padding: 5px; background: var(--bg); border-radius: 999px; border: 1px solid var(--line); width: max-content; max-width: 100%; }
.tabs button { padding: 11px 26px; border-radius: 999px; font-size: .92rem; letter-spacing: .04em; color: var(--muted); transition: all .25s; } .tabs button.on { background: var(--gold); color: var(--gold-ink); font-weight: 500; }
.pkx .price { font-family: var(--f-display); font-size: 4rem; line-height: 1; } .pkx .price small { font-family: var(--f-body); font-size: .9rem; color: var(--muted); }
.specs { list-style: none; display: grid; gap: 11px; } .specs li { padding-left: 28px; position: relative; color: var(--muted); animation: rotin .5s var(--ease) backwards; }
.specs li::before { content: ''; position: absolute; left: 0; top: .5em; width: 13px; height: 7px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }
.pkx-r { position: relative; min-height: 520px; } .pkx-r img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; } .pkx-r img.on { opacity: 1; }
.pkx-r .chip-f { position: absolute; left: 22px; bottom: 22px; padding: 12px 18px; font-size: .86rem; z-index: 2; }
@media (max-width: 900px) { .tabs button { padding: 10px 16px; } .pkx { grid-template-columns: 1fr; } .pkx-l { padding: 28px 22px; } .pkx-r { min-height: 320px; order: -1; } }

/* process story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.story-img { position: sticky; top: 100px; height: min(70vh, 620px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.story-img img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s, transform 1.4s var(--ease); } .story-img img.on { opacity: 1; transform: scale(1); }
.story-img .badge { position: absolute; left: 20px; top: 20px; z-index: 2; padding: 8px 16px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.steps { display: grid; gap: 0; }
.stp { padding: 34px 0 34px 74px; border-left: 1px solid var(--line2); position: relative; cursor: pointer; opacity: .45; transition: opacity .4s; min-height: 26vh; display: grid; align-content: center; gap: 10px; }
.stp.on { opacity: 1; border-color: var(--gold); }
.stp i { position: absolute; left: -24px; top: 44px; width: 47px; height: 47px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-size: 1.2rem; color: var(--gold); transition: all .3s; }
.stp.on i { background: var(--gold); color: var(--gold-ink); transform: scale(1.12); }
.stp p { color: var(--muted); max-width: 44ch; } .stp .tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 24px; } .story-img { position: relative; top: 0; height: 320px; } .stp { min-height: auto; padding: 26px 0 26px 56px; opacity: 1; } .stp i { left: -22px; top: 24px; } }

/* gallery + lightbox */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { padding: 9px 20px; border-radius: 99px; border: 1px solid var(--line2); font-size: .88rem; color: var(--muted); transition: all .2s; } .chip:hover { color: var(--ink); border-color: var(--gold); } .chip.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.masonry { columns: 3 320px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; display: block; width: 100%; text-align: left; background: var(--surface); }
.g-item img { width: 100%; height: auto; transition: transform .9s var(--ease); } .g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,8,10,.85)); opacity: 0; transition: opacity .4s; }
.g-item .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; transform: translateY(12px); opacity: 0; transition: all .4s var(--ease); } .g-item .cap b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; } .g-item .cap span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }
.g-item:hover::after { opacity: 1; } .g-item:hover .cap { opacity: 1; transform: none; }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 10px; } .g-item { margin-bottom: 10px; border-radius: 12px; } .g-item .cap { left: 10px; right: 10px; bottom: 9px; } .g-item .cap b { font-size: 1rem; line-height: 1.1; } .g-item .cap span { display: none; } }
@media (hover: none) { .g-item::after, .g-item .cap { opacity: 1; transform: none; } }
.note { font-size: .84rem; color: var(--muted); margin-top: 20px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,8,.94); display: none; place-items: center; padding: 24px; } .lb.open { display: grid; }
.lb figure { max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; } .lb img { max-height: 78vh; width: auto; border-radius: 12px; object-fit: contain; }
.lb figcaption { color: #fff; text-align: center; } .lb figcaption b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; display: block; } .lb figcaption span { color: var(--gold2); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.4rem; display: grid; place-items: center; backdrop-filter: blur(6px); } .lb button:hover { border-color: var(--gold2); color: var(--gold2); }
.lb .x { top: 20px; right: 20px; } .lb .pv { left: 20px; top: 50%; } .lb .nx { right: 20px; top: 50%; }

/* innovation */
.tech { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: stretch; }
.tech-nav { display: grid; gap: 10px; align-content: start; }
.tech-nav button { text-align: left; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: all .3s var(--ease); display: grid; gap: 4px; }
.tech-nav button b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; } .tech-nav button span { font-size: .84rem; color: var(--muted); }
.tech-nav button:hover { border-color: var(--line2); transform: translateX(4px); } .tech-nav button.on { border-color: var(--gold); background: var(--gold-dim); }
.tech-panel { position: relative; border-radius: 24px; overflow: hidden; min-height: 480px; border: 1px solid var(--line); background: var(--surface); padding: 40px; display: grid; align-content: end; color: #fff; isolation: isolate; }
.tech-panel > img { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .8s; } .tech-panel > img.on { opacity: 1; }
.tech-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,8,10,.2), rgba(6,8,10,.92)); }
.tech-panel .big { font-family: var(--f-display); font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; color: var(--gold2); } .tech-panel p { max-width: 50ch; color: rgba(255,255,255,.85); }
.bars2 { display: grid; gap: 12px; margin-top: 22px; } .bar2 { display: grid; gap: 5px; font-size: .84rem; } .bar2 .tr { height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); overflow: hidden; } .bar2 .tr i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 8px; transition: width 1.2s var(--ease); } .bar2.dim .tr i { background: rgba(255,255,255,.55); }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr; } .tech-panel { min-height: 420px; padding: 26px; } }

/* tools teaser + cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s; display: flex; flex-direction: column; gap: 14px; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--gold-dim), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); } .card:hover::before { opacity: 1; }
.card .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--gold-dim); display: grid; place-items: center; color: var(--gold); }
.card .ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .98rem; } .card .link-arrow { margin-top: auto; padding-top: 6px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* compare table */
.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: top; }
.cmp th { font-weight: 500; letter-spacing: .1em; font-size: .74rem; text-transform: uppercase; color: var(--muted); background: var(--surface2); }
.cmp th.us { color: var(--gold); } .cmp td.us { background: var(--gold-dim); } .cmp td:first-child { color: var(--muted); } .cmp tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; border-radius: var(--r); } .scroll-x .cmp { min-width: 640px; }

/* faq */
.faq { max-width: 880px; margin-inline: auto; }
.faq-search { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-display); font-size: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; color: var(--gold); font-size: 1.8rem; line-height: 1; transition: transform .25s; } .faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.cinfo { display: grid; gap: 22px; margin-top: 34px; } .cinfo div { display: grid; gap: 2px; } .cinfo .lbl { color: var(--gold); } .cinfo a:hover { color: var(--gold); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-photo { border-radius: 20px; overflow: hidden; height: 220px; margin-top: 30px; position: relative; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .panel { padding: 26px 22px; } } @media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

/* cta band */
.band { color: #fff; text-align: center; overflow: hidden; isolation: isolate; } .band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6,8,10,.78); } .band h2 { max-width: 18ch; margin: 18px auto 24px; } .band .lead { margin: 0 auto 32px; color: rgba(255,255,255,.82); }
.band .hero-cta { justify-content: center; margin: 0; } .band .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 52px 0 28px; background: var(--bg2); font-size: .94rem; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
footer h4 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 9px; color: var(--muted); } footer a:hover { color: var(--gold); }
.fbot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
@media (max-width: 820px) { .fgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* floating actions + assistant */
.fab { position: fixed; right: 20px; bottom: 22px; z-index: 55; display: grid; gap: 12px; justify-items: end; }
.fab > * { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .2s; } .fab > *:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; fill: #fff; } .fab .wa { background: #25d366; } .fab .ask { background: var(--gold); color: var(--gold-ink); } .fab .ask svg { fill: none; stroke: var(--gold-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.asst { position: fixed; right: 20px; bottom: 96px; z-index: 70; width: min(370px, calc(100% - 28px)); max-height: min(560px, 76vh); display: none; flex-direction: column; overflow: hidden; }
.asst.open { display: flex; animation: rotin .35s var(--ease); }
.asst header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; background: var(--gold-dim); } .asst header b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; } .asst header small { color: var(--muted); display: block; font-size: .76rem; }
.asst .msgs { padding: 18px; overflow-y: auto; display: grid; gap: 10px; align-content: start; flex: 1; }
.bub { padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; max-width: 90%; } .bub.bot { background: var(--surface2); border-bottom-left-radius: 4px; } .bub.me { background: var(--gold); color: var(--gold-ink); margin-left: auto; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips button, .chips a { padding: 8px 14px; border: 1px solid var(--gold); color: var(--gold); border-radius: 99px; font-size: .82rem; transition: all .2s; } .chips button:hover, .chips a:hover { background: var(--gold); color: var(--gold-ink); }
.mbar { display: none; position: fixed; inset: auto 0 0 0; z-index: 56; background: var(--surface); border-top: 1px solid var(--line2); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mbar a { flex: 1; text-align: center; padding: 11px 6px; border-radius: 10px; font-size: .84rem; font-weight: 500; border: 1px solid var(--line2); } .mbar a.p { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
@media (max-width: 720px) { .fab .wa { display: none; } .mbar { display: flex; } .fab { bottom: 84px; right: 14px; } .fab > * { width: 50px; height: 50px; } .asst { bottom: 150px; right: 14px; } body { padding-bottom: 66px; } }

/* reveal */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .rv.in-view { opacity: 1; transform: none; }
.js .imgreveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); } .js .imgreveal.in-view { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } .js .rv { opacity: 1; transform: none; } .js .imgreveal { clip-path: none; } html { scroll-behavior: auto; } .marquee .track { animation: none; } }


/* ── cinematic film ── */
.film { position: relative; aspect-ratio: 21 / 9; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--shadow); isolation: isolate; color: #fff; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.scene.on { opacity: 1; z-index: 1; }
.scene img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.film.play .scene.on img { animation: kb 7s ease-in-out forwards; }
@keyframes kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(var(--tx, 0), var(--ty, 0)); } }
.scene::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 55%, rgba(0,0,0,.78)); }
.ftxt { position: absolute; z-index: 2; left: clamp(22px, 4vw, 56px); bottom: clamp(24px, 5.5vw, 70px); max-width: 26ch; display: grid; gap: 8px; opacity: 0; transform: translateY(16px); }
.scene.on .ftxt { animation: ftin 1.2s .5s var(--ease) forwards; } @keyframes ftin { to { opacity: 1; transform: none; } }
.ftxt span { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold2); font-weight: 500; }
.ftxt b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.05; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.film::before, .film::after { content: ''; position: absolute; left: 0; right: 0; z-index: 3; pointer-events: none; }
.film::before { top: 0; height: 5%; background: #000; } .film::after { bottom: 0; height: 5%; background: #000; }
.film .grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.film-ui { position: absolute; right: 20px; bottom: 20px; z-index: 4; }
.fplay { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; transition: all .2s; } .fplay:hover { border-color: var(--gold2); color: var(--gold2); }
.fplay svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; } .fplay[aria-pressed="false"] svg { stroke: none; } .fplay[aria-pressed="false"] .p1 { d: path("M7 4.5v15l12-7.5z"); }
.film video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.chapters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.chapters button { text-align: left; display: grid; gap: 8px; padding-top: 4px; color: var(--muted); font-size: .84rem; transition: color .25s; } .chapters button.on, .chapters button:hover { color: var(--ink); }
.chapters i { display: block; height: 3px; border-radius: 3px; background: var(--line2); position: relative; overflow: hidden; } .chapters button.on i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: chfill var(--dur, 7s) linear forwards; } .film-paused ~ .chapters button.on i::after, .chapters.paused button.on i::after { animation-play-state: paused; } @keyframes chfill { to { transform: none; } }
.chapters button.done i::after { content: ''; position: absolute; inset: 0; background: var(--gold); }
@media (max-width: 720px) { .film { aspect-ratio: 4 / 5; border-radius: 18px; } .film::before, .film::after { height: 2.5%; } .chapters { grid-template-columns: repeat(3, 1fr); row-gap: 14px; } .ftxt { max-width: 18ch; } }
@media (prefers-reduced-motion: reduce) { .film .grain { animation: none; } .film.play .scene.on img { animation: none; } .scene.on .ftxt { animation: none; opacity: 1; transform: none; } }

/* ── estimator ── */
.est-hero { padding: clamp(112px, 12vw, 150px) 0 40px; position: relative; overflow: hidden; color: #fff; isolation: isolate; } .est-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.est-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,8,10,.9), rgba(6,8,10,.72)); } .est-hero .lead { color: rgba(255,255,255,.82); }
.est { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; padding-block: 36px 72px; }
.progress { display: flex; gap: 8px; margin-bottom: 30px; } .progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line2); transition: background .3s; } .progress i.on { background: var(--gold); }
.stepname { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.opt { text-align: left; background: var(--bg); border: 1px solid var(--line2); border-radius: 14px; padding: 0; cursor: pointer; display: grid; overflow: hidden; transition: border-color .2s, transform .3s var(--ease); position: relative; }
.opt:hover { border-color: var(--gold); transform: translateY(-3px); } .opt[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.opt .ph { height: 120px; overflow: hidden; } .opt .ph img { transition: transform .8s var(--ease); } .opt:hover .ph img { transform: scale(1.08); }
.opt .tx { padding: 16px 18px; display: grid; gap: 4px; } .opt b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; } .opt span { color: var(--muted); font-size: .86rem; line-height: 1.45; } .opt em { font-style: normal; font-size: .82rem; color: var(--gold); }
.opt.plain .tx { padding: 20px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 20px; }
.chk { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border: 1px solid var(--line2); border-radius: 10px; cursor: pointer; font-size: .93rem; background: var(--bg); transition: all .2s; }
.chk input { accent-color: var(--gold); width: 17px; height: 17px; } .chk:has(input:checked) { border-color: var(--gold); background: var(--gold-dim); } .chk small { margin-left: auto; color: var(--muted); font-size: .78rem; } .chk.off { opacity: .45; pointer-events: none; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.slider-row { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: center; }
.side { position: sticky; top: 96px; display: grid; gap: 16px; }
.sumbox { background: var(--surface); border: 1px solid var(--gold); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.sumbox .big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1.05; margin: 8px 0 4px; } .sumbox .sub { color: var(--muted); font-size: .84rem; }
.kv { display: grid; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; } .kv div { display: flex; justify-content: space-between; gap: 14px; } .kv span:first-child { color: var(--muted); }
.result-top { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; margin: 14px 0 26px; }
.donut { width: 190px; aspect-ratio: 1; border-radius: 50%; position: relative; } .donut::after { content: ''; position: absolute; inset: 24%; border-radius: 50%; background: var(--surface); }
.donut-c { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; } .donut-c b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; line-height: 1; } .donut-c span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.legend { display: grid; gap: 8px; font-size: .88rem; } .legend div { display: flex; align-items: center; gap: 10px; } .legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; } .legend span:last-child { margin-left: auto; color: var(--muted); }
.pcmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 22px; } .pcmp button { border: 1px solid var(--line2); border-radius: 12px; padding: 14px; text-align: left; display: grid; gap: 2px; transition: all .2s; background: var(--bg); } .pcmp button.on { border-color: var(--gold); background: var(--gold-dim); } .pcmp b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; } .pcmp span { font-size: .8rem; color: var(--muted); }
.notice { font-size: .82rem; color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
@media (max-width: 520px) { .pcmp { grid-template-columns: 1fr; } .pcmp button { grid-template-columns: 1fr auto; align-items: center; gap: 10px; } }
@media (max-width: 960px) { .est { grid-template-columns: 1fr; } .side { position: static; order: -1; } .opts, .checks { grid-template-columns: 1fr; } .result-top { grid-template-columns: 1fr; justify-items: center; } }
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 13mm 14mm; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(#printSheet) { display: none !important; }
  .print-only { display: block !important; }
  #printSheet { font: 12.5px/1.5 'Jost', Arial, sans-serif; color: #111; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #printSheet * { box-sizing: border-box; }
  .ps-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 12px; border-bottom: 2px solid #b8923a; }
  .ps-brand { display: flex; align-items: center; gap: 12px; } .ps-brand img { width: 46px; height: 46px; }
  .ps-brand b { display: block; font: 500 26px/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .02em; } .ps-brand small { display: block; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #8a6a1f; margin-top: 3px; }
  .ps-meta { text-align: right; font-size: 11px; color: #555; } .ps-meta b { display: block; font: 500 17px 'Cormorant Garamond', Georgia, serif; color: #111; }
  .ps-hero { margin: 16px 0; padding: 16px 18px; border: 1px solid #d9cfb4; border-left: 5px solid #b8923a; background: #faf6ea !important; border-radius: 4px; }
  .ps-hero small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8a6a1f; } .ps-hero .ps-big { font: 500 32px/1.15 'Cormorant Garamond', Georgia, serif; margin: 2px 0; } .ps-hero p { color: #555; font-size: 11.5px; }
  .ps-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .ps h3, #printSheet h3 { font: 600 10px 'Jost', Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #8a6a1f; margin: 14px 0 6px; padding-bottom: 4px; border-bottom: 1px solid #ddd; }
  #printSheet table { width: 100%; border-collapse: collapse; } #printSheet td, #printSheet th { padding: 5px 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; } #printSheet td:last-child, #printSheet th:last-child { text-align: right; white-space: nowrap; } #printSheet th { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #777; font-weight: 500; }
  #printSheet tr.t td { font-weight: 600; border-top: 1.5px solid #111; border-bottom: 0; }
  .ps-bar { display: block; height: 6px; background: #b8923a !important; border-radius: 3px; margin-top: 3px; }
  .ps-note { margin-top: 14px; padding: 10px 12px; background: #f4f4f4 !important; border-radius: 4px; font-size: 10.5px; color: #444; }
  .ps-foot { margin-top: 16px; padding-top: 10px; border-top: 1px solid #ccc; display: flex; justify-content: space-between; gap: 16px; font-size: 10.5px; color: #555; }
  tr, .ps-hero, .ps-note { break-inside: avoid; }
}

/* ── tools page ── */
.tool-head { padding: 150px 0 40px; }
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; padding-bottom: 72px; }
.tool .out { position: sticky; top: 96px; }
.kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; } .kpi > div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; } .kpi span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .kpi b { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; line-height: 1.2; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; } .tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } .tbl th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } .tool .out { position: static; } }

/* guides */
.article { max-width: 780px; padding: 120px 0 64px; } .article .back { margin-bottom: 18px; display: flex; } .article > .eyebrow { display: flex; } .article .back::after { content: none; } .article .back::before { content: '←'; margin-right: 8px; }
.article h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 14px 0 12px; } .article .meta { color: var(--muted); font-size: .86rem; letter-spacing: .04em; margin-bottom: 26px; }
.article .lede { font-size: 1.25rem; color: var(--ink); line-height: 1.6; margin-bottom: 10px; font-family: var(--f-display); }
.article h2 { font-size: 2rem; margin: 40px 0 10px; } .article p, .article li { color: color-mix(in srgb, var(--ink) 82%, transparent); margin-bottom: 14px; } .article ul, .article ol { padding-left: 24px; margin-bottom: 8px; } .article li b { color: var(--ink); font-weight: 500; }
.article a:not(.btn):not(.link-arrow) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.callout { margin-top: 50px; padding: 32px; border: 1px solid var(--gold); border-radius: 18px; background: var(--gold-dim); display: grid; gap: 10px; justify-items: start; } .callout b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; } .callout p { margin: 0; }

/* legal / 404 */
.legal { max-width: 800px; padding: 150px 0 90px; } .legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 30px; } .legal h2 { font-size: 1.8rem; margin: 34px 0 10px; } .legal p, .legal li { color: var(--muted); margin-bottom: 12px; } .legal ul { padding-left: 22px; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 30px; } .nf h1 { font-size: clamp(5rem, 16vw, 11rem); color: var(--gold); }

/* language switch + Hindi (Devanagari) typography */
.lang { font-size: .84rem; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 99px; background: var(--glass); backdrop-filter: blur(8px); color: var(--ink); transition: all .2s; white-space: nowrap; } .lang:hover { border-color: var(--gold); color: var(--gold); }
html[lang="hi"] { --f-display: 'Cormorant Garamond', 'Noto Serif Devanagari', Georgia, serif; --f-body: 'Jost', 'Noto Sans Devanagari', system-ui, sans-serif; }
html[lang="hi"] body { line-height: 1.8; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { line-height: 1.3; letter-spacing: 0; }
html[lang="hi"] h1 { line-height: 1.22; }
html[lang="hi"] .eyebrow, html[lang="hi"] .lbl, html[lang="hi"] .field label, html[lang="hi"] .stepname, html[lang="hi"] footer h4, html[lang="hi"] .stat span, html[lang="hi"] .ftxt span, html[lang="hi"] .qe h4, html[lang="hi"] .stp .tag, html[lang="hi"] .kpi2 span, html[lang="hi"] .cmp th, html[lang="hi"] .pill { letter-spacing: .03em; text-transform: none; }
html[lang="hi"] .em, html[lang="hi"] em { font-style: normal; }
html[lang="hi"] .btn { letter-spacing: 0; }
html[lang="hi"] .brand small, html[lang="hi"] .brand span { letter-spacing: inherit; }
html[lang="hi"] .pnl:not(.on) h3 { font-size: 1.35rem; line-height: 1.2; }
