/* ==========================================================================
   New Standard — site styles
   Brand: First light over the ridge. Fraunces / DM Sans / DM Mono.
   ========================================================================== */

:root {
  /* Sky */
  --dawn: #FF8A5B;
  --gold: #FFD27A;
  --sun: #FFF1C2;
  --paper: #FFF6EC;
  --blush: #FCEBDD;
  /* Ridges */
  --ridge-far: #8C7BD6;
  --ridge-mid: #5446A8;
  --ridge-near: #2A2366;
  /* Text */
  --ink: #1C1838;
  --ink-soft: #3A3460;
  --on-indigo: #DCD6F7;
  --line: #E8D6C4;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(80px, 11vw, 136px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ridge-mid); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ridge-near); }
:focus-visible { outline: 2px solid var(--ridge-mid); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip-link:focus { top: 16px; color: var(--paper); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ridge-mid);
  margin: 0;
}
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.022em;
  line-height: 1.04;
  margin: 0;
}
.h-xl { font-size: clamp(44px, 6.4vw, 92px); }
.h-lg { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.h-md { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 500 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ridge-near); color: var(--paper); }
.btn-soft { background: rgba(255, 246, 236, .6); color: var(--ink); }
.btn-soft:hover { background: rgba(255, 246, 236, .9); color: var(--ink); }
.text-link { font-weight: 500; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 0 var(--gutter); }
.site-header .bar.wrap { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.site-header .bar {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; margin-top: 0; padding: 0; border-radius: 20px;
  transition: height .45s var(--ease), margin-top .45s var(--ease), padding .45s var(--ease);
}
.site-header .bar::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, var(--dawn) 0%, #FFB36B 55%, var(--gold) 100%);
  box-shadow: 0 18px 40px -20px rgba(42, 35, 102, .5), 0 1px 0 rgba(255, 255, 255, .35) inset;
  opacity: 0; transform: translateY(-6px) scale(.985);
  transition: opacity .4s ease, transform .45s var(--ease);
}
.site-header.is-scrolled .bar { height: 64px; margin-top: 12px; padding: 0 28px; }
.site-header.is-scrolled .bar::before { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .site-header { padding: 0 12px; }
  .site-header .bar.wrap { padding: 0 8px; }
  .site-header.is-scrolled .bar { height: 58px; margin-top: 10px; padding: 0 6px 0 18px; border-radius: 18px; }
}
.menu-open .site-header .bar::before { opacity: 0; }
.logo { display: inline-flex; color: var(--ink); }
.logo svg { height: 26px; width: auto; }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 96px var(--gutter) 48px;
  background: linear-gradient(180deg, var(--dawn), var(--gold) 70%);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.mobile-menu a { font-family: var(--font-display); font-weight: 300; font-size: 44px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.mobile-menu .eyebrow { color: var(--ink); margin-top: 32px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.menu-open { overflow: hidden; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo svg { height: 22px; }
}

/* ---------- Dawn scene (hero illustration) ---------- */
.dawn {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--dawn) 0%, #FFB36B 48%, var(--gold) 80%);
  --mx: 0; --my: 0; --p: 0;
}
.dawn .night { position: absolute; inset: 0; background: linear-gradient(180deg, #2A2366 0%, #5446A8 55%, #C0708A 100%); opacity: 0; z-index: 0; pointer-events: none; }
.dawn .scene { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: var(--scene-h); overflow: visible; z-index: 1; pointer-events: none; }
.dawn .content { position: relative; z-index: 2; }
.layer { transition: transform .9s var(--ease); will-change: transform; }
.layer-sun  { transform: translate(calc(var(--mx) * -6px),  calc(var(--p) * 70px + var(--my) * -3px)); }
.layer-sun-rel { transform: translate(calc(var(--mx) * 6px), calc(var(--p) * 24px + var(--my) * 1px)); }
.layer-far2 { transform: translate(calc(var(--mx) * -16px), calc(var(--p) * 36px + var(--my) * -5px)); }
.layer-mid2 { transform: translate(calc(var(--mx) * -28px), calc(var(--p) * 16px + var(--my) * -8px)); }
.layer-far  { transform: translate(calc(var(--mx) * -12px), calc(var(--p) * 46px + var(--my) * -4px)); }
.layer-mid  { transform: translate(calc(var(--mx) * -22px), calc(var(--p) * 26px + var(--my) * -7px)); }
.layer-near { transform: translate(calc(var(--mx) * -34px), calc(var(--p) * 8px  + var(--my) * -10px)); }

.drift-1 { animation: drift 24s ease-in-out infinite alternate; }
.drift-2 { animation: drift 18s ease-in-out infinite alternate-reverse; }
.drift-3 { animation: drift 14s ease-in-out infinite alternate; }
.drift-4 { animation: drift 11s ease-in-out infinite alternate-reverse; }
.glow { animation: pulse 8s ease-in-out infinite; opacity: .55; }
@keyframes drift { from { transform: translateX(-22px); } to { transform: translateX(22px); } }
@keyframes pulse { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }

/* Intro sunrise — only when JS has marked the page ready to animate */
.intro .night { animation: dawn-lift 3.4s ease-out .1s both; }
.intro .sun-rise { animation: rise 3.2s cubic-bezier(.16, .8, .24, 1) .2s both; }
.intro .glow { animation: glow-in 1.8s ease-out 1.8s both, pulse 8s ease-in-out 3.6s infinite; }
.intro .in-1 { animation: ridge-in 1.5s var(--ease) .05s both; }
.intro .in-2 { animation: ridge-in 1.5s var(--ease) .2s both; }
.intro .in-3 { animation: ridge-in 1.5s var(--ease) .35s both; }
.intro .in-4 { animation: ridge-in 1.5s var(--ease) .5s both; }
.intro .in-5 { animation: ridge-in 1.5s var(--ease) .65s both; }
.intro .reveal-1 { animation: fade-up 1s var(--ease) .5s both; }
.intro .reveal-2 { animation: fade-up 1s var(--ease) .7s both; }
.intro .reveal-3 { animation: fade-up 1s var(--ease) .9s both; }
.intro .reveal-4 { animation: fade-up 1s var(--ease) 1.1s both; }
@keyframes dawn-lift { from { opacity: .82; } to { opacity: 0; } }
@keyframes rise { from { transform: translateY(190px); } to { transform: translateY(0); } }
@keyframes glow-in { from { opacity: 0; } to { opacity: .45; } }
@keyframes ridge-in { from { transform: translateY(44px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Home hero ---------- */
.hero { --scene-h: clamp(260px, 46vh, 520px); min-height: max(100svh, 680px); display: flex; flex-direction: column; }
.hero .content {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: clamp(124px, 17vh, 176px) var(--gutter) calc(var(--scene-h) * .86);
  max-width: 1000px; margin: 0 auto;
}
.hero .lede { color: var(--ink); max-width: 560px; }
.hero .eyebrow { color: var(--ink); }
.hero-logo { display: block; height: clamp(84px, 9vw, 118px); width: auto; color: var(--ink); margin-bottom: 6px; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ---------- Page hero (mission + articles) ---------- */
.page-hero { --scene-h: clamp(170px, 26vh, 260px); display: flex; flex-direction: column; }
.page-hero .content { padding: clamp(128px, 19vh, 188px) var(--gutter) calc(var(--scene-h) + clamp(40px, 6vh, 72px)); max-width: var(--wrap); margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.page-hero .eyebrow { color: var(--ink); }
.page-hero.short { --scene-h: clamp(140px, 20vh, 210px); }
.page-hero.short .content { max-width: 820px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-indigo { background: var(--ridge-near); color: var(--paper); }
.section-indigo .eyebrow { color: var(--gold); }
.section-indigo .lede, .section-indigo p { color: var(--on-indigo); }
.section-blush { background: var(--blush); }
.hero + .section { padding-top: clamp(28px, 5vw, 72px); }
.page-hero + .section { padding-top: clamp(32px, 6vw, 88px); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.value { padding-top: 22px; border-top: 1px solid rgba(140, 123, 214, .45); display: flex; flex-direction: column; gap: 10px; }
.value h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--sun); }
.value p { margin: 0; font-size: 16px; line-height: 1.6; }
.section:not(.section-indigo) .value { border-top-color: var(--line); }
.section:not(.section-indigo) .value h3 { color: var(--ink); }
.section:not(.section-indigo) .value p { color: var(--ink-soft); }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.product {
  display: flex; flex-direction: column; background: #FFFFFF; border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(28, 24, 56, .04), 0 20px 50px -30px rgba(42, 35, 102, .35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
a.product:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 1px 0 rgba(28, 24, 56, .04), 0 30px 60px -28px rgba(42, 35, 102, .45); }
.product .art { width: 100%; height: auto; aspect-ratio: 2 / 1; }
.product .photo { overflow: hidden; }
.product .photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
a.product:hover .photo img { transform: scale(1.04); }
.product .art .sky-hover { opacity: 0; transition: opacity .6s ease; }
.product .art .p-sun { transition: transform .8s var(--ease); }
.product .art .p-far { transition: transform .8s var(--ease); }
a.product:hover .art .sky-hover { opacity: 1; }
a.product:hover .art .p-sun { transform: translateY(-12px); }
a.product:hover .art .p-far { transform: translateX(-10px); }
.product img.art { display: block; object-fit: cover; }
.product .soon { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 6px 12px; border-radius: 999px; background: var(--blush); color: var(--ridge-mid); font: 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.product .body { padding: 30px 34px 36px; display: flex; flex-direction: column; gap: 12px; }
.product h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 38px; letter-spacing: -.01em; line-height: 1.1; }
.product p { margin: 0; color: var(--ink-soft); }
.product .text-link { color: var(--ridge-mid); margin-top: 6px; }

/* Signal list */
.posts { border-top: 1px solid var(--line); }
.post {
  display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 8px 40px; padding: 30px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.post:hover { color: var(--ink); }
.post time { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ridge-mid); padding-top: 10px; }
.post h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.01em; transition: color .25s ease; }
.post p { margin: 0; color: var(--ink-soft); }
.post:hover h3 { color: var(--ridge-mid); }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; } .post time { padding-top: 0; } }

/* Signup band */
.signup { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--gold), var(--dawn)); }
.signup .content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(88px, 10vw, 120px) var(--gutter) clamp(150px, 16vw, 200px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.signup .content p { margin: 0; font-size: 18px; }
.signup .ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 12vw, 150px); z-index: 1; }
.signup-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; }
.signup-form input {
  flex: 1 1 260px; max-width: 380px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 16px var(--font-body);
}
.signup-form input::placeholder { color: #6B6590; }
.signup-form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.signup-form[hidden] { display: none; }
.signup-confirm { display: none; font-family: var(--font-display); font-size: 24px; }
.signup-confirm.visible { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-indigo); }
.site-footer .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 44px 0; }
.site-footer .logo { color: var(--sun); }
.site-footer .logo svg { height: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 15px; }
.site-footer a { color: var(--on-indigo); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .legal { width: 100%; border-top: 1px solid rgba(220, 214, 247, .15); padding: 20px 0 32px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A9A2D6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.link-button { background: none; border: 1px solid rgba(220, 214, 247, .35); color: var(--on-indigo); border-radius: 999px; min-height: 40px; padding: 0 18px; font: 15px var(--font-body); cursor: pointer; transition: border-color .25s, color .25s; }
.link-button:hover { border-color: var(--sun); color: var(--sun); }

/* Investor modal */
dialog.portal { border: 0; padding: 0; border-radius: 24px; width: min(420px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(28, 24, 56, .6); }
dialog.portal::backdrop { background: rgba(28, 24, 56, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.portal .inner { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
dialog.portal h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 30px; }
dialog.portal label { font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
dialog.portal input { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; font: 16px var(--font-body); color: var(--ink); }
dialog.portal .note { font-size: 14px; color: var(--ink-soft); margin: 0; min-height: 1.4em; }
dialog.portal .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 26px; line-height: 1; color: var(--ink-soft); border-radius: 999px; }

/* ---------- Mission page ---------- */
.prose { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 24px 64px; }
.prose .tag { padding-top: 10px; }
.prose-body { max-width: 680px; display: flex; flex-direction: column; gap: 22px; }
.prose-body p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose-body p:first-child.lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -.02em; color: var(--sun); margin: 0 0 28px; max-width: 920px; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.founder figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 66%; border-radius: var(--radius); }
.founder figcaption { font-size: 13px; color: var(--ink-soft); }
.sig { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.sig .name { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin: 0; }
.sig .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ridge-mid); margin: 0; }
@media (max-width: 820px) { .prose, .founder { grid-template-columns: 1fr; } .prose .tag { padding-top: 0; } }

/* ---------- Article ---------- */
.article { padding: clamp(24px, 4vw, 40px) 0 var(--section); }
.article .wrap { max-width: 760px; }
.article-body { display: flex; flex-direction: column; gap: 24px; }
.article-body p { margin: 0; font-size: 19px; line-height: 1.75; color: var(--ink-soft); }
.article-body p:first-child { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.4; color: var(--ink); }
.article-body h2 { margin: 24px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); }
.article-body strong { color: var(--ink); font-weight: 500; }
.article-end { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.back-link { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .layer { transform: none !important; }
  .dawn .night { opacity: 0 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Brand page ---------- */
.page-hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; }
.kit-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; }
.intro-logo { width: min(320px, 100%); height: auto; }
.sub { margin: 48px 0 18px; font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ridge-mid); }
.sub:first-of-type { margin-top: 0; }
.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.asset { background: #FFFFFF; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(28, 24, 56, .04); }
.asset-preview { height: 200px; display: flex; align-items: center; justify-content: center; padding: 28px; }
.asset-preview.tall { height: 260px; }
.asset-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.asset-body h3 { margin: 0; font-size: 16px; font-weight: 500; }
.asset-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dl { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; border: 1px solid var(--line); transition: background-color .2s, border-color .2s, color .2s; }
.dl:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.panel { background: #FFFFFF; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.panel p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.clearspace { position: relative; align-self: center; padding: 34px; border: 1.5px dashed var(--ridge-far); border-radius: 6px; }
.clearspace img { width: min(320px, 60vw); height: auto; }
.clearspace .x { position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(140, 123, 214, .18); font: 12px var(--font-mono); color: var(--ridge-mid); }
.mins { display: flex; flex-direction: column; gap: 18px; }
.mins div { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--ink-soft); }
.mins img { height: auto; flex-shrink: 0; }
.donts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; margin-top: 20px; }
.donts figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.donts figcaption { font-size: 14px; color: var(--ink-soft); }
.dont { position: relative; height: 150px; border-radius: 18px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dont img { height: auto; }
.dont::after { content: '×'; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: #D93A16; color: #FFFFFF; font: 500 18px/26px var(--font-body); text-align: center; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
@media (max-width: 760px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swatch { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 0 0 6px; border-radius: 18px; position: relative; }
.swatch:focus-visible { outline: 2px solid var(--ridge-mid); outline-offset: 4px; }
.swatch .chip { height: 120px; border-radius: 16px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(28, 24, 56, .08); transition: transform .3s var(--ease); }
.swatch:hover .chip { transform: translateY(-3px); }
.sw-name { font-weight: 500; font-size: 16px; }
.sw-hex, .sw-rgb { font: 12px/1.6 var(--font-mono); color: var(--ink-soft); }
.sw-use { font-size: 13px; color: var(--ink-soft); }
.sw-copied { position: absolute; top: 10px; left: 10px; font: 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 999px; opacity: 0; transition: opacity .2s; }
.swatch.is-copied .sw-copied { opacity: 1; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.type-card { background: #FFFFFF; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.type-card .specimen { font-size: 80px; line-height: 1; }
.type-card .type-sample { margin: 0; color: var(--ink); }
.type-card .type-meta { margin: 0; font-size: 14px; color: var(--ink-soft); }
.type-card .type-meta strong { color: var(--ink); font-weight: 500; }
.skies { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; margin-bottom: 56px; }
.sky { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sky svg { width: 100%; max-width: 150px; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 241, 194, .28); }
.sky figcaption { color: var(--sun); font-weight: 500; }
.values.motion .value { border-top-color: var(--line); }
.values.motion .eyebrow { color: var(--ridge-mid); }
.kit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.kit-cta > div { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }

.landscape { display: grid; grid-template-columns: minmax(0, 3fr) minmax(160px, 1fr); gap: 32px; align-items: center; margin-bottom: 56px; }
.landscape-wide { position: relative; height: 260px; border-radius: 22px; overflow: hidden; --scene-h: 260px; }
.landscape-wide .scene { height: 100%; }
.landscape .sky svg { max-width: 220px; }
@media (max-width: 760px) { .landscape { grid-template-columns: 1fr; } }

/* Animated avatar + video cards (brand page) */
.av-drift { animation: av-drift 8s ease-in-out infinite; }
@keyframes av-drift { 0%,100% { transform: translateX(calc(var(--a) * -1px)); } 50% { transform: translateX(calc(var(--a) * 1px)); } }
.av-glow { opacity: .5; animation: av-pulse 8s ease-in-out infinite; }
@keyframes av-pulse { 0%,100% { opacity: .42; } 50% { opacity: .75; } }
.av-night { opacity: 0; }
.play .av-sun { animation: av-rise 3.4s cubic-bezier(.16,.8,.24,1) .3s both; }
.play .av-night { animation: av-night 3.6s ease-out both; }
.play .av-in { animation: av-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
.play .av-in.i2 { animation-delay: .15s; } .play .av-in.i3 { animation-delay: .3s; } .play .av-in.i4 { animation-delay: .45s; }
@keyframes av-rise { from { transform: translateY(34px); } to { transform: none; } }
@keyframes av-night { from { opacity: .82; } to { opacity: 0; } }
@keyframes av-in { from { transform: translateY(3px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .av-drift, .av-glow, .play .av-sun, .play .av-night, .play .av-in { animation: none !important; } }

.landscape .sky svg { border-radius: 50%; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.video-card { margin: 0; background: #FFFFFF; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #FFD27A; }
.video-card figcaption { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.video-card h3 { margin: 0; font-size: 16px; font-weight: 500; }
.video-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
