/* ————————————————————————————————————————————————————————————
   Mino — landing
   Palette + type mirror the app theme (src/theme). Phones are live
   mockups iframed from screens/*.html and scaled by script.js (--ps).
   ———————————————————————————————————————————————————————————— */

:root {
  --papier: #FAF5EC;
  --blanc: #FFFDF7;
  --encre: #221A12;
  --fire: #FF5A3C;
  --rouge: #E8442E;
  --beurre: #F6C36A;
  --braise: #F08C1E;
  --givre: #9EC4C6;
  --acide: #C9E84A;
  --gold: #C9A227;
  --nuitA: #3B2620;
  --nuitB: #241713;

  --creme: rgba(250, 245, 236, .92);
  --creme-dim: rgba(250, 245, 236, .55);
  --encre-dim: rgba(34, 26, 18, .62);
  --ligne: rgba(34, 26, 18, .14);
  --ligne-nuit: rgba(250, 245, 236, .16);

  --anton: 'Anton', sans-serif;
  --serif: 'Newsreader', serif;
  --grotesk: 'Space Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;

  --phone-w: 315;   /* native iframe width  */
  --phone-h: 648;   /* native iframe height */
  --phone-r: 34px;  /* mockup phone radius  */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--grotesk);
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; }

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.only-wide { display: none; }
@media (min-width: 720px) { .only-wide { display: inline; } }

/* ———————————————————————— shared type ———————————————————————— */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--encre-dim);
}

.eyebrow--night { color: var(--creme-dim); }
.eyebrow--gold { color: var(--gold); }

.eyebrow--ruled {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--ruled::after {
  content: "";
  flex: 0 0 64px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.voice {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
}

.section-title {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-top: 18px;
  color: var(--encre);
}

.section-title--night { color: var(--creme); }
.section-title--gold {
  color: var(--beurre);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}

.section-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre-dim);
}

.section-sub--night { color: var(--creme-dim); }

/* ———————————————————————— reveal on scroll ———————————————————————— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.25, .1, .25, 1), transform .7s cubic-bezier(.25, .1, .25, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ———————————————————————— phone embeds ———————————————————————— */

.phone-embed {
  position: relative;
  width: 100%;
  max-width: calc(var(--phone-w) * 1px);
  margin: 0 auto;
  /* height set by script.js; fallback = native size */
  height: calc(var(--phone-h) * 1px);
}

.phone-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--phone-r) * var(--ps, 1));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 6px 18px rgba(0, 0, 0, .22);
  pointer-events: none;
}

.phone-embed iframe {
  width: calc(var(--phone-w) * 1px);
  height: calc(var(--phone-h) * 1px);
  transform: scale(var(--ps, 1));
  transform-origin: top left;
  border: 0;
  display: block;
  pointer-events: none;
  border-radius: var(--phone-r); /* pre-scale radius so corners clip cleanly */
}

.phone-cap {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--creme-dim);
}

/* ———————————————————————— hero · night ———————————————————————— */

.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(240, 140, 30, .16) 0%, rgba(240, 140, 30, 0) 55%),
    linear-gradient(180deg, var(--nuitB) 0%, var(--nuitA) 78%, #46302a 100%);
  color: var(--creme);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--anton);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--creme);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: block;
  flex: none;
  background: var(--papier);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}
.brand-mark--small { width: 26px; height: 26px; }

.top-right { display: flex; align-items: center; gap: 22px; }

.top-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme-dim);
  transition: color .2s;
}
.top-link:hover { color: var(--creme); }

.top-link--pill {
  color: var(--nuitB);
  background: var(--beurre);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(246, 195, 106, .25);
}
.top-link--pill:hover { color: var(--nuitB); transform: translateY(-1px); }

@media (max-width: 560px) {
  .top-link:not(.top-link--pill) { display: none; }
}

.hero-grid {
  display: grid;
  gap: 56px;
  padding: 64px 0 0;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding: 40px 0 0;
    min-height: 78vh;
  }
}

.hero-title {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(52px, 8.5vw, 96px);
  line-height: 1.02;
  letter-spacing: .01em;
  margin-top: 20px;
  color: var(--creme);
}

.hero-voice {
  margin-top: 22px;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.45;
  color: var(--beurre);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.cta-row--center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--creme);
  color: var(--nuitB);
  text-decoration: none;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, .36); }

.store-badge .apple { width: 26px; height: 26px; fill: currentColor; }

.store-lines { display: flex; flex-direction: column; line-height: 1.15; }
.store-lines small { font-size: 11px; letter-spacing: .04em; opacity: .75; }
.store-lines strong { font-family: var(--grotesk); font-size: 18px; font-weight: 700; }

.cta-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--creme-dim);
}

.hero-facts {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 12px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--creme-dim);
}

.fact-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fire);
  flex: 0 0 auto;
}

.hero-stage {
  position: relative;
  padding: 12px 0 72px;
  display: grid;
  justify-items: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 140, 30, .22) 0%, rgba(240, 140, 30, 0) 62%);
  pointer-events: none;
}

.phone-embed--hero { max-width: min(315px, 78vw); }

.stage-chip {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.stage-chip--rec {
  top: 6%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--creme);
  background: rgba(232, 68, 46, .22);
  border: 1px solid rgba(232, 68, 46, .55);
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fire);
  animation: recblink 1.4s steps(1) infinite;
}

@keyframes recblink { 50% { opacity: .25; } }

