/* HY Software Studios — shared site styles
   Self-contained: no external fonts, CDNs, or trackers.

   The STUDIO identity is neutral and category-agnostic: warm paper + ink,
   with a single restrained teal accent, carried by typography and layout.
   Otis's bedtime palette (warm gold on night) is scoped to `body.otis`
   so it appears ONLY on the Otis product page and its own components. */

:root {
  color-scheme: light dark;

  /* ---- Neutral studio palette (light) ---- */
  --paper:     #f6f4ee;
  --paper-soft:#edeae0;
  --surface:   #ffffff;
  --border:    #e1dccf;
  --hair:      #e8e3d6;
  --ink:       #1c1a15;
  --ink-dim:   #66615a;
  --heading:   #131109;

  /* ---- One restrained accent (studio = teal; NOT bedtime gold) ---- */
  --accent:      #16695d;
  --accent-weak: rgba(22,105,93,.10);
  --accent-line: rgba(22,105,93,.32);

  /* ---- Divider: a quiet, center-weighted hairline (fades at the ends) ---- */
  --rule: rgba(24,18,6,.09);

  /* ---- Otis bedtime tokens (used only within body.otis / .night parts) ---- */
  --gold:      #f0c778;
  --gold-deep: #9d6b17;
  --cream:     #fbf8f1;
  --star:      #fff7e0;
  --night-900: #100e1f;
  --night-800: #191634;
  --night-700: #241f45;

  /* ---- Aliases kept so shared component rules resolve ---- */
  --bg:        var(--paper);
  --bg-soft:   var(--paper-soft);
  --text:      var(--ink);
  --text-dim:  var(--ink-dim);
  --link:      var(--accent);

  /* ---- Fluid modular type scale ---- */
  --fs-eyebrow: .74rem;
  --fs-sm:  .9rem;
  --fs-md:  clamp(1.05rem, 1rem + .35vw, 1.22rem);
  --fs-lg:  clamp(1.2rem, 1.05rem + .8vw, 1.6rem);
  --fs-xl:  clamp(1.55rem, 1.2rem + 1.7vw, 2.3rem);
  --fs-2xl: clamp(1.9rem, 1.35rem + 2.6vw, 2.9rem);
  --fs-display: clamp(2.6rem, 1.7rem + 4.4vw, 4.7rem);

  --ease: cubic-bezier(.4, .12, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* cool graphite / near-black — a richer, dark-first studio look */
    --paper:     #0e0f12;
    --paper-soft:#15171b;
    --surface:   #191c21;
    --border:    #2a2e35;
    --hair:      #20242a;
    --ink:       #ece6d8;   /* warm cream type on cool ink */
    --ink-dim:   #99a0aa;
    --heading:   #f7f3ea;

    --accent:      #57c6b4;
    --accent-weak: rgba(87,198,180,.14);
    --accent-line: rgba(87,198,180,.30);
    --rule: rgba(233,240,247,.10);
  }
}

/* Otis product page flips the single accent to warm gold */
body.otis {
  --accent:      #9d6b17;
  --accent-weak: rgba(157,107,23,.12);
  --accent-line: rgba(157,107,23,.35);
}
@media (prefers-color-scheme: dark) {
  body.otis {
    --accent:      #f0c778;
    --accent-weak: rgba(240,199,120,.14);
    --accent-line: rgba(240,199,120,.32);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.serif {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Noto Serif", "Times New Roman", serif;
  font-feature-settings: "liga", "kern";
}

/* ---------- Layout ---------- */
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: 66rem; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 .6rem 0; z-index: 100; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Eyebrow (used sparingly, once per band) ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em;
  font-size: var(--fs-eyebrow); font-weight: 700;
  color: var(--accent); margin: 0 0 1.1rem;
}

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px; border-radius: 4px;
}
a { color: var(--accent); }

/* ---------- Header / nav (wordmark only — no logo mark) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
}
.site-header .wrap-wide,
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .85rem; padding-bottom: .85rem; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--heading); }
.brand .word { font-size: 1.16rem; font-weight: 600; letter-spacing: .1px; }
@media (min-width: 40rem) { .brand .word { font-size: 1.3rem; } }

.site-nav { display: flex; gap: .15rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-dim);
  padding: .4rem .75rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-soft); }
.site-nav a[aria-current="page"] {
  color: var(--accent); font-weight: 600;
  background: var(--accent-weak);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

/* ---------- Catalogue dropdown (self-contained, click + hover) ---------- */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: .28rem;
  font: inherit; font-size: .93rem; font-weight: 500; line-height: 1;
  color: var(--ink-dim); background: transparent; border: 0; cursor: pointer;
  padding: .4rem .7rem .4rem .75rem; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-dd-btn:hover { color: var(--ink); background: var(--paper-soft); }
