/* DeepView F&B site: foundation. Single dark theme by design (the reference is a dark stage).
   Layout: centered 1440 container, floating pill nav, pinned scroll scenes, serif statements, mono labels. */
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/Newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/Newsreader-var-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/GeistMono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* stage */
  --bg: #0c0c0c;
  --bg-2: #101010;
  --card: #161616;
  --card-2: #1c1c1c;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --fg: #ffffff;
  --fg-2: #d9d9d9;
  --mist: #9f9f9f;
  --mist-2: #676767;
  /* DeepView brand and data */
  --blue: #3D6FF5;
  --blue-2: #6E93F7;
  --blue-soft: rgba(61, 111, 245, 0.16);
  --cream: #F6E7CF;
  --amber: #F2A24A;
  --ember: #C8541C;
  --ok: #34D399;
  --warn: #FBBF24;
  --bad: #F87171;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --side: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wrap: 1440px;
  --bar-h: 56px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hero: clamp(44px, 5.4vw, 82px);
  --t-h2: clamp(34px, 3.4vw, 52px);
  --t-h3: clamp(20px, 1.5vw, 22px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 80; background: var(--bg); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 1px solid var(--blue-2); outline-offset: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--side); padding-right: var(--side); }
.sec { position: relative; padding-block: clamp(96px, 11vw, 168px); }
.center { text-align: center; }
.serif { font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; }
.h2 { font: 300 var(--t-h2)/1.08 var(--f-serif); letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; font-variation-settings: "opsz" 72; }
.h3 { font: 400 var(--t-h3)/1.25 var(--f-body); letter-spacing: -0.01em; color: var(--fg); }
.sub { color: var(--mist); font-size: 15.5px; line-height: 1.55; }
.lead { color: var(--fg-2); font-size: 17px; line-height: 1.5; }
.eyebrow { display: inline-block; color: var(--fg-2); font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.label { color: var(--mist); font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }

/* buttons: dark block with mono caps and arrow (reference) */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 4px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, 0.06); color: #fff; font: 500 12px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; overflow: hidden; transition: background .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease-out); }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), transparent 70%); opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.btn:hover { background: #242424; border-color: rgba(255, 255, 255, 0.14); }
.btn:hover::after { opacity: 1; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, 0.28); }
.btn--line:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.5); }
.btn--glass { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 11px; }

/* reveal: visible at rest, rises into place */
.js [data-reveal] { transform: translateY(18px); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { transform: none; }
/* serif lines that fade up word by word (core.js splits them) */
.js .split .w { display: inline-block; opacity: .18; transform: translateY(0.18em); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0) * 1ms); }
.js .split.is-in .w { opacity: 1; transform: none; }

