/* Nevica v2. Winter daylight, Fraunces + Figtree. The one bold idea: the page is the demo, snow settles on the type and the buttons. */
/* fallbacks sized like the web fonts, so nothing jumps when they arrive */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 500 900; size-adjust: 85%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 700; size-adjust: 100.7%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
:root {
  --frost: #f4f8fd; --glacier: #dde8f4; --ice: #eaf1fa; --ink: #14254a; --ink-2: #46557c; --muted: #6b7896;
  --berry: #d2283c; --berry-dk: #b31d30; --holly: #1e6a4e; --candle: #f2b544; --line: #d3deec;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif; --sans: "Figtree", "Figtree Fallback", system-ui, -apple-system, sans-serif;
  --body: var(--sans); --red: var(--berry); --night: var(--ink);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--frost); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#pageSnow { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 30; pointer-events: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 16px/1.2 var(--sans); border-radius: 999px; padding: 13px 22px; transition: background .15s, transform .15s; position: relative; }
.btn:active { transform: translateY(1px); }
.btn.red { background: var(--berry); color: #fff; box-shadow: 0 10px 24px -10px rgba(210, 40, 60, .7); }
.btn.red:hover { background: var(--berry-dk); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.big { font-size: 18px; padding: 16px 28px; }
.btn.sm { font-size: 14px; padding: 9px 16px; }
.btn svg { flex: none; }
.btn small { display: block; font-weight: 500; font-size: 12.5px; opacity: .85; margin-top: 2px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px max(20px, calc((100vw - 1320px) / 2)); background: rgba(244, 248, 253, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--serif); text-decoration: none; }
.brand img { border-radius: 9px; }
.count { margin: 0 auto 0 0; padding-left: 14px; border-left: 1.5px solid var(--line); font-size: 14.5px; color: var(--holly); font-weight: 600; }

/* hero */
.hero { max-width: 1320px; margin: 0 auto; padding: 40px 20px 90px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6vw, 92px); line-height: .98; font-weight: 900; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.lede { font-size: 19px; color: var(--ink-2); margin: 24px 0 0; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.assure { margin: 16px 0 0; font-weight: 600; color: var(--holly); font-size: 15.5px; }
.psst { margin: 26px 0 0; font: italic 500 16px/1.45 var(--serif); color: var(--muted); max-width: 28em; }
.hero-mac .stage { margin: 0; max-width: none; }
.hero-mac .lid { margin: 0 4%; }

/* story */
.story { background: linear-gradient(var(--frost), var(--ice) 12%, var(--ice) 88%, var(--frost)); }
.story-grid { max-width: 1320px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.story-mac { position: sticky; top: calc(50vh - 22vw); align-self: start; z-index: 2; }
.macbook.small .lid { margin: 0 4%; }
.chapters { list-style: none; margin: 0; padding: 0; }
.ch { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .5s; }
.ch.on { opacity: 1; }
.ch time { font: 600 22px/1 var(--serif); color: var(--holly); font-variant-numeric: tabular-nums; }
.ch h3 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; font-weight: 800; margin: 12px 0 14px; letter-spacing: -.015em; }
.ch p { margin: 0; color: var(--ink-2); max-width: 30em; }
.ch .btn { margin-top: 26px; align-self: flex-start; }

/* the story Mac's screen: layers switch on step by step */
.story-screen { background: #0f1f47 center / cover; cursor: default; }
.story-screen.near { background-image: url(/assets/wp/xmas-forest.webp); }
.story-screen .ly { position: absolute; z-index: 2; opacity: 0; transition: opacity .6s, transform 1s cubic-bezier(.2, .8, .2, 1), left 2.4s ease-in-out; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.story-screen .fall { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity 1s; pointer-events: none; overflow: hidden; }
.story-screen .fall::before { content: ""; position: absolute; left: 0; right: 0; top: -240px; height: calc(100% + 240px); will-change: transform;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff 60%, transparent), radial-gradient(1.5px 1.5px at 80px 120px, #fff 60%, transparent), radial-gradient(2.5px 2.5px at 150px 60px, #fff 60%, transparent), radial-gradient(1.5px 1.5px at 210px 160px, #fff 60%, transparent), radial-gradient(2px 2px at 110px 200px, #fff 60%, transparent);
  background-size: 240px 240px; animation: fall 9s linear infinite; }
@keyframes fall { to { transform: translateY(240px); } }
.story-screen .drift { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(transparent, rgba(255, 255, 255, .96) 40%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; transition: height 1.4s; }
.story-screen .dock { z-index: 2; }
.story-screen .snowman { left: 10%; bottom: 0; width: 11%; transform: translateY(30%); }
.story-screen .tree { right: 6%; bottom: 0; width: 27%; transform: scale(.12); transform-origin: 50% 100%; }
.story-screen .orn { transform: scale(.4); }
.story-screen .o1 { right: 16.9%; bottom: 46%; width: 5.2%; }
.story-screen .o2 { right: 22%; bottom: 25%; width: 3%; }
.story-screen .o3 { right: 13%; bottom: 18%; width: 3.2%; }
.story-screen .o4 { right: 20%; bottom: 10%; width: 2.6%; }
.story-screen .o5 { right: 18%; bottom: 34%; width: 3.8%; }
.story-screen .gift { width: 6%; bottom: 0; }
.story-screen .g1 { right: 2%; } .story-screen .g2 { right: 33%; width: 5%; }
.story-screen .krampus { left: -20%; bottom: 0; width: 15%; }
.story-screen .sleigh { left: -45%; bottom: 14%; width: 34%; }
.story-screen .g3 { left: 47%; bottom: 10.5%; width: 4%; transform: translateY(-120%); }
.story-screen.s1 .fall { opacity: 1; }
.story-screen.s1 .drift { height: 4%; }
.story-screen.s2 .drift { height: 6%; }
.story-screen.s2 .snowman { opacity: 1; transform: none; }
.story-screen.s3 .tree, .story-screen.s3 .orn, .story-screen.s3 .g1, .story-screen.s3 .g2 { opacity: 1; transform: none; }
.story-screen.s3 .orn { transition-delay: .9s; }
.story-screen.s4 .krampus { opacity: 1; left: 50%; }
.story-screen.s4 .g2 { opacity: 0; transition-delay: 2.2s; }
.story-screen.s5 .krampus { opacity: 0; left: 30%; transition-duration: .5s; }
.story-screen.s5 .sleigh { opacity: 1; animation: fly 7s linear infinite; }
.story-screen.s5 .g3 { opacity: 1; transform: none; transition-delay: 2.6s; }
@keyframes fly { from { left: -45%; } to { left: 112%; } }

/* photos */
.photos { padding: 110px 0 90px; }
.photos h2, .yours h2, .faq h2 { max-width: 1320px; margin: 0 auto; padding: 0 20px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.015em; }
.marquee { margin-top: 44px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track figure { margin: 0; width: clamp(200px, 19vw, 260px); flex: none; }
.track img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 40px -22px rgba(20, 37, 74, .55); }
.track figure:nth-child(odd) { margin-top: 34px; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }

/* radio */
.radio { max-width: 1320px; margin: 0 auto; padding: 60px 20px 110px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.radio h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.015em; }
.radio-copy p { color: var(--ink-2); margin: 18px 0 0; max-width: 30em; }
.set { background: linear-gradient(160deg, #ffffff, #e8eff8); border-radius: 34px; padding: 26px; box-shadow: 0 30px 60px -34px rgba(20, 37, 74, .45), inset 0 0 0 1.5px #fff; }
.dial { position: relative; height: 92px; border-radius: 18px; background: radial-gradient(120% 140% at 50% 0%, #22386b, #0e1b3a); overflow: hidden; box-shadow: inset 0 2px 10px rgba(0, 0, 0, .5); }
.scale { position: absolute; left: 6%; right: 6%; top: 22px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; }
.scale i { width: 2px; height: 26%; background: rgba(214, 228, 255, .45); border-radius: 2px; }
.scale i:nth-child(5n+1) { height: 62%; background: rgba(242, 181, 68, .85); }
.needle { position: absolute; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--berry); box-shadow: 0 0 12px rgba(255, 90, 100, .9); left: 6%; transition: left .7s cubic-bezier(.3, 1.4, .5, 1); }
.stations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.stations button { font: inherit; text-align: left; border: 0; background: #fff; border-radius: 16px; padding: 12px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); transition: box-shadow .15s, background .15s; }
.stations button:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.stations button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.stations b { display: block; font: 700 14.5px/1.25 var(--sans); }
.stations span { display: block; font-size: 12.5px; opacity: .7; margin-top: 3px; line-height: 1.3; }
.now { margin: 14px 2px 0; font-size: 14.5px; color: var(--muted); }

/* yours */
.yours { padding: 40px 0 110px; }
.walls { max-width: 1320px; margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.walls img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.also { max-width: 1320px; margin: 22px auto 0; padding: 0 20px; color: var(--ink-2); }

/* price tag */
.price { padding: 40px 20px 110px; display: flex; flex-direction: column; align-items: center; }
.pricetag { position: relative; width: min(500px, 100%); background: #fff; padding: 44px 44px 36px 96px; border-radius: 0 28px 28px 0;
  clip-path: polygon(58px 0, 100% 0, 100% 100%, 58px 100%, 0 calc(100% - 58px), 0 58px); }
.tagwrap { filter: drop-shadow(0 26px 34px rgba(20, 37, 74, .2)); width: min(500px, 100%); }
.pricetag .hole { position: absolute; left: 30px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--frost); box-shadow: inset 0 2px 4px rgba(20, 37, 74, .3); }
.pricetag h2 { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.once { margin: 8px 0 18px; color: var(--holly); font-weight: 600; }
.pricetag ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15.5px; }
.pricetag li { padding-left: 24px; position: relative; }
.pricetag li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--candle); }
.pricetag .btn { width: 100%; justify-content: center; }
.or { margin: 14px 0 0; text-align: center; font-size: 15px; color: var(--muted); }
.pay { margin: 30px 0 0; color: var(--muted); font-size: 14.5px; text-align: center; max-width: 34em; }

/* faq */
.faq { padding: 20px 0 110px; }
.qs { max-width: 1320px; margin: 34px auto 0; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.qs details { border-top: 1.5px solid var(--line); padding: 18px 0; }
.qs summary { cursor: pointer; font: 600 18px/1.35 var(--sans); list-style: none; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; float: right; font-weight: 500; color: var(--muted); }
.qs details[open] summary::after { content: "−"; }
.qs p { margin: 10px 0 0; color: var(--ink-2); }

/* final */
.final { padding: 0 20px 60px; }
.final-in { max-width: 1320px; margin: 0 auto; border-radius: 34px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 60px;
  background: #1a2440 70% 50% / cover; color: #fff; }
.final-in.near { background-image: linear-gradient(90deg, rgba(14, 22, 44, .88), rgba(14, 22, 44, .55) 45%, rgba(14, 22, 44, 0) 70%), url(/assets/img/desk.webp); }
.final h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 900; max-width: 9em; letter-spacing: -.02em; }
.final .btn { margin-top: 30px; }
.final p { margin: 14px 0 0; color: #d4dcf0; }

.foot { max-width: 1320px; margin: 0 auto; padding: 24px 20px calc(120px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { padding: 8px 0; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }

/* the floating Dock-style CTA */
.dock-cta { position: fixed; z-index: 50; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 22px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 18px 40px -16px rgba(20, 37, 74, .45), inset 0 0 0 1px rgba(255, 255, 255, .8); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.dock-cta.show { transform: translate(-50%, 0); }
.dock-cta img { border-radius: 10px; }
.dock-cta p { margin: 0; line-height: 1.25; white-space: nowrap; }
.dock-cta .btn { white-space: nowrap; }
.dock-cta b { display: block; font-size: 15px; } .dock-cta span { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .hero, .radio { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .story-mac { top: 64px; background: linear-gradient(var(--ice) 85%, transparent); padding: 12px 0 18px; margin: 0 -20px; padding-inline: 20px; }
  .ch { min-height: 62vh; justify-content: flex-start; padding-top: 30px; }
  .walls { grid-template-columns: repeat(2, 1fr); }
  .qs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .count { display: none; }
  .top .btn { margin-left: auto; }
  .lede { font-size: 17px; }
  .ctas .btn { width: 100%; justify-content: center; }
  .stations { grid-template-columns: 1fr 1fr; }
  .stations button:last-child { grid-column: span 2; }
  .pricetag { padding: 38px 24px 30px 72px; clip-path: polygon(44px 0, 100% 0, 100% 100%, 44px 100%, 0 calc(100% - 44px), 0 44px); }
  .pricetag .hole { left: 22px; }
  .pricetag h2 { font-size: 36px; }
  .final-in { padding: 34px 24px; min-height: 520px; justify-content: flex-end; background-position: 50% 30%; }
  .final-in.near { background-image: linear-gradient(0deg, rgba(14, 22, 44, .92), rgba(14, 22, 44, .5) 55%, rgba(14, 22, 44, .05)), url(/assets/img/desk-900.webp); }
  .story-screen.near { background-image: url(/assets/wp/xmas-forest-1100.webp); }
  .top, .dock-cta { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .top { background: rgba(244, 248, 253, .97); }
  .dock-cta { background: rgba(255, 255, 255, .97); left: 10px; right: 10px; padding-left: 10px; }
  .track img { box-shadow: 0 14px 24px -16px rgba(20, 37, 74, .5); }
  .hero { padding-bottom: 60px; }
  .photos { padding: 70px 0 60px; }
  .radio { padding: 30px 20px 70px; }
  .yours, .price, .faq { padding-bottom: 70px; }
  .dock-cta { transform: translateY(160%); }
  .dock-cta.show { transform: none; }
  .dock-cta p { flex: 1; min-width: 0; }
  .dock-cta .btn { padding: 11px 16px; font-size: 15px; }
  .story-screen .snowman { left: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; } .marquee { overflow-x: auto; }
  .story-screen .fall::before { animation: none; } .story-screen.s5 .sleigh { animation: none; left: 30%; }
  .ch { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* touch targets of at least 44px */
.qs details { padding: 0; }
.qs summary { padding: 18px 0; }
.qs p { margin: 0 0 18px; }
.or a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
@media (max-width: 640px) {
  .top { padding-top: max(10px, env(safe-area-inset-top, 0px)); }
  .top .btn.sm { padding: 13px 18px; }
  .brand { padding: 4px 0; }
  .foot nav a { padding: 11px 0; }
}

/* phones: headline, the snowy Mac, then the button, all in the first screen */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; margin-bottom: 22px; }
  .hero-mac { order: 2; }
  .hero .ctas { order: 3; margin-top: 22px; }
  .hero .assure { order: 4; }
  .hero .lede { order: 5; margin-top: 22px; }
  .hero .psst { order: 6; }
}
@media (max-width: 380px) {
  .btn.big { font-size: 16.5px; padding: 15px 18px; gap: 10px; }
  .hero h1 { font-size: 42px; }
}