.nav-dd.open .nav-dd-btn { color: var(--ink); background: var(--paper-soft); }
.nav-dd-btn.is-current {
  color: var(--accent); font-weight: 600;
  background: var(--accent-weak); box-shadow: inset 0 0 0 1px var(--accent-line);
}
.nav-dd-caret {
  width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.nav-dd.open .nav-dd-caret { transform: rotate(180deg); }

.nav-dd-menu {
  position: absolute; top: calc(100% + .55rem); left: 0; z-index: 60;
  min-width: 11rem; margin: 0; padding: .35rem; list-style: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: .8rem;
  box-shadow: 0 18px 42px -18px rgba(0,0,0,.42), 0 2px 6px -3px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav-dd.open .nav-dd-menu { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .nav-dd:hover .nav-dd-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-dd:hover .nav-dd-caret { transform: rotate(180deg); }
}
.nav-dd-menu li { margin: 0; }
.nav-dd-menu a {
  display: block; padding: .5rem .7rem; border-radius: .55rem;
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-dd-menu a:hover { background: var(--paper-soft); color: var(--accent); }
.nav-dd-menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .nav-dd-menu, .nav-dd-caret, .nav-dd-menu a, .nav-dd-btn { transition: none; }
}

/* ---------- Platform marks (verifiable "native on both") ---------- */
.platforms { display: inline-flex; align-items: center; gap: .8rem; }
.platforms .plat { display: inline-flex; align-items: center; gap: .3rem;
  font-size: .78rem; color: var(--ink-dim); font-weight: 500; }
.platforms .plat svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================================================
   STUDIO HERO — type-driven, no decorative motif
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #f3efe6;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(255,255,255,.045), transparent 55%),
    linear-gradient(180deg, #17191d 0%, #101115 55%, #0c0d10 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero .wrap-wide { position: relative; z-index: 2; padding-top: 4.25rem; padding-bottom: 4.5rem; }
.hero-inner {
  padding-top: clamp(4.25rem, 8vw, 7rem) !important;
  padding-bottom: clamp(4rem, 7vw, 6.5rem) !important;
  display: grid; gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 54rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 15rem; align-items: end; }
}
.hero-main { min-width: 0; }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 78%, white); }

