/* ToHuus Hub · marketing site. Light, warm, northern-German home. No frameworks. */
@font-face { font-family: 'Geist'; src: url('fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('fonts/caveat-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --linen: #f7f2e8;
  --linen-2: #efe6d5;
  --paper: #fffcf6;
  --ink: #1d2a33;
  --ink-2: #46535d;
  --ink-3: #6f7a82;
  --line: rgba(29, 42, 51, 0.12);
  --line-2: rgba(29, 42, 51, 0.2);
  --sea: #1f4257;
  --sea-2: #2d5b75;
  --sea-soft: #e2ebee;
  --brick: #b4472e;
  --brick-deep: #93361f;
  --brick-soft: #f4ddd2;
  --honey: #e5a93f;
  --honey-soft: #fcecc4;
  --note-yellow: #fbe8a6;
  --note-blue: #dceaf0;
  --kraft: #e7d3ae;
  --sage: #a9bd9b;
  --app: #1d9a63;
  --shadow-card: 0 1px 2px rgba(60, 42, 20, 0.06), 0 18px 40px -22px rgba(60, 42, 20, 0.35);
  --shadow-note: 0 1px 1px rgba(60, 42, 20, 0.08), 0 10px 22px -12px rgba(60, 42, 20, 0.4);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: 'Bricolage Grotesque', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* linen grain, fixed and non-interactive */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.028em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2.5px solid var(--sea-2); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.hand { font-family: var(--hand); font-weight: 600; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50;
  margin: 12px auto 0;
  width: calc(100% - 24px); max-width: 1120px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 252, 246, 0.82);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -20px rgba(60, 42, 20, 0.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: none; gap: 2px; }
.nav-links a, .lang a { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.nav-links a:hover, .lang a:hover { background: var(--linen-2); color: var(--ink); }
.lang { display: flex; padding: 3px; background: var(--linen-2); border-radius: 999px; }
.lang a { padding: 5px 10px; font: 500 0.78rem/1.2 var(--mono); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.nav-gh { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--sea); color: #fff; padding: 9px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.nav-gh:hover { background: var(--sea-2); }
.nav-gh:active { transform: scale(0.97); }
.nav-gh span { display: none; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-gh span { display: inline; } }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 550; font-size: 1rem; border-radius: 999px; padding: 12px 20px; transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brick); color: #fff; padding: 7px 7px 7px 22px; box-shadow: 0 10px 24px -12px rgba(147, 54, 31, 0.7); }
.btn-primary:hover { background: var(--brick-deep); }
.btn-ico { width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.18); display: grid; place-items: center; transition: transform 0.4s var(--spring); }
.btn-primary:hover .btn-ico { transform: translate(2px, -1px) scale(1.06); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--paper); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--brick-deep); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 56px; position: relative; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.greet { font: 600 2.1rem/1 var(--hand); color: var(--brick); display: inline-block; transform: rotate(-3deg); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.3rem); line-height: 1; }
.hero h1 em { font-style: normal; color: var(--sea); }
.hero h1 em span { background: linear-gradient(transparent 64%, var(--honey-soft) 64%, var(--honey-soft) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.04em; }
.lede { font-size: 1.14rem; color: var(--ink-2); margin: 22px 0 28px; max-width: 34rem; }
.platt { margin-top: 28px; display: flex; gap: 12px; align-items: baseline; color: var(--ink-3); font-size: 0.92rem; max-width: 30rem; }
.platt b { font: 600 1.35rem/1 var(--hand); color: var(--ink); white-space: nowrap; }

.house-wrap { position: relative; }
.house { width: 100%; height: auto; display: block; overflow: visible; }
.house .room { cursor: pointer; outline: none; }
.house .room .bg { fill: #fdf8ee; transition: fill 0.45s var(--ease); }
.house .room:hover .bg, .house .room:focus-visible .bg, .house .room.on .bg { fill: var(--honey-soft); }
.house .room .edge { fill: none; stroke: var(--brick); stroke-width: 3; opacity: 0; transition: opacity 0.35s var(--ease); }
.house .room.on .edge, .house .room:focus-visible .edge { opacity: 1; }
.house .pin circle.ring { fill: none; stroke: var(--brick); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
.house .room.on .pin circle.ring { animation: none; opacity: 0; }
.house .pin .dot { fill: var(--brick); transition: transform 0.4s var(--spring); transform-box: fill-box; transform-origin: center; }
.house .room.on .pin .dot { transform: scale(1.35); }
@keyframes ping { 0% { transform: scale(0.7); opacity: 0.9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.house-hint { display: flex; align-items: center; gap: 8px; justify-content: center; font: 500 0.78rem/1.2 var(--mono); color: var(--ink-3); margin-top: 6px; }
.house-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); display: inline-block; }

.house-note {
  display: none;
  background: var(--note-yellow);
  padding: 16px 18px 16px;
  border-radius: 3px 3px 14px 3px;
  box-shadow: var(--shadow-note);
  transform: rotate(-1.4deg);
  position: relative;
  max-width: 330px;
}
.house-note::before { content: ''; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e07a5f, var(--brick-deep)); box-shadow: 0 3px 5px -1px rgba(0,0,0,0.3); }
.house-note .hn-where { font: 500 0.7rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--brick-deep); }
.house-note .hn-title { font: 600 1.6rem/1.05 var(--hand); color: var(--ink); margin: 6px 0 8px; }
.house-note ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.house-note li { display: flex; gap: 8px; }
.house-note li + li { margin-top: 3px; }
.house-note li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 0.55em; background: var(--sea-2); }
.house-note li.warn::before { background: var(--brick); }
.house-note.pop { animation: pop 0.55s var(--spring); }
@keyframes pop { from { opacity: 0; transform: rotate(-4deg) translateY(6px) scale(0.96); } to { opacity: 1; transform: rotate(-1.4deg); } }

