/* appsnative studio landing.
   Cinematic dark, cool aurora. Same design family as Calido.
   The only warm object on the page is the Calido showcase itself, and
   that contrast is the identity. When the second app ships, it gets
   its own palette on its own showcase block.

   Display: Fraunces. Variable serif, italic-forward.
   Body:    Geist.
   Labels:  Geist Mono. Tiny, uppercase, used sparingly.
*/

/* -------------------------------------------------------------------------- */
/* Fonts. Shared with /calido/ via relative paths.                            */
/* -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('calido/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('calido/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('calido/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('calido/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('calido/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('calido/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('calido/fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('calido/fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------------------------------------------------- */
/* Tokens                                                                     */
/* -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Midnight stage */
  --ink:     #06080D;
  --ink-2:   #0B0E16;
  --ink-3:   #141924;
  --ink-4:   #1C2230;

  /* Paper (cool white) */
  --paper:   #E8EEF5;
  --paper-2: #F3F6FA;
  --muted:   #8393A8;
  --muted-2: #5A657A;

  /* Hairlines */
  --hairline:        rgba(232, 238, 245, 0.08);
  --hairline-strong: rgba(232, 238, 245, 0.14);

  /* Cool aurora: the studio's own chroma. Never used on the Calido showcase. */
  --signal: #5AA3FF;   /* electric blue, primary */
  --aqua:   #4DE5D0;   /* aqua teal, secondary */
  --violet: #8B7BFF;   /* violet, tertiary */
  --ice:    #B5CBE3;   /* cool silver highlight */
  --lumen:  #E0F0FF;   /* cool white highlight */

  /* Calido warm palette: used only inside the Calido showcase card. */
  --cal-amber:   #FFB26B;
  --cal-peach:   #FF8F6B;
  --cal-crimson: #E8424A;
  --cal-gold:    #F6D59B;

  /* Glass */
  --glass-bg:        rgba(232, 238, 245, 0.035);
  --glass-bg-strong: rgba(232, 238, 245, 0.06);
  --glass-border:    rgba(232, 238, 245, 0.10);
  --glass-inset:     inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino", "Georgia", serif;
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono:  "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Shape */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Layout */
  --gutter:  clamp(20px, 4vw, 48px);
  --content: min(1180px, calc(100vw - (2 * var(--gutter))));
  --prose:   min(720px, calc(100vw - (2 * var(--gutter))));

  /* Motion */
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.08, 0.24, 1);
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 820px at 88% -10%, rgba(90, 163, 255, 0.22), transparent 55%),
    radial-gradient(900px  720px at -8% 18%,  rgba(77, 229, 208, 0.14), transparent 55%),
    radial-gradient(1400px 900px at 50% 118%, rgba(139, 123, 255, 0.16), transparent 50%),
    var(--ink);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}

/* Very subtle film grain so the gradient doesn't feel plasticky */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.90  0 0 0 0 0.94  0 0 0 0 1.00  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

::selection { background: var(--signal); color: var(--ink); }

a {
  color: var(--paper);
  text-decoration: none;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}
a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.inline-link {
  color: var(--signal);
  border-bottom: 1px solid rgba(90, 163, 255, 0.4);
  padding-bottom: 1px;
}
.inline-link:hover { color: var(--aqua); border-bottom-color: var(--aqua); }

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip-link:focus-visible { top: 12px; outline: none; }

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* -------------------------------------------------------------------------- */
/* Header (glass pill)                                                        */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px var(--gutter);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  width: 100%;
  max-width: var(--content);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  background: rgba(11, 14, 22, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 60, "SOFT" 40;
}

.brand__name {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 60;
  letter-spacing: -0.015em;
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--lumen), var(--signal) 40%, var(--violet));
  box-shadow: 0 0 14px rgba(90, 163, 255, 0.55);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 238, 245, 0.72);
  white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.nav a:hover {
  color: var(--paper);
  background: rgba(232, 238, 245, 0.06);
}

.nav__cta {
  color: var(--ink) !important;
  background: var(--paper);
}
.nav__cta:hover {
  background: var(--lumen) !important;
  color: var(--ink) !important;
}

/* -------------------------------------------------------------------------- */
/* Main                                                                       */
/* -------------------------------------------------------------------------- */
main {
  flex: 1;
}

.section {
  padding: clamp(60px, 10vw, 140px) 0;
}

.section__head {
  max-width: 58ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section__head--narrow { max-width: 42ch; }

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}
.kicker--signal { color: var(--aqua); }

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.034em;
  margin: 0 0 18px;
  color: var(--paper);
  font-variation-settings: "opsz" 120, "SOFT" 70;
}
.section h2 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--ice) 0%, var(--signal) 40%, var(--violet) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.section__head p {
  margin: 0;
  color: rgba(232, 238, 245, 0.70);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}