/* whisper-quiet right-anchored metadata stack */
.hero-aside {
  align-self: end;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.1rem;
}
.hero-aside dl { margin: 0; display: grid; gap: .7rem; }
.hero-aside dt {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: #8f8a7e; margin-bottom: .12rem;
}
.hero-aside dd {
  margin: 0; font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: #d9d4c8;
}
.hero-aside .plat-marks { display: inline-flex; align-items: center; gap: .5rem; }
.hero-aside .plat-marks svg { width: 15px; height: 15px; fill: #d9d4c8; }
@media (max-width: 53.99rem) {
  .hero-aside { max-width: 22rem; }
}

.display {
  font-size: var(--fs-display); line-height: 1.02;
  letter-spacing: -.022em; font-weight: 600;
  color: #fbf9f3; margin: 0 0 1.15rem; max-width: 16ch;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: #efeadd; }
.lede {
  font-size: var(--fs-lg); line-height: 1.45;
  color: #d9d4c8; max-width: 36ch; margin: 0 0 1.9rem;
}
.creed {
  display: flex; align-items: center; flex-wrap: wrap; gap: .1rem;
  margin: 0; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: #b9b3a4;
}
.creed .sep { color: color-mix(in srgb, var(--accent) 70%, white); margin: 0 .7rem; }

/* Otis product hero (bedtime look, scoped) */
.hero.night {
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(240,199,120,.16), transparent 52%),
    linear-gradient(165deg, #241f45 0%, #171334 55%, #0f0c22 100%);
}
.hero.night .display, .hero.night h1 { color: var(--star); }
.hero.night .lede { color: #d8d2e8; }
.hero h1 {
  font-size: var(--fs-2xl); line-height: 1.08;
  margin: 0 0 1rem; color: #fbf9f3; font-weight: 600;
  letter-spacing: -.015em; max-width: 16ch; text-wrap: balance;
}
.hero-lockup { display: flex; align-items: flex-start; gap: clamp(1.1rem, 3vw, 1.9rem); margin-bottom: 1.4rem; }
.hero-lockup > div { padding-top: .15rem; }
.hero-appicon {
  width: clamp(72px, 13vw, 104px); height: auto; flex: none;
  border-radius: 23%; box-shadow: 0 14px 34px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}

/* ============================================================
   BANDS / SECTIONS
   ============================================================ */
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band.tint { background: var(--paper-soft); }
.band-head { max-width: 52rem; margin: 0 0 2.5rem; }

.section-title {
  font-size: var(--fs-xl); color: var(--heading);
  margin: 0 0 .6rem; font-weight: 600; letter-spacing: -.015em; text-wrap: balance;
}
.section-intro { color: var(--ink-dim); max-width: 48ch; margin: 0; font-size: var(--fs-md); line-height: 1.55; }

section:not(.hero):not(.band) { padding: clamp(3rem, 6vw, 5rem) 0; }
section.alt { background: var(--paper-soft); }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Tenets: quiet, center-weighted rule ---------- */
.tenets { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 40rem) { .tenets { grid-template-columns: 1fr; } }
.tenet { position: relative; padding: 1.95rem 0 .35rem; }
.tenet::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 18%, var(--rule) 82%, transparent);
}
.tenet h3 { margin: 0 0 .5rem; font-size: var(--fs-md); font-weight: 600; color: var(--heading); letter-spacing: -.01em; }
.tenet p { margin: 0; color: var(--ink-dim); font-size: .98rem; line-height: 1.6; }

/* ============================================================
   APPS CATALOGUE — editorial portfolio list
   ============================================================ */
.catalogue { list-style: none; margin: 0; padding: 0; }
.entry {
  position: relative; display: grid;
  gap: clamp(1.75rem, 5vw, 3rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.25rem) .25rem;
}
@media (min-width: 46rem) { .entry { grid-template-columns: auto 1fr; } }
.entry::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 12%, var(--rule) 88%, transparent);
}
.entry:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 12%, var(--rule) 88%, transparent);
}
.entry-link {
  display: block; text-decoration: none; color: inherit; min-width: 0;
}

/* flagship media: a small slider (screenshot <-> intro video) in a phone frame */
.entry-media {
  position: relative; width: clamp(150px, 40vw, 194px);
  justify-self: start; margin: 0;
}
.phone-wrap { position: relative; }
.phone-frame {
  position: relative; width: 100%; aspect-ratio: 1080 / 1920;
  border-radius: 1.5rem; overflow: hidden; background: #0e0c1c;
  box-shadow: 0 26px 55px -26px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.06);
}
.slides { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.slides:active { cursor: grabbing; }
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .55s var(--ease);
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide-shot, .slide-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.slide-shot { object-position: top center; }
.slide-video { background: #0e0c1c; }

.entry-appicon {
  position: absolute; right: -14px; bottom: -14px; width: 58px; height: auto;
  border-radius: 26%; z-index: 3;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.55), 0 0 0 4px var(--paper-soft);
}

/* slider controls: arrows + dot indicators */
.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: .55rem; margin-top: 1.05rem;
}
.slider-arrow {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-dim); cursor: pointer; padding: 0;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.slider-arrow:hover { color: var(--accent); border-color: var(--accent-line); }
.slider-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { display: inline-flex; align-items: center; gap: .4rem; }
.dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.dot:hover { background: var(--accent-line); }
.dot.is-active { background: var(--accent); transform: scale(1.2); }

.entry-body { min-width: 0; }
.entry-cat {
  display: block; margin: 0 0 .5rem; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.entry-name { display: block; font-size: var(--fs-xl); color: var(--heading); font-weight: 600; letter-spacing: -.015em; line-height: 1.05; margin: 0 0 .7rem; }
.entry-body .platforms { margin: 0 0 .9rem; }
.entry-desc { display: block; color: var(--ink-dim); font-size: var(--fs-md); line-height: 1.55; max-width: 50ch; margin: 0 0 .6rem; }
.entry-outcome {
  display: block; margin: 0 0 1.1rem; max-width: 50ch;
  font-family: "Iowan Old Style", Palatino, Georgia, "Noto Serif", serif;
  font-style: italic; font-size: 1.05rem; color: var(--heading);
}
.entry-go {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--accent); font-weight: 600; font-size: 1rem;
}
.entry-go .arw { transition: transform .3s var(--ease); }
.entry-link:hover .entry-go .arw { transform: translateX(4px); }
.entry-link:hover .entry-name { color: var(--accent); }
.catalogue-foot { margin: 1.75rem 0 0; color: var(--ink-dim); font-size: .95rem; line-height: 1.65; max-width: 60ch; }

