/* Estrisk v2: corporate editorial. White ground, ink type, Pakistan green as the one bold band, gold only on the asterisk's arm and numerals. Oversized display type, numbered sections on a label/content grid, edge-to-edge photography. */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F5F1;
  --ink: #0A0A0A;
  --muted: #55554F;
  --line: #E6E4DE;
  --green: #01411C;
  --on-green: #FFFFFF;
  --on-green-muted: #C9D8CE;
  --gold: #D4AF37;
  --gold-text: #8A6A12;
  --arm: #01411C;
  --ph-bg: #FBF3D9;
  --font: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0A0A0A; --bg-alt: #121211; --ink: #F2F1EC; --muted: #A9A8A1; --line: #262624; --arm: #F2F1EC; --gold-text: #D4AF37; --ph-bg: #2A2410; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0A0A0A; --bg-alt: #121211; --ink: #F2F1EC; --muted: #A9A8A1; --line: #262624; --arm: #F2F1EC; --gold-text: #D4AF37; --ph-bg: #2A2410; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.kicker, .label, .meta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.ph { background: var(--ph-bg); color: var(--gold-text); border-bottom: 1.5px dashed var(--gold-text); padding: 0 4px; border-radius: 3px; font-weight: 500; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand:hover .arm-gold { animation: nudge .4s ease-out; }
@keyframes nudge { 50% { transform: rotate(24deg); } }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
}

/* Mark */
.mark line { stroke: var(--arm); stroke-width: 13; stroke-linecap: round; }
.mark .arm-gold { stroke: var(--gold); transform-origin: 0 0; }
.mark.on-green line { stroke: var(--on-green); }
.mark.on-green .arm-gold, .mark .arm-gold { stroke: var(--gold); }

