:root {
    --ink: #111111;
    --ink-soft: #2b2b2b;
    --gray-900: #1a1a1a;
    --gray-600: #6b6b70;
    --gray-400: #a1a1aa;
    --gray-200: #e6e6e8;
    --gray-100: #f3f3f4;
    --paper: #ffffff;
    --accent: #ff4a1c;
    --accent-dark: #d83c12;
    --maxw: 1320px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

a { text-decoration: none; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-600);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.02; font-weight: 800; margin: 0; }

.display {
    font-size: clamp(2.6rem, 6.6vw, 6rem);
    font-weight: 900;
    line-height: 0.98;
}

.section-title {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 800;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
    color: var(--gray-600);
    font-weight: 400;
}

section { position: relative; }
.pad { padding: clamp(80px, 11vh, 160px) 0; }

/* ---------- NAV ---------- */
.nav {
    display: block;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), -webkit-backdrop-filter 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
    background: rgba(255,255,255,0.82);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--gray-200);
    box-shadow: 0 10px 30px rgba(17,17,17,0.05);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    transition: height 0.4s var(--ease);
}
.nav.scrolled .nav-inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; color: #fff; transition: color 0.4s var(--ease); }
.nav.scrolled .brand { color: var(--ink); }
.brand-mark {
    width: 34px; height: 34px; border-radius: 9px;
    display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 16px;
    box-shadow: 0 6px 18px rgba(255,74,28,0.35);
}
.brand small { display:block; font-size: 9px; letter-spacing: 0.28em; font-weight:600; opacity:.7; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82);
    transition: color 0.25s var(--ease); position: relative;
}
.nav.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--accent); color: #fff !important; padding: 11px 20px;
    border-radius: 100px; font-size: 13px; font-weight: 600;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.nav.scrolled .nav-toggle { color: var(--ink); }

/* ---------- BUTTONS ---------- */
.btn-ink, .btn-accent, .btn-ghost {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 30px; border-radius: 100px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-3px); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-3px); background: #000; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-3px); color: #fff; }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-accent:hover .btn-arrow, .btn-ink:hover .btn-arrow, .btn-ghost:hover .btn-arrow { transform: translateX(5px); }

/* ---------- HERO ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.15) 35%, rgba(10,10,12,0.85) 100%),
        linear-gradient(90deg, rgba(10,10,12,0.7) 0%, rgba(10,10,12,0.1) 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 8vh, 110px); padding-top: 140px; }
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero .eyebrow::before { background: var(--accent); }
.hero-title { margin-top: 26px; max-width: 16ch; }
.hero-accent { color: var(--accent); }
.hero-sub {
    margin-top: 28px; max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.32rem);
    line-height: 1.65; color: rgba(255,255,255,0.82); font-weight: 300;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
    margin-top: 64px; display: flex; flex-wrap: wrap; gap: 0;
    border-top: 1px solid rgba(255,255,255,0.18); padding-top: 30px;
}
.hero-meta .item { padding-right: 56px; margin-right: 56px; border-right: 1px solid rgba(255,255,255,0.18); }
.hero-meta .item:last-child { border-right: 0; }
.hero-meta .num { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-meta .lbl { font-size: 12.5px; color: rgba(255,255,255,0.62); letter-spacing: 0.04em; margin-top: 2px; }
.scroll-cue {
    position: absolute; right: 32px; bottom: 40px; z-index: 3;
    writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 14px;
}
.scroll-cue span { height: 60px; width: 1px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue span::after { content:""; position:absolute; top:-60px; left:0; width:1px; height:60px; background: var(--accent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%{top:-60px;} 60%,100%{top:60px;} }

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.story-figure { position: relative; }
.story-figure img { width: 100%; height: auto; border-radius: 4px; display: block; filter: grayscale(0.15); }
.story-tag {
    position: absolute; left: -28px; bottom: 36px; background: var(--ink); color: #fff;
    padding: 22px 26px; border-radius: 4px; max-width: 230px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.story-tag .y { color: var(--accent); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.story-tag .t { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; line-height: 1.5; }
.story-lines { margin-top: 36px; display: grid; gap: 22px; }
.story-line { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.story-line .idx { font-size: 13px; font-weight: 700; color: var(--accent); padding-top: 4px; }
.story-line h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.story-line p { margin: 0; color: var(--gray-600); font-size: 15px; line-height: 1.6; }

/* ---------- ECOSYSTEM ---------- */
.eco { background: var(--ink); color: #fff; }
.eco .eyebrow { color: rgba(255,255,255,0.6); }
.eco-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; }
.eco-head p { max-width: 44ch; color: rgba(255,255,255,0.6); }
.eco-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.eco-card {
    position: relative; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 34px;
    overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}
.eco-card:hover { border-color: rgba(255,74,28,0.6); transform: translateY(-6px); }
.eco-card .no { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; }
.eco-card h3 { font-size: 1.5rem; font-weight: 700; margin-top: 18px; }
.eco-card p { color: rgba(255,255,255,0.6); font-size: 14.5px; line-height: 1.6; margin: 14px 0 0; }
.eco-card .ico { font-size: 26px; color: #fff; opacity: 0.9; }
.eco-card.span7 { grid-column: span 7; }
.eco-card.span5 { grid-column: span 5; }
.eco-card.span4 { grid-column: span 4; }
.eco-card.feature { min-height: 320px; background-size: cover; background-position: center; }
.eco-card.feature::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(17,17,17,0.2), rgba(17,17,17,0.92)); z-index:0; }
.eco-card.feature > * { position: relative; z-index: 1; }