/* no-JS: the notes are shown as a plain legend */
.house-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.house-list li { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 0.86rem; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.house-list b { display: block; color: var(--ink); font-weight: 600; }
.js .house-list { display: none; }
.js .house-note { display: block; margin: 18px auto 0; }

@media (min-width: 980px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; gap: 40px; }
  .house { width: 88%; margin-left: auto; }
  .js .house-note { position: absolute; left: -48px; top: -34px; margin: 0; width: 232px; padding: 14px 16px; }
  .js .house-note .hn-title { font-size: 1.45rem; }
  .js .house-note ul { font-size: 0.85rem; }
  .house-hint { justify-content: flex-end; padding-right: 8%; }
}

/* ---------- section scaffolding ---------- */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.head { max-width: 44rem; margin-bottom: 48px; }
.head h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 16px 0 16px; }
.head p { color: var(--ink-2); font-size: 1.1rem; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- moments (a day at home) ---------- */
.day { position: relative; display: grid; gap: 72px; }
.moment { display: grid; gap: 28px; align-items: center; }
.m-text { max-width: 30rem; }
.m-time { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.m-time b { font: 600 1.05rem/1 var(--mono); color: var(--paper); background: var(--sea); padding: 6px 10px; border-radius: 8px; letter-spacing: 0.02em; }
.m-time span { font: 500 0.78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.m-text h3 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); margin-bottom: 14px; }
.m-text h3 q { quotes: none; }
.m-text p { color: var(--ink-2); }
.m-text p + p { margin-top: 12px; }
.m-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.m-tags li { font-size: 0.84rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.m-tags li.new { background: var(--brick-soft); box-shadow: none; color: var(--brick-deep); font-weight: 550; }

.m-media { position: relative; justify-self: center; width: min(100%, 330px); }
.shot {
  margin: 0;
  background: var(--paper);
  padding: 9px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(29, 42, 51, 0.06), var(--shadow-card);
  transform: rotate(var(--tilt, -1.6deg));
  transition: transform 0.8s var(--ease);
}
.shot .crop { border-radius: 18px; overflow: hidden; aspect-ratio: 780 / 1240; background: #fff; box-shadow: inset 0 0 0 1px rgba(29,42,51,0.06); }
.shot .crop img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.m-media:hover .shot { transform: rotate(0deg) translateY(-4px); }
.shot.second { position: absolute; width: 74%; right: -34%; bottom: -8%; --tilt: 4deg; z-index: -1; }
.magnet { position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 30%, #5b86a0, var(--sea)); box-shadow: 0 4px 6px -2px rgba(0,0,0,0.35); }
.magnet.red { background: radial-gradient(circle at 35% 30%, #e07a5f, var(--brick-deep)); }
.magnet.honey { background: radial-gradient(circle at 35% 30%, #f3cd7f, #c98a22); }
.sticky {
  position: absolute; z-index: 3;
  font: 600 1.42rem/1.05 var(--hand); color: var(--ink);
  background: var(--note-yellow);
  padding: 12px 14px 14px;
  width: 150px;
  box-shadow: var(--shadow-note);
  border-radius: 2px 2px 10px 2px;
  transform: rotate(var(--r, 3deg));
}
.sticky.blue { background: var(--note-blue); }
.sticky.white { background: #fff; }
.sticky.pink { background: var(--brick-soft); }
.sticky small { display: block; font: 500 0.66rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 4px; }
.sticky.tl { left: -22px; top: 18%; --r: -4deg; }
.sticky.br { right: -24px; bottom: 12%; --r: 3deg; }
.sticky.tr { right: -26px; top: 10%; --r: 4deg; }
.sticky.bl { left: -24px; bottom: 10%; --r: -3deg; }
.js .sticky.reveal { transform: rotate(var(--r, 3deg)) translateY(16px) scale(0.92); }
.js .sticky.reveal.in { transform: rotate(var(--r, 3deg)); transition-timing-function: var(--spring); }
@media (max-width: 520px) {
  .sticky { width: 132px; font-size: 1.28rem; }
  .sticky.tl, .sticky.bl { left: -8px; }
  .sticky.br, .sticky.tr { right: -8px; }
  .m-media { width: min(82%, 300px); }
  .shot.second { display: none; }
}
@media (min-width: 900px) {
  .day::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 0; border-left: 2px dashed rgba(29, 42, 51, 0.16); }
  .moment { grid-template-columns: 1fr 1fr; gap: 96px; }
  .moment .m-text { justify-self: end; }
  .moment.flip .m-media { order: -1; }
  .moment.flip .m-text { justify-self: start; }
}
@media (min-width: 900px) {
  .moment { position: relative; }
  .moment::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--linen); border: 3px solid var(--sea); }
}

/* ---------- fridge door ---------- */
.fridge-sec { padding-top: 40px; }
.fridge {
  position: relative;
  border-radius: 28px 28px 22px 22px;
  background: linear-gradient(100deg, #fbfaf6 0%, #ffffff 38%, #f4f2ec 70%, #fbfaf7 100%);
  box-shadow: 0 0 0 1px rgba(29, 42, 51, 0.08), inset 0 -10px 0 #eeebe3, 0 30px 60px -40px rgba(60, 42, 20, 0.5);
  padding: 56px 20px 64px;
}
.fridge::after { content: ''; position: absolute; right: 14px; top: 18px; width: 8px; height: 70px; border-radius: 8px; background: linear-gradient(90deg, #d9d6cd, #f7f6f2 50%, #cfcbc1); box-shadow: 0 6px 10px -6px rgba(0,0,0,0.3); }
.fridge-head { max-width: 40rem; margin: 0 auto 40px; text-align: center; }
.fridge-head h2 { font-size: clamp(2rem, 5.6vw, 3.3rem); margin-top: 14px; }
.fridge-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.06rem; }
.notes { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 30px 26px; max-width: 1040px; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.note { position: relative; padding: 26px 22px 22px; box-shadow: var(--shadow-note); border-radius: 3px 3px 16px 3px; transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--spring); }
.note:hover { transform: rotate(0deg) translateY(-3px); }
.note h3 { font: 600 1.85rem/1 var(--hand); letter-spacing: 0; margin-bottom: 10px; }
.note p { font-size: 0.95rem; color: var(--ink-2); }
.note .magnet { top: -11px; }
.note.y { background: var(--note-yellow); --r: -1.6deg; }
.note.b { background: var(--note-blue); --r: 1.4deg; }
.note.w { background: #fff; --r: -0.8deg; box-shadow: var(--shadow-note), inset 0 30px 0 -29px rgba(180, 71, 46, 0.35); background-image: repeating-linear-gradient(transparent 0 27px, rgba(45, 91, 117, 0.12) 27px 28px); background-position: 0 44px; }
.note.k { background: var(--kraft); --r: 1.8deg; }
.note.p { background: var(--brick-soft); --r: -1.2deg; }
.js .note.reveal { transform: rotate(var(--r)) translateY(18px); }
.js .note.reveal.in { transform: rotate(var(--r)); }
.js .note.reveal.in:hover { transform: rotate(0deg) translateY(-3px); }
@media (min-width: 900px) { .fridge { padding: 72px 64px 84px; } .fridge::after { right: 26px; top: 80px; height: 200px; } }

/* ---------- desktop band ---------- */
.desk { display: grid; gap: 32px; align-items: center; }
.desk-text h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 14px 0; }
.desk-text p { color: var(--ink-2); }
.browser { margin: 0; background: var(--paper); border-radius: 18px; padding: 8px; box-shadow: 0 0 0 1px rgba(29,42,51,0.07), var(--shadow-card); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--linen-2); }
.browser-bar span { margin-left: 10px; font: 500 0.72rem/1 var(--mono); color: var(--ink-3); background: var(--linen); padding: 6px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { border-radius: 10px; }
@media (min-width: 900px) { .desk { grid-template-columns: 0.7fr 1.3fr; gap: 56px; } }

/* ---------- story ---------- */
.story { display: grid; gap: 36px; }
.story-mark { position: relative; }
.story-mark .word { font: 800 clamp(4rem, 16vw, 8.5rem)/0.85 var(--display); letter-spacing: -0.05em; color: var(--brick); }
.story-mark .gloss { display: block; margin-top: 16px; font: 600 1.6rem/1.1 var(--hand); color: var(--ink-2); transform: rotate(-2deg); }
.story-mark .pron { display: block; margin-top: 18px; font: 500 0.78rem/1.5 var(--mono); color: var(--ink-3); letter-spacing: 0.04em; }
.story-text h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 14px 0 22px; }
.story-text p { color: var(--ink-2); font-size: 1.07rem; }
.story-text p + p { margin-top: 16px; }
.story-text .sig { margin-top: 24px; font: 600 1.8rem/1 var(--hand); color: var(--sea); }
@media (min-width: 900px) { .story { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; } .story-mark { position: sticky; top: 120px; } }

/* ---------- tech / receipt ---------- */
.tech { display: grid; gap: 44px; align-items: start; }
.tech-text h2 { font-size: clamp(2rem, 5.4vw, 3.2rem); margin: 14px 0 18px; }
.tech-text > p { color: var(--ink-2); font-size: 1.07rem; }
.chat { margin-top: 30px; display: grid; gap: 10px; max-width: 26rem; }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 0.93rem; line-height: 1.45; }
.bubble.me { background: var(--sea); color: #f3f6f8; border-bottom-right-radius: 6px; justify-self: end; max-width: 88%; }
.bubble.ai { background: var(--paper); color: var(--ink-2); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); max-width: 92%; }
.bubble .att { display: inline-flex; align-items: center; gap: 6px; font: 500 0.75rem/1 var(--mono); background: rgba(255,255,255,0.14); padding: 5px 8px; border-radius: 8px; margin-bottom: 6px; }
.chat-cap { font: 500 0.72rem/1.4 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }

.receipt {
  position: relative;
  background: #fffefb;
  padding: 30px 24px 40px;
  font: 400 0.86rem/1.5 var(--mono);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transform: rotate(0.8deg);
  max-width: 520px; width: 100%;
  --zz: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zz) * 2) var(--zz) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zz)) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zz) * 2) var(--zz) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zz)) no-repeat;
}
.receipt header { text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line-2); margin-bottom: 12px; }
.receipt header b { display: block; font: 700 1.25rem/1.1 var(--display); letter-spacing: -0.01em; }
.receipt header span { color: var(--ink-3); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; }
.receipt dl { margin: 0; }
.receipt .row { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 7px 0; }
.receipt dt { color: var(--ink-3); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; padding-top: 0.15em; min-width: 8.5em; }
.receipt dd { margin: 0; text-align: right; }
.receipt dd small { display: block; color: var(--ink-3); font-size: 0.74rem; }
.receipt .total { border-top: 1.5px dashed var(--line-2); margin-top: 10px; padding-top: 14px; display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }
.receipt .thanks { text-align: center; margin-top: 16px; font: 600 1.45rem/1 var(--hand); color: var(--brick); }
@media (max-width: 480px) {
  .receipt { padding: 26px 16px 36px; transform: none; }
  .receipt .row { grid-template-columns: 1fr; }
  .receipt dd { text-align: left; }
}
@media (min-width: 960px) { .tech { grid-template-columns: 1fr 1fr; gap: 80px; } }

