:root {
    --bg: #0b0c0e;
    --bg-2: #101217;
    --surface: #15171c;
    --ink: #f4f4f2;
    --ink-2: #c7c9cf;
    --muted: #868a93;
    --line: rgba(255, 255, 255, 0.12);
    --line-2: rgba(255, 255, 255, 0.06);
    --accent: #d8a64a;
    --accent-2: #c4902f;
    --accent-soft: rgba(216, 166, 74, 0.14);
    --maxw: 1460px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    font-size: 16.5px;
    line-height: 1.6;
}
::selection { background: var(--accent); color: #0b0c0e; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 4.5vw, 72px); }
.sec { padding: clamp(96px, 14vh, 200px) 0; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* Typography */
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 10px; align-items: center; }
.tag::before { content: "//"; color: var(--accent); opacity: 0.6; }

.h-display { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.9rem, 8.5vw, 8.4rem); line-height: 0.96; letter-spacing: -0.035em; margin: 0; }
.h-2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 4.6rem); line-height: 1.0; letter-spacing: -0.03em; margin: 0; }
.h-3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, 2.8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.4rem); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 16px 26px; border: 1px solid var(--line); transition: all 0.4s var(--ease); cursor: pointer; background: transparent; color: var(--ink); }
.btn .ar { transition: transform 0.4s var(--ease); }
.btn:hover .ar { transform: translateX(6px); }
.btn-solid { background: var(--accent); color: #0b0c0e; border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- NAV ---------------- */
.site-nav { display: block; position: fixed; inset: 0 0 auto 0; z-index: 1000; border-bottom: 1px solid transparent; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease); }
.site-nav.scrolled { background: rgba(11, 12, 14, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; transition: height 0.5s var(--ease); }
.site-nav.scrolled .nav-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .bmark { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); }
.brand b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta { border: 1px solid var(--line); padding: 11px 20px; color: var(--ink); }
.nav-links a.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0e; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; line-height: 1; }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(70px, 10vh, 130px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 78px 78px; -webkit-mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 75%); mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 75%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-meta-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.hero h1 { margin-top: clamp(40px, 6vh, 70px); max-width: 15ch; }
.hero-grid { margin-top: clamp(44px, 6vh, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(34px, 5vw, 90px); align-items: end; }
.hero-grid .intro p { margin: 0 0 30px; color: var(--ink-2); font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.55; max-width: 44ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.spec { border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 13px; }
.spec-row .k { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11.5px; }
.spec-row .v { color: var(--ink); }
.spec-row .v.on { color: var(--accent); }

.hero-figure { margin-top: clamp(56px, 8vh, 110px); position: relative; }
.hero-figure img { width: 100%; height: clamp(320px, 56vh, 660px); object-fit: cover; filter: grayscale(0.55) brightness(0.72) contrast(1.05); }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg)); }
.hero-figure .fcap { position: absolute; left: clamp(20px, 4vw, 60px); bottom: clamp(20px, 4vw, 50px); z-index: 2; }

/* ---------------- SECTION HEAD ---------------- */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: end; margin-bottom: clamp(46px, 7vh, 90px); }
.section-head .tag { grid-column: 1 / 5; }
.section-head h2 { grid-column: 1 / 9; margin-top: 20px; }
.section-head .note { grid-column: 9 / 13; color: var(--muted); align-self: end; }

