:root {
  --about-ink: #241416;
  --about-wine: #3c0d12;
  --about-red: #641a1f;
  --about-gold: #c99b5c;
  --about-gold-light: #e3bd7e;
  --about-paper: #f8f4ee;
  --about-tint: #eee7df;
  --about-muted: #75696a;
  --about-line: rgb(60 13 18 / 16%);
  --about-shell: min(1160px, calc(100% - 3rem));
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--about-paper);
  color: var(--about-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body[data-theme="night"] { --about-ink: #f9f1e7; --about-paper: #1b1112; --about-tint: #27191a; --about-muted: #c7b9b3; --about-line: rgb(227 189 126 / 24%); background: var(--about-paper); }
body[data-theme="night"] .site-footer { background: #100809; }
body[data-theme="night"] .about-section--paper, body[data-theme="night"] .about-form input, body[data-theme="night"] .about-form textarea, body[data-theme="night"] .about-form select { background: #251718; color: var(--about-ink); }
body[data-theme="night"] .about-section--warning { background: #392219; }

.site-header {
  position: relative;
  z-index: 20;
  min-height: 78px;
  background: #160000;
  color: #fff8ef;
  border-bottom: 1px solid rgb(227 189 126 / 22%);
}
.shell, .about-shell { width: var(--about-shell); margin-inline: auto; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 1.75rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: inherit; text-decoration: none; }
.brand img { display: block; width: 190px; height: 46px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.2vw, 2.25rem); margin-inline: auto; }
.primary-nav a { color: inherit; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--about-gold-light); }
.age-label { color: var(--about-gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.menu-toggle { display: none; }

.about-main { display: block; overflow: visible; }
.about-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.75rem); background: var(--about-wine); color: #fffaf4; }
.about-hero__glow { position: absolute; z-index: -1; width: 40rem; height: 40rem; inset: -16rem -10rem auto auto; border: 1px solid rgb(227 189 126 / 25%); border-radius: 50%; box-shadow: 0 0 0 6rem rgb(227 189 126 / 5%), 0 0 0 12rem rgb(227 189 126 / 3%); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, .76fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.about-hero__intro { max-width: 600px; }
.about-kicker { margin: 0 0 1.25rem; color: var(--about-gold); font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.about-hero h1, .about-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.about-hero h1 { max-width: 630px; font-size: clamp(3.2rem, 6.5vw, 6.2rem); }
.about-hero__lede { max-width: 560px; margin: 2rem 0 0; color: rgb(255 250 244 / 77%); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.35rem; }
.about-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.35rem; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.about-button:hover { transform: translateY(-2px); }
.about-button--gold { background: var(--about-gold); color: #260c0f; }
.about-button--gold:hover { background: var(--about-gold-light); }
.about-button--quiet { border-color: rgb(255 250 244 / 38%); color: #fffaf4; }
.about-button--quiet:hover { border-color: var(--about-gold-light); color: var(--about-gold-light); }
.theme-switcher { display: inline-flex; align-items: center; gap: .75rem; margin-top: 3rem; color: rgb(255 250 244 / 63%); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.theme-switcher__label { display: inline-block; }
.theme-switcher button { padding: .4rem .7rem; border: 1px solid rgb(255 250 244 / 35%); border-radius: 999px; background: transparent; color: #fffaf4; font: inherit; font-size: .7rem; letter-spacing: .05em; cursor: pointer; }
.theme-switcher button:hover { border-color: var(--about-gold-light); color: var(--about-gold-light); }
.about-hero__visual { margin: 0; }
.about-hero__visual::before { content: ""; display: block; height: 10px; width: 62%; margin: 0 0 -1px auto; background: var(--about-gold); }
.about-hero__image { display: block; width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; border: 1px solid rgb(255 250 244 / 20%); filter: saturate(.86) contrast(1.05); }
.about-hero__visual figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .85rem; color: rgb(255 250 244 / 62%); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.about-hero__visual figcaption span:first-child { color: var(--about-gold); }

.about-section { position: relative; padding: clamp(5rem, 9vw, 9rem) 0; }
.about-section--paper { background: var(--about-paper); }
.about-section--tint { background: var(--about-tint); }
.about-section--ink { background: var(--about-red); color: #fffaf4; }
.about-section--warning { background: #f1e5d5; }
.about-section--contact { background: #160000; color: #fffaf4; }
.about-split { display: grid; grid-template-columns: minmax(220px, .76fr) minmax(0, 1fr); gap: clamp(3rem, 10vw, 10rem); }
.about-split--approach, .about-split--useful { align-items: start; }
.about-section__heading { max-width: 400px; }
.about-section h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.about-section__copy { max-width: 620px; padding-top: .25rem; }
.about-section__copy p, .about-section__intro > p, .contact-layout__intro > p { margin: 0 0 1.25rem; color: var(--about-muted); }
.about-section--ink .about-section__copy p, .about-section--contact .contact-layout__intro > p { color: rgb(255 250 244 / 72%); }
.about-lead { color: inherit !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.42; }
.about-text-link { display: inline-flex; gap: .75rem; margin-top: 1rem; color: var(--about-wine); font-weight: 800; text-decoration: none; }
.about-text-link:hover { color: var(--about-red); text-decoration: underline; text-underline-offset: .25em; }
.about-section--ink .about-kicker { color: var(--about-gold-light); }
.about-section--ink .about-text-link { color: var(--about-gold-light); }
.about-section__intro { max-width: 700px; margin-bottom: 3rem; }
.about-section__intro--wide { max-width: 800px; }
.about-section__intro h2 { margin-bottom: 1.25rem; }
.about-section__intro > p { max-width: 640px; font-size: 1.1rem; }

.coverage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--about-line); }
.coverage-card { min-height: 245px; padding: 1.75rem 1.5rem 1.5rem; border-right: 1px solid var(--about-line); }
.coverage-card:last-child { border-right: 0; }
.coverage-card__number, .principle-card__mark { color: var(--about-gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.coverage-card h3, .principle-card h3 { margin: 3.8rem 0 .8rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.coverage-card p, .principle-card p { margin: 0; color: var(--about-muted); font-size: .95rem; line-height: 1.6; }
.about-section--ink .pull-quote { display: flex; gap: 1rem; align-items: flex-start; margin: 2.5rem 0; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 2px solid var(--about-gold); }
.pull-quote span { color: var(--about-gold); font-family: Georgia, serif; font-size: 4rem; line-height: .65; }
.pull-quote p { margin: 0 !important; color: #fffaf4 !important; font-family: Georgia, serif; font-size: 1.35rem; }
.principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--about-line); }
.principle-card { display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem; min-height: 165px; padding: 1.75rem 0; border-top: 1px solid var(--about-line); }
.principle-card:nth-child(-n+2) { border-top: 0; }
.principle-card h3 { margin: 0 0 .55rem; font-size: 1.32rem; }
.limits-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(3rem, 10vw, 10rem); }
.limits-layout__label { display: flex; align-items: flex-start; gap: 1.5rem; }
.limits-layout__label .about-kicker { color: var(--about-red); }
.limits-layout__rule { width: 1px; height: 10rem; background: rgb(100 26 31 / 38%); }
.limits-layout__content { max-width: 690px; }
.limits-layout__content h2 { max-width: 550px; margin-bottom: 1.75rem; }
.boundary-list { display: grid; gap: .9rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.boundary-list li { display: flex; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgb(100 26 31 / 20%); font-size: 1rem; }
.boundary-list li::before { content: "—"; color: var(--about-red); font-weight: 800; }
.useful-steps { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--about-line); }
.useful-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--about-line); }
.useful-steps li span { color: var(--about-gold); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.useful-steps li p { margin: 0; color: var(--about-ink); }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, .75fr); gap: clamp(3rem, 10vw, 9rem); align-items: start; }
.contact-layout__intro { max-width: 540px; }
.contact-layout h2 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 5vw, 5rem); }
.contact-layout__note { display: flex; gap: .8rem; margin-top: 3rem !important; color: var(--about-gold-light) !important; font-size: .85rem !important; }
.contact-layout__note span { color: var(--about-gold); }
.about-form { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fffaf4; color: var(--about-ink); }
.about-form__field { display: grid; gap: .4rem; }
.about-form label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-form input:not([type="checkbox"]), .about-form select, .about-form textarea { width: 100%; border: 1px solid rgb(60 13 18 / 22%); border-radius: 0; background: #fffaf4; color: var(--about-ink); font: inherit; padding: .8rem .9rem; }
.about-form input:not([type="checkbox"]):focus, .about-form select:focus, .about-form textarea:focus { border-color: var(--about-gold); outline: 2px solid rgb(201 155 92 / 25%); outline-offset: 2px; }
.about-form textarea { resize: vertical; min-height: 8.5rem; }
.about-form input[aria-invalid="true"], .about-form select[aria-invalid="true"], .about-form textarea[aria-invalid="true"] { border-color: #a22929; }
.about-form__error { min-height: 1.2em; color: #a22929; font-size: .78rem; line-height: 1.35; }
.about-form__check { display: flex; align-items: flex-start; gap: .65rem; margin-top: .15rem; color: var(--about-muted); font-size: .8rem !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.4; text-transform: none !important; }
.about-form__check input { flex: 0 0 auto; margin-top: .2rem; accent-color: var(--about-red); }
.about-form__submit { justify-self: start; margin-top: .45rem; border: 0; }
.about-form__status { min-height: 1.4em; margin: 0; color: var(--about-red); font-size: .85rem; }

.site-footer { background: #160000; color: #fff8ef; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 2rem; align-items: start; padding: 4rem 0 3rem; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer p { margin: 0; color: rgb(255 248 239 / 64%); font-size: .85rem; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.site-footer nav a { color: rgb(255 248 239 / 78%); text-decoration: none; font-size: .82rem; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--about-gold-light); text-decoration: underline; text-underline-offset: .25em; }
.footer-consent { border: 1px solid rgb(255 248 239 / 38%); border-radius: 999px; background: transparent; color: #fff8ef; padding: .65rem 1rem; font: inherit; font-size: .78rem; cursor: pointer; }
.footer-consent:hover { border-color: var(--about-gold-light); color: var(--about-gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgb(255 248 239 / 16%); }
.consent-banner { color: #fff; }
.consent-dialog { max-width: min(34rem, calc(100% - 2rem)); border: 1px solid var(--about-gold); background: #fffaf4; color: var(--about-ink); padding: 1.5rem; }
.consent-dialog::backdrop { background: rgb(22 0 0 / 55%); }
.consent-dialog h2 { margin: 0 0 .7rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.consent-dialog p { color: var(--about-muted); }
.consent-dialog button { margin: .4rem .5rem 0 0; }

@media (max-width: 860px) {
  :root { --about-shell: min(700px, calc(100% - 2rem)); }
  .header-inner { gap: 1rem; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-left: auto; border: 1px solid rgb(255 248 239 / 35%); background: transparent; color: #fff; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 1.1rem; height: 1px; background: currentColor; }
  .primary-nav { display: none; position: absolute; inset: 78px 0 auto; width: 100%; margin: 0; padding: 1rem max(1rem, calc((100% - 700px) / 2)); flex-direction: column; align-items: stretch; gap: 0; background: #160000; border-top: 1px solid rgb(255 248 239 / 14%); box-shadow: 0 1rem 2rem rgb(22 0 0 / 25%); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .8rem 0; border-bottom: 1px solid rgb(255 248 239 / 12%); }
  .about-hero { min-height: auto; }
  .about-hero__grid, .about-split, .limits-layout, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-hero__visual { max-width: 560px; }
  .coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-card:nth-child(2) { border-right: 0; }
  .coverage-card:nth-child(n+3) { border-top: 1px solid var(--about-line); }
  .principles-grid { gap: 0 1.5rem; }
  .principle-card:nth-child(2) { border-top: 1px solid var(--about-line); }
  .limits-layout__rule { display: none; }
  .contact-layout--about .about-form { max-width: 620px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-consent { justify-self: start; }
}

@media (max-width: 520px) {
  :root { --about-shell: calc(100% - 2rem); }
  .brand img { width: 150px; height: auto; }
  .age-label { display: none; }
  .about-hero { padding-top: 4rem; }
  .about-hero h1 { font-size: clamp(2.85rem, 15vw, 4.2rem); }
  .about-hero__lede { font-size: 1rem; }
  .about-hero__actions { align-items: stretch; flex-direction: column; }
  .about-button { width: 100%; }
  .theme-switcher { align-items: flex-start; flex-direction: column; margin-top: 2rem; }
  .theme-switcher button { min-height: 2.75rem; }
  .about-section { padding: 4.25rem 0; }
  .about-section h2 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .coverage-grid, .principles-grid { grid-template-columns: 1fr; }
  .coverage-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--about-line); }
  .coverage-card:last-child { border-bottom: 0; }
  .coverage-card:nth-child(2) { border-right: 0; }
  .coverage-card:nth-child(n+3) { border-top: 0; }
  .coverage-card h3 { margin-top: 2.4rem; }
  .principle-card, .principle-card:nth-child(2), .principle-card:nth-child(-n+2) { border-top: 1px solid var(--about-line); }
  .principles-grid .principle-card:first-child { border-top: 0; }
  .about-form { padding: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 3rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .consent-banner { flex-direction: column; }
  .consent-banner .consent-actions { width: 100%; }
  .consent-banner button { min-width: 0; }
}
