:root {
  --paper: #f8f3eb;
  --paper-strong: #fffdf8;
  --ink: #2b1813;
  --muted: #705f56;
  --wine: #6f1d2a;
  --wine-dark: #53131e;
  --gold: #bd8d46;
  --line: #d9c6aa;
  --soft: #eee4d6;
  --shadow: 0 20px 60px rgba(69, 38, 24, .10);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--wine); text-underline-offset: .18em; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip-link:focus { left: 12px; background: var(--paper-strong); padding: 10px 14px; border: 1px solid var(--wine); }

header.site { background: rgba(248, 243, 235, .96); border-bottom: 1px solid var(--line); }
header.site .container { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--wine-dark); font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); text-decoration: none; line-height: 1; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font: 600 .63rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-top: 7px; }
nav.main { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
nav.main a { color: var(--ink); text-decoration: none; font-size: .91rem; white-space: nowrap; }
nav.main a:hover, nav.main a[aria-current] { color: var(--wine); }
nav.main .nav-action { background: var(--wine); color: #fffaf3; padding: 10px 16px; border-radius: 4px; }
nav.main .nav-action:hover, nav.main .nav-action[aria-current] { background: var(--wine-dark); color: #fffaf3; }

.hero { padding: 76px 0 54px; }
.hero h1, .editorial-hero h1 { font: 400 clamp(2.6rem, 6vw, 5.4rem)/.98 var(--serif); letter-spacing: -.035em; max-width: 860px; }
.hero p.lead, .editorial-hero .lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 650px; margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; background: var(--wine); color: #fffaf3; text-decoration: none; padding: 12px 22px; border: 1px solid var(--wine); border-radius: 4px; cursor: pointer; font-weight: 650; }
.btn:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.btn:disabled, .pill:disabled { cursor: default; opacity: .6; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--wine); color: var(--wine); }
.disclosure-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .85rem; margin-top: 24px; max-width: 610px; }
.disclosure-line::before { content: '$'; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border: 1px solid var(--gold); color: var(--wine); border-radius: 50%; font: 700 .75rem var(--sans); }

section { padding: 58px 0; }
h2.sec { font: 400 clamp(2rem, 4vw, 3.7rem)/1.06 var(--serif); letter-spacing: -.025em; }
p.sub { color: var(--muted); margin-top: 10px; max-width: 700px; }
.section-rule { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0; }
.card { border-top: 1px solid var(--line); padding: 22px 0 4px; text-align: left; }
.card h3 { font: 400 1.38rem/1.2 var(--serif); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; }
.card a.cardlink { display: inline-block; margin-top: 14px; color: var(--wine); text-decoration: none; font-size: .9rem; font-weight: 650; border-bottom: 1px solid var(--wine); }
.cardlink { display: inline-block; margin-top: 14px; color: var(--wine); text-decoration: none; font-size: .9rem; font-weight: 650; border-bottom: 1px solid var(--wine); }
.section-link { margin-top: 22px; }

.editorial-hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(360px, .85fr); min-height: 650px; border-bottom: 1px solid var(--line); }
.editorial-hero-copy { padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 90px) 56px max(24px, calc((100vw - 1180px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.editorial-hero-media { overflow: hidden; background: var(--soft); }
.editorial-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.filter-row { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: center; margin: 32px 0 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-button { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 8px 2px; cursor: pointer; font-size: .95rem; }
.filter-button:hover, .filter-button[aria-pressed='true'] { color: var(--wine); border-color: var(--wine); }
.edit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); }
.edit-card { min-width: 0; }
.edit-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.edit-card h3 { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.06 var(--serif); margin-top: 20px; }
.edit-card > p { color: var(--muted); margin-top: 10px; }
.status-label { color: var(--wine); font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin-top: 16px; }
.criteria { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.criteria summary { color: var(--wine); font-weight: 650; cursor: pointer; list-style: none; }
.criteria summary::-webkit-details-marker { display: none; }
.criteria summary::after { content: '+'; float: right; }
.criteria[open] summary::after { content: '−'; }
.criteria ul { margin: 12px 0 0 20px; color: var(--muted); font-size: .9rem; }
.criteria p { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.notice-panel { border: 1px solid var(--line); padding: 18px 22px; margin-top: 32px; color: var(--muted); background: var(--paper-strong); }
.notice-panel strong { color: var(--ink); }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 34px; }
.principle { padding: 30px 24px; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle .number { color: var(--wine); font: 400 2.6rem/1 var(--serif); }
.principle h3 { font: 400 1.28rem/1.2 var(--serif); margin-top: 16px; }
.principle p { color: var(--muted); font-size: .9rem; margin-top: 8px; }

.identity-split { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.identity-split-media { min-height: 520px; overflow: hidden; background: var(--soft); }
.identity-split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.identity-split-copy { padding: clamp(44px, 7vw, 92px); align-self: center; }
.identity-split h2 { font: 400 clamp(2.2rem, 4vw, 3.8rem)/1.02 var(--serif); letter-spacing: -.025em; }
.identity-split p { color: var(--muted); margin-top: 20px; }
.text-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; align-items: flex-start; }
.text-links a { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--wine); }

article.prose { max-width: 760px; margin: 0 auto; padding: 58px 0 30px; }
article.prose h1 { font: 400 clamp(2.5rem, 5.5vw, 4.7rem)/1.02 var(--serif); letter-spacing: -.03em; margin-bottom: 14px; }
article.prose .meta { color: var(--muted); font-size: .86rem; margin-bottom: 34px; }
article.prose h2 { font: 400 clamp(1.65rem, 3vw, 2.35rem)/1.12 var(--serif); margin: 42px 0 12px; }
article.prose h3 { font: 400 1.3rem/1.2 var(--serif); margin: 28px 0 8px; }
article.prose p { margin: 0 0 17px; }
article.prose ul, article.prose ol { margin: 0 0 17px 24px; }
article.prose li { margin-bottom: 8px; }
article.prose blockquote { border-left: 2px solid var(--wine); padding: 6px 0 6px 20px; color: var(--wine-dark); margin: 24px 0; font: italic 1.18rem/1.6 var(--serif); }
.note { background: var(--paper-strong); border: 1px solid var(--line); padding: 16px 18px; color: var(--muted); font-size: .9rem; margin: 24px 0; }

.capture { border-block: 1px solid var(--line); padding: 44px 22px; text-align: center; margin: 38px 0; }
.capture h3 { font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--serif); }
.capture p { color: var(--muted); font-size: .93rem; margin: 10px auto 20px; max-width: 560px; }
.capture form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.capture input[type=email] { background: var(--paper-strong); border: 1px solid var(--line); color: var(--ink); border-radius: 4px; padding: 12px 16px; font-size: 1rem; min-width: min(340px, 100%); }
.capture input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.capture .msg { margin-top: 10px; font-size: .9rem; color: var(--wine); min-height: 1.2em; }
.hp { position: absolute; left: -5000px; opacity: 0; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pill { background: var(--paper-strong); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: .88rem; color: var(--ink); cursor: pointer; user-select: none; }
.pill.on { border-color: var(--wine); color: var(--wine); background: #f4e8e7; }
.faq details { border-top: 1px solid var(--line); padding: 16px 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 400 1.08rem/1.35 var(--serif); }
.faq p { color: var(--muted); margin-top: 10px; font-size: .94rem; }

footer.site { border-top: 1px solid var(--line); padding: 38px 0 48px; color: var(--muted); font-size: .8rem; line-height: 1.8; }
footer.site .container { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-links, .socials { display: flex; gap: 10px 18px; flex-wrap: wrap; justify-content: flex-end; }
footer.site a { color: var(--ink); }

@media (max-width: 900px) {
  header.site .container { align-items: flex-start; padding-block: 18px; flex-direction: column; }
  nav.main { width: 100%; flex-wrap: wrap; row-gap: 10px; overflow-x: visible; padding-bottom: 4px; }
  .editorial-hero { grid-template-columns: 1fr; }
  .editorial-hero-copy { padding: 64px max(20px, calc((100vw - 720px) / 2)); }
  .editorial-hero-media { min-height: 520px; }
  .grid, .edit-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 30px, 1180px); }
  header.site .container { min-height: auto; }
  nav.main { column-gap: 14px; row-gap: 8px; }
  nav.main a { font-size: .82rem; }
  nav.main .nav-action { background: transparent; color: var(--ink); padding: 0; }
  .hero { padding: 48px 0 32px; }
  .hero h1, .editorial-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  section { padding: 42px 0; }
  .grid, .edit-grid, .identity-split { grid-template-columns: 1fr; }
  .editorial-hero-media { min-height: 440px; }
  .edit-card + .edit-card { margin-top: 12px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .identity-split-media { min-height: 430px; }
  .identity-split-copy { padding: 42px 24px; }
  footer.site .container { grid-template-columns: 1fr; }
  .footer-links, .socials { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