/* ---------------- CAPABILITY MATRIX ---------------- */
.matrix { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.cell { padding: clamp(34px, 4vw, 54px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background 0.4s var(--ease); }
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell::before { content: ""; position: absolute; top: -1px; left: -1px; width: 36px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.cell:hover { background: var(--surface); }
.cell:hover::before { transform: scaleX(1); }
.cell .ix { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.cell h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; margin: 26px 0 14px; line-height: 1.05; }
.cell p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------------- SPOTLIGHT ---------------- */
.spot { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 76px); align-items: center; }
.spot + .spot { margin-top: clamp(80px, 12vh, 170px); }
.spot .spot-media { grid-column: span 7; position: relative; }
.spot .spot-media img { width: 100%; height: clamp(360px, 54vh, 620px); object-fit: cover; filter: grayscale(0.5) brightness(0.82) contrast(1.04); }
.spot .spot-media .corner { position: absolute; top: 16px; left: 16px; }
.spot .spot-body { grid-column: span 5; }
.spot:nth-child(even) .spot-media { order: 2; }
.spot .big-no { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.9; color: var(--accent); font-weight: 600; }
.spot .spot-body h3 { margin: 16px 0 0; }
.spot .spot-body p { margin: 24px 0 0; color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; max-width: 44ch; }
.spot .spot-meta { margin: 32px 0 0; padding: 0; list-style: none; }
.spot .spot-meta li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; }
.spot .spot-meta li span:last-child { color: var(--accent); }

/* ---------------- MODULES ---------------- */
.mods { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.mod { padding: clamp(26px, 3.4vh, 40px) clamp(20px, 2vw, 34px) clamp(26px, 3.4vh, 40px) 0; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; transition: background 0.4s var(--ease); }
.mod:nth-child(3n) { border-right: 0; }
.mod:hover { background: var(--surface); }
.mod .mn { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.mod h4 { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.mod p { grid-column: 2; margin: 9px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------------- SECTORS ---------------- */
.sector { position: relative; height: clamp(400px, 72vh, 780px); display: flex; align-items: flex-end; overflow: hidden; border-top: 1px solid var(--line); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) brightness(0.5) contrast(1.05); transition: transform 1.5s var(--ease), filter 1.5s var(--ease); }
.sector:hover img { transform: scale(1.05); filter: grayscale(0.35) brightness(0.6); }
.sector .sector-in { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(34px, 5vw, 84px) clamp(22px, 4.5vw, 72px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: end; }
.sector .s-no { grid-column: 1 / 3; font-family: var(--font-mono); font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--accent); }
.sector .s-title { grid-column: 1 / 9; }
.sector .s-title h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; margin: 14px 0 0; }
.sector .s-desc { grid-column: 9 / 13; color: var(--ink-2); font-size: 1rem; line-height: 1.5; align-self: end; }

/* ---------------- METRICS ---------------- */
.metrics { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.metric { padding: clamp(20px, 3vw, 50px); border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; padding-right: 0; }
.metric .mv { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: 0.86; letter-spacing: -0.04em; }
.metric .ml { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* ---------------- CTA ---------------- */
.cta { text-align: center; }
.cta h2 { max-width: 17ch; margin: 22px auto 0; }
.cta p { max-width: 52ch; margin: 28px auto 0; color: var(--ink-2); font-size: 1.12rem; }
.cta-actions { margin-top: 44px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------------- FOOTER ---------------- */
.foot { border-top: 1px solid var(--line); padding: clamp(64px, 9vh, 120px) 0 38px; color: var(--muted); }
.foot-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.foot-top > div > p { margin: 22px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.foot h5 { font-family: var(--font-mono); color: var(--ink); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 20px; }
.foot a.fl { display: block; margin-bottom: 13px; font-size: 14.5px; transition: color 0.3s var(--ease); }
.foot a.fl:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.social { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: all 0.3s var(--ease); }
.social:hover { background: var(--accent); border-color: var(--accent); color: #0b0c0e; transform: translateY(-3px); }
.foot-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; }
.foot-bottom a { color: var(--accent); }

/* ---------------- REVEAL ---------------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
    .matrix { grid-template-columns: repeat(2, 1fr); }
    .cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .cell:nth-child(2n) { border-right: 0; }
    .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .cell:nth-last-child(-n+2) { border-bottom: 0; }
    .mods { grid-template-columns: repeat(2, 1fr); }
    .mod:nth-child(3n) { border-right: 1px solid var(--line-2); }
    .mod:nth-child(2n) { border-right: 0; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
    .metric:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 26px clamp(22px,4.5vw,72px) 34px; border-bottom: 1px solid var(--line); }
    .nav-links.open a { font-size: 15px; }
    .hero-grid { grid-template-columns: 1fr; align-items: start; }
    .section-head { grid-template-columns: 1fr; }
    .section-head .tag, .section-head h2, .section-head .note { grid-column: 1; }
    .matrix { grid-template-columns: 1fr; }
    .cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
    .cell:last-child { border-bottom: 0 !important; }
    .spot { grid-template-columns: 1fr; }
    .spot .spot-media, .spot .spot-body { grid-column: 1; }
    .spot:nth-child(even) .spot-media { order: 0; }
    .mods { grid-template-columns: 1fr; }
    .mod { border-right: 0 !important; }
    .sector { height: 66vh; }
    .sector .sector-in { grid-template-columns: 1fr; gap: 10px; }
    .sector .s-no, .sector .s-title, .sector .s-desc { grid-column: 1; }
    .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }
