/* Buttermilk — buttermilkcam.com. Tokens mirror App/Sources/DesignSystem/Theme.swift (BM.*). */
:root {
  --butter: #ffd159;
  --butter-deep: #f5b83d;
  --cream: #fff6e0;
  --ink: #1c1712;
  --ink-raised: #2b231c;
  --tape: #fa5c4a;
  --tape-deep: #c8392a; /* tape red dark enough for text on cream (AA) */
  --orange: #f2852c;

  --bg: var(--cream);
  --fg: var(--ink);
  --muted: #5e5246;
  --card: #fffdf6;
  --line: rgba(28, 23, 18, 0.14);
  --accent-text: var(--tape-deep);
  --link: #8a4b00;

  --radius: 18px;
  --radius-lg: 28px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Marker Felt", "Chalkboard SE", "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 0 rgba(28, 23, 18, 0.06), 0 12px 30px -10px rgba(28, 23, 18, 0.35);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --fg: var(--cream);
    --muted: #c9bba6;
    --card: var(--ink-raised);
    --line: rgba(255, 246, 224, 0.14);
    --accent-text: #ff8a7a;
    --link: var(--butter);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 14px 34px -12px rgba(0, 0, 0, 0.8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--round);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Film grain over everything, very faint. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) { body::after { mix-blend-mode: screen; opacity: 0.05; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--round); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); font-weight: 900; }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; font-weight: 600; max-width: 34ch; }