.stage-chip--air {
  bottom: 16%;
  right: 0;
  color: var(--nuitB);
  background: var(--beurre);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}

@media (max-width: 899px) {
  .stage-chip--rec { left: 0; }
  .stage-chip--air { right: 2%; }
}

.hero-fade {
  height: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0));
}

/* ———————————————————————— marquee ———————————————————————— */

.marquee {
  background: var(--encre);
  color: var(--papier);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(250, 245, 236, .08);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: marquee 26s linear infinite;
}

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ———————————————————————— side A · ritual ———————————————————————— */

.ritual {
  background: var(--papier);
  padding: 96px 0 110px;
}

.filmstrip {
  margin-top: 64px;
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .filmstrip { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 859px) {
  .filmstrip {
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 320px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 4vw 22px;
    margin-left: -4vw;
    margin-right: -4vw;
    scrollbar-width: none;
  }
  .filmstrip::-webkit-scrollbar { display: none; }
  .film-card { scroll-snap-align: center; }
}

.film-card {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 22px;
  padding: 26px 22px 30px;
  box-shadow: 0 18px 44px rgba(34, 26, 18, .07);
}

.film-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rouge);
}

.film-title {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: .02em;
  margin-top: 10px;
}

.film-body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--encre-dim);
  min-height: 3.2em;
}

.film-card .phone-embed {
  margin-top: 24px;
  max-width: 272px;
}
.film-card .phone-embed::before {
  box-shadow: 0 22px 48px rgba(34, 26, 18, .22);
}

/* ———————————————————————— interlude ———————————————————————— */

.interlude {
  background: var(--blanc);
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  padding: 84px 0;
  text-align: center;
}

.interlude-q {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.25;
  color: var(--encre);
}

.interlude-cap {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--encre-dim);
}

/* ———————————————————————— liner ———————————————————————— */

.liner {
  background: var(--papier);
  padding: 100px 0;
}

.liner-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .liner-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
}

.phone-embed--liner { max-width: min(300px, 80vw); }
.phone-embed--liner::before {
  box-shadow: 0 26px 60px rgba(34, 26, 18, .2);
}

.liner-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.liner-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--encre-dim);
}

.liner-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--fire);
}

.liner-list strong { color: var(--encre); font-weight: 600; }

/* ———————————————————————— sunday · gold ———————————————————————— */

.sunday {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(201, 162, 39, .28) 0%, rgba(201, 162, 39, 0) 60%),
    linear-gradient(180deg, #2c1d16 0%, var(--nuitB) 100%);
  color: var(--creme);
  padding: 104px 0 120px;
  text-align: center;
}

.sunday .eyebrow--ruled { justify-content: center; }
.sunday .eyebrow--ruled::after { display: none; }

.sunday .section-sub { margin-left: auto; margin-right: auto; max-width: 640px; }

.sunday-stage {
  margin-top: 64px;
  display: grid;
  gap: 72px;
  justify-content: center;
}

@media (min-width: 760px) {
  .sunday-stage {
    grid-template-columns: repeat(2, minmax(0, 290px));
    gap: 48px;
  }
  .sunday-stage .phone-embed:last-child { transform: translateY(26px); }
}

.sunday-stage .phone-embed { max-width: min(290px, 76vw); }
.sunday-stage .phone-embed::before {
  box-shadow: 0 34px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(201, 162, 39, .12);
}

.sunday-chips {
  margin-top: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
}

.chip--gold {
  color: var(--nuitB);
  background: var(--beurre);
}

.chip--night {
  color: var(--creme-dim);
  border: 1px solid var(--ligne-nuit);
}

/* ———————————————————————— quiet · privacy ———————————————————————— */

.quiet {
  background: var(--encre);
  color: var(--creme);
  padding: 96px 0 104px;
}

.quiet-grid {
  margin-top: 52px;
  display: grid;
  gap: 20px;
}

@media (min-width: 820px) {
  .quiet-grid { grid-template-columns: repeat(3, 1fr); }
}

.quiet-card {
  border: 1px solid var(--ligne-nuit);
  border-radius: 18px;
  padding: 26px 24px 28px;
  background: rgba(250, 245, 236, .03);
}

.quiet-kicker {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--beurre);
}

.quiet-body {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--creme-dim);
}

.quiet-body a {
  color: var(--creme);
  text-underline-offset: 3px;
}

/* ———————————————————————— get · golden hour ———————————————————————— */

.get {
  background: linear-gradient(180deg, var(--papier) 0%, #f3e3c2 100%);
  padding: 110px 0 120px;
}

.get-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 28px;
  padding: 96px 32px 48px;
  text-align: center;
  box-shadow: 0 34px 80px rgba(34, 26, 18, .16);
}

.mino-peek {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: auto;
}

.get-title {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.05;
  margin-top: 16px;
}

.get-voice {
  margin-top: 16px;
  font-size: 20px;
  color: var(--braise);
}

.get-card .cta-row { margin-top: 30px; }

.get-card .store-badge {
  background: var(--encre);
  color: var(--papier);
}

.get-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--encre-dim);
}

/* ———————————————————————— footer ———————————————————————— */

.footer {
  background: var(--nuitB);
  color: var(--creme-dim);
  padding: 34px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--anton);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--creme);
}

.foot-links {
  display: flex;
  gap: 26px;
}

.foot-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme-dim);
  transition: color .2s;
}
.foot-links a:hover { color: var(--creme); }

.foot-sig {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

@media (max-width: 640px) {
  .footer-row { flex-direction: column; text-align: center; }
}
