/* ==========================================================================
   Landing page only. Tokens and base live in style.css.
   Rule: nothing is hidden in CSS. JS sets initial animation states, so the
   page is complete without scripts or with reduced motion.
   ========================================================================== */

.eyebrow {
  margin: 0 0 20px;
  font: 500 13px/1 var(--ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ash);
}
.eyebrow.on-dark { color: rgba(255,255,255,.78); }

.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 420;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.section-title.on-dark { color: var(--paper); }

.lede {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin: 24px 0 0;
  font-variant-ligatures: none;
}
.fine { color: var(--ash); font-size: 15px; margin: 20px 0 0; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dusk);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; transform: scaleX(-1); }
.hero-video {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(23,23,23,.34) 0%, rgba(23,23,23,0) 26%),
    linear-gradient(to right, rgba(254,255,252,.9) 0%, rgba(254,255,252,.78) 38%, rgba(254,255,252,0) 72%),
    linear-gradient(to top, var(--parchment) 0%, rgba(254,255,252,.96) 12%, rgba(254,255,252,0) 52%);
}
.hero-inner { padding-top: 160px; padding-bottom: 72px; }
.hero-title {
  font-size: clamp(46px, 9vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 14ch;
  color: var(--ink);
}
.hero-title .w { display: inline-block; will-change: transform, opacity, filter; }
.hero .eyebrow { color: var(--charcoal); }
.hero-sub {
  max-width: 540px;
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  color: var(--graphite);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-fine { margin: 20px 0 0; color: var(--ash); font-size: 14px; }

/* ---------- 2. Story ---------- */
.story { padding: 128px 0 48px; }
.story-stage {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.phone-col { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  padding: 10px;
  background: var(--dusk);
  border-radius: 44px;
  border: 1px solid var(--graphite);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--parchment);
}
.phone-island {
  position: absolute;
  top: 10px; left: 50%;
  width: 84px; height: 24px;
  transform: translateX(-50%);
  background: var(--dusk);
  border-radius: 20px;
  z-index: 3;
}
.screen { position: absolute; inset: 0; padding: 52px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.scr-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 500; color: var(--ash);
  padding-bottom: 10px; border-bottom: 1px solid var(--mist);
}
.scr-share { color: var(--cerulean); }
.scr-sheet { margin-top: auto; padding: 16px; background: var(--linen); border: 1px solid var(--mist); border-radius: 18px; display: grid; gap: 14px; }
.scr-label { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ash); }
.scr-product { display: flex; gap: 12px; align-items: center; }
.scr-thumb { flex: none; width: 64px; height: 76px; border-radius: 10px; background: linear-gradient(160deg, #a9bda4 0%, #7f9a7d 55%, #5c775f 100%); }
.scr-product-body { display: grid; gap: 2px; font-size: 13px; line-height: 1.3; }
.scr-product-body strong { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.scr-product-body span { color: var(--graphite); font-weight: 500; }
.scr-product-body em { color: var(--ash); font-style: normal; }
.scr-btn { text-align: center; padding: 12px; border-radius: 8px; background: var(--dusk); color: var(--paper); font-size: 13px; font-weight: 500; }

.scr-chat { margin-top: auto; display: grid; justify-items: end; gap: 6px; }
.bubble { width: 78%; padding: 14px; border-radius: 20px 20px 4px 20px; background: var(--cerulean); color: #fff; display: grid; gap: 4px; font-size: 13px; }
.bubble strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; }
.bubble span { opacity: .86; }
.bubble-chip { justify-self: start; padding: 3px 10px; border-radius: 50px; background: rgba(255,255,255,.2); font-size: 11px; font-weight: 500; }
.bubble-meta { font-size: 11px; color: var(--ash); }

.scr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scr-list li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; padding: 12px; border: 1px solid var(--mist); border-radius: 14px; background: var(--paper); font-size: 13px; font-weight: 500; }
.scr-list .dot { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; }
.dot.a { background: linear-gradient(160deg, #a9bda4, #5c775f); }
.dot.b { background: linear-gradient(160deg, #d8c3a2, #a58a5f); }
.dot.c { background: linear-gradient(160deg, #b4c0d0, #6c7f99); }
.chip { justify-self: start; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 50px; background: var(--linen); color: var(--ash); border: 1px solid var(--mist); }
.chip.claimed { background: var(--dusk); color: var(--paper); border-color: var(--dusk); }
.scr-hidden { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px dashed var(--fog); border-radius: 14px; font-size: 12px; font-weight: 500; color: var(--charcoal); }
.scr-hidden svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.scr-group { margin-top: 24px; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--mist); border-radius: 18px; background: var(--paper); }
.scr-group strong { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.025em; line-height: 1.1; }
.meter { height: 10px; border-radius: 50px; background: var(--mist); overflow: hidden; }
.meter-fill { height: 100%; width: 80%; border-radius: 50px; background: var(--dusk); transform-origin: left; }
.meter-label { font-size: 13px; color: var(--graphite); }
.meter-label b { font-weight: 600; }
.avatars { display: flex; }
.avatars i { width: 30px; height: 30px; margin-right: -8px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--paper); background: var(--linen); font: 500 12px/1 var(--ui); font-style: normal; color: var(--charcoal); box-shadow: 0 0 0 1px var(--mist); }

.scr-reminder { margin: auto 0; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 18px; border-radius: 20px; background: var(--linen); border: 1px solid var(--mist); }
.scr-reminder strong { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -0.025em; }
.scr-reminder span { font-size: 13px; color: var(--ash); }
.bell { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--mist); transform-origin: 50% 8%; }
.bell svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Screens other than the first stay hidden until the script takes over the stage. */
.screen:not([data-screen="0"]) { display: none; }
.story-live .screen:not([data-screen="0"]) { display: flex; }
.story-live.reduced .screen { display: flex; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; max-width: 440px; padding-block: 40px; }
.step-n { font: 500 13px/1 var(--ui); letter-spacing: .06em; color: var(--ash); margin-bottom: 20px; }
.step h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 420; letter-spacing: -0.035em; }
.step p { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--graphite); }

/* Mobile and no-script layout: phone becomes a short inline mock above the steps */
@media (max-width: 900px) {
  .story-stage { grid-template-columns: 1fr; gap: 32px; }
  .phone-col { position: static; height: auto; }
  .step { min-height: 0; padding-block: 28px; border-top: 1px solid var(--mist); }
  .screen:not([data-screen="0"]) { display: none; }
}

/* ---------- 3. Features ---------- */
.features { padding: 128px 0 32px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.card:hover { border-color: var(--fog); transform: translateY(-3px); }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.ico { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.card h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 450; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--charcoal); font-size: 16px; line-height: 1.55; max-width: 46ch; }

.card-image { padding: 0; display: grid; grid-template-columns: 1fr; }
.card-image .card-art { aspect-ratio: 16 / 10; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image .card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; }

.card-blue { background: var(--cerulean); border-color: var(--cerulean); color: #fff; }
.card-blue .ico { stroke: #fff; }
.card-blue p { color: rgba(255,255,255,.94); }
.card-blue:hover { border-color: #006ea5; }

@media (max-width: 1000px) {
  .span-4 { grid-column: span 6; }
}
@media (max-width: 680px) {
  .span-4, .span-6 { grid-column: 1 / -1; }
  .card { padding: 24px; }
}

/* ---------- 4. Gather round ---------- */
.gather { padding: 96px 0 0; }
.gather-frame {
  position: relative;
  overflow: hidden;
  min-height: clamp(380px, 56vw, 640px);
  border-radius: var(--r-card);
  display: flex;
  align-items: flex-end;
  background: var(--dusk) url("/media/table.jpg") center / cover no-repeat;
  isolation: isolate;
}
.gather-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gather-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(23,23,23,.78) 0%, rgba(23,23,23,.18) 55%, rgba(23,23,23,0) 100%); }
.gather-copy { padding: clamp(24px, 5vw, 56px); max-width: 780px; }
.gather-copy .eyebrow { margin-bottom: 16px; }

.marquee { margin-top: 48px; overflow: hidden; border-block: 1px solid var(--mist); padding: 24px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  color: var(--charcoal);
  padding-inline: 28px;
  position: relative;
  white-space: nowrap;
}
.marquee-track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 5. Seasons ---------- */
.seasons { position: relative; padding: 128px 0 32px; overflow: hidden; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.seasons-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.seasons-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.seasons-art figure { margin: 0; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--mist); }
.seasons-art figure.offset { margin-top: 56px; }
.seasons-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 900px) {
  .seasons-grid { grid-template-columns: 1fr; }
}

/* ---------- 6. Watch ---------- */
.watch { padding: 128px 0 0; }
.watch-frame { max-width: 1040px; margin-inline: auto; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--mist); background: var(--dusk); }
.watch-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dusk); }

/* ---------- 7. Closing ---------- */
.closing { position: relative; margin-top: 128px; background: var(--dusk); overflow: hidden; isolation: isolate; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.closing-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--dusk) 0%, rgba(31,31,41,.4) 45%, rgba(31,31,41,.75) 100%); }
.closing-inner { padding-block: clamp(96px, 16vw, 200px); text-align: center; display: grid; justify-items: center; gap: 20px; }
.closing-title { font-size: clamp(48px, 9vw, 112px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; color: var(--paper); }
.closing-sub { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 18px; }
.site-footer { margin-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span:nth-child(n+8) { display: none; }
  .card, .button-primary, .button-outline, .button-paper { transition: none; }
}