/* ============================================================
   ABOUT / STATEMENT / CONTACT
   ============================================================ */
.about { max-width: 46rem; }
.statement {
  position: relative; margin: .5rem 0 1.5rem; padding: 0;
  font-size: var(--fs-lg); line-height: 1.42; font-weight: 500;
  color: var(--heading); letter-spacing: -.01em; max-width: 30ch; text-wrap: balance;
}
.statement::before {
  content: "\201C"; position: absolute; left: -.62em; top: -.28em;
  font-size: 3.2em; line-height: 1; color: var(--accent-line);
  font-family: Georgia, "Times New Roman", serif;
}
@media (max-width: 34rem) { .statement::before { left: -.1em; } }
.about-foot { margin: 0; color: var(--ink-dim); font-size: var(--fs-md); line-height: 1.6; max-width: 52ch; }

.contact-band { text-align: left; }
.contact { max-width: 46rem; }
.mail {
  display: inline-block; margin-top: 1.4rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.35rem, 1rem + 2.4vw, 2.1rem);
  color: var(--accent); text-decoration: none; letter-spacing: -.01em;
  border-bottom: 1px solid var(--accent-line); padding-bottom: .12rem;
  transition: border-color .25s var(--ease);
}
.mail:hover { border-color: var(--accent); }

/* ---------- Otis lead paragraph / audience ---------- */
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); max-width: 40ch; }
.who p { font-size: var(--fs-md); max-width: 52ch; }

/* ============================================================
   OTIS INTRO VIDEO (portrait phone frame)
   ============================================================ */
.video-band .wrap-wide { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 52rem) { .video-band .wrap-wide { grid-template-columns: 1fr minmax(230px, 300px); } }
.video-copy { max-width: 42ch; }
.video-copy .section-intro { margin-bottom: 1.25rem; }
.video-figure {
  margin: 0; justify-self: center; position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}
.video-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 52% at 50% 46%, var(--accent-weak), transparent 72%);
}
.phone {
  position: relative; z-index: 1; width: clamp(200px, 58vw, 250px); margin: 0 auto;
  aspect-ratio: 1080 / 1920; border-radius: 2rem; overflow: hidden;
  background: #0e0c1c; border: 1px solid var(--border);
  box-shadow: 0 34px 74px -34px rgba(20,16,40,.55), 0 0 0 1px rgba(0,0,0,.04);
}
.phone video, .phone .poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .poster { position: absolute; inset: 0; transition: opacity .3s var(--ease); }
.phone[data-playing="true"] .poster { opacity: 0; pointer-events: none; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #14110b;
  display: grid; place-items: center; z-index: 3;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.5);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.phone[data-playing="true"] .play-btn { display: none; }
.video-note { color: var(--ink-dim); font-size: .85rem; margin: 0; }

/* ============================================================
   STORE BADGES (otis.html)
   ============================================================ */
