:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-light: #fffcf5;
  --forest: #172a22;
  --forest-deep: #102119;
  --ink: #24352b;
  --muted: #4e594e;
  --gold: #e3c591;
  --gold-dark: #78562d;
  --line: #d8ccba;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
:focus-visible { outline: 3px solid #a97938; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 5; padding: .6rem 1rem; background: var(--paper); }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); letter-spacing: -.048em; max-width: 14ch; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -.035em; max-width: 20ch; }
h3 { font-size: clamp(1.35rem, 2.15vw, 1.8rem); }
em { font-weight: inherit; color: var(--gold-dark); }
.wrap { width: min(100% - 2rem, 75rem); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem max(1rem, calc((100% - 75rem)/2)); background: var(--forest-deep); color: var(--paper); border-bottom: 1px solid #405045; }
.wordmark { font: 1.3rem var(--serif); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.header-link { display: none; text-underline-offset: .35em; color: var(--gold); }
.hero { background: var(--forest); color: var(--paper); padding-block: clamp(1.9rem, 5vw, 5.5rem); }
.hero em, .contact em { color: var(--gold); }
.hero-copy .hero-lead { color: #e6e8dc; max-width: 57ch; margin-bottom: 0; }
.hero-layout { display: grid; gap: 1.4rem; }
.eyebrow { color: var(--gold-dark); font-size: .875rem; font-weight: 650; letter-spacing: .105em; text-transform: uppercase; line-height: 1.4; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
.film { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border: 1px solid #88907a; background: #213629; }
.film video { display: block; width: 100%; height: 100%; background: #102119; object-fit: contain; }
.play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; border-radius: 50%; width: 4rem; height: 4rem; border: 1px solid var(--gold); color: var(--gold); background: #102119e8; cursor: pointer; font-size: 1.3rem; }
.video-status:not(:empty) { position: absolute; bottom: 0; left: 0; right: 0; background: var(--forest-deep); margin: 0; padding: .4rem .75rem; font-size: .875rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 3.125rem; padding: .85rem 1.2rem; background: var(--gold); color: var(--forest-deep); border: 1px solid var(--gold); font: 700 .875rem/1.35 var(--sans); letter-spacing: .055em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.button:hover { background: #efdbad; }
.trust { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; padding: 0; margin: .85rem 0 0; font-size: .875rem; }
.trust li::before { content: '·'; color: var(--gold); padding-right: .45rem; font-weight: 800; }
.section { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.section-heading { margin-bottom: 2rem; }
.section-heading > p:not(.eyebrow) { max-width: 64ch; }
.benefits, .event-grid, .steps, .fields, .photos { display: grid; gap: 1rem; }
.benefits article { border-top: 1px solid var(--line); padding: 1.2rem .2rem .2rem; }
.benefits p, .event-grid p, .steps p { margin: 0; }
.icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; border-radius: 50%; color: var(--gold-dark); background: var(--paper-light); border: 1px solid #cdb48a; box-shadow: inset 0 0 0 4px var(--paper-light), inset 0 0 0 5px #e8dcc6; }
.icon svg { width: 1.8rem; height: 1.8rem; }
.photos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-bottom: 1.5rem; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.events { background: #ece4d5; border-block: 1px solid var(--line); }
.event-grid { margin-bottom: 1.5rem; }
.event-grid article { background: var(--paper-light); border: 1px solid var(--line); border-top: 2px solid #a88655; padding: 1.35rem; }
.outline { background: transparent; border-color: var(--forest); }
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps li { border-top: 1px solid var(--line); padding-top: 1rem; }
.steps span { color: var(--gold-dark); display: block; font: 1.65rem var(--serif); margin-bottom: .6rem; }
.note { margin: 0; border-left: 2px solid #a88655; padding: .7rem 1rem; max-width: 76ch; background: #eee7d9; }
.contact { background: var(--forest); color: var(--paper); padding-bottom: 6rem; }
.contact-layout { display: grid; gap: 1rem; }
form { padding: clamp(1rem, 3vw, 2rem); background: var(--paper-light); color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fields label { display: grid; align-content: start; gap: .35rem; min-width: 0; font-size: .9rem; font-weight: 620; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 2.85rem; border: 1px solid #a99e8b; border-radius: 0; background: #fffef9; color: var(--ink); font: 1rem var(--sans); padding: .55rem .65rem; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, #435247 50%) right 1.02rem center / .32rem .32rem no-repeat, linear-gradient(135deg, #435247 50%, transparent 50%) right .7rem center / .32rem .32rem no-repeat, #fffef9; }
.form-hint { color: var(--muted); font-size: .875rem; margin: .7rem 0; }
.privacy { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin: 1rem 0; font-size: .9rem; align-items: start; }
.privacy input { margin: .26rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--forest); }
.privacy a { text-underline-offset: .2em; }
.form-submit { width: 100%; background: var(--gold); color: var(--forest-deep); border-color: var(--gold-dark); box-shadow: 0 2px 0 #b8925a, 0 6px 16px -8px #78562d80; }
.form-submit:hover { background: #efdbad; }
button:disabled { cursor: default; opacity: .68; }
#form-status:not(:empty) { border-left: 2px solid #a88655; margin: 1rem 0 0; padding: .5rem .7rem; background: #eee7d9; }
.mobile-cta { position: fixed; z-index: 2; inset: auto 0 0; background: var(--forest-deep); padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid #405045; }
.mobile-cta .button { width: 100%; min-height: 2.75rem; }
@media (min-width: 36rem) {
  .wrap { width: min(100% - 4rem, 75rem); }
  .benefits, .event-grid, .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .masthead { padding-inline: max(2rem, calc((100% - 75rem)/2)); }
  .header-link { display: inline; }
  .mobile-cta { display: none; }
  .hero-layout { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 2rem; }
  .film { grid-column: 2; grid-row: 1 / span 2; }
  .hero-action { grid-column: 1; }
  .contact { padding-bottom: clamp(3.25rem, 7vw, 6.25rem); }
}
@media (min-width: 64rem) {
  .hero-layout { grid-template-columns: 1fr 1.04fr; column-gap: 3rem; }
  .film { width: 100%; }
  .benefits, .event-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; }
  .contact-layout { grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.film picture { position: absolute; inset: 0; }
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.villa-interior { margin: 0 0 1.5rem; }
.villa-interior img { display: block; width: 100%; height: auto; }
@media (min-width: 48rem) {
  .villa-interior img { aspect-ratio: 2.1; object-fit: cover; }
}
.museum {
  display: grid;
  margin-top: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: var(--forest);
  color: var(--paper);
}
.museum > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.museum-copy { padding: clamp(1.35rem, 4vw, 3rem); align-self: center; }
.museum .eyebrow { color: var(--gold); }
.museum-title { font: clamp(1.8rem, 3.5vw, 2.75rem)/1.1 var(--serif); }
.museum-link { color: var(--gold); text-underline-offset: .25em; }
@media (min-width: 48rem) {
  .museum { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}

.gallery { margin-top: clamp(2.5rem, 6vw, 5rem); scroll-margin-top: 1.5rem; }
.gallery h3 { font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 1.35rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 1.6vw, 1.3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-grid li { display: flex; min-width: 0; }
.gallery-grid a {
  display: block;
  width: 100%;
  background: var(--paper-light);
  border: 1px solid var(--line);
  text-decoration: none;
}
.gallery-grid a:hover span { text-decoration: underline; text-underline-offset: .22em; }
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid span { display: block; padding: .6rem .7rem; font-size: .9rem; }
.gallery-dialog {
  width: min(calc(100% - 1.25rem), 64rem);
  max-height: calc(100% - 1.25rem);
  padding: clamp(.75rem, 2vw, 1.5rem);
  border: 1px solid var(--gold);
  background: var(--forest-deep);
  color: var(--paper);
}
.gallery-dialog::backdrop { background: #09110ef2; }
body:has(.gallery-dialog[open]) { overflow: hidden; }
.gallery-dialog-top, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.gallery-dialog-top p { margin: 0; }
.gallery-dialog figure { margin: .75rem 0; text-align: center; }
.gallery-dialog img { display: block; width: 100%; height: min(60dvh, 37rem); object-fit: contain; }
.gallery-dialog figcaption { margin-top: .65rem; color: var(--gold); }
.gallery-dialog button {
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}
.gallery-dialog button:hover { background: var(--forest); }
@media (min-width: 48rem) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .gallery-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Hero video: muted autoplay controls */
.film-controls { position: absolute; right: .75rem; bottom: .75rem; display: flex; gap: .5rem; z-index: 1; }
.film-controls button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; min-width: 2.75rem; justify-content: center; padding: .45rem .85rem; border: 1px solid var(--gold); background: #102119d9; color: var(--paper); font: 600 .85rem/1 var(--sans); letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(4px); }
.film-controls button:hover { background: #102119; }
.film-controls #pause { padding: .45rem; }
.film-controls .ico { width: 1.15rem; height: 1.15rem; flex: none; }
#sound .ico-on, #sound.is-on .ico-off { display: none; }
#sound.is-on .ico-on { display: inline; }
#pause .ico-play, #pause.is-paused .ico-pause { display: none; }
#pause.is-paused .ico-play { display: inline; }
.film video { object-fit: cover; }

/* Hero subtitle: short on phones, full from tablet up */
.hero-lead-short { display: none; }
@media (max-width: 47.99rem) {
  .hero { padding-block: 1.4rem 1.6rem; }
  .hero-layout { gap: 1rem; }
  .hero .eyebrow { font-size: .75rem; margin-bottom: .6rem; }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); letter-spacing: -.035em; max-width: 18ch; margin-bottom: .7rem; }
  .hero-lead-long, .hide-sm { display: none; }
  .hero-lead-short { display: block; font-size: .975rem; line-height: 1.5; }
  .hero-action .button { width: 100%; }
  .trust { margin-top: .65rem; font-size: .8rem; }
  .film-controls { right: .5rem; bottom: .5rem; }
  .film-controls button { font-size: .8rem; padding: .4rem .7rem; }
}

/* Header: location next to the wordmark */
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.place { display: inline-flex; align-items: center; gap: .35rem; padding-left: .9rem; border-left: 1px solid #4a5b4f; color: var(--gold); font-size: .85rem; line-height: 1.2; text-decoration: none; white-space: nowrap; min-height: 2.75rem; }
.place svg { width: 1.05rem; height: 1.05rem; flex: none; }
.wordmark { white-space: nowrap; }
.place-short { display: none; }
.place:hover span { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 30rem) {
  .brand { gap: .6rem; }
  .wordmark { font-size: 1.05rem; letter-spacing: .1em; }
  .place { padding-left: .6rem; font-size: .78rem; }
}
@media (max-width: 23rem) {
  .place-long { display: none; }
  .place-short { display: inline; }
}

/* Gallery as a single swipeable block (carousel) */
.carousel { position: relative; }
.carousel-track { display: flex !important; grid-template-columns: none !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; border: 1px solid var(--line); background: var(--forest-deep); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid #a97938; outline-offset: 4px; }
.carousel-track .slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-track a { border: 0; background: none; cursor: zoom-in; position: relative; }
.carousel-track img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.carousel-track .slide span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.carousel-btn { position: absolute; top: calc(50% - 1.75rem); translate: 0 -50%; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--gold); background: #102119d9; color: var(--gold); cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, opacity .2s; }
.carousel-btn:hover { background: #102119; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-btn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn.prev { left: clamp(.6rem, 2vw, 1.25rem); }
.carousel-btn.next { right: clamp(.6rem, 2vw, 1.25rem); }
.carousel-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem .1rem .4rem; }
.carousel-caption { margin: 0; font: 1.35rem/1.2 var(--serif); color: var(--ink); }
.carousel-count { margin: 0; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.carousel-dots { display: flex; gap: .4rem; padding: .2rem .1rem; }
.carousel-dots i { display: block; height: 3px; flex: 1; max-width: 2.5rem; background: var(--line); transition: background .25s; }
.carousel-dots i.on { background: var(--gold-dark); }
@media (max-width: 36rem) {
  .carousel-btn { width: 2.75rem; height: 2.75rem; top: calc(50% - 1.6rem); }
  .carousel-caption { font-size: 1.15rem; }
  .carousel-dots i { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #d9d3c4; padding: 2.5rem max(5vw, 16px) 2rem; font-size: .9rem; line-height: 1.6; }
.site-footer .wrap { max-width: 77.5rem; margin: 0 auto; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.footer-name { margin: 0 0 .35rem; font: 1.15rem/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.footer-legal { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links button { color: var(--gold); font: inherit; background: none; border: 0; padding: .5rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: #e3c59166; }
.footer-links a:hover, .footer-links button:hover { text-decoration-color: currentColor; }
.footer-copy { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: 1rem; border-top: 1px solid #2c3d33; font-size: .8rem; color: #a9b1a6; }
@media (max-width: 47.99rem) {
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .site-footer { padding-bottom: 6rem; } /* room for the sticky mobile CTA */
}

/* ---------- Cookie banner ---------- */
.cc-banner { position: fixed; z-index: 60; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); translate: -50% 0; width: min(46rem, calc(100% - 1.5rem)); padding: 1.4rem 1.5rem 1.25rem; background: var(--forest-deep); color: #e9e4d8; border: 1px solid #e3c59166; box-shadow: 0 18px 48px -18px #000c; font-size: .92rem; line-height: 1.55; }
.cc-banner h2, .cc-dialog h2 { margin: 0 2.5rem .5rem 0; font: 1.35rem/1.2 var(--serif); color: var(--paper); }
.cc-banner p { margin: 0 0 1rem; }
.cc-banner a { color: var(--gold); text-underline-offset: .2em; }
.cc-x { position: absolute; top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; color: #d9d3c4; cursor: pointer; }
.cc-x svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cc-x:hover { color: var(--paper); }
.cc-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cc-btn { min-height: 2.75rem; padding: .6rem 1.3rem; border: 1px solid var(--gold); background: var(--gold); color: var(--forest-deep); font: 600 .85rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cc-btn:hover { background: #efdbad; }
.cc-link { min-height: 2.75rem; padding: .6rem .4rem; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.cc-banner :focus-visible, .cc-dialog :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cc-open .mobile-cta { display: none !important; }
@media (max-width: 36rem) {
  .cc-banner { bottom: 0; width: 100%; padding: 1.2rem 1rem calc(1rem + env(safe-area-inset-bottom)); font-size: .87rem; border-width: 1px 0 0; }
  .cc-actions .cc-btn { flex: 1 1 8rem; }
  .cc-link { width: 100%; text-align: center; }
}

/* ---------- Preferences dialog ---------- */
.cc-dialog { width: min(38rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); padding: 1.5rem; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); }
.cc-dialog::backdrop { background: #0d1a13b3; }
.cc-dialog h2 { color: var(--forest); }
.cc-dialog > form > p { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.cc-cat { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .9rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc-cat h3 { margin: 0 0 .2rem; font: 600 1rem/1.3 var(--sans); color: var(--forest); }
.cc-cat p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.5; }
.cc-always { flex: none; font-size: .8rem; color: var(--gold-dark); font-weight: 600; }
.cc-switch { appearance: none; flex: none; position: relative; width: 3rem; height: 1.7rem; margin: 0; border-radius: 1rem; background: #c9c1b0; cursor: pointer; transition: background .2s; }
.cc-switch::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0004; transition: translate .2s; }
.cc-switch:checked { background: var(--forest); }
.cc-switch:checked::after { translate: 1.3rem 0; }
.cc-dialog .cc-actions { padding-top: 1rem; border-top: 1px solid var(--line); }
.cc-dialog .cc-btn { background: transparent; color: var(--forest); border-color: var(--gold-dark); }
.cc-dialog .cc-btn:hover { background: #f1e7d3; }
.cc-dialog .cc-save { background: var(--gold); color: var(--forest-deep); margin-left: auto; }
@media (max-width: 36rem) { .cc-dialog .cc-btn { flex: 1 1 100%; } .cc-dialog .cc-save { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .cc-switch, .cc-switch::after { transition: none; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) max(5vw, 16px) 4rem; }
.legal .back { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; text-underline-offset: .25em; }
.legal h1 { margin: .5rem 0 .4rem; font: clamp(2rem, 5vw, 2.8rem)/1.08 var(--serif); color: var(--forest); text-wrap: balance; }
.legal .updated { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
.legal h2 { margin: 2.25rem 0 .6rem; font: 1.4rem/1.25 var(--serif); color: var(--forest); }
.legal h3 { margin: 1.4rem 0 .4rem; font: 600 1.02rem/1.35 var(--sans); color: var(--forest); }
.legal p, .legal li { font-size: 1rem; line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--gold-dark); text-underline-offset: .2em; }
.legal .card { margin: 1rem 0 1.5rem; padding: 1.1rem 1.25rem; background: var(--paper-light); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.legal .card p { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: .75rem 0 1.25rem; font-size: .92rem; }
.legal th, .legal td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { font-weight: 600; color: var(--forest); background: #efe7d8; }
.legal .prefs-btn { min-height: 2.75rem; padding: .6rem 1.3rem; border: 1px solid var(--gold-dark); background: var(--gold); color: var(--forest-deep); font: 600 .85rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.legal-masthead { display: flex; align-items: center; min-height: 4rem; padding: 0 max(5vw, 16px); background: var(--forest-deep); }
.legal-masthead .wordmark { color: var(--paper); text-decoration: none; }
@media (max-width: 600px) {
  .legal .stack thead { display: none; }
  .legal .stack tr { display: grid; padding-block: .6rem; border-bottom: 1px solid var(--line); }
  .legal .stack td { display: flow-root; border: 0; padding: .2rem 0; padding-inline-start: 7.5em; }
  .legal .stack td::before { content: attr(data-l); float: inline-start; width: 7em; margin-inline-start: -7.5em; font-weight: 600; color: var(--forest); }
}

#form-status:empty { display: none; }