/* Type */
.display { font-size: clamp(52px, 9.4vw, 136px); line-height: 0.94; letter-spacing: -0.05em; font-weight: 500; text-wrap: balance; }
.display-2 { font-size: clamp(44px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; max-width: 14ch; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; max-width: 18ch; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--muted); max-width: 36em; letter-spacing: -0.01em; }
.body-lg { font-size: 19px; line-height: 1.65; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: clamp(72px, 11vw, 160px) 0 clamp(48px, 6vw, 80px); }
.hero .kicker { margin-bottom: clamp(24px, 3vw, 40px); }
.hero-mark { display: inline-block; width: 0.42em; height: 0.42em; vertical-align: top; margin-left: 0.05em; position: relative; top: -0.34em; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.hero-foot .side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; justify-self: end; }
@media (max-width: 860px) { .hero-foot { grid-template-columns: 1fr; } .hero-foot .side { justify-self: start; } }
.intro .hero-mark line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s cubic-bezier(.2,.7,.2,1) forwards; }
.intro .hero-mark line:nth-child(1) { animation-delay: .5s } .intro .hero-mark line:nth-child(2) { animation-delay: .6s } .intro .hero-mark line:nth-child(3) { animation-delay: .7s } .intro .hero-mark line:nth-child(4) { animation-delay: .8s } .intro .hero-mark line:nth-child(5) { animation-delay: .9s } .intro .hero-mark line:nth-child(6) { animation-delay: 1.2s }
.intro .hero .display { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-foot { animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 16px; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg, .arrow-link svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg, .arrow-link:hover svg { transform: translateX(3px); }
.btn.on-green { background: var(--on-green); color: var(--green); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Full-bleed photography */
.bleed { width: 100%; height: clamp(300px, 52vw, 720px); overflow: hidden; background: var(--line); }
.bleed img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px 48px; }
.grid > .label { position: sticky; top: 104px; align-self: start; padding-top: 10px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .grid > .label { position: static; } }
.stack { display: grid; gap: 28px; align-content: start; }
.stack-lg { display: grid; gap: clamp(40px, 5vw, 64px); align-content: start; }

/* Venture rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s; }
.row:hover { padding-left: 12px; }
.row .name { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.04em; font-weight: 500; line-height: 1; }
.row .desc { color: var(--muted); font-size: 18px; }
.row .meta { justify-self: end; text-align: right; display: flex; align-items: center; gap: 10px; }
.row .meta svg { width: 18px; height: 18px; color: var(--ink); transition: transform .2s; }
.row:hover .meta svg { transform: translate(3px, -3px); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } .row .meta { justify-self: start; text-align: left; } }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Green band */
.band-green { background: var(--green); color: var(--on-green); }
.band-green .label, .band-green .muted, .band-green .lede { color: var(--on-green-muted); }
.band-green + .section { border-top: 0; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principles li { border-top: 1px solid rgba(255,255,255,.18); padding: 28px 0 36px; display: grid; gap: 12px; align-content: start; }
.principles .num { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.principles p { color: var(--on-green-muted); max-width: 30em; }
.section:not(.band-green) .principles li { border-top-color: var(--line); }
.section:not(.band-green) .principles p { color: var(--muted); }
.section:not(.band-green) .principles .num { color: var(--gold-text); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split .photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--line); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .photo { aspect-ratio: 4 / 3; } }
.details { border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 3px; }
.details dd { font-size: 17px; }

/* Stages and platform */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; counter-reset: s; }
.stages li { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.stages li:last-child { border-top-color: var(--gold); }
.stages .num { font-family: var(--mono); font-size: 13px; color: var(--gold-text); }
.stages p { color: var(--muted); font-size: 16px; }
.stages .gate { color: var(--ink); font-size: 15px; border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 960px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }
.platform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.platform li { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.platform p { color: var(--muted); font-size: 16px; }
.platform .status { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-text); display: inline-flex; align-items: center; gap: 8px; }
.platform .status.built { color: var(--ink); }
.platform .status.built::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 960px) { .platform { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platform { grid-template-columns: 1fr; } }

/* Asterisk story */
.big-mark { width: min(420px, 70vw); }
.defs { border-top: 1px solid var(--line); }
.defs div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.defs dt { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 5px; }
.story-in .arm-gold { animation: arrive 1.1s cubic-bezier(.2,.7,.2,1); }
@keyframes arrive { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* Contact */
.mail { font-size: clamp(34px, 6.4vw, 92px); letter-spacing: -0.045em; font-weight: 500; line-height: 1; text-decoration: none; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 6px; word-break: break-word; }
.mail:hover { color: var(--gold-text); }

/* Footer */
.site-footer { background: var(--green); color: var(--on-green); padding: clamp(64px, 8vw, 112px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-grid h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--on-green-muted); margin-bottom: 14px; }
.foot-grid ul { display: grid; gap: 2px; }
.foot-grid a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand p { color: var(--on-green-muted); max-width: 28em; }
.foot-word { display: flex; align-items: center; gap: 0.18em; font-size: clamp(72px, 14vw, 200px); font-weight: 500; letter-spacing: -0.06em; line-height: .8; margin-top: clamp(56px, 8vw, 104px); }
.foot-word svg { width: 0.5em; height: 0.5em; align-self: flex-start; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 40px; padding-top: 22px; font-size: 14px; color: var(--on-green-muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Secondary pages */
.page { padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.page .narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 22px; }
.page h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; font-weight: 500; line-height: 1; margin-bottom: 12px; }
.page h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: 500; margin-top: 20px; }
.page p { color: var(--muted); }
.page .eyebrow { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.page a { text-underline-offset: 3px; }
.banner { border: 1px dashed var(--gold-text); background: var(--ph-bg); color: var(--ink) !important; border-radius: 6px; padding: 16px 18px; font-size: 15.5px; }
.banner b { color: var(--gold-text); }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.sw { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 14px; }
.sw span { display: block; height: 72px; }
.sw div { padding: 10px 12px; } .sw code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }