/* Pixel Maple Labs — site styles
   Fonts are self-hosted (see fonts/LICENSE.txt), so no third party is contacted. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16130f;
  --muted: #5f5a52;
  --line: #ebe7e0;
  --line-strong: #d9d4cc;
  --bg: #ffffff;
  --stone: #f3f1ec;
  --peach: #fcf1ea;
  --accent: #d1401b;
  --accent-hover: #a8320f;
  --amber: #f2b33d;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #ffffff;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #ffffff; }

.mono-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 26px; flex: 0 0 auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.btn-primary { background: var(--ink); color: #ffffff; }
.btn-primary:hover { background: #3a342c; color: #ffffff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { border-color: var(--muted); color: var(--ink); }

/* ---------- Hero ---------- */
.hero .wrap { padding-top: 72px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 72px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 5.6vw, 78px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance;
}
.lead { margin: 0; max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-mark { flex: 0 1 400px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-mark-tile {
  width: 100%; max-width: 400px; aspect-ratio: 1 / 1; border-radius: 36px; background: var(--peach);
  display: flex; align-items: center; justify-content: center;
}
.hero-mark-tile img { width: 62%; height: auto; }
.hero-mark figcaption { color: var(--muted); }

.values { display: flex; flex-direction: column; gap: 28px; }
.values h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.025em;
}
.values-grid {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.values-grid li { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.values-grid h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.values-grid p { margin: 0; line-height: 1.55; color: var(--muted); }

/* ---------- Apps intro ---------- */
.apps-intro-inner {
  border-top: 1px solid var(--line); padding: 44px 0 36px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
}
.apps-intro h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em;
}
.notice {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 24px; border: 1px solid #f2c95c; background: #fff4d6; color: #5a3d00;
  font-size: 16px; font-weight: 500; line-height: 1.4;
}
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Shared app pieces ---------- */
.app-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 13px; flex: 0 0 auto; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--amber); color: #1a1206;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.not-yet { font-size: 15px; font-weight: 500; }
.app-subtitle {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.1vw, 27px); line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance;
}
.app-desc { margin: 0; max-width: 30em; font-size: 17px; line-height: 1.6; }