.badges { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid rgba(240,199,120,.45); border-radius: .85rem;
  padding: .6rem .95rem; background: rgba(255,255,255,.04);
  color: var(--cream); text-decoration: none; cursor: default;
}
.badge svg { width: 22px; height: 22px; flex: none; }
.badge .small { display: block; font-size: .68rem; color: var(--gold); letter-spacing: .04em; }
.badge .big { display: block; font-size: 1rem; font-weight: 600; line-height: 1.1; }
.badge-note { color: #b7b0cc; font-size: .82rem; margin: .9rem 0 0; }

/* ============================================================
   FEATURE GRID / CARDS (otis.html)
   ============================================================ */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.5rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.card .ic { width: 38px; height: 38px; margin-bottom: .85rem; color: var(--accent); }
.card h3 { margin: 0 0 .4rem; font-size: 1.12rem; color: var(--heading); }
.card p { margin: 0; color: var(--ink-dim); font-size: .97rem; }

/* ---------- Promise list (otis.html) ---------- */
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.promise li {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: .85rem; padding: .95rem 1.1rem;
}
.promise .tick { color: var(--accent); flex: none; margin-top: .15rem; }
.promise strong { color: var(--heading); }
.promise span.body { color: var(--ink-dim); }

/* ---------- CTA strip (otis.html — bedtime) ---------- */
.cta-strip {
  background:
    radial-gradient(100% 120% at 85% 10%, rgba(240,199,120,.14), transparent 60%),
    linear-gradient(150deg, var(--night-700), var(--night-900));
  color: var(--cream); border-radius: 1.4rem; padding: clamp(2rem, 5vw, 3rem);
  text-align: center; border: 1px solid rgba(255,255,255,.06);
}
.cta-strip h2 { color: var(--star); font-size: var(--fs-xl); margin: 0 0 .6rem; letter-spacing: -.015em; }
.cta-strip p { color: #ccc5df; margin: 0 auto 1.4rem; max-width: 42ch; }

/* ============================================================
   ARTICLE PAGES (privacy / support / terms) — neutral studio chrome
   ============================================================ */
.page-head {
  position: relative; overflow: hidden; color: #f3efe6;
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(120% 90% at 88% -20%, rgba(255,255,255,.045), transparent 50%),
    linear-gradient(180deg, #17191d, #0d0e11);
}
.page-head-inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
@media (min-width: 54rem) {
  .page-head-inner { grid-template-columns: minmax(0, 1fr) 13rem; }
}
.head-main { min-width: 0; }
.page-head h1 { margin: 0 0 .45rem; font-size: var(--fs-2xl); color: #fbf9f3; font-weight: 600; letter-spacing: -.02em; }
.page-head .updated { color: color-mix(in srgb, var(--accent) 78%, white); font-size: .9rem; margin: 0; }
.page-head .kicker { color: #d3cec2; margin: .7rem 0 0; max-width: 48ch; font-size: var(--fs-md); }
.head-meta {
  align-self: end; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.1rem;
}
.head-meta dl { margin: 0; display: grid; gap: .7rem; }
.head-meta dt { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #8f8a7e; margin-bottom: .12rem; }
.head-meta dd { margin: 0; font-size: .82rem; letter-spacing: .05em; color: #d9d4c8; }
.head-meta a { color: color-mix(in srgb, var(--accent) 80%, white); text-decoration: none; }
.head-meta a:hover { text-decoration: underline; }

.article { padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(3rem, 6vw, 4rem); }
.article h2 { font-size: 1.28rem; color: var(--heading); margin: 2.3rem 0 .5rem; letter-spacing: -.01em; }
.article h2:first-of-type { margin-top: .5rem; }
.article h3 { font-size: 1.05rem; color: var(--heading); margin: 1.5rem 0 .3rem; }
.article p { margin: .5rem 0 1rem; }
.article ul { padding-left: 1.25rem; }
.article li { margin: .3rem 0; }
.callout {
  background: var(--paper-soft); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: .7rem;
  padding: 1rem 1.2rem; margin: 1.25rem 0;
}
.callout p { margin: .25rem 0; }

.faq { margin: 1rem 0; }
.faq details { border: 1px solid var(--border); border-radius: .8rem; background: var(--surface); margin: .6rem 0; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--heading); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.15rem; top: 50%;
  transform: translateY(-50%); color: var(--accent); font-size: 1.35rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--ink-dim); }
.faq .answer p:first-child { margin-top: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: .72rem 1.2rem; border-radius: .75rem;
  border: 1px solid transparent;
  transition: filter .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; border-color: var(--accent-line); }
.btn.ghost:hover { background: var(--accent-weak); filter: none; }
/* On dark bedtime panels the buttons sit on night — keep them readable */
.cta-strip .btn { background: var(--gold); color: #201a08; }
.cta-strip .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(240,199,120,.5); }
.cta-strip .btn.ghost:hover { background: rgba(240,199,120,.12); }

/* ============================================================
   FOOTER (wordmark only — no logo mark)
   ============================================================ */
.site-footer {
  background: #0a0b0c; color: #cec9bd;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: clamp(2.25rem, 5vw, 3rem) 0;
}
.site-footer .foot-tag {
  margin: 0 0 1.25rem; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: #7d7870;
}
.site-footer a { color: color-mix(in srgb, var(--accent) 80%, white); }
.site-footer .foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer .brand, .site-footer .brand .word { color: #f4f0e8; }
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .legal { color: #928c80; font-size: .85rem; margin: 1.5rem 0 0; line-height: 1.6; }
.site-footer .legal a { color: #b3ada1; }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .slide, .slider-arrow, .dot, .entry-go .arw, .card, .btn, .site-nav a, .mail, .play-btn { transition: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-dim); }
hr.rule { border: none; height: 1px; margin: 2rem 0;
  background: linear-gradient(90deg, transparent, var(--rule) 12%, var(--rule) 88%, transparent); }