.section__head p em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  text-align: left;
}

.hero__halo {
  position: absolute;
  left: 52%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(980px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg,
      rgba(90, 163, 255, 0.0) 0deg,
      rgba(90, 163, 255, 0.40) 110deg,
      rgba(139, 123, 255, 0.30) 220deg,
      rgba(77, 229, 208, 0.28) 320deg,
      rgba(90, 163, 255, 0.0) 360deg);
  filter: blur(90px);
  opacity: 0.55;
  z-index: -1;
  animation: swirl 36s linear infinite;
}

@keyframes swirl {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  animation: riseIn 900ms var(--ease) 100ms forwards;
}
.eyebrow__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(90, 163, 255, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 163, 255, 0.55); }
  50%      { box-shadow: 0 0 0 9px rgba(90, 163, 255, 0); }
}

.hero h1 {
  margin: 26px 0 0;
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 11.5vw, 9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--paper);
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 200ms forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--lumen) 0%, var(--ice) 25%, var(--signal) 55%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero .lede {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: rgba(232, 238, 245, 0.78);
  font-weight: 400;
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 340ms forwards;
}
.hero .lede strong { color: var(--paper); font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 40px);
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 460ms forwards;
}

@keyframes riseIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 300ms var(--ease), color 200ms var(--ease);
  text-decoration: none;
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(180deg, #9CC6FF 0%, var(--signal) 100%);
  color: #041225;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(20, 60, 130, 0.40),
    0 10px 30px -8px rgba(90, 163, 255, 0.55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    inset 0 -1px 0 rgba(20, 60, 130, 0.40),
    0 18px 42px -10px rgba(90, 163, 255, 0.72);
}

.btn--ghost {
  background: var(--glass-bg);
  color: var(--paper);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-1px);
  border-color: var(--hairline-strong);
}

.btn__arrow { display: inline-block; transition: transform 240ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------- */
/* Specs strip                                                                */
/* -------------------------------------------------------------------------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec {
  padding: 26px 22px;
  background: rgba(11, 14, 22, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.spec__value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
  font-variation-settings: "opsz" 48, "SOFT" 70;
}
.spec__label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------------------------- */
/* Showcase: Calido block. Keeps Calido's warm HDR palette on purpose.        */
/* -------------------------------------------------------------------------- */
.showcase {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: #1A110D;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(90, 163, 255, 0.08),
    0 40px 120px -40px rgba(0, 0, 0, 0.75),
    0 24px 60px -28px rgba(232, 66, 74, 0.25);
  transition: transform 600ms var(--ease-soft), box-shadow 600ms var(--ease-soft);
}
.showcase:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(90, 163, 255, 0.12),
    0 64px 160px -50px rgba(0, 0, 0, 0.85),
    0 36px 80px -32px rgba(232, 66, 74, 0.35);
}

/* HDR mesh: Calido's warm palette. */
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 18% 12%, rgba(255, 178, 107, 0.88) 0%, transparent 55%),
    radial-gradient(100% 80% at 88% 92%, rgba(232, 66, 74, 0.88) 0%, transparent 60%),
    radial-gradient(90%  70% at 82% 18%, rgba(255, 143, 107, 0.55) 0%, transparent 62%),
    radial-gradient(70%  60% at 10% 90%, rgba(246, 213, 155, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, #201611 0%, #120C0A 100%);
  transition: transform 1.2s var(--ease-soft);
}
.showcase:hover::before { transform: scale(1.03); }

/* Specular sheen */
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 60% at 30% -10%, rgba(255, 255, 255, 0.14) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.showcase__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(32px, 6vw, 80px);
  min-height: clamp(420px, 56vh, 640px);
  padding: clamp(32px, 5vw, 72px);
  color: #FAF7F2;
}

.showcase__top {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  left: clamp(32px, 5vw, 72px);
  right: clamp(32px, 5vw, 72px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 247, 242, 0.7);
  gap: 16px;
}
.showcase__top-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 247, 242, 0.9);
}
.showcase__top-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FAF7F2;
  box-shadow: 0 0 0 0 rgba(250, 247, 242, 0.55);
  animation: livePulse 2.4s var(--ease) infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 247, 242, 0.5); }
  50%      { box-shadow: 0 0 0 9px rgba(250, 247, 242, 0); }
}

.showcase__name {
  font-family: var(--serif);
  font-size: clamp(52px, 9.5vw, 140px);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  line-height: 0.9;
  letter-spacing: -0.032em;
  margin: 0;
  max-width: 14ch;
}
.showcase__name em {
  font-style: italic;
  font-weight: 300;
  color: rgba(250, 247, 242, 0.72);
}

.showcase__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 46ch;
}
.showcase__copy p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.82);
}