/* modules grid */
.mod-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; }
.mod-card { position: relative; background: var(--ink); padding: 34px 30px 36px; min-height: 188px; transition: background 0.35s var(--ease); overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 12px; align-content: start; }
.mod-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.mod-card:hover { background: #161616; }
.mod-card:hover::before { transform: scaleX(1); }
.mod-no { grid-column: 1; grid-row: 1; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; color: var(--accent); line-height: 1.25; }
.mod-card h3 { grid-column: 2; grid-row: 1; font-size: 1.18rem; font-weight: 700; margin: 0; color: #fff; letter-spacing: -0.01em; line-height: 1.25; }
.mod-card p { grid-column: 2; grid-row: 2; margin: 0; color: rgba(255,255,255,0.58); font-size: 14px; line-height: 1.6; }

/* ---------- PLATFORM ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); margin-top: 64px; border-radius: 6px; overflow: hidden; }
.plat-cell { background: #fff; padding: 44px 36px; transition: background 0.35s var(--ease); }
.plat-cell:hover { background: var(--gray-100); }
.plat-cell .pico { width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; }
.plat-cell h4 { font-size: 1.2rem; font-weight: 700; margin: 22px 0 10px; letter-spacing: -0.01em; }
.plat-cell p { color: var(--gray-600); font-size: 14.5px; line-height: 1.65; margin: 0; }
.plat-cell:hover .pico { background: var(--accent); }

/* ---------- INDUSTRIES (split) ---------- */
.ind-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ind-row:nth-child(even) .ind-media { order: 2; }
.ind-media { position: relative; min-height: 480px; overflow: hidden; }
.ind-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: grayscale(0.25); }
.ind-row:hover .ind-media img { transform: scale(1.06); filter: grayscale(0); }
.ind-media .badge-n { position: absolute; top: 28px; left: 28px; font-size: 12px; letter-spacing: 0.2em; color:#fff; background: rgba(0,0,0,0.4); padding: 8px 14px; border-radius: 100px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ind-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px); background: #fff; }
.ind-row:nth-child(odd) .ind-text { background: var(--gray-100); }
.ind-text h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; }
.ind-text p { color: var(--gray-600); font-size: 16px; line-height: 1.75; margin: 22px 0 0; max-width: 46ch; }
.ind-points { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.ind-points li { font-size: 13px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--gray-200); border-radius: 100px; color: var(--ink-soft); }

/* ---------- METRICS ---------- */
.metrics { background: var(--accent); color: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.metric { padding: 18px 36px; border-right: 1px solid rgba(255,255,255,0.25); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric .n { font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.metric .l { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* ---------- REFERENCES ---------- */
.logo-wall { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.logo-cell {
    border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
    min-height: 130px; display: grid; place-items: center; padding: 24px;
    font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--gray-400);
    transition: color 0.3s var(--ease), background 0.3s var(--ease); text-align: center;
}
.logo-cell span { font-weight: 400; font-size: 0.7rem; display: block; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.logo-cell:hover { color: var(--ink); background: var(--gray-100); }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 900; max-width: 18ch; margin: 0 auto; }
.cta p { color: rgba(255,255,255,0.6); max-width: 50ch; margin: 26px auto 0; font-size: 1.1rem; line-height: 1.7; }
.cta-actions { margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- FOOTER ---------- */
footer { background: #0a0a0b; color: rgba(255,255,255,0.6); padding: 80px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin: 22px 0 0; max-width: 36ch; font-size: 14.5px; line-height: 1.7; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,0.16); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.social:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); color: #fff; }
.foot-col h5 { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 0 0 20px; }
.foot-col a { display: block; font-size: 14.5px; margin-bottom: 13px; transition: color 0.25s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }

/* ---------- REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s 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: 1100px) {
    .eco-card.span7, .eco-card.span5, .eco-card.span4 { grid-column: span 6; }
    .mod-grid { grid-template-columns: repeat(2, 1fr); }
    .plat-grid { grid-template-columns: repeat(2, 1fr); }
    .metric .n { font-size: clamp(2.4rem, 7vw, 3.4rem); }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .wrap { padding: 0 22px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
        background: #fff; padding: 26px 22px 32px; gap: 22px; border-bottom: 1px solid var(--gray-200);
    }
    .nav-links.open a { color: var(--ink); font-size: 16px; }
    .story-grid { grid-template-columns: 1fr; }
    .story-tag { left: 20px; }
    .eco-grid { grid-template-columns: 1fr; }
    .eco-card.span7, .eco-card.span5, .eco-card.span4 { grid-column: span 1; }
    .mod-grid { grid-template-columns: 1fr; }
    .ind-row { grid-template-columns: 1fr; }
    .ind-row:nth-child(even) .ind-media { order: 0; }
    .ind-media { min-height: 320px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
    .metric { border-right: 0; padding: 0 18px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-meta .item { padding-right: 28px; margin-right: 28px; }
}
@media (max-width: 560px) {
    .plat-grid { grid-template-columns: 1fr; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero-meta { gap: 24px; }
    .hero-meta .item { border-right: 0; padding-right: 0; margin-right: 0; }
}
