:root {
  --wine: #9a2344;
  --ink: #241c18;
  --muted: #6e625b;
  --paper: #f6f1ea;
  --cream: #fffdfb;
  --sand: #e7ddd2;
  --line: #d8cdc2;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
header.bar { position: sticky; top: 0; z-index: 20; background: rgba(255,253,251,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 20px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
nav.desk { display: flex; gap: 20px; }
nav.desk a { text-decoration: none; font-size: 14px; }
nav.desk a.on { color: var(--wine); }
.actions { display: flex; align-items: center; gap: 8px; }
.btn, button.btn, a.btn { display: inline-block; border-radius: 999px; padding: 10px 16px; text-decoration: none; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.btn.wine { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn:disabled { opacity: .45; }
.nav-toggle { display: none; }
.burger { display: none; }
nav.mobile { display: none; }
.hero { position: relative; min-height: 88vh; overflow: hidden; color: var(--cream); }
.hero video, .hero .shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { background: rgba(36,28,24,.45); }
.hero .copy { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 112px 0 64px; }
.kicker { letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--sand); }
h1, h2, .display { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.1; margin: 16px 0 0; }
.lead, .muted { color: var(--muted); line-height: 1.6; }
.grid-2 { display: grid; gap: 40px; padding: 64px 0; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.paper { background: var(--paper); border-radius: 16px; padding: 32px; }
.ink { background: var(--ink); color: var(--cream); border-radius: 16px; overflow: hidden; }
.ink p { color: var(--sand); }
.split { display: grid; gap: 24px; }
.intro { padding: 48px 0 24px; }
.intro h1 { color: var(--ink); font-size: clamp(32px, 5vw, 48px); }
.tech { display: grid; gap: 16px; }
.tech article { background: rgba(255,253,251,.95); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.num { color: var(--wine); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-size: 14px; }
.chips a.on { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.photos button { padding: 0; border: 0; background: none; cursor: pointer; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.videos { display: grid; gap: 24px; }
.videos .frame { background: var(--ink); border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.videos iframe { width: 100%; height: 100%; border: 0; }
footer { margin-top: 64px; background: var(--ink); color: var(--cream); }
footer .wrap { display: grid; gap: 24px; padding: 48px 0; }
footer a { color: var(--cream); text-decoration: none; display: block; padding: 4px 0; }
footer .sand { color: var(--sand); }
label { display: grid; gap: 6px; font-size: 14px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; background: white; }
textarea { min-height: 140px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 10px; }
.warn { background: #fff6f4; border-radius: 12px; padding: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.backdrop { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .22; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(246,241,234,.72); }
#light { position: fixed; inset: 0; background: rgba(20,14,12,.92); display: none; align-items: center; justify-content: center; z-index: 40; }
#light.open { display: flex; }
#light img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; }
#light .x, #light .navb { position: absolute; color: white; background: transparent; border: 0; font-size: 32px; cursor: pointer; }
#light .x { top: 16px; right: 16px; }
#light .prev { left: 12px; }
#light .next { right: 12px; }
@media (min-width: 800px) {
  .grid-2, .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1.2fr .8fr .8fr; }
}
@media (max-width: 980px) {
  nav.desk, .book { display: none; }
  .burger { display: inline-block; }
  .nav-toggle:checked ~ nav.mobile { display: grid; }
  nav.mobile { border-top: 1px solid var(--line); padding-bottom: 12px; }
  nav.mobile a { padding: 12px 0; text-decoration: none; }
}