.showcase__meta {
  align-self: end;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250, 247, 242, 0.7);
  min-width: 180px;
}
.showcase__meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto;
  gap: 14px;
}
.showcase__meta dt { color: rgba(250, 247, 242, 0.5); }
.showcase__meta dd {
  margin: 2px 0 0;
  color: #FAF7F2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.012em;
  text-transform: none;
}

.showcase__cta {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(250, 247, 242, 0.14);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(250, 247, 242, 0.22);
  border-radius: 999px;
  color: #FAF7F2;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  width: max-content;
}
.showcase__cta-arrow { transition: transform 0.35s var(--ease); }
.showcase:hover .showcase__cta { background: rgba(250, 247, 242, 0.22); }
.showcase:hover .showcase__cta-arrow { transform: translateX(4px); }

/* -------------------------------------------------------------------------- */
/* On the bench: a whisper, not a ghost card.                                 */
/* -------------------------------------------------------------------------- */
.next {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(90, 163, 255, 0.14), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(139, 123, 255, 0.10), transparent 60%),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glass-inset), 0 28px 60px -30px rgba(0, 0, 0, 0.55);
}

.next__copy h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin: 12px 0 16px;
}
.next__copy p {
  margin: 0 0 10px;
  color: rgba(232, 238, 245, 0.74);
  line-height: 1.6;
}
.next__note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ice) !important;
  font-size: 1.05rem;
}

.next__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: rgba(6, 8, 13, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}

.next__pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(90, 163, 255, 0.12);
  border: 1px solid rgba(90, 163, 255, 0.32);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 4px;
}

.next__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.next__stat:last-child { border-bottom: 0; padding-bottom: 0; }

.next__stat-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.next__stat-value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Manifesto prose                                                            */
/* -------------------------------------------------------------------------- */
.prose {
  max-width: 72ch;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
  color: rgba(232, 238, 245, 0.78);
}
.prose > p { margin: 0; }
.prose > p + p { margin-top: clamp(22px, 3vw, 32px); }

.prose p strong { color: var(--paper); font-weight: 500; }
.prose p em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
  font-size: 1.02em;
}

.prose > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 3.6em;
  line-height: 0.84;
  float: left;
  padding: 6px 14px 0 0;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  background: linear-gradient(100deg, var(--ice) 0%, var(--signal) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                    */
/* -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(36px, 5vh, 56px);
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.038em;
  margin: 0;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.contact h2 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--ice) 0%, var(--signal) 45%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 8px;
  width: max-content;
  max-width: 100%;
  letter-spacing: -0.014em;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.contact__email:hover {
  color: var(--ice);
  border-bottom-color: var(--signal);
}
.contact__email-arrow {
  font-family: var(--sans);
  font-style: normal;
  color: var(--signal);
  transition: transform 0.35s var(--ease);
}
.contact__email:hover .contact__email-arrow { transform: translateX(6px); }

.contact__side p {
  margin: 0;
  color: rgba(232, 238, 245, 0.66);
  font-size: 15px;
  line-height: 1.6;
  max-width: 46ch;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
  margin-top: clamp(60px, 8vw, 100px);
  background:
    radial-gradient(900px 400px at 8% -20%, rgba(90, 163, 255, 0.06), transparent 60%),
    transparent;
}
.site-footer__inner {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 36ch;
}
.site-footer__brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.brand--footer {
  font-size: 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.site-footer__group h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.site-footer__group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__group a {
  color: rgba(232, 238, 245, 0.82);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.site-footer__group a:hover { color: var(--signal); }

.site-footer__legal {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 16px 28px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .nav a:not(.nav__cta) { display: none; }
  .site-header__inner { padding: 8px 8px 8px 16px; }

  .hero { text-align: left; padding-top: clamp(64px, 16vw, 120px); }
  .hero h1 { max-width: 100%; }

  .showcase__inner {
    grid-template-columns: 1fr;
    min-height: clamp(480px, 70vh, 720px);
    padding-top: 140px;
  }
  .showcase__meta { text-align: left; min-width: 0; }
  .showcase__top { font-size: 10px; }

  .next { grid-template-columns: 1fr; }

  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__inner { grid-template-columns: 1fr; }

  .prose > p:first-of-type::first-letter { font-size: 3em; padding-right: 10px; }
}

/* -------------------------------------------------------------------------- */
/* Motion & print                                                             */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__halo { animation: none; }
  .eyebrow__pulse, .showcase__top-live::before { animation: none; }
  .eyebrow, .hero h1, .hero .lede, .hero__actions { opacity: 1; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .site-header, .hero__halo, .nav, .btn--ghost { display: none; }
  .showcase { box-shadow: none; border: 1px solid #000; }
  .showcase::before, .showcase::after { display: none; }
  .showcase__inner { color: #000; }
  a { color: #000; text-decoration: underline; }
}