/* Phone mockups: screens are drawn at 390 x 844 and scaled to fit a 250 px wide screen. */
.phones { display: flex; gap: 28px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.phone-fig { margin: 0; flex: 0 0 auto; width: 264px; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.phone { width: 264px; height: 555px; padding: 7px; border-radius: 42px; background: #000000; }
.phone-screen { position: relative; width: 250px; height: 541px; border-radius: 35px; overflow: hidden; }
.screen {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px;
  transform: scale(0.641); transform-origin: 0 0; font-size: 16px;
}
.phone-fig figcaption { font-size: 15px; line-height: 1.45; }

/* ---------- Drop Night ---------- */
.drop-night { background: #0b0c0f; color: #ecebe6; }
.drop-night > .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.dn-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 64px; }
.dn-title { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dn-title h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(56px, 8.6vw, 116px); line-height: 0.92; letter-spacing: -0.015em; color: #f3efe6;
}
.drop-night .app-icon { border: 1px solid #2a2d33; }
.drop-night .not-yet { color: #d9d6cf; }
.dn-pitch { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.drop-night .app-subtitle { color: #f3efe6; }
.drop-night .app-desc { color: #a8a59c; }
.drop-night .phone { box-shadow: 0 0 0 1px #2a2c31, 0 30px 60px rgba(0, 0, 0, 0.5); }
.drop-night figcaption { color: #d9d6cf; }

.dn-screen { background: #0f1114; color: #ecebe6; padding: 58px 20px 30px; display: flex; flex-direction: column; gap: 18px; }
.dn-mono { font-family: var(--font-mono); }
.dn-row { display: flex; align-items: center; gap: 8px; }
.dn-right { margin-left: auto; }
.dn-dim { color: #8f8c84; }
.dn-btn {
  height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600;
}
.dn-btn-amber { background: #f2b33d; color: #1a1206; }
.dn-btn-red { background: #d63c42; color: #ffffff; }

.dn-launch { background: #08090b; }
.dn-launch-art { position: absolute; left: 0; top: 0; width: 390px; height: 610px; object-fit: cover; object-position: center top; }
.dn-launch-fade { position: absolute; left: 0; right: 0; top: 340px; height: 272px; background: linear-gradient(to bottom, rgba(8, 9, 11, 0), #08090b); }
.dn-launch-copy { position: absolute; left: 28px; right: 28px; bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.dn-launch-copy p { margin: 0; }
.dn-time { font-family: var(--font-mono); font-size: 14px; color: #f2b33d; }
.dn-launch-title { font-family: var(--font-serif); font-weight: 900; font-size: 60px; line-height: 0.95; color: #f3efe6; }
.dn-launch-line { font-size: 19px; line-height: 1.45; color: #c9c5bc; }
.dn-launch .dn-btn { margin-top: 18px; height: 58px; border-radius: 16px; font-size: 18px; }

.dn-progress { display: flex; gap: 6px; }
.dn-progress span { flex: 1; height: 4px; border-radius: 2px; background: #2a2d33; }
.dn-progress span.on { background: #f2b33d; }
.dn-question { border: 1px solid #2f6f6c; background: #0c1415; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.dn-question .dn-mono:first-child { font-size: 12px; letter-spacing: 0.1em; color: #5cc8c4; }
.dn-question-text { font-size: 18px; line-height: 1.35; color: #e3e0d8; }
.dn-array { font-size: 17px; color: #f2b33d; }
.dn-ask { margin: 8px 0 0; font-size: 22px; font-weight: 600; line-height: 1.3; color: #f3efe6; }
.dn-option { border: 1px solid #2a2d33; background: #15171c; border-radius: 14px; padding: 16px; display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1.35; }
.dn-option svg { width: 22px; height: 22px; flex: 0 0 auto; }
.dn-option.correct { border: 1.5px solid #4cc38a; background: #0f1f17; }
.dn-correct { margin-left: auto; font-size: 13px; font-weight: 600; color: #4cc38a; }
.dn-push { margin-top: auto; }

.dn-rec { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 13px; color: #e5484d; }
.dn-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; flex: 0 0 auto; }
.dn-portrait { width: 350px; height: 340px; object-fit: cover; object-position: center 30%; border-radius: 18px; }
.dn-name { display: flex; align-items: baseline; gap: 10px; }
.dn-name strong { font-size: 19px; font-weight: 600; }
.dn-name span { font-size: 15px; color: #8f8c84; }
.dn-quote { background: #1a1c22; border-radius: 16px; padding: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.35; color: #f3efe6; }
.dn-recorder { display: flex; align-items: center; gap: 12px; background: #15171c; border-radius: 18px; padding: 12px 14px; }
.dn-wave { display: flex; align-items: center; gap: 3px; }
.dn-wave span { width: 3px; border-radius: 2px; background: #e5484d; }
.dn-done { margin-left: auto; height: 44px; padding: 0 20px; border-radius: 12px; background: #d63c42; color: #ffffff; display: flex; align-items: center; font-size: 15px; font-weight: 600; }

.dn-screen.dn-evidence { padding-bottom: 0; gap: 14px; }
.dn-evidence-title { font-family: var(--font-serif); font-weight: 900; font-size: 30px; }
.dn-board { width: 350px; height: 220px; object-fit: cover; border-radius: 16px; }
.dn-suspects { display: flex; flex-direction: column; gap: 16px; }
.dn-suspect { display: flex; align-items: center; gap: 12px; }
.dn-avatar { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.dn-suspect-name { width: 64px; font-size: 17px; font-weight: 600; }
.dn-bar { flex: 1; height: 6px; border-radius: 3px; background: #24262c; overflow: hidden; }
.dn-bar span { display: block; height: 6px; border-radius: 3px; background: #e5484d; }
.dn-pct { width: 42px; text-align: right; font-family: var(--font-mono); font-size: 14px; color: #e5484d; }
.dn-suspect.you .dn-bar span { background: #f2b33d; }
.dn-suspect.you .dn-pct { color: #f2b33d; }
.dn-tabs { margin: auto -20px 0; border-top: 1px solid #1f2228; padding: 12px 20px 30px; display: flex; justify-content: space-between; font-size: 11px; color: #8f8c84; }
.dn-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 70px; }
.dn-tabs span.on { color: #f2b33d; }
.dn-tabs svg { width: 22px; height: 22px; }

/* ---------- Courtyard Weather ---------- */
.courtyard {
  --band: #eaf4fa; --band-ink: #10212c; --band-muted: #3d5664; --band-line: rgba(16, 33, 44, 0.24);
  --screen: #cfe6f3; --s-ink: #10212c; --s-muted: #3d5664; --card: rgba(255, 255, 255, 0.72);
  --row-line: rgba(16, 33, 44, 0.1); --track: rgba(16, 33, 44, 0.14); --bar: #e9752f;
  background: var(--band); color: var(--band-ink);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.courtyard[data-weather="rain"] {
  --band: #e2e7eb; --band-ink: #111a21; --band-muted: #33434e; --band-line: rgba(17, 26, 33, 0.26);
  --screen: #aebbc6; --s-ink: #111a21; --s-muted: #2f3e48; --card: rgba(240, 244, 247, 0.72);
  --row-line: rgba(17, 26, 33, 0.1); --track: rgba(17, 26, 33, 0.14); --bar: #4f7898;
}
.courtyard[data-weather="snow"] {
  --band: #f0f3f6; --band-ink: #111a21; --band-muted: #3d4b55; --band-line: rgba(17, 26, 33, 0.22);
  --screen: #dde5eb; --s-ink: #111a21; --s-muted: #3d4b55; --card: rgba(255, 255, 255, 0.78);
  --row-line: rgba(17, 26, 33, 0.1); --track: rgba(17, 26, 33, 0.12); --bar: #6f9cc0;
}
.courtyard[data-weather="night"] {
  --band: #121729; --band-ink: #eef0f8; --band-muted: #b4bad0; --band-line: rgba(238, 240, 248, 0.3);
  --screen: #1f2847; --s-ink: #eef0f8; --s-muted: #b4bad0; --card: rgba(255, 255, 255, 0.08);
  --row-line: rgba(238, 240, 248, 0.1); --track: rgba(238, 240, 248, 0.14); --bar: #f2c96a;
}
.courtyard > .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.cw-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cw-icon { width: 56px; height: 56px; border-radius: 13px; overflow: hidden; background: #cfe6f3; border: 1px solid var(--band-line); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cw-icon img { width: 64px; max-width: none; height: auto; margin-top: 8px; }
.courtyard .not-yet { color: var(--band-ink); }
.cw-text h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6.2vw, 84px); line-height: 0.95; letter-spacing: -0.045em; text-wrap: balance;
}
.courtyard .app-desc { color: var(--band-muted); }
.cw-try { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.cw-try[hidden] { display: none; }
.cw-try .mono-label { color: var(--band-muted); }
.cw-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--band-line); background: transparent; color: var(--band-ink);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.cw-switch button:hover { border-color: var(--band-ink); }
.cw-switch button[aria-pressed="true"] { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.cw-switch svg { width: 18px; height: 18px; }

.cw-phones { flex: 1 1 560px; min-width: 0; gap: 24px; justify-content: center; align-items: flex-start; }
.cw-phones .phone { background: #0d0f12; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 30px 60px rgba(16, 33, 44, 0.22); }
.cw-phones .phone-fig:nth-child(2) { margin-top: 48px; }
.courtyard figcaption { color: var(--band-ink); }
.cw-screen { background: var(--screen); color: var(--s-ink); padding: 58px 22px 24px; display: flex; flex-direction: column; gap: 12px; transition: background-color 0.4s ease; }
.cw-screen svg { width: 20px; height: 20px; flex: 0 0 auto; }
.cw-top { display: flex; align-items: flex-start; gap: 12px; }
.cw-place { display: flex; flex-direction: column; gap: 2px; }
.cw-city { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 600; }
.cw-city svg { width: 17px; height: 17px; }
.cw-small { font-size: 13px; color: var(--s-muted); }
.cw-round { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cw-round svg { width: 18px; height: 18px; }
.cw-top .cw-round { margin-left: auto; }
.cw-now { display: flex; align-items: flex-end; gap: 14px; }
.cw-temp { font-family: var(--font-display); font-weight: 800; font-size: 92px; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.cw-cond { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; }
.cw-cond strong { font-size: 20px; font-weight: 600; }
.cw-cond span { font-size: 15px; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.cw-scene { position: relative; width: 330px; margin: 0 auto; }
.cw-scene img { width: 330px; height: auto; max-width: none; }
.cw-note { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.cw-note::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; background: #e9752f; }
.cw-card { background: var(--card); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cw-hours { display: flex; justify-content: space-between; }
.cw-hour { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 46px; }
.cw-hour .cw-small { font-size: 12px; white-space: nowrap; }
.cw-hour strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-dots { margin-top: auto; display: flex; justify-content: center; gap: 8px; }
.cw-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--track); }
.cw-dots span:first-child { background: var(--s-ink); }

.cw-screen.cw-week-screen { gap: 14px; }
.cw-title { display: flex; flex-direction: column; }
.cw-title strong { font-size: 19px; font-weight: 600; }
.cw-week { background: var(--card); border-radius: 18px; padding: 4px 16px; }
.cw-day { display: flex; align-items: center; gap: 12px; height: 50px; border-bottom: 1px solid var(--row-line); }
.cw-day:last-child { border-bottom: 0; }
.cw-day-name { width: 58px; font-size: 15px; font-weight: 600; }
.cw-day-icon { width: 22px; display: flex; }
.cw-lo { width: 34px; text-align: right; font-size: 15px; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.cw-hi { width: 34px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-range { flex: 1; position: relative; height: 6px; border-radius: 3px; background: var(--track); }
.cw-range span { position: absolute; top: 0; height: 6px; border-radius: 3px; background: var(--bar); }
.cw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cw-tile { background: var(--card); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.cw-tile strong { font-size: 21px; font-weight: 600; }

/* Rain and snow over the courtyard picture */
.cw-drops { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cw-drop { position: absolute; top: -8%; }
.cw-drops.rain .cw-drop {
  width: 3px; height: 18px; background: rgba(236, 243, 249, 0.85);
  animation: cw-rain 0.9s linear infinite;
}
.cw-drops.snow .cw-drop {
  width: 6px; height: 6px; background: #ffffff;
  animation: cw-snow 7s linear infinite;
}
@keyframes cw-rain {
  from { transform: translate(0, -24px) rotate(14deg); }
  to { transform: translate(-86px, 360px) rotate(14deg); }
}
@keyframes cw-snow {
  0% { transform: translate(0, -12px); }
  50% { transform: translate(-12px, 170px); }
  100% { transform: translate(10px, 360px); }
}

/* ---------- Contact ---------- */
.contact { background: var(--stone); }
.contact .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px 64px; }
.contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.035em;
}
.contact-text > p { margin: 0; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--muted); }
.contact-email {
  align-self: flex-start; overflow-wrap: anywhere;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em;
  text-underline-offset: 6px;
}
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.contact-links a { color: var(--ink); }
.contact-card { flex: 1 1 380px; min-width: 0; }
.facts {
  margin: 0; padding: 28px; background: #ffffff; border: 1px solid #e7e3dc; border-radius: 20px;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 16px 28px;
}
.facts dt { padding-top: 3px; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #e7e3dc; color: var(--muted); font-size: 14px; }
.site-footer .wrap {
  padding-top: 32px; padding-bottom: 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-brand svg { width: 18px; height: 17px; flex: 0 0 auto; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--ink); }

/* ---------- Text pages (privacy, terms, support, 404) ---------- */
.page { padding: 64px 0 88px; }
.page .wrap { max-width: 760px; }
.page h1 {
  margin: 0 0 8px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.03em;
}
.page .updated { margin: 0 0 40px; color: var(--muted); }
.page h2 { margin: 44px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.page h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; }
.page p, .page li { font-size: 17px; line-height: 1.65; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.note { margin: 24px 0; padding: 20px 24px; border-radius: 16px; background: var(--peach); }
.note p { margin: 0; }

/* ---------- Small screens and motion ---------- */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 56px; }
  .drop-night > .wrap, .courtyard > .wrap { padding-top: 64px; padding-bottom: 72px; }
  .contact .wrap { padding-top: 64px; padding-bottom: 64px; }
  .facts { grid-template-columns: 1fr; gap: 2px; padding: 22px; }
  .facts dd { margin-bottom: 12px; }
  .cw-phones { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .courtyard, .cw-screen { transition: none; }
  .cw-drops .cw-drop { animation: none; top: var(--y); }
  .cw-drops.rain .cw-drop { transform: rotate(14deg); }
}
