/* ------------------------------------------------------------------
   Vera Vista growth proposal — styles
   Palette follows veravista.ae: ivory ground, charcoal ink, brand gold.
   ------------------------------------------------------------------ */
:root {
  --ivory: #f4f0e9;
  --paper: #fbf9f5;
  --beige: #e9e1d3;
  --line: #d9cfbe;
  --ink: #23201c;
  --ink-2: #2f2b26;
  --text: #4c463e;
  --mute: #7d756a;
  --brown: #6f5b47;
  --gold: #c49e62;
  --gold-deep: #9a7640;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font: 600 .95rem/1.4 var(--sans); color: var(--ink); margin-bottom: .5rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--mute); font-weight: 400; }

/* views */
.view { opacity: 0; transition: opacity .6s ease; }
.view.show { opacity: 1; }

/* shared atoms */
.eye { font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; }
.lede { font-size: 1.06rem; max-width: 62ch; margin-top: 1rem; }
.center .lede { margin-left: auto; margin-right: auto; }
.note, .hint, .cap { font-size: .86rem; color: var(--mute); margin-top: .9rem; max-width: 70ch; }
.cap { text-align: center; margin-left: auto; margin-right: auto; }
.sub { font: 600 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 0 0 1rem; }
.quote { font: italic 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.4 var(--serif); color: var(--ink); border-left: 2px solid var(--gold); padding-left: 1.25rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.6rem; border: 1px solid transparent; border-radius: 2px; font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: #1c1915; }
.btn-gold:hover { background: #d3ae73; }
.btn-line { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-line.dark-line { border-color: var(--line); color: var(--ink); min-height: 40px; padding: .5rem 1rem; }
.btn-line.dark-line:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-lg { min-height: 58px; padding: 1rem 2.6rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-btn { background: none; border: 0; padding: 0; font: 600 .82rem var(--sans); color: var(--gold-deep); letter-spacing: .04em; }
.link-btn:hover { text-decoration: underline; }
.ticks li { position: relative; padding: .28rem 0 .28rem 1.3rem; font-size: .95rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .95em; width: .6rem; height: 1px; background: var(--gold); }
.ticks.big li { font-size: 1.05rem; padding-top: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid rgba(255,255,255,.22); padding: .4rem .8rem; font-size: .85rem; border-radius: 2px; }
.chips.on-light { margin-top: 1.25rem; }
.chips.on-light li { border-color: var(--line); background: var(--paper); color: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.5; flex: none; }

/* images: real photo if available, designed panel if not */
.pic { position: relative; overflow: hidden; background: var(--beige); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic-fb { display: none; position: absolute; inset: 0; align-items: flex-end; padding: 1rem 1.1rem; color: #fff;
  background: linear-gradient(180deg, rgba(35,32,28,0) 35%, rgba(35,32,28,.55)), repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px), linear-gradient(135deg, #8d7a63, #b9a585 55%, #6f5b47); }
.pic-fb span { font: 500 1.05rem/1.2 var(--serif); letter-spacing: .04em; }
.pic.noimg .pic-fb { display: flex; }

/* logo — always the official file, on a light ground, never recoloured */
.logo img { height: 30px; width: auto; }
.logo-text { font: 600 1.05rem/1 var(--serif); letter-spacing: .22em; color: var(--ink); }
.logo-plate { display: inline-block; background: var(--paper); padding: .8rem 1.1rem; border-radius: 2px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; flex: none; }
.lang button { background: transparent; border: 0; padding: .5rem .8rem; min-width: 46px; min-height: 40px; font: 700 .78rem var(--sans); letter-spacing: .1em; color: var(--mute); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- PAGE 1: login ---------- */
.view-login, .view-thanks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem var(--gut) 2.5rem; position: relative; background: var(--ink); color: #e9e3d8; }
.login-bg { position: absolute; inset: 0; background: var(--ink); }
.login-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,22,19,.72), rgba(25,22,19,.86)); }
.login-bg .pic-fb span { display: none; }
.login-top { position: absolute; top: 1.25rem; right: var(--gut); z-index: 2; }
.login-top .lang { border-color: rgba(255,255,255,.3); }
.login-top .lang button { color: #d8d0c2; }
.login-top .lang button[aria-pressed="true"] { background: var(--gold); color: #1c1915; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 460px; text-align: center; }
.login-card h1 { color: #fff; font-size: clamp(2rem, 5vw, 2.9rem); margin-top: 2.2rem; }
.login-sub { margin-top: 1rem; color: #d3ccbf; }
.login-card label { display: block; text-align: left; margin-top: 2.2rem; font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #cfc7b9; }
.login-card input { width: 100%; margin-top: .5rem; min-height: 52px; padding: .7rem 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.3); border-radius: 2px; color: #fff; font-size: 16px; }
.login-card input:focus { border-color: var(--gold); outline: none; }
.login-card .btn { width: 100%; margin-top: 1rem; }
.err { color: #f0b9a5; font-size: .86rem; margin-top: .5rem; text-align: left; }
.login-note { position: relative; z-index: 1; margin-top: 3rem; font-size: .78rem; color: #a9a193; text-align: center; max-width: 46ch; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244,240,233,.96); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1320px; margin: 0 auto; padding: .6rem var(--gut); display: flex; align-items: center; gap: 1.25rem; }
.nav-logo { margin-right: auto; display: inline-flex; text-decoration: none; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { font: 600 .8rem var(--sans); letter-spacing: .06em; text-decoration: none; color: var(--ink-2); padding: .6rem 0; white-space: nowrap; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; min-height: 40px; padding: 0 .9rem; font: 600 .78rem var(--sans); letter-spacing: .08em; }

/* ---------- sections ---------- */
.sec { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band { background: var(--beige); }
.dark { background: var(--ink); color: #cfc8bb; }
.dark h1, .dark h2, .dark h3, .dark .quote { color: #fff; }
.dark .eye { color: var(--gold); }
.dark .note, .dark .hint { color: #a39b8d; }
.dark .sub { color: var(--gold); }
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 820px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 3.3vw, 2.85rem); line-height: 1.22; font-weight: 500; }
.hero-by { margin: 2rem 0; display: flex; flex-direction: column; }
.hero-by strong { font: 600 1.35rem var(--serif); color: #fff; }
.hero-by span { font-size: .9rem; color: var(--gold); letter-spacing: .04em; }
.hero-read { margin-top: 1.5rem; font-size: .82rem; color: #9c9486; }
.hero-pic { aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }

/* profile */
.profile-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.profile-grid h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.role { color: var(--gold-deep); font-weight: 600; letter-spacing: .04em; margin-top: .4rem; }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt { font: 600 .74rem/1.9 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.facts dd { color: var(--ink); }
.contact { margin-top: 1.5rem; }
.contact li { display: flex; align-items: center; gap: .7rem; padding: .3rem 0; font-size: .95rem; flex-wrap: wrap; }
.contact svg { color: var(--gold-deep); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { min-width: 0; padding: 2rem clamp(1rem, 2.5vw, 2rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-n { font: 500 clamp(2.6rem, 5vw, 3.9rem)/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.stat h3 { font: 600 .8rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin: 1rem 0 .4rem; }
.stat p:last-child { font-size: .92rem; }

/* experience */
.exp-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.devs { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin-bottom: 2.5rem; }
.devs li { font: 500 1.4rem/1.5 var(--serif); color: var(--ink); }
.devs li.muted { font-style: italic; color: var(--mute); }
.handled { columns: 2; column-gap: 2rem; }
.handled li { padding: .45rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: .95rem; color: var(--ink); }
.exp-pic { aspect-ratio: 4 / 5; }

/* pillars */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.pillar.flip .pillar-copy { order: 2; }
.pillar-wide { grid-template-columns: 1fr; }
.pillar-wide .pillar-copy { order: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); }
.pillar-wide .pillar-copy > .pillar-n, .pillar-wide .pillar-copy > h3, .pillar-wide .pillar-copy > .pillar-lead { grid-column: 1; }
.pillar-wide .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.pillar-n { font: 500 1rem var(--serif); color: var(--gold-deep); letter-spacing: .1em; margin-bottom: .5rem; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.pillar-lead { margin: .9rem 0 1.1rem; font-size: 1.05rem; color: var(--ink-2); }
.pillar-copy .ticks { columns: 2; column-gap: 1.5rem; }
.pillar-copy .ticks li { break-inside: avoid; }
.pillar-vis { min-width: 0; }

.flow { display: flex; flex-direction: column; gap: .5rem; }
.flow li { width: calc(100% - var(--i) * 13%); margin: 0 auto; background: var(--ink); color: #fff; text-align: center; padding: .85rem .5rem; font: 600 .82rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.flow li:nth-child(2) { background: #4a4037; } .flow li:nth-child(3) { background: var(--brown); }
.flow li:nth-child(4) { background: #9a7f5c; } .flow li:nth-child(5) { background: var(--gold); color: #1c1915; }

.phone { max-width: 290px; margin: 0 auto; }
.phone-in { background: var(--paper); border: 8px solid var(--ink); border-radius: 26px; padding-bottom: 1rem; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(35,32,28,.55); }
.phone-pic { aspect-ratio: 4 / 3; }
.phone-in > p, .phone-in > span, .phone-row { margin-left: 1rem; margin-right: 1rem; }
.phone-tag { font: 600 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-top: .9rem; }
.phone-h { font: 500 1.25rem/1.2 var(--serif); color: var(--ink); margin-top: .2rem; }
.phone-price { font-size: .82rem; color: var(--mute); margin-bottom: .7rem; }
.fake-in { display: block; border: 1px solid var(--line); padding: .5rem .7rem; font-size: .75rem; color: var(--mute); margin-bottom: .4rem; border-radius: 2px; }
.fake-btn { display: block; background: var(--gold); color: #1c1915; text-align: center; padding: .6rem; font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.phone-row { display: flex; gap: .4rem; margin-top: .4rem; }
.phone-row span { flex: 1; display: flex; align-items: center; justify-content: center; gap: .35rem; border: 1px solid var(--line); padding: .45rem; font-size: .72rem; color: var(--ink); border-radius: 2px; }
.phone-track { font-size: .72rem; color: var(--mute); text-align: center; margin-top: .8rem; }

.creatives { display: grid; grid-template-columns: 1fr .62fr 1fr; gap: .7rem; align-items: center; }
.creative { position: relative; }
.creative .pic { aspect-ratio: 1; } .creative.c1 .pic { aspect-ratio: 9 / 16; } .creative.c2 .pic { aspect-ratio: 4 / 5; }
.creative .pic-fb span { display: none; }
.creative-l { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .7rem .6rem; color: #fff; font: 500 1rem/1.2 var(--serif); background: linear-gradient(180deg, transparent, rgba(25,22,19,.8)); }
.creative-l span { display: block; font: 700 .58rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .15rem; }

.loop { counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.loop li { counter-increment: s; display: flex; gap: .9rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.loop li::before { content: counter(s); font: 500 1.3rem var(--serif); color: var(--gold-deep); min-width: 1rem; }

/* dashboard mock */
.dash { background: var(--paper); border: 1px solid var(--line); padding: clamp(1rem, 2.5vw, 1.75rem); margin-top: 1.5rem; }
.dash-top { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dash-title { font: 500 1.3rem var(--serif); color: var(--ink); }
.badge { font: 700 .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #6b4a16; background: #f0dfbf; padding: .35rem .7rem; border-radius: 2px; }
.kpis { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; }
.kpi { border-top: 2px solid var(--gold); background: var(--ivory); padding: .7rem .8rem; min-width: 0; }
.kpi span { display: block; font-size: .7rem; line-height: 1.3; color: var(--mute); min-height: 2.6em; }
.kpi strong { font: 500 1.35rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; }
.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.dash-charts > div { min-width: 0; }
.chart-t { font: 600 .78rem var(--sans); letter-spacing: .06em; color: var(--ink-2); margin: 1.2rem 0 .5rem; }
.dash-charts .chart-t { margin-top: 0; }
.chart-box { position: relative; height: 240px; }
.chart-box.tall { height: 280px; }
.chart-box.pie { height: 300px; }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums lining-nums; }
.tbl th, .tbl td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: nowrap; }
.tbl thead th { font: 600 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom-color: var(--ink); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody th small { display: block; font-weight: 400; color: var(--mute); font-size: .74rem; }
.tbl .num { text-align: right; }
.tbl .strong { font-weight: 700; color: var(--ink); }
.tbl tfoot th, .tbl tfoot td { border-bottom: 0; border-top: 1px solid var(--ink); font-weight: 700; color: var(--ink); }
.tbl.small { font-size: .82rem; }
.tbl input { width: 3.9rem; min-height: 36px; padding: .25rem .4rem; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; text-align: right; font-size: 16px; }
.tbl tr.sel { background: rgba(196,158,98,.14); }
.row-pick { background: none; border: 0; padding: 0; font-weight: 600; color: var(--ink); text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tag { font: 700 .6rem var(--sans); letter-spacing: .08em; text-transform: uppercase; background: #f0dfbf; color: #6b4a16; padding: .15rem .4rem; border-radius: 2px; }
.sw { display: inline-block; width: .7rem; height: .7rem; margin-right: .6rem; border-radius: 1px; }

/* technology */
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.tool h3 { font-size: 1.25rem; margin: 1rem 0 .4rem; }
.tool p { font-size: .88rem; }
.mock { background: #f4f0e9; border-radius: 3px; overflow: hidden; color: var(--ink); height: 168px; display: flex; flex-direction: column; }
.mock-bar { display: flex; gap: 4px; padding: 7px 9px; background: var(--line); }
.mock-bar i { width: 6px; height: 6px; border-radius: 50%; background: #a79b88; }
.mock-body { padding: .7rem; display: flex; flex-direction: column; gap: .45rem; font-size: .68rem; line-height: 1.3; flex: 1; justify-content: center; }
.mock-body b { font-weight: 600; }
.m-row { display: flex; flex-direction: column; gap: .25rem; }
.m-line { display: block; height: 7px; background: var(--line); border-radius: 1px; } .m-line.short { width: 60%; }
.m-btn { background: var(--ink); color: #fff; text-align: center; padding: .35rem; border-radius: 2px; font-weight: 600; }
.m-ok { color: #4d6b3c; font-weight: 600; }
.m-tree ul { padding-left: .8rem; border-left: 1px solid #b9ad99; margin: .2rem 0 0 .2rem; }
.m-tree li { padding: .12rem 0; }
.m-rec { border-left: 2px solid var(--gold); background: #fff; padding: .35rem .5rem; }
.m-bar { display: grid; grid-template-columns: 5.4rem 1fr; align-items: center; gap: .4rem; }
.m-bar i { display: block; height: 8px; background: var(--gold); border-radius: 1px; }
.m-steps { display: flex; flex-direction: column; gap: .3rem; align-items: center; }
.m-steps b { width: var(--w); background: var(--ink); color: #fff; text-align: center; padding: .3rem .2rem; font-size: .64rem; }
.m-steps b:last-child { background: var(--gold); color: #1c1915; }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 3.5rem; align-items: center; }
.stack-grid .quote { margin-top: 0; }

/* certifications */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.certs li { padding: 1.4rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.certs span { display: block; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
.certs strong { font: 500 1.2rem/1.25 var(--serif); color: var(--ink); }

/* portfolio */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tabs button { background: transparent; border: 1px solid var(--brown); border-radius: 2px; min-height: 42px; padding: 0 1.1rem; font: 600 .78rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.card { background: var(--paper); display: flex; flex-direction: column; }
.card-pic { aspect-ratio: 16 / 10; }
.card-body { padding: clamp(1.1rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.card-dev { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.status { font: 600 .66rem var(--sans); letter-spacing: .08em; padding: .25rem .55rem; border-radius: 2px; background: #e3ead9; color: #3d5a2c; }
.status.s-launch { background: #f0dfbf; color: #6b4a16; } .status.s-prelaunch, .status.s-limited { background: #ecdcd3; color: #7a3e22; }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: .5rem 0 .3rem; }
.card-loc { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--mute); }
.card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 1.2rem 0; border-top: 1px solid var(--line); }
.card-facts > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.card-facts .full { grid-column: 1 / -1; }
.card-facts dt { font: 600 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.card-facts dd { color: var(--ink); font-size: .95rem; }
.card-facts dd strong { font: 500 1.5rem/1.2 var(--serif); display: block; }
.card-facts dd small { font-size: .74rem; color: var(--mute); }
.card-pos { font-size: .95rem; }
.card-confirm { font-size: .82rem; margin-top: .9rem; padding: .7rem .85rem; background: #f6ecd9; color: #5b4420; border-left: 2px solid var(--gold); }
.card-confirm strong { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.card-src { font-size: .78rem; color: var(--mute); margin: .9rem 0 1.1rem; }
.card .link-btn { margin-top: auto; align-self: flex-start; min-height: 32px; }

/* planner */
.plan-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.plan-grid > div { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.ctl { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; margin-bottom: 1rem; align-items: baseline; }
.ctl label { font: 600 .8rem var(--sans); color: var(--ink-2); }
.ctl output { font: 600 .9rem var(--sans); color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.ctl select, .ctl input[type="number"] { grid-column: 1 / -1; width: 100%; min-height: 44px; padding: .4rem .7rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; font-size: 16px; }
.ctl input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--gold-deep); min-height: 28px; }
.outs, .cons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.cons { grid-template-columns: repeat(6, 1fr); }
.out { background: var(--paper); border-top: 2px solid var(--line); padding: .8rem .9rem; min-width: 0; }
.out span { display: block; font-size: .74rem; color: var(--mute); line-height: 1.3; }
.out strong { font: 500 1.65rem/1.25 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.out-main { background: var(--ink); border-top-color: var(--gold); }
.out-main span { color: #b8b0a2; } .out-main strong { color: #fff; }
.outs .out-main { grid-column: span 4; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.outs .out-main strong { font-size: 2.2rem; }
.caps { margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; }
.flag { margin-top: .6rem; padding: .55rem .8rem; background: #f6ecd9; color: #5b4420; border-left: 2px solid var(--gold); font-size: .86rem; }
.plan-block { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.row-head .hint { margin-top: 0; }
.ch-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 1.5rem; }
.ch-grid > div { min-width: 0; }
.strat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.strat h4 { font: 500 1.3rem var(--serif); border-bottom: 1px solid var(--gold); padding-bottom: .4rem; }

/* visa, offer */
.prose { font-size: 1.1rem; line-height: 1.75; margin-top: 1.2rem; color: var(--ink-2); }
.offer-l { margin-top: 2.5rem; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b8b0a2; }
.offer-n { font: 500 clamp(3.2rem, 9vw, 5.5rem)/1.1 var(--serif); color: #fff; font-variant-numeric: lining-nums; }
.offer-n span { display: block; font: 500 .9rem var(--sans); letter-spacing: .1em; color: var(--gold); margin-top: .3rem; }
.offer .btn { margin-top: 2.2rem; }
.offer .hint { margin: 1.2rem auto 0; }

/* dialog */
.dialog { border: 0; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--text); border-radius: 3px; }
.dialog::backdrop { background: rgba(25,22,19,.7); }
.dialog form { padding: clamp(1.25rem, 4vw, 2.25rem); position: relative; }
.dialog h2 { font-size: 2rem; }
.dialog .hint { margin: .3rem 0 1.4rem; }
.x { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--mute); }
.field { margin-bottom: 1rem; }
.field label { display: block; font: 600 .8rem var(--sans); color: var(--ink-2); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: .55rem .75rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; font-size: 16px; }
.field input[aria-invalid="true"] { border-color: #b4532f; }
.field .err { color: #9c3f1e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dialog .btn { width: 100%; margin-top: .4rem; }

/* PAGE 3: thank you */
.thanks-in { max-width: 620px; text-align: center; }
.thanks-in h1 { color: #fff; font-size: clamp(3rem, 9vw, 5rem); margin-top: 2.5rem; }
.thanks-in .lede { margin: 1.2rem auto 0; color: #d3ccbf; }
.status-line { margin-top: 1.4rem; padding: .7rem 1rem; border: 1px solid rgba(196,158,98,.5); color: #ecdcbd; font-size: .92rem; }
.status-line a { color: var(--gold); }
.thanks-card { margin: 2.5rem 0; padding: 1.75rem; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.thanks-name { font: 500 1.9rem var(--serif); color: #fff; margin-bottom: 1rem; }
.thanks-card dl > div { display: flex; justify-content: center; gap: .8rem; padding: .25rem 0; flex-wrap: wrap; }
.thanks-card dt { font: 600 .72rem/2.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #a9a193; }
.thanks-card dd a { color: #fff; overflow-wrap: anywhere; }

/* footer */
.foot { background: #191613; color: #958d80; font-size: .8rem; padding: 2rem 0; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tools { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .cons { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 1rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: .5rem var(--gut) 1rem; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .hero-grid, .profile-grid, .exp-grid, .two, .pillar, .plan-grid, .stack-grid, .ch-grid { grid-template-columns: 1fr; }
  .pillar.flip .pillar-copy { order: 0; }
  .pillar-wide .pillar-copy { display: block; }
  .hero-pic { aspect-ratio: 16 / 10; }
  .exp-pic { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .strat { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .chart-box.pie { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .cards, .tools { grid-template-columns: 1fr; }
  .mock { height: 150px; }
  .kpis, .outs, .cons { grid-template-columns: repeat(2, 1fr); }
  .outs .out-main { grid-column: span 2; }
  .cons .out-main { grid-column: span 2; }
  .pillar-copy .ticks, .handled { columns: 1; }
  .loop, .strat { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 0; }
  .logo img { height: 24px; }
  .stat-n { font-size: 2.1rem; }
  .stat { padding: 1.4rem .9rem; }
  #ch-table th[scope="row"] { white-space: normal; min-width: 9rem; }
  .tbl th, .tbl td { padding: .55rem .5rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .creatives { gap: .4rem; }
  .creative-l { font-size: .8rem; padding: 1.2rem .4rem .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .view, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .view-login, .dialog { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

#p-table th, #p-table td { padding-left: .45rem; padding-right: .45rem; }
#p-table tbody th { white-space: normal; min-width: 9.5rem; max-width: 14rem; }

/* ---------- clip art, icons and motion ---------- */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); background: rgba(196,158,98,.1); flex: none; }
.ico svg.lucide { width: 21px; height: 21px; }
.dark .ico { color: var(--gold); background: rgba(196,158,98,.12); }
.reveal.in .ico, .reveal.in.ico, .in > .ico { animation: pop .7s cubic-bezier(.2,1.4,.4,1) both, bob 5s ease-in-out 1s infinite; }
.stat .ico { margin-bottom: 1.1rem; }
.pillar-n { display: flex; align-items: center; gap: .8rem; }
.tool h3 { display: flex; align-items: center; gap: .6rem; }
.tool .ico { width: 36px; height: 36px; } .tool .ico svg.lucide { width: 17px; height: 17px; }
.certs li { position: relative; padding-right: 3.6rem; }
.certs .ico { position: absolute; top: 1.1rem; right: 1rem; width: 34px; height: 34px; } .certs .ico svg.lucide { width: 16px; height: 16px; }
.strat .ico { margin-bottom: .9rem; }
#visa .ico, .offer .ico { margin-bottom: 1.4rem; width: 58px; height: 58px; } #visa .ico svg.lucide, .offer .ico svg.lucide { width: 26px; height: 26px; }

.art { width: 100%; height: auto; display: block; max-width: 480px; margin: 0 auto; }
.art rect, .art .pin { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.art text { font: 600 14px var(--sans); fill: var(--ink); letter-spacing: .04em; }
.art .dline { fill: none; stroke: var(--gold-deep); stroke-width: 1.5; stroke-dasharray: 6 6; animation: march 1.2s linear infinite; }
.art .bars rect { fill: var(--gold); stroke: none; transform-origin: bottom; transform-box: fill-box; animation: grow 2.4s ease-in-out infinite alternate; }
.art .bars rect:nth-child(2) { animation-delay: .3s; } .art .bars rect:nth-child(3) { animation-delay: .6s; } .art .bars rect:nth-child(4) { animation-delay: .9s; }
.art .pulse { fill: var(--gold); stroke: none; transform-origin: center; transform-box: fill-box; animation: pulse 1.8s ease-out infinite; }
.art .node { animation: bob 5s ease-in-out calc(var(--d) * .5s) infinite; }
.art .pin.gold { fill: var(--gold); }
.art .plane path { fill: var(--ink); }
.art-route { margin-top: 1.5rem; }

.hello { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hello li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px 14px 14px 2px; padding: .6rem .95rem; display: flex; flex-direction: column; animation: bob 4.5s ease-in-out calc(var(--i) * .45s) infinite; }
.hello strong { font: 600 1.15rem/1.3 var(--sans); color: var(--ink); }
.hello span { font: 600 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.buyers { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.buyer-k { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.3rem; }
.buyer-k div { border-top: 2px solid var(--gold); padding-top: .6rem; }
.buyer-k strong { display: block; font: 500 clamp(2rem, 4vw, 2.7rem)/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.buyer-k span { font-size: .82rem; color: var(--mute); }
.bars-list li { display: grid; grid-template-columns: 8.2rem 1fr 3.4rem; align-items: center; gap: .7rem; padding: .32rem 0; font-size: .88rem; }
.b-track { height: 12px; background: var(--beige); }
.b-track i { display: block; height: 100%; width: 0; background: var(--brown); transition: width 1.1s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 70ms + 200ms); }
.reveal.in .b-track i { width: var(--w); }
.bars-list .hl { font-weight: 700; color: var(--ink); } .bars-list .hl i { background: var(--gold); }
.b-val { text-align: right; font-variant-numeric: tabular-nums; }
#india .quote { max-width: 860px; margin: 3rem 0 2.2rem; }
.can { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1.4rem; }
.can li { display: flex; align-items: center; gap: .9rem; background: var(--paper); border: 1px solid var(--line); padding: .9rem 1rem; color: var(--ink); font-size: .95rem; }

/* motion */
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes march { to { stroke-dashoffset: -24; } }
@keyframes grow { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes slidein { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { 50% { box-shadow: 0 0 0 12px rgba(196,158,98,0); } }
@keyframes sheen { to { background-position: -200% 0; } }
.hero-pic img, .login-bg img, .exp-pic img { animation: zoom 18s ease-in-out infinite alternate; }
.pic.noimg .pic-fb { background-size: auto, auto, 220% 220%; animation: sheen 14s linear infinite alternate; }
.hero-copy > * { animation: slidein .8s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; } .hero-copy > :nth-child(3) { animation-delay: .24s; } .hero-copy > :nth-child(4) { animation-delay: .36s; } .hero-copy > :nth-child(5) { animation-delay: .48s; }
.login-card > * { animation: slidein .7s ease both; } .login-card > :nth-child(n+3) { animation-delay: .15s; }
.sec-head h2::after, .profile-grid h2::after { content: ''; display: block; width: 0; height: 2px; background: var(--gold); margin-top: 1rem; transition: width 1s ease .3s; }
.sec-head.in h2::after, .reveal.in h2::after { width: 72px; }
.stats .stat:nth-child(2), .cards .card:nth-child(even), .tools .tool:nth-child(2), .certs li:nth-child(4n+2), .can li:nth-child(3n+2), .strat > div:nth-child(2) { transition-delay: .1s; }
.stats .stat:nth-child(3), .tools .tool:nth-child(3), .certs li:nth-child(4n+3), .can li:nth-child(3n), .strat > div:nth-child(3) { transition-delay: .2s; }
.tools .tool:nth-child(4), .certs li:nth-child(4n), .strat > div:nth-child(4) { transition-delay: .3s; }
.tools .tool:nth-child(5) { transition-delay: .4s; }
.reveal.in .flow li { animation: slidein .6s ease calc(var(--i) * .14s) both; }
.reveal.in .loop li { animation: slidein .5s ease both; }
.loop li:nth-child(2) { animation-delay: .08s; } .loop li:nth-child(3) { animation-delay: .16s; } .loop li:nth-child(4) { animation-delay: .24s; } .loop li:nth-child(5) { animation-delay: .32s; } .loop li:nth-child(6) { animation-delay: .4s; } .loop li:nth-child(7) { animation-delay: .48s; } .loop li:nth-child(8) { animation-delay: .56s; }
.phone { animation: bob 6s ease-in-out infinite; }
.creative { transition: transform .35s ease; } .creative:hover { transform: translateY(-8px); }
.card, .tool .mock, .certs li, .can li, .out, .stat { transition: transform .3s ease, box-shadow .3s ease, opacity .7s ease; }
.card:hover, .can li:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -28px rgba(35,32,28,.5); }
.tool:hover .mock { transform: translateY(-5px); }
.certs li:hover { background: #fff; }
.card-pic img { transition: transform .8s ease; } .card:hover .card-pic img { transform: scale(1.06); }
.btn-gold { transition: background .2s, transform .2s; } .btn-gold:hover { transform: translateY(-2px); }
.offer .btn-gold { box-shadow: 0 0 0 0 rgba(196,158,98,.55); animation: glow 2.4s ease-out infinite; }
.out strong { transition: color .3s; }

@media (max-width: 960px) { .can { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .can { grid-template-columns: 1fr; }
  .bars-list li { grid-template-columns: 6.6rem 1fr 3rem; gap: .5rem; font-size: .82rem; }
  .ico { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .b-track i { width: var(--w); transition: none; }
  .art .plane { display: none; }
}