/* ---------- announcement bar + floating nav (both fixed, like the reference) ---------- */
.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; pointer-events: none; }
.bar { pointer-events: auto; height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 var(--side); background: radial-gradient(60% 140% at 50% 0%, rgba(110, 147, 247, 0.28), rgba(110, 147, 247, 0) 70%), linear-gradient(#17181b, #101113); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: transform .45s var(--ease-out); }
.bar__tag { font: 700 14px/1 var(--f-body); letter-spacing: 0.01em; text-transform: uppercase; }
.bar__text { color: var(--fg-2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); color: #fff; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background .2s var(--ease); }
.bar__btn:hover { background: rgba(255, 255, 255, 0.2); }
.nav { pointer-events: auto; position: relative; width: min(880px, calc(100% - 2 * var(--side))); height: 49px; margin: 19px auto 0; display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; border-radius: 6px; background: rgba(120, 120, 120, 0.42); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.06); transition: transform .45s var(--ease-out), background .3s var(--ease); }
.nav a { justify-self: center; color: #fff; font-size: 13.5px; text-decoration: none; padding: 8px 10px; border-radius: 4px; opacity: .92; transition: opacity .2s var(--ease), background .2s var(--ease); }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.nav__logo { display: flex; align-items: center; gap: 10px; padding: 6px 12px !important; }
.nav__logo img { height: 15px; width: auto; }
.nav__menu { display: none; }
.top.is-scrolled .bar { transform: translateY(-100%); }
.top.is-scrolled .nav { transform: translateY(calc(-1 * var(--bar-h) + 0px)); }
@media (max-width: 860px) {
  .bar { gap: 12px; }
  .bar__text { display: none; }
  .nav { grid-template-columns: auto 1fr auto; padding: 0 6px 0 12px; }
  .nav .nav__link { display: none; }
  .nav__logo { justify-self: start !important; padding-left: 4px !important; }
  .nav__menu { display: grid; place-items: center; justify-self: end; width: 38px; height: 38px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
  .nav__menu span, .nav__menu span::before { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .3s var(--ease-out); }
  .nav__menu span { position: relative; }
  .nav__menu span::before { content: ""; position: absolute; top: 5px; }
  .nav.is-open .nav__menu span { transform: translateY(2.5px) rotate(45deg); }
  .nav.is-open .nav__menu span::before { transform: translateY(-5px) rotate(-90deg); }
  .sheet { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; padding: 8px; border-radius: 6px; background: rgba(30, 30, 30, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s var(--ease), transform .3s var(--ease-out); }
  .sheet a { justify-self: stretch; padding: 14px 12px; font-size: 16px; }
  .nav.is-open .sheet { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 861px) { .sheet { display: none; } }

/* ---------- hero: pinned scene, the glow rises behind the headline (hero.js) ---------- */
.hero { position: relative; height: 230vh; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; background: radial-gradient(60% 75% at 50% 118%, rgba(246, 231, 207, 0.9), rgba(242, 162, 74, 0.55) 30%, rgba(61, 111, 245, 0.35) 55%, transparent 75%); opacity: 0; }
.no-gl .hero__fallback { opacity: 1; }
.hero__copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; padding: 0 var(--side); z-index: 2; }
/* "A product of Aether AI" pill: dark glass, Geist, a slow cream-to-blue light travelling round the border */
@property --by-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero__by { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px 0 11px; margin-bottom: clamp(20px, 2.4vw, 32px); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 8px 24px -10px rgba(61, 111, 245, 0.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 400 10px/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none; isolation: isolate; transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.hero__by::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--by-a), rgba(246, 231, 207, 0) 0deg, rgba(246, 231, 207, 0) 210deg, rgba(246, 231, 207, 0.85) 268deg, rgba(110, 147, 247, 0.95) 318deg, rgba(110, 147, 247, 0) 352deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: by-spin 7s linear infinite; pointer-events: none; }
.hero__by::after { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero__by:hover { border-color: rgba(255, 255, 255, 0.24); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 28px -10px rgba(61, 111, 245, 0.6); }
.hero__by:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.hero__by-l { color: rgba(217, 217, 217, 0.78); }
.hero__by img { width: 11px; height: 11px; display: block; flex: none; margin-left: 1px; transition: transform 0.9s var(--ease-out); }
.hero__by:hover img { transform: rotate(90deg); }
.hero__by-n { color: #fff; font-weight: 500; }
@keyframes by-spin { to { --by-a: 360deg; } }
@media (max-width: 600px) { .hero__by { height: 22px; gap: 5px; padding: 0 10px 0 9px; font-size: 9.5px; } .hero__by img { width: 10px; height: 10px; } }
@media (prefers-reduced-motion: reduce) { .hero__by::before { animation: none; --by-a: 40deg; } .hero__by img { transition: none; } }
.hero__title { font: 300 var(--t-hero)/1.05 var(--f-serif); letter-spacing: -0.02em; font-variation-settings: "opsz" 72; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
.hero__title .ln { display: block; }
.hero__ctas { margin-top: clamp(36px, 5vw, 72px); display: flex; justify-content: center; }
.js .hero [data-in] { animation: hin 1.4s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes hin { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.hero__cam { position: absolute; left: var(--side); bottom: 26px; z-index: 2; display: flex; gap: 14px; align-items: center; color: rgba(255, 255, 255, 0.55); font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hero__cam i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.hero__clock { position: absolute; right: var(--side); bottom: 26px; z-index: 2; color: rgba(255, 255, 255, 0.55); font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; }
.hero__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)); overflow: hidden; }
.hero__hint::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { to { top: 110%; } }

@media (max-width: 600px) { .hero__hint { display: none; } .hero__cam span { letter-spacing: 0.06em; } }

/* ---------- close card (reference "Stay ahead" card with the orange glow) ---------- */
.close { padding-block: clamp(80px, 9vw, 140px) clamp(100px, 10vw, 160px); }
.close__card { position: relative; overflow: hidden; border-radius: 10px; min-height: clamp(420px, 42vw, 560px); display: grid; place-items: center; text-align: center; padding: 72px var(--side); background: #0f0805; isolation: isolate; }
.close__card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.close__card .h2 { font-family: var(--f-body); font-weight: 400; letter-spacing: -0.03em; font-size: clamp(32px, 3.3vw, 48px); }
.close__card .sub { margin: 18px auto 0; max-width: 520px; color: rgba(255, 255, 255, 0.72); }
.close__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- footer ---------- */
.foot { padding-block: 72px 36px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.foot__brand img { height: 22px; width: auto; }
.foot__brand p { margin-top: 18px; max-width: 330px; color: var(--mist); font-size: 13.5px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); }
.foot__col { padding: 0 34px 0 18px; border-left: 1px solid var(--line-2); min-width: 150px; }
.foot__col h4 { margin-bottom: 18px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot__col a { color: var(--mist); font-size: 13.5px; text-decoration: none; transition: color .2s var(--ease); }
.foot__col a:hover { color: #fff; }
.foot__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 80px; color: var(--mist); font-size: 13px; }
.foot__fine { color: var(--mist-2); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .foot__col { padding-right: 12px; min-width: 0; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { transform: none; }
  .js .split .w { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero__pin { position: relative; }
}
