:root {
  --ink: #1a1814;
  --muted: #5c564e;
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --line: #e4dcd0;
  --green: #1f4d45;
  --green-deep: #14352f;
  --copper: #8c5a3c;
  --danger: #8f3d32;
  --shadow: 0 20px 50px rgba(26, 24, 20, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: 12px; top: 8px; transform: translateY(-120%); background: var(--ink); color: white; padding: 8px 12px; z-index: 10; }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.announcement { background: var(--green-deep); color: #f4efe6; text-align: center; padding: 10px 16px; font-size: 14px; }
.announcement a { color: white; }
.header { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 18px 7vw; border-bottom: 1px solid var(--line); background: rgba(247, 243, 236, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--serif); font-size: 22px; }
.logo img { width: 36px; height: 36px; }
.logo-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.logo-lockup small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); font-weight: 400; }
.desktop-nav, .nav { display: flex; gap: 18px; align-items: center; }
.nav a, .nav summary { text-decoration: none; }
.mega { position: relative; }
.mega summary { list-style: none; cursor: pointer; }
.mega summary::-webkit-details-marker { display: none; }
.mega-panel { position: absolute; top: calc(100% + 16px); left: 0; width: min(720px, 80vw); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.mega-panel a { text-decoration: none; display: block; }
.mega-panel small { display: block; color: var(--muted); }
.tools { display: flex; gap: 8px; align-items: center; }
.search { display: flex; border-bottom: 1px solid var(--ink); }
.search input { border: 0; background: transparent; width: 140px; padding: 6px 0; }
.search button, .icon-btn, .button, .button-quiet { border: 0; background: transparent; cursor: pointer; }
.icon-btn { min-width: 44px; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.count { background: var(--copper); color: white; border-radius: 99px; padding: 0 6px; font-size: 12px; }
.menu { display: none; }
.hero, .section, .narrow, .split { padding: 56px 7vw; }
.hero-grid, .split, .product-layout, .admin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 460; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(46px, 7vw, 84px); margin: 0 0 16px; }
h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 12px; }
.lede { font-size: 20px; max-width: 38rem; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button, button.button { background: var(--green); color: white; text-decoration: none; padding: 14px 18px; min-height: 48px; display: inline-flex; align-items: center; }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button:disabled, button:disabled { opacity: 0.45; cursor: not-allowed; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--copper); margin: 0 0 8px; }
.card-grid, .spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .panel, .purchase { background: var(--paper-2); border: 1px solid var(--line); padding: 22px; }
.card { text-decoration: none; min-height: 100%; display: flex; flex-direction: column; }
.card h3 { margin-top: 8px; }
.card-photo, .product-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #efe8dc; }
.card-more { margin-top: auto; padding-top: 14px; font-weight: 560; }
.film { padding: 0; }
.film-stage { position: relative; min-height: 78vh; background: #141210; color: #f7f3ec; overflow: hidden; }
.film-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.film-stage img:first-child { opacity: 1; }
.film-stage.is-playing img { opacity: 0; }
.film-stage.is-playing img.is-on { opacity: 1; }
.film-copy { position: relative; z-index: 1; max-width: 40rem; padding: 18vh 7vw 10vh; text-shadow: 0 12px 40px rgba(0,0,0,.45); }
.film-copy h1, .film-copy p { color: white; }
.film-copy .button.secondary { color: white; border-color: white; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.thumbs { display: flex; gap: 10px; }
.thumbs img { width: 96px; height: 96px; object-fit: cover; }
.story-hero, .story-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border: 1px solid var(--green); }
@media (max-width: 800px) {
  .feature-row, .story-hero, .story-split { grid-template-columns: 1fr; }
  .film-stage { min-height: 88vh; }
}
.muted, .meta { color: var(--muted); }
.figure { background: var(--paper-2); border: 1px solid var(--line); }
.figure figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
.product-layout { align-items: start; }
.purchase { position: sticky; top: 96px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 12px 8px; }
.badge { display: inline-block; border: 1px solid var(--line); padding: 2px 8px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge.warn { border-color: var(--copper); color: var(--copper); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 580; min-height: 44px; display: flex; align-items: center; }
.footer { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; padding: 48px 7vw 32px; border-top: 1px solid var(--line); background: #efe8dc; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.legal { padding: 0 7vw 32px; color: var(--muted); font-size: 14px; background: #efe8dc; }
label { display: block; margin: 14px 0 6px; }
input, select, textarea { width: 100%; background: white; border: 1px solid var(--line); padding: 12px; min-height: 48px; }
textarea { min-height: 120px; }
.form-error { color: var(--danger); font-size: 14px; }
.notice { border-left: 3px solid var(--copper); padding: 8px 12px; background: #f3eadf; }
.checks { display: flex; gap: 8px; align-items: flex-start; }
.checks input { width: auto; min-height: 0; margin-top: 6px; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumbs button { width: 72px; height: 72px; border: 1px solid var(--line); background: white; padding: 0; }
dialog { border: 0; padding: 0; max-width: min(960px, 96vw); background: transparent; }
dialog::backdrop { background: rgba(26, 24, 20, 0.72); }
dialog img { width: 100%; background: white; }
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; background: rgba(26, 24, 20, 0.4); z-index: 20; display: flex; justify-content: flex-end; }
.drawer-panel { background: var(--paper); width: min(420px, 100%); height: 100%; padding: 20px; overflow: auto; }
.sticky-buy { display: none; }
.admin-bar { background: var(--ink); color: white; padding: 10px 7vw; display: flex; justify-content: space-between; }
.admin-bar a { color: white; }
table.admin { width: 100%; border-collapse: collapse; background: white; }
table.admin td, table.admin th { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; font-size: 14px; }
@media (max-width: 900px) {
  .desktop-nav, .search { display: none; }
  .menu { display: block; }
  .menu[open] { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 8px 7vw 20px; border-bottom: 1px solid var(--line); }
  .menu .nav { display: grid; gap: 12px; padding-top: 12px; }
  .mega-panel { position: static; width: auto; box-shadow: none; grid-template-columns: 1fr; }
  .hero-grid, .split, .product-layout, .card-grid, .footer, .admin-grid, .spec-grid { grid-template-columns: 1fr; }
  .purchase { position: static; }
  .sticky-buy { display: flex; position: sticky; bottom: 0; z-index: 4; gap: 12px; justify-content: space-between; align-items: center; background: var(--paper-2); border-top: 1px solid var(--line); padding: 12px 16px; }
  .sticky-buy[hidden] { display: none; }
  .purchase { scroll-margin-bottom: 88px; }
  .header { position: sticky; }
}
@media (min-width: 901px) {
  .menu { display: none; }
}
