/* Study Café: snowy Christmas café at night. Navy + forest green, warm window glow, gold serif. */
:root {
  --night: #0A1524;
  --night-2: #0E1E31;
  --forest: #0E241C;
  --forest-2: #133126;
  --card: rgba(17, 40, 31, 0.84);
  --card-2: rgba(22, 50, 39, 0.9);
  --line: rgba(229, 190, 115, 0.34);
  --line-2: rgba(229, 190, 115, 0.6);
  --gold: #F2C76E;
  --gold-hi: #FFE3A1;
  --gold-lo: #DE9F42;
  --cream: #F7EBD7;
  --muted: #CDBFA6;
  --ember: #FF9F45;
  --red: #C8372D;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: min(1220px, calc(100vw - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--cream); font: 400 16px/1.55 var(--sans); overflow-x: clip;
  background:
    radial-gradient(60% 40% at 85% 38%, rgba(255, 159, 69, 0.08), transparent 70%),
    radial-gradient(50% 30% at 10% 62%, rgba(255, 190, 110, 0.06), transparent 70%),
    linear-gradient(180deg, var(--night) 0, var(--night-2) 900px, #0E2329 1500px, var(--forest) 2100px, var(--forest) 100%);
  background-color: var(--forest);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.gold {
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  border-radius: 999px; padding: 14px 26px; font: 800 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold {
  color: #2B1806; background: linear-gradient(180deg, #FFE09A 0%, #F4BC5C 55%, #E39E3F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, .9), inset 0 0 0 1px rgba(255, 233, 180, .55), 0 10px 30px -8px rgba(255, 170, 70, .65), 0 0 46px -10px rgba(255, 190, 90, .55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 248, 225, .9), inset 0 0 0 1px rgba(255, 233, 180, .6), 0 16px 36px -8px rgba(255, 170, 70, .75), 0 0 60px -8px rgba(255, 190, 90, .6); }
.btn-lg { padding: 19px 34px; font-size: 19px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { color: var(--cream); background: rgba(10, 21, 36, .35); box-shadow: inset 0 0 0 1.5px var(--line-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(242, 199, 110, .1); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  width: var(--wrap); margin: 0 auto; padding: 18px 0;
}
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 25px/1 var(--serif); color: var(--gold-hi); }
.brand-mark { width: auto; height: 46px; margin: -6px 0 -4px; filter: drop-shadow(0 3px 8px rgba(255, 159, 69, 0.18)); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--cream); opacity: .88; }
.nav-links a:hover { opacity: 1; color: var(--gold-hi); }

/* ---------- string lights ---------- */
.lights { position: absolute; left: 0; right: 0; top: 74px; height: 70px; pointer-events: none; z-index: 2; }
.lights svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bulb { position: absolute; width: 9px; height: 13px; margin: -2px 0 0 -4.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 40%, #FFF6D8, var(--c, #FFC867) 60%); box-shadow: 0 0 10px 3px color-mix(in srgb, var(--c, #FFC867) 70%, transparent), 0 0 28px 8px color-mix(in srgb, var(--c, #FFC867) 28%, transparent);
  animation: twinkle var(--d, 3s) ease-in-out var(--delay, 0s) infinite; }
.bulb::before { content: ''; position: absolute; left: 2.5px; top: -4px; width: 4px; height: 5px; border-radius: 1px; background: #3A3326; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 45% { opacity: .45; filter: saturate(.7); } 55% { opacity: .95; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 780px; padding: 128px 0 70px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 21, 36, .55) 0%, rgba(10, 21, 36, 0) 28%, rgba(10, 21, 36, 0) 70%, var(--night) 100%),
    linear-gradient(90deg, rgba(8, 15, 27, .9) 0%, rgba(8, 15, 27, .62) 36%, rgba(8, 15, 27, .2) 62%, rgba(8, 15, 27, .35) 100%),
    url(media/cafe/hero-bg.jpg) center 40% / cover no-repeat; }
.hero-inner { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 40px; align-items: center; }
.hero h1 { font-style: italic; font-weight: 700; font-size: clamp(46px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .45)); padding-bottom: .08em; }
.hero h1 em { font-style: italic; display: inline-block; }
.spark { display: inline-block; font-style: normal; font-size: .42em; vertical-align: .9em; margin-left: .15em; color: var(--gold-hi); -webkit-text-fill-color: var(--gold-hi); animation: spark 2.8s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: .55; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }
.lede { margin: 22px 0 32px; max-width: 470px; font-size: 19px; line-height: 1.55; color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.chips li::before { content: '★'; color: var(--gold); margin-right: 7px; font-size: 12px; }

/* MacBook, drawn in CSS */
.hero-device { position: relative; padding: 0 5%; }
.mbp { position: relative; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.mbp-lid { position: relative; padding: 2.3% 2.3% 2.9%; border-radius: 4.2% / 6.6%; background: #111214;
  box-shadow: inset 0 0 0 1.5px #44454B, inset 0 0 0 4px #1E1F23, 0 0 0 1px rgba(255, 255, 255, .06); }
.notch { position: absolute; left: 50%; top: 2.3%; width: 12%; height: 3.1%; transform: translateX(-50%); background: #111214; border-radius: 0 0 9px 9px; z-index: 6; }
.mbp-base { position: relative; height: 0; padding-bottom: 3.6%; margin: 0 -6.5%; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #E4E5E9 0%, #BDBFC5 45%, #8E9096 100%); box-shadow: inset 0 1px 0 #fff; }
.mbp-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #9EA0A6, #C6C8CD); }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1% / 1.6%; background: #2A1E28; container-type: inline-size; user-select: none; -webkit-user-select: none; }
.wp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.wp.on { opacity: 1; }
.menubar { position: absolute; left: 0; right: 0; top: 0; height: 3.3cqw; display: flex; align-items: center; gap: 1.9cqw; padding: 0 2cqw;
  font: 500 1.45cqw/1 -apple-system, 'SF Pro Text', var(--sans); color: #fff; background: rgba(30, 18, 26, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 5; }
.menubar b { font-weight: 700; }
.mb-apple { width: 1.35cqw; height: 1.6cqw; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath d='M11.6 9c0-2 1.7-3 1.8-3.1-1-1.4-2.5-1.6-3-1.7-1.3-.1-2.5.8-3.2.8-.6 0-1.6-.7-2.7-.7C3.1 4.3 1.8 5.1 1 6.4c-1.5 2.6-.4 6.5 1.1 8.6.7 1 1.5 2.2 2.6 2.1 1-.1 1.4-.7 2.7-.7 1.2 0 1.6.7 2.7.6 1.1 0 1.8-1 2.5-2.1.8-1.2 1.1-2.3 1.1-2.4 0 0-2.1-.8-2.1-3.5zM9.6 2.9c.6-.7 1-1.7.9-2.7-.9 0-1.9.6-2.6 1.3-.5.6-1 1.6-.9 2.6 1 .1 2-.5 2.6-1.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath d='M11.6 9c0-2 1.7-3 1.8-3.1-1-1.4-2.5-1.6-3-1.7-1.3-.1-2.5.8-3.2.8-.6 0-1.6-.7-2.7-.7C3.1 4.3 1.8 5.1 1 6.4c-1.5 2.6-.4 6.5 1.1 8.6.7 1 1.5 2.2 2.6 2.1 1-.1 1.4-.7 2.7-.7 1.2 0 1.6.7 2.7.6 1.1 0 1.8-1 2.5-2.1.8-1.2 1.1-2.3 1.1-2.4 0 0-2.1-.8-2.1-3.5zM9.6 2.9c.6-.7 1-1.7.9-2.7-.9 0-1.9.6-2.6 1.3-.5.6-1 1.6-.9 2.6 1 .1 2-.5 2.6-1.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mb-right { margin-left: auto; display: flex; gap: 1.6cqw; align-items: center; }
.mb-paw { font-size: 1.5cqw; filter: grayscale(1) brightness(3); }
.knocked { position: absolute; left: 2.4cqw; top: 5.4cqw; z-index: 4; display: flex; align-items: center; gap: .6cqw; padding: .9cqw 1.6cqw; border-radius: 99px;
  font: 700 1.55cqw/1 var(--sans); color: #FFF4E2; background: rgba(40, 24, 18, .62); box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .3s var(--ease); }
.knocked.bump { transform: scale(1.12); }
.knocked b { color: var(--gold-hi); font-size: 1.8cqw; }
.timer-widget { position: absolute; right: 2.4cqw; top: 5.2cqw; width: 13.5cqw; aspect-ratio: 484 / 648; z-index: 3; filter: drop-shadow(0 1cqw 2cqw rgba(0, 0, 0, .45)); }
.timer-widget img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10.4% / 7.8%; opacity: 0; transition: opacity 1.2s ease; }
.timer-widget img.on { opacity: 1; }
.dock { position: absolute; left: 50%; bottom: 1cqw; transform: translateX(-50%); display: flex; gap: .9cqw; align-items: center; padding: .8cqw 1cqw; z-index: 3;
  border-radius: 2cqw; background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dock i { display: block; width: 4.6cqw; height: 4.6cqw; border-radius: 1.1cqw; box-shadow: 0 .3cqw .6cqw rgba(0, 0, 0, .25); background: #ddd; position: relative; }
.dock .d-finder { background: linear-gradient(90deg, #6CC4FF 50%, #EAF4FF 50%); }
.dock .d-safari { background: radial-gradient(circle, #fff 18%, transparent 19%), conic-gradient(from 45deg, #2C8DFF, #59D3FF, #2C8DFF); }
.dock .d-notes { background: linear-gradient(180deg, #FFD54A 0 26%, #FFFDF5 26%); }
.dock .d-cal { background: linear-gradient(180deg, #FF3B30 0 30%, #fff 30%); }
.dock .d-music { background: linear-gradient(135deg, #FF5A72, #FC3C44); }
.dock .d-cafe { background: linear-gradient(160deg, #F2B25E, #C76A2C); }
.dock .d-cafe::after { content: '☕'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6cqw; }
.dock .d-sep { width: 1px; height: 4cqw; border-radius: 0; background: rgba(255, 255, 255, .5); box-shadow: none; }
.dock .d-trash { background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(220, 225, 232, .55)); }

/* distraction windows */
.windows { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.dw { position: absolute; width: 31cqw; border-radius: 1.2cqw; overflow: hidden; background: #fff; pointer-events: auto; cursor: pointer;
  box-shadow: 0 2.4cqw 4cqw -1cqw rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .12); transform-origin: 30% 60%; will-change: transform; }
.dw-bar { height: 2.9cqw; display: flex; align-items: center; gap: .55cqw; padding: 0 1cqw; background: #ECECEE; border-bottom: 1px solid #D6D6DA; font: 600 1.3cqw/1 -apple-system, var(--sans); color: #333; }
.dw-bar i { width: .95cqw; height: .95cqw; border-radius: 50%; background: #FF5F57; }
.dw-bar i:nth-child(2) { background: #FEBC2E; } .dw-bar i:nth-child(3) { background: #28C840; }
.dw-bar b { margin: 0 auto; display: flex; align-items: center; gap: .5cqw; padding-right: 3cqw; }
.dw-bar b::before { content: ''; width: 1cqw; height: 1cqw; border-radius: .3cqw; background: var(--brand, #999); }
.dw-body { position: relative; height: 16.5cqw; }
.dw-yt { --brand: #FF2D2D; } .dw-yt .dw-body { background: #0F0F0F; padding: 1.1cqw; }
.dw-yt .vid { height: 10.8cqw; border-radius: .8cqw; background: linear-gradient(135deg, #F7A35C, #D9485F 55%, #5B2A86); display: grid; place-items: center; }
.dw-yt .vid::after { content: ''; width: 0; height: 0; border-left: 2.4cqw solid rgba(255, 255, 255, .95); border-top: 1.5cqw solid transparent; border-bottom: 1.5cqw solid transparent; margin-left: .6cqw; }
.dw-yt .ln { height: 1cqw; margin-top: 1cqw; width: 80%; border-radius: 1cqw; background: #3A3A3A; } .dw-yt .ln + .ln { width: 50%; margin-top: .7cqw; }
.dw-tt { --brand: linear-gradient(135deg, #25F4EE, #FE2C55); } .dw-tt .dw-body { background: #050505; display: grid; place-items: center; }
.dw-tt .reel { width: 8.6cqw; height: 14.4cqw; border-radius: .8cqw; background: linear-gradient(170deg, #7F5AF0, #2CB1BC 55%, #FFD166); position: relative; }
.dw-tt .reel::after { content: '♥  💬  ↗'; position: absolute; right: -3.4cqw; top: 3cqw; width: 2.2cqw; font-size: 1.3cqw; line-height: 2.6cqw; color: #fff; white-space: pre-wrap; text-align: center; }
.dw-ig { --brand: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); } .dw-ig .dw-body { background: #fff; padding: 1cqw 1.4cqw; }
.dw-ig .row { display: flex; align-items: center; gap: .8cqw; } .dw-ig .row::before { content: ''; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.dw-ig .row::after { content: ''; width: 9cqw; height: .9cqw; border-radius: 1cqw; background: #DADADA; }
.dw-ig .pic { height: 11cqw; margin-top: .9cqw; border-radius: .6cqw; background: linear-gradient(160deg, #FFC18E, #F2789F 50%, #7C6CF2); }
.crack { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dw.cracked .crack { opacity: 1; transition: opacity .08s; }
.shard { position: absolute; z-index: 7; width: 2.2cqw; height: 2.2cqw; background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(190, 220, 255, .5)); clip-path: polygon(0 0, 100% 30%, 40% 100%); pointer-events: none; }
.hit-fx { position: absolute; z-index: 8; width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; pointer-events: none; }

/* the hero cat */
.hcat { position: absolute; left: 0; top: 0; z-index: 7; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.hcat img { position: absolute; left: 0; bottom: 0; height: 21cqw; width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 .8cqw 1cqw rgba(0, 0, 0, .35)); pointer-events: auto; }
.hcat .bubble { position: absolute; left: 0; bottom: 21.5cqw; transform: translateX(-30%) scale(.3); opacity: 0; padding: .9cqw 1.5cqw; border-radius: 1.6cqw; white-space: nowrap;
  font: 800 1.7cqw/1.1 var(--sans); color: #3A2414; background: #FFF8EC; box-shadow: 0 .6cqw 1.6cqw rgba(0, 0, 0, .3); transition: transform .22s var(--ease), opacity .18s; pointer-events: none; }
.hcat .bubble::after { content: ''; position: absolute; left: 22%; bottom: -.8cqw; border: .5cqw solid transparent; border-top: .6cqw solid #FFF8EC; }
.hcat .bubble.on { transform: translateX(-30%) scale(1); opacity: 1; }
.heart { position: absolute; z-index: 8; font-size: 2.6cqw; pointer-events: none; animation: heart 1.1s ease-out forwards; }
@keyframes heart { from { transform: translate(-50%, 0) scale(.6); opacity: 1; } to { transform: translate(calc(-50% + var(--dx, 0px)), -9cqw) scale(1.15); opacity: 0; } }
.hero-hint { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { position: relative; width: var(--wrap); margin: 0 auto; padding: 56px 0; }
.title { display: flex; align-items: center; gap: 22px; justify-content: center; text-align: center; margin: 0 0 34px; font-size: clamp(26px, 3vw, 36px); color: var(--gold-hi); }
.title::before, .title::after { content: ''; flex: 0 1 110px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.title::after { background: linear-gradient(90deg, var(--gold), transparent); }
.title span { text-shadow: 0 0 30px rgba(255, 190, 90, .25); }
.card { position: relative; border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 230, 170, .12), 0 20px 40px -24px rgba(0, 0, 0, .7); }
.card h3 { font-size: 21px; color: var(--gold-hi); }
.card p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* features */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.features .card { padding: 18px 16px 16px; display: flex; flex-direction: column; min-height: 400px; }
.features .vis { flex: 1; display: grid; place-items: center; margin-top: 14px; }
.f-list .vis img { width: 100%; max-width: 230px; transform: rotate(-2deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); transition: transform .35s var(--ease); }
.f-exam .vis img { width: 100%; max-width: 240px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); transition: transform .35s var(--ease); }
.f-list:hover .vis img { transform: rotate(0) translateY(-4px); }
.f-exam:hover .vis img { transform: rotate(1.5deg) translateY(-4px); }

.mixer { margin-top: 14px; display: grid; gap: 9px; }
.presets { display: flex; gap: 6px; margin-bottom: 4px; }
.presets button { flex: 1; padding: 6px 0; border: 0; border-radius: 99px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--cream); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.presets button.on { color: #2B1806; background: linear-gradient(180deg, #FFDA92, #EDA94C); box-shadow: none; }
.mrow { display: grid; grid-template-columns: 20px 1fr; align-items: center; column-gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--cream); }
.mrow .mi { font-size: 14px; text-align: center; }
.mrow input { grid-column: 2; width: 100%; margin: 3px 0 0; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 9px; background: linear-gradient(90deg, var(--gold) var(--v, 50%), rgba(255, 255, 255, .14) var(--v, 50%)); }
input[type=range]::-moz-range-track { height: 5px; border-radius: 9px; background: linear-gradient(90deg, var(--gold) var(--v, 50%), rgba(255, 255, 255, .14) var(--v, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5.5px; border-radius: 50%; background: #FFF6E2; box-shadow: 0 0 0 3px rgba(242, 199, 110, .45), 0 2px 5px rgba(0, 0, 0, .4); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #FFF6E2; box-shadow: 0 0 0 3px rgba(242, 199, 110, .45), 0 2px 5px rgba(0, 0, 0, .4); }
.play { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--gold-hi); background: rgba(242, 199, 110, .1); box-shadow: inset 0 0 0 1px var(--line-2); }
.play:hover { background: rgba(242, 199, 110, .18); }
.play-ico { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play[aria-pressed=true] .play-ico { width: 10px; height: 12px; border: 0; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.play[aria-pressed=true] { color: #2B1806; background: linear-gradient(180deg, #FFDA92, #EDA94C); box-shadow: 0 0 24px -4px rgba(255, 190, 90, .6); }

.wall { flex: 1; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.wall-big { position: relative; flex: 1; min-height: 150px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -10px rgba(0, 0, 0, .6); background: #241a1f; }
.wall-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.wall-name { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(10, 21, 36, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.wall-strip { display: grid; grid-template-columns: 22px 1fr 22px; align-items: center; gap: 4px; }
.wall-arrow { height: 32px; border: 0; padding: 0; cursor: pointer; background: none; color: var(--gold); font-size: 24px; line-height: 1; }
.wall-thumbs { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px; }
.wall-thumbs::-webkit-scrollbar { display: none; }
.wall-thumbs button { flex: 0 0 calc((100% - 12px) / 3); aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line); opacity: .7; transition: opacity .2s, box-shadow .2s; }
.wall-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.wall-thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }

.room { position: relative; flex: 1; min-height: 200px; margin-top: 12px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 35%, rgba(255, 190, 110, .28), transparent 70%), linear-gradient(180deg, #3A2420 0 62%, #5A3726 62%, #4A2D20 100%); box-shadow: inset 0 0 0 1px var(--line); }
.room::before { content: ''; position: absolute; left: 0; right: 0; top: 62%; height: 2px; background: rgba(0, 0, 0, .25); }
.room .it { position: absolute; transform: translate(-50%, 0) scale(.4); transform-origin: 50% 100%; opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.room .it.on { opacity: 1; transform: translate(-50%, 0) scale(var(--s, 1)); }
.it-rug { left: 50%; bottom: 6%; width: 74%; }
.it-bed { left: 50%; bottom: 10%; width: 56%; }
.it-cat { left: 50%; bottom: 20%; width: 40%; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s !important; }
.it-lamp { left: 13%; bottom: 30%; width: 22%; }
.it-tree { left: 85%; bottom: 26%; width: 30%; }
.it-plant { left: 30%; bottom: 33%; width: 16%; }
.it-presents { left: 82%; bottom: 5%; width: 26%; }
.it-yarn { left: 16%; bottom: 6%; width: 19%; }
.room-btn { margin-top: 12px; padding: 10px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--gold-hi); background: rgba(242, 199, 110, .1); box-shadow: inset 0 0 0 1px var(--line-2); }
.room-btn:hover { background: rgba(242, 199, 110, .18); }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--gold); opacity: .8; }
.step-text h3 { font-size: 22px; color: var(--gold-hi); margin-top: 10px; line-height: 1.15; }
.step-text p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 700 17px/1 var(--serif); color: #2B1806; background: linear-gradient(180deg, #FFDA92, #E9A445); box-shadow: 0 0 18px rgba(255, 190, 90, .5); }
.step-vis { position: relative; display: grid; place-items: center; }
.ui-card { border-radius: 10.4% / 7.8%; box-shadow: 0 0 0 1px rgba(255, 220, 160, .18), 0 24px 40px -14px rgba(0, 0, 0, .75), 0 0 60px -20px rgba(255, 170, 80, .4); }
.start-card { width: 100%; max-width: 190px; border-radius: 6.5% / 3.8%; }
.latte { position: relative; width: 100%; max-width: 180px; aspect-ratio: 484 / 648; }
.latte .cup { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.latte .cup.on { opacity: 1; }
.latte-tag { margin-top: 12px; padding: 4px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-hi); background: rgba(242, 199, 110, .12); box-shadow: inset 0 0 0 1px var(--line); }
.receipt { width: 100%; max-width: 170px; transform: rotate(3deg); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
.how-note { margin-top: 30px; text-align: center; font: italic 500 17px/1.4 var(--serif); color: var(--cream); opacity: .9; }

/* study nights (and testimonials, once there are real ones) */
.quotes:empty { display: none; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.quote { padding: 22px; } .quote blockquote { margin: 0; font-size: 16px; } .quote figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.nights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.night { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 22px 22px; }
.avatar { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #6A4630, #3A241C 70%); box-shadow: 0 0 0 2px var(--line-2), 0 0 26px -6px rgba(255, 180, 90, .45); }
.avatar img { width: 86%; margin-bottom: 4%; }
.night h3 { font-size: 21px; }
.night p { font-size: 15px; }

/* pricing */
#pricing { padding-top: 80px; }
#pricing .lights-sm { top: 0; height: 70px; }
.price-card { position: relative; display: grid; grid-template-columns: 230px 1fr 1fr 150px; align-items: center; gap: 26px; padding: 30px 34px; border-radius: 26px;
  background: radial-gradient(60% 120% at 20% 50%, rgba(255, 170, 80, .16), transparent 70%), linear-gradient(180deg, #17392C, #10291F);
  box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 0 0 6px rgba(10, 30, 22, .6), inset 0 0 0 7px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 80px -30px rgba(255, 180, 90, .35); }
.pc-cat { position: relative; margin: -70px 0 -20px; }
.pc-cat img { width: 100%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); }
.sp { position: absolute; color: var(--gold-hi); text-shadow: 0 0 12px rgba(255, 210, 120, .9); animation: spark 2.4s ease-in-out infinite; }
.sp1 { left: -4%; top: 28%; font-size: 26px; } .sp2 { right: 0; top: 12%; font-size: 18px; animation-delay: .8s; } .sp3 { right: 6%; top: 58%; font-size: 16px; animation-delay: 1.5s; }
.pc-main { text-align: center; }
.pc-main h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--cream); }
.price { font: 700 clamp(52px, 6vw, 72px)/1 var(--serif); margin: 12px 0 18px; }
.pc-list { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line); display: grid; gap: 14px; font-size: 16.5px; }
.pc-list li { display: flex; gap: 12px; align-items: center; }
.pc-list li::before { content: ''; flex: none; width: 18px; height: 10px; margin-top: -5px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.pc-gift { width: 100%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.price-fine { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }

/* footer */
.footer { position: relative; margin-top: 60px; padding: 120px 0 34px; isolation: isolate; overflow: hidden; }
.foot-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--forest) 0%, rgba(14, 36, 28, .55) 40%, rgba(10, 21, 36, .82) 100%), url(media/cafe/foot-bg.jpg) center 30% / cover no-repeat; }
.foot-inner { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-tag { color: var(--muted); font-size: 15px; padding-left: 24px; border-left: 1px solid var(--line); }
.foot-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; }
.foot-links a { text-decoration: none; opacity: .9; } .foot-links a:hover { color: var(--gold-hi); }
.foot-copy { width: var(--wrap); margin: 18px auto 0; color: var(--muted); font-size: 13px; opacity: .8; }

/* mobile buy bar */
.mobile-buy { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(6, 1fr); }
  .features .card { grid-column: span 2; }
  .features .f-exam, .features .f-home { grid-column: span 3; }
  .steps { grid-template-columns: 1fr; gap: 26px; max-width: 640px; margin: 0 auto; }
  .step { grid-template-columns: 1.1fr .9fr; }
  .step:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); font-size: 22px; }
  .price-card { grid-template-columns: 200px 1fr 1fr; }
  .pc-gift { display: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 104px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  .hero-device { max-width: 680px; margin: 0 auto; width: 100%; }
  .nights, .quotes { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .price-card { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 26px 22px 30px; max-width: 520px; margin: 40px auto 0; }
  .pc-cat { width: 170px; margin: -110px auto 0; }
  .pc-list { border-left: 0; padding: 14px 0 0; border-top: 1px solid var(--line); justify-items: center; }
  .foot-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .foot-tag { border-left: 0; padding-left: 0; width: 100%; order: 2; }
  .foot-links { margin: 0; width: 100%; justify-content: center; order: 3; }
  .foot-inner .btn { order: 4; }
  .foot-copy { text-align: center; }
}
@media (max-width: 720px) {
  :root { --wrap: calc(100vw - 32px); }
  body { font-size: 15.5px; }
  .nav { padding: 14px 0; }
  .brand { font-size: 22px; } .brand-mark { height: 40px; }
  .hero { padding: 92px 0 36px; }
  .hero-bg { background:
    linear-gradient(180deg, rgba(8, 15, 27, .7) 0%, rgba(8, 15, 27, .55) 45%, rgba(8, 15, 27, .2) 70%, var(--night) 100%),
    url(media/cafe/hero-bg-m.jpg) center 30% / cover no-repeat; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .lede { font-size: 16.5px; margin: 16px auto 24px; }
  .btn-lg { padding: 17px 24px; font-size: 17px; width: 100%; max-width: 380px; }
  .chips { gap: 6px 14px; font-size: 13px; }
  .hero-device { padding: 0 4%; }
  .hero-hint { font-size: 13px; }
  .section { padding: 40px 0; }
  .title { gap: 12px; font-size: 25px; margin-bottom: 24px; }
  .title::before, .title::after { flex-basis: 28px; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features .card, .features .f-exam, .features .f-home { grid-column: span 2; min-height: 0; }
  .features .f-list, .features .f-exam { grid-column: span 1; padding: 14px 12px; }
  .features .f-list h3, .features .f-exam h3 { font-size: 18px; }
  .features .f-list p, .features .f-exam p { font-size: 13px; }
  .f-mixer .mixer, .f-wall .wall, .f-home .room { max-width: 420px; width: 100%; margin-left: auto; margin-right: auto; }
  .f-home .room { min-height: 220px; flex: none; aspect-ratio: 4 / 3; }
  .f-wall .wall-big { flex: none; aspect-ratio: 16 / 10; }
  .step { grid-template-columns: 1fr 120px; gap: 12px; }
  .step-text h3 { font-size: 20px; }
  .start-card { max-width: 120px; } .latte { max-width: 120px; } .receipt { max-width: 110px; }
  .night { grid-template-columns: 72px 1fr; padding: 18px; gap: 14px; }
  .avatar { width: 72px; height: 72px; }
  .faq summary { font-size: 15.5px; padding: 15px 16px; }
  .faq details p { padding: 0 16px 16px; }
  .footer { padding-top: 80px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-buy { display: flex; position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 9px 9px 18px; border-radius: 99px; font-size: 14.5px; background: rgba(12, 28, 24, .88); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 30px -10px rgba(0, 0, 0, .7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(160%); transition: transform .35s var(--ease); }
  .mobile-buy b { color: var(--gold-hi); }
  .mobile-buy.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* legal pages (privacy, terms, refunds) */
.legal { width: min(760px, calc(100vw - 32px)); margin: 0 auto; padding: 130px 0 40px; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); font-style: italic; font-weight: 700; line-height: 1.05; padding-bottom: .06em; }
.legal .updated { margin: 10px 0 30px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 30px 0 8px; font-size: 22px; color: var(--gold-hi); }
.legal p, .legal li { color: var(--cream); font-size: 16.5px; line-height: 1.65; opacity: .92; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.legal a { color: var(--gold-hi); }
.legal .card { padding: 20px 22px; margin: 22px 0; }
.legal-foot { width: min(760px, calc(100vw - 32px)); margin: 30px auto 0; padding: 22px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-foot a { color: var(--cream); text-decoration: none; } .legal-foot a:hover { color: var(--gold-hi); }
.foot-copy a { color: inherit; }
body.legal-page .nav .btn { margin-left: auto; }