.receipt-wrap { filter: drop-shadow(0 18px 24px rgba(60, 42, 20, 0.16)) drop-shadow(0 1px 1px rgba(60, 42, 20, 0.08)); justify-self: center; width: 100%; max-width: 520px; }
.note.list { background: #fff; --r: 2deg; }
.note.list ul { list-style: none; margin: 0; padding: 0; font: 600 1.45rem/1.25 var(--hand); color: var(--sea); }
.note.list li { display: flex; align-items: center; gap: 10px; }
.note.list li::before { content: ''; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 3px; flex: none; transform: rotate(-4deg); }
.note.list li.done { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.note.list li.done::before { background: linear-gradient(45deg, transparent 42%, currentColor 42% 58%, transparent 58%); }
.note.list small { display: block; margin-top: 10px; font: 500 0.72rem/1.4 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- install ---------- */
.install { display: grid; gap: 40px; }
.install h2 { font-size: clamp(2rem, 5.6vw, 3.4rem); margin: 14px 0 18px; }
.install-intro { color: var(--ink-2); font-size: 1.07rem; }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--ink-2); font-size: 0.97rem; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 0.85rem/1 var(--mono); background: var(--paper); color: var(--sea); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.steps b { display: block; color: var(--ink); font-weight: 600; }
.steps code, .install-intro code { font-size: 0.85em; background: var(--linen-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); overflow-wrap: anywhere; }
.code { background: var(--sea); border-radius: 22px; padding: 6px; box-shadow: 0 30px 60px -36px rgba(31, 66, 87, 0.8); min-width: 0; }
.code + .code { margin-top: 16px; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px; color: #b8cad5; font: 500 0.78rem/1 var(--mono); }
.copy { display: inline-flex; align-items: center; gap: 6px; font: 500 0.78rem/1 var(--mono); color: #fff; background: rgba(255,255,255,0.1); border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: background 0.3s var(--ease); }
.copy:hover { background: rgba(255,255,255,0.2); }
.code pre { margin: 0; background: #183547; border-radius: 17px; padding: 18px 18px; color: #e8eef2; font-size: 0.82rem; line-height: 1.65; overflow-x: auto; }
.code .k { color: #f3c77a; }
.code .s { color: #a9d8bd; }
.code .c { color: #7f9bab; }
@media (min-width: 960px) { .install { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }

/* ---------- final CTA ---------- */
.door { position: relative; text-align: center; padding: 72px 20px 80px; border-radius: 32px; background: var(--brick-soft); overflow: hidden; }
.door::before { content: ''; position: absolute; inset: 0; opacity: 0.35; background-image: linear-gradient(rgba(180,71,46,0.18) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(180,71,46,0.18) 1.5px, transparent 1.5px); background-size: 56px 28px, 56px 28px; background-position: 0 0, 0 0; -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%); }
.door > * { position: relative; }
.door .greet { font-size: 2.6rem; }
.door h2 { font-size: clamp(2.2rem, 7vw, 4.2rem); margin: 6px 0 16px; }
.door p { color: var(--ink-2); max-width: 32rem; margin: 0 auto 30px; font-size: 1.08rem; }
.door .btns { justify-content: center; }

/* ---------- footer ---------- */
.footer { padding: 24px 0 40px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer p { color: var(--ink-2); font-size: 0.93rem; margin-top: 14px; max-width: 26rem; }
.footer h4 { margin: 0 0 12px; font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.footer ul a { text-decoration: none; color: var(--ink-2); }
.footer ul a:hover { color: var(--brick-deep); text-decoration: underline; text-underline-offset: 3px; }
.fine { margin-top: 24px !important; font-size: 0.8rem !important; color: var(--ink-3) !important; max-width: 60rem !important; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- weekend: day markers ---------- */
.day-mark { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-start; margin-bottom: -36px; }
.day-mark span { display: block; font: 500 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.16em; color: var(--paper); background: var(--ink); padding: 9px 14px; border-radius: 999px; box-shadow: 0 0 0 6px var(--linen); }
@media (min-width: 900px) { .day-mark { justify-content: center; margin-bottom: -48px; } }

/* ---------- the party moment: a TV instead of a phone ---------- */
.m-media.tv { width: min(100%, 560px); padding-bottom: 22px; }
.tv-frame { position: relative; margin: 0; background: var(--ink); padding: 9px 9px 14px; border-radius: 16px; box-shadow: var(--shadow-card); transform: rotate(var(--tilt, -1deg)); transition: transform 0.8s var(--ease); }
.tv-frame img { width: 100%; aspect-ratio: 16 / 9; border-radius: 7px; }
.tv-frame::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 28%; height: 10px; margin-left: -14%; border-radius: 0 0 10px 10px; background: #2b3a45; }
.m-media.tv:hover .tv-frame { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 520px) { .m-media.tv { width: 100%; } .m-media.tv .sticky.br { right: -4px; bottom: -6px; } }

/* ---------- everything else: the kitchen drawer ---------- */
.drawer { position: relative; background: var(--kraft); border-radius: 22px; padding: 30px 20px 18px; box-shadow: inset 0 0 0 1px rgba(29, 42, 51, 0.06), 0 26px 50px -36px rgba(60, 42, 20, 0.55); }
.drawer::before { content: ''; position: absolute; left: 50%; top: 14px; width: 64px; height: 7px; margin-left: -32px; border-radius: 7px; background: rgba(29, 42, 51, 0.22); box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.18); }
.drawer-head { display: grid; gap: 10px; margin: 14px 0 18px; max-width: 40rem; }
.drawer-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
.drawer-head p { color: var(--ink-2); }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 32px; }
.drawer li { padding: 14px 0 16px; border-top: 1.5px dashed rgba(29, 42, 51, 0.2); }
.drawer li b { display: block; font: 500 0.72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--brick-deep); margin-bottom: 5px; }
.drawer li span { display: block; color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; }
@media (min-width: 640px) { .drawer ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .drawer { padding: 44px 48px 28px; } .drawer ul { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .sticky.reveal, .js .note.reveal { transform: rotate(var(--r, 0deg)); }
}
.house-list span { display: block; }
