:root {
  --midnight: #0e1b2d;
  --midnight-soft: #14243a;
  --gold: #e6b95c;
  --champagne: #f0d28b;
  --cloud: #f7f8fa;
  --slate: #667085;
  --white: #fff;
  --ink: #122033;
  --border: rgba(14, 27, 45, 0.11);
  --display: "Poppins", "Avenir Next", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cloud); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 124px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--midnight); background: var(--gold); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 4px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 88px; display: flex; align-items: center; color: var(--white); transition: background .25s, box-shadow .25s, height .25s; }
.site-header.scrolled, .site-header.menu-open { height: 72px; background: rgba(14,27,45,.96); box-shadow: 0 10px 40px rgba(0,0,0,.12); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--display); font-size: 17px; letter-spacing: .28em; }
.brand-mark { width: 31px; height: 31px; fill: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 35px; font-size: 14px; }
.primary-nav > a:not(.nav-contact) { color: rgba(255,255,255,.72); transition: color .2s; }
.primary-nav > a:hover { color: var(--white); }
.nav-contact { padding: 10px 18px; border: 1px solid rgba(230,185,92,.58); color: var(--champagne); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 12px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 6px 0; background: var(--white); }

.hero { position: relative; min-height: 820px; height: 100svh; overflow: hidden; color: var(--white); background: var(--midnight); }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent); }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(120px); opacity: .11; }
.hero-glow-one { top: 25%; left: -260px; background: var(--gold); }
.hero-glow-two { right: -300px; bottom: -200px; background: var(--champagne); }
.hero-layout { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; padding-top: 72px; }
.eyebrow, .section-kicker { margin: 0 0 28px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 30px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.hero h1, h2, .manifesto blockquote { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
.hero h1 { max-width: 720px; margin: 0 0 30px; font-size: clamp(58px, 6.2vw, 92px); }
.hero h1 span, h2 span { color: var(--gold); }
.hero-lead { max-width: 590px; margin: 0; color: rgba(255,255,255,.69); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 0 22px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--midnight); background: var(--gold); }
.button-gold:hover { background: var(--champagne); }
.button-midnight { color: var(--white); background: var(--midnight); }
.button-midnight:hover { background: #1a304c; }
.text-link { display: inline-flex; gap: 12px; border-bottom: 1px solid currentColor; font-size: 14px; }
.text-link-light { color: rgba(255,255,255,.78); }
.flow-visual { position: relative; width: min(43vw, 590px); justify-self: end; }
.flow-visual svg { display: block; width: 100%; overflow: visible; }
.orbit { fill: none; stroke: rgba(255,255,255,.11); stroke-width: 1; stroke-dasharray: 2 9; }
.orbit-two { animation: orbit 50s linear infinite reverse; transform-origin: center; }
.orbit-three { stroke: rgba(230,185,92,.15); }
.flow-path { fill: none; stroke-width: 2; }
.flow-path-muted { stroke: rgba(255,255,255,.15); }
.flow-path-gold { stroke: url(#goldLine); stroke-dasharray: 610; stroke-dashoffset: 610; animation: draw 2.4s .4s ease forwards; }
.node { fill: var(--gold); stroke: var(--midnight); stroke-width: 5; }
.node-d { fill: var(--champagne); }
.ascend-u { fill: rgba(230,185,92,.055); stroke: rgba(230,185,92,.20); stroke-width: 1.2; }
.flow-label { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.56); background: rgba(14,27,45,.78); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.flow-label span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.flow-label-start { left: 0; bottom: 25%; }
.flow-label-end { top: 23%; right: 0; }
.hero-foot { position: absolute; z-index: 3; left: 50%; bottom: 32px; display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 34px; height: 1px; background: var(--gold); }

.about { background: var(--cloud); }
.split-intro { display: grid; grid-template-columns: .42fr 1.58fr; gap: 40px; }
.section-kicker { color: #a47722; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); color: var(--midnight); }
h2 span { color: #a47722; }
.large-copy { max-width: 740px; margin: 38px 0 0; color: var(--slate); font-size: 20px; line-height: 1.75; }
.principles-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.principles-strip article { min-height: 240px; padding: 32px 28px; border-right: 1px solid var(--border); }
.principles-strip article:first-child { border-left: 1px solid var(--border); }
.principles-strip article > span { color: #a47722; font-size: 12px; font-weight: 600; }
.principles-strip h3 { margin: 52px 0 12px; font-family: var(--display); font-size: 19px; }
.principles-strip p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.6; }

.products { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 68px; }
.section-heading > p { max-width: 450px; margin: 0 0 8px; color: var(--slate); font-size: 17px; }
.product-card { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 610px; overflow: hidden; background: #f0f1f2; border: 1px solid rgba(14,27,45,.08); border-radius: 24px; }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 58px 46px; background: var(--cloud); }
.product-meta { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.product-monogram { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; color: var(--white); background: var(--midnight); font-family: var(--display); }
.product-copy h3 { margin: 70px 0 18px; font-family: var(--display); font-size: 72px; letter-spacing: -.04em; line-height: 1; }
.product-copy > p { margin: 0 0 35px; color: var(--slate); font-size: 17px; line-height: 1.75; }
.product-domain { margin-top: auto; color: var(--slate); font-size: 12px; letter-spacing: .08em; }
.product-preview { position: relative; display: grid; place-items: center; overflow: hidden; padding: 70px 0 70px 65px; background: var(--midnight); }
.product-preview::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 54px 54px; }
.preview-window { position: relative; z-index: 2; width: 108%; height: 440px; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 16px 0 0 16px; background: var(--white); box-shadow: -30px 35px 90px rgba(0,0,0,.28); transform: rotate(-1.5deg); }
.preview-topbar { height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid #e6e8eb; }
.preview-logo { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; color: var(--white); background: var(--midnight); font-family: var(--display); font-size: 12px; }
.preview-title { font-size: 11px; font-weight: 600; }
.preview-dots { display: flex; gap: 5px; margin-left: auto; }
.preview-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d6d9de; }
.preview-body { display: grid; grid-template-columns: 62px 1fr; height: calc(100% - 58px); }
.preview-body aside { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 28px; border-right: 1px solid #e6e8eb; }
.preview-body aside span { width: 16px; height: 16px; border-radius: 5px; background: #e4e7eb; }
.preview-body aside .active { background: var(--gold); }
.preview-content { padding: 30px; background: #f8f9fa; }
.preview-header { display: flex; justify-content: space-between; align-items: center; }
.preview-header span { width: 140px; height: 16px; border-radius: 3px; background: #1c2c42; }
.preview-header i { width: 70px; height: 25px; border-radius: 5px; background: var(--gold); }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 27px; }
.preview-stats div { height: 78px; padding: 14px; border: 1px solid #e7e9ec; border-radius: 8px; background: var(--white); }
.preview-stats b { display: block; color: #8290a2; font-size: 8px; text-transform: uppercase; }
.preview-stats i { display: block; width: 48%; height: 13px; margin-top: 14px; border-radius: 3px; background: #dfe3e8; }
.preview-panels { display: grid; grid-template-columns: 1.5fr .8fr; gap: 12px; margin-top: 12px; }
.preview-chart, .preview-list { height: 195px; display: flex; align-items: end; gap: 12px; padding: 25px; border: 1px solid #e7e9ec; border-radius: 8px; background: var(--white); }
.preview-chart span { flex: 1; border-radius: 4px 4px 0 0; background: #dae0e7; }
.preview-chart span:nth-child(1) { height: 42%; } .preview-chart span:nth-child(2) { height: 61%; } .preview-chart span:nth-child(3) { height: 49%; background: var(--gold); } .preview-chart span:nth-child(4) { height: 76%; } .preview-chart span:nth-child(5) { height: 89%; background: #22354f; }
.preview-list { align-items: stretch; flex-direction: column; gap: 18px; }
.preview-list i { width: 100%; height: 12px; border-radius: 4px; background: #e4e7eb; }
.preview-list i:nth-child(2), .preview-list i:nth-child(4) { width: 70%; }
.coming-soon { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; color: var(--slate); font-size: 14px; }
.coming-soon p { margin: 0; }
.coming-soon strong { color: var(--midnight); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(230,185,92,.5); animation: pulse 2s infinite; }

.manifesto { position: relative; overflow: hidden; color: var(--white); background: var(--midnight); }
.manifesto-lines { position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(118deg, transparent 0 110px, rgba(230,185,92,.25) 111px, transparent 112px 220px); }
.manifesto-content { position: relative; z-index: 2; text-align: center; }
.section-kicker-gold { color: var(--gold); }
.manifesto blockquote { margin: 38px 0 30px; font-size: clamp(50px, 7vw, 94px); }
.manifesto blockquote span { display: block; color: var(--gold); }
.manifesto-content > p:last-child { max-width: 650px; margin: auto; color: rgba(255,255,255,.62); font-size: 17px; }

.contact { background: var(--cloud); }
.contact-grid { display: grid; grid-template-columns: .42fr 1.58fr; gap: 40px; }
.email-link { display: inline-flex; align-items: center; gap: 25px; margin-top: 48px; padding-bottom: 8px; border-bottom: 1px solid #a47722; color: #8d651d; font-size: clamp(18px, 2vw, 26px); }
.email-link span { font-size: 18px; }

.site-footer { padding: 65px 0 40px; color: rgba(255,255,255,.55); background: #091523; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.brand-footer { color: var(--white); }
.footer-grid > p { margin: 0; font-size: 13px; }
.footer-links { display: flex; gap: 25px; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid rgba(255,255,255,.1); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230,185,92,0); } 100% { box-shadow: 0 0 0 0 rgba(230,185,92,0); } }

@media (max-width: 980px) {
  .hero { min-height: 860px; height: auto; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 110px; }
  .flow-visual { position: absolute; right: -100px; bottom: -60px; width: 510px; opacity: .46; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-lead { max-width: 560px; }
  .split-intro, .contact-grid { grid-template-columns: 1fr; }
  .principles-strip { grid-template-columns: 1fr 1fr; }
  .principles-strip article:nth-child(3) { border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
  .principles-strip article:nth-child(4) { border-top: 1px solid var(--border); }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .product-card { grid-template-columns: 1fr; }
  .product-preview { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p:not(.copyright) { display: none; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 32px, 1180px); }
  .section { padding: 88px 0; }
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px; color: var(--white); background: rgba(14,27,45,.98); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-contact { margin-top: 10px; text-align: center; }
  .hero { min-height: 780px; }
  .hero-layout { display: flex; align-items: flex-start; padding-top: 145px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .flow-visual { right: -160px; bottom: -10px; width: 430px; opacity: .32; }
  .hero-foot { display: none; }
  h2 { font-size: 42px; }
  .large-copy { font-size: 17px; }
  .principles-strip { grid-template-columns: 1fr; margin-top: 65px; }
  .principles-strip article, .principles-strip article:first-child, .principles-strip article:nth-child(3) { min-height: 190px; border: 0; border-top: 1px solid var(--border); }
  .principles-strip article:last-child { border-bottom: 1px solid var(--border); }
  .principles-strip h3 { margin-top: 32px; }
  .product-card { border-radius: 16px; }
  .product-copy { padding: 40px 28px; }
  .product-copy h3 { margin-top: 50px; font-size: 60px; }
  .product-domain { margin-top: 45px; }
  .product-preview { min-height: 350px; padding: 45px 0 45px 30px; }
  .preview-window { height: 310px; }
  .preview-content { padding: 20px; }
  .preview-panels { grid-template-columns: 1fr; }
  .preview-list { display: none; }
  .coming-soon { align-items: flex-start; }
  .manifesto blockquote { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { margin-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