/* The one accent word per headline: tape red with a hand-drawn squiggle underneath. */
.accent { color: var(--accent-text); position: relative; white-space: nowrap; display: inline-block; }
.accent::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.16em; height: 0.24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 14 2, 22 2, 32 7 S 52 12, 62 6 S 84 1, 94 6 S 112 10, 118 4' fill='none' stroke='%23fa5c4a' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 8px rgba(28, 23, 18, 0.25); }
.site-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: inherit; text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { background: var(--line); }
.site-nav a[aria-current="page"] { background: var(--fg); color: var(--bg); }
@media (max-width: 520px) { .site-nav .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 26px;
  border-radius: 999px; font-weight: 800; font-size: 1.1rem; text-decoration: none;
  background: var(--ink); color: var(--cream); border: 0;
  box-shadow: 0 4px 0 #000, 0 14px 26px -10px rgba(28, 23, 18, 0.6);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-butter { background: var(--butter); color: var(--ink); box-shadow: 0 4px 0 #b9862a, 0 14px 26px -10px rgba(0, 0, 0, 0.6); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.fine { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin: 0; }
/* Reserved for the App Store badge once the app is live. */
.store-slot:empty { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--butter); color: var(--ink); overflow: hidden; padding-bottom: clamp(48px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 260vmax; height: 260vmax; transform: translate(-30%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.22) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 46%); mask: radial-gradient(circle, #000 0, transparent 46%);
  pointer-events: none;
}
.on-butter { background: var(--butter); color: var(--ink); }
.on-butter .site-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.on-butter .site-nav a:hover { background: rgba(28, 23, 18, 0.1); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(12px, 3vw, 40px); }
.hero h1 { margin-bottom: 0.3em; }
.hero .lede { margin-bottom: 28px; }
.hero .accent { color: #c8392a; }
.hero .fine { color: #5b4520; margin-top: 14px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
}

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone {
  position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 12px;
  background: #0d0b09; box-shadow: 0 0 0 2px #3a3128, 0 40px 60px -20px rgba(60, 30, 0, 0.55);
  transform: rotate(-4deg); z-index: 2;
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--ink); display: flex; flex-direction: column; }
.screen .bar { height: 15%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.pill { font: 700 0.78rem/1 var(--round); color: var(--cream); background: rgba(255, 255, 255, 0.12); padding: 7px 12px; border-radius: 999px; }
.viewfinder { position: relative; flex: none; aspect-ratio: 3 / 4; overflow: hidden; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s; }
.screen .strip { display: flex; gap: 6px; justify-content: center; padding: 10px 0 0; }
.screen .strip span { width: 26px; height: 26px; border-radius: 50%; background: #3a3128 center / cover; border: 2px solid transparent; }
.screen .strip span.on { border-color: var(--butter); transform: scale(1.18); }
.shutter { margin: auto auto 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--cream); }

.print {
  position: absolute; margin: 0; background: #fffdf8; padding: 10px 10px 40px; border-radius: 3px; width: min(190px, 40vw);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 18px 30px -12px rgba(60, 30, 0, 0.5);
  transition: transform 0.4s var(--bounce);
}
.print img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 1.15rem/1 var(--hand); color: #3a2f25; }
.hero-art .p1 { left: -2%; top: 12%; transform: rotate(-11deg); z-index: 3; }
.hero-art .p2 { right: -4%; bottom: 40px; transform: rotate(9deg); z-index: 3; }
.print:hover { transform: rotate(0deg) scale(1.04); z-index: 5; }
@media (max-width: 520px) {
  .hero-art { min-height: 0; padding: 20px 0 40px; }
  .hero-art .p1 { left: -10px; top: 34%; width: 130px; }
  .hero-art .p2 { right: -10px; bottom: 0; width: 130px; }
}

/* ---------- Stickers ---------- */
.rec {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 4;
  background: var(--ink); color: var(--cream); font: 800 0.95rem/1 var(--mono); letter-spacing: 0.08em;
  padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.rec::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--tape); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.starburst {
  position: absolute; z-index: 4; width: 128px; height: 128px; display: grid; place-items: center; text-align: center;
  background: var(--tape); color: var(--cream); font: 900 1.05rem/1.05 var(--round); letter-spacing: -0.01em;
  clip-path: polygon(50% 0%, 59% 13%, 74% 5%, 77% 21%, 93% 21%, 88% 36%, 100% 46%, 89% 57%, 96% 72%, 80% 75%, 78% 91%, 63% 87%, 52% 100%, 42% 88%, 27% 95%, 23% 79%, 7% 77%, 12% 62%, 0% 52%, 10% 41%, 4% 26%, 20% 23%, 22% 7%, 37% 12%);
  animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { rotate: 8deg; } 50% { rotate: -4deg; } }
.tape-label {
  display: inline-block; background: var(--ink); color: var(--cream); font: 700 0.85rem/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.14em; padding: 9px 14px 8px; border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 12px -6px rgba(0, 0, 0, 0.5); transform: rotate(-2deg);
}
@media (prefers-color-scheme: dark) { .tape-label { background: var(--cream); color: var(--ink); } }
.tape-label.red { background: var(--tape); color: #fff; }
.tape-label.butter { background: var(--butter); color: var(--ink); }
.hero-art .rec { top: 6%; right: 12%; transform: rotate(6deg); }
.hero-art .starburst { left: 4%; bottom: 6%; }
@media (max-width: 520px) { .hero-art .starburst { width: 104px; height: 104px; font-size: 0.9rem; left: 0; top: 2%; bottom: auto; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 10vw, 128px); }
.section.ink { background: var(--ink); color: var(--cream); }
.section.ink .accent { color: var(--butter); }
.section.ink .accent::after { filter: hue-rotate(35deg) saturate(1.4) brightness(1.4); }
/* Ink on tape red: white on #fa5c4a is only 3:1, ink is 6.6:1. */
.section.red { background: var(--tape); color: var(--ink); }
.section.red .accent { color: var(--ink); }
.section.red .accent::after { filter: brightness(0); }
.section.red .tape-label { background: var(--ink); color: var(--cream); }
.section.butter { background: var(--butter); color: var(--ink); }
.section.butter .accent { color: #c8392a; }
.section.ink .muted, .section.red .muted { color: inherit; opacity: 0.85; }
@media (prefers-color-scheme: dark) {
  .section.cream-alt { background: var(--ink-raised); }
  .section.ink { background: #120e0b; }
}
.kicker { display: table; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--butter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231c1712' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Looks wall */
.looks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.looks-head p { max-width: 46ch; margin: 0; }
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 28px); list-style: none; padding: 0; margin: 0; }
.wall .print { position: relative; width: auto; padding: 8px 8px 38px; }
.wall .print img { aspect-ratio: 3 / 4; }
.wall li:nth-child(4n + 1) .print { transform: rotate(-3deg); }
.wall li:nth-child(4n + 2) .print { transform: rotate(2deg) translateY(10px); }
.wall li:nth-child(4n + 3) .print { transform: rotate(-1.5deg); }
.wall li:nth-child(4n + 4) .print { transform: rotate(3deg) translateY(6px); }
.wall .print:hover { transform: rotate(0) scale(1.05); }
@media (max-width: 760px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-color-scheme: dark) { .print { background: #f6efe0; } }
.swipe-tape { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* Free */
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.free-card { background: rgba(255, 246, 224, 0.06); border: 1px solid rgba(255, 246, 224, 0.14); border-radius: var(--radius-lg); padding: 26px; }
.free-card .big { font: 900 clamp(2rem, 4vw, 2.8rem)/1 var(--round); color: var(--butter); display: block; margin-bottom: 10px; letter-spacing: -0.02em; }
.free-card p { margin: 0; color: #e8dcc6; }
@media (max-width: 760px) { .free-grid { grid-template-columns: 1fr; } }
.free-wrap { position: relative; }
.free-wrap .starburst { right: 0; top: -20px; background: var(--butter); color: var(--ink); width: 140px; height: 140px; font-size: 1.2rem; }
@media (max-width: 760px) { .free-wrap .starburst { width: 104px; height: 104px; font-size: 0.95rem; top: -48px; right: -6px; } }

/* Before / after */
.compare {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  --pos: 50%; touch-action: pan-y; user-select: none; background: #000;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--cream); pointer-events: none; }
.compare .handle::after {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: var(--cream); color: var(--ink); font: 800 0.8rem/1 var(--round); padding: 13px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type="range"]:focus-visible + .handle { outline: 3px solid var(--tape); outline-offset: 2px; }
.compare .tag { position: absolute; bottom: 14px; z-index: 1; pointer-events: none; }
.compare .tag.l { left: 14px; }
.compare .tag.r { right: 14px; }

/* Video */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 50px -24px rgba(60, 0, 0, 0.7); border: 10px solid var(--ink); }
.video-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video-frame .rec { top: 16px; left: 16px; }
.video-frame .scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 4px); }

/* Private */
.cloud-card { position: relative; }
.cloud-card img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cloud-card .tape-label { position: absolute; top: -14px; right: 18px; transform: rotate(5deg); }

/* Final CTA */
.final { text-align: center; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.22) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 40%); mask: radial-gradient(circle, #000 0, transparent 40%);
  pointer-events: none;
}
.final .wrap { position: relative; }
.final .lede { margin-inline: auto; }
.final .cta-row { justify-content: center; margin-top: 28px; }
.final .app-icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 18px 30px -12px rgba(60, 30, 0, 0.6); transform: rotate(-6deg); }

/* ---------- Document pages (privacy, support) ---------- */
.page-head { background: var(--butter); color: var(--ink); padding-bottom: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head .site-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.page-head .site-nav a:hover { background: rgba(28, 23, 18, 0.1); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: clamp(16px, 4vw, 48px); }
.page-head .lede { max-width: 48ch; }
.page-head .tape-label { margin-top: 8px; }
.doc { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.doc h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-top: 2.2em; scroll-margin-top: 24px; }
.doc h3 { margin-top: 1.6em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.45em; }
.doc li::marker { color: var(--tape); }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.summary h2 { margin-top: 0; }
.summary .checks li::before { background-color: var(--butter); }
.toc { columns: 2; column-gap: 32px; padding-left: 1.2em; margin-top: 24px; }
@media (max-width: 560px) { .toc { columns: 1; } }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; margin: 12px 0 20px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--line); padding: 1px 6px; border-radius: 6px; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 1.12rem; position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--butter); color: var(--ink); font-weight: 900; transition: transform 0.3s var(--bounce);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 22px 18px; }
.faq .answer p:last-child { margin-bottom: 0; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); margin-top: 48px; }
.contact-card h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-card p { margin: 0; color: #e8dcc6; }
.contact-card a { color: var(--butter); font-weight: 800; }
.contact-card img { width: 72px; height: 72px; border-radius: 18px; }
@media (max-width: 520px) { .contact-card { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 100vh; display: flex; flex-direction: column; background: var(--ink); color: var(--cream); }
.lost .site-nav a[aria-current="page"] { background: var(--cream); color: var(--ink); }
.lost main { flex: 1; display: grid; place-items: center; padding: 24px 0 64px; }
.lost .tv { position: relative; width: min(520px, 100%); border-radius: 30px; padding: 18px; background: #3a3128; box-shadow: var(--shadow); transform: rotate(-2deg); }
.lost .tv img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(1.2); }
.lost .tv .rec { top: 34px; left: 34px; }
.lost h1 { margin-top: 36px; font-size: clamp(2.4rem, 7vw, 4rem); }
.lost .accent { color: var(--butter); }
.lost .center { text-align: center; }
.lost .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8dcc6; padding-block: 48px 40px; font-size: 0.98rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--cream); font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { text-decoration: none; padding: 10px 0; display: inline-block; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .brand { color: var(--cream); }
.site-footer p { margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { .site-footer { border-top: 1px solid var(--line); background: #120e0b; } }

/* Butter headers keep light-mode ink and red in dark mode too. */
.page-head .accent { color: #c8392a; }
@media (prefers-color-scheme: dark) {
  .contact-card { background: var(--ink-raised); border: 1px solid var(--line); }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
