/* Royals Garden — garden.css
   Box hedge, gilt railings, cream gravel. Mobile first; wider screens add columns. */

:root {
  --hedge: #1e3a2a;
  --hedge-deep: #142a1e;
  --boxwood: #3d6b4c;
  --sage: #e6ebdd;
  --gravel: #f6f1e4;
  --paper: #fffdf7;
  --ink: #1c221e;
  --ink-soft: #4a554d;
  --gilt: #a8822a;
  --gilt-bright: #d9b65c;
  --gilt-pale: #efe2b8;
  --line: #d8cfb4;
  --rose: #9c4a3c;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Mulish", "Segoe UI", system-ui, sans-serif;
  --wide: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gravel);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--hedge); text-decoration-color: var(--gilt); text-underline-offset: 3px; }
a:hover { color: var(--boxwood); }
:focus-visible { outline: 3px solid var(--gilt-bright); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--hedge-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.05em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gilt-pale); padding: 10px 16px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.arbor { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.gate-house { background: var(--hedge); color: var(--gilt-pale); border-bottom: 3px double var(--gilt); position: relative; z-index: 20; }
.gate-house__row { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 12px; flex-wrap: wrap; }
.gate-house__mark { display: flex; align-items: center; gap: 10px; color: var(--gilt-pale); text-decoration: none; }
.gate-house__mark:hover { color: #fff; }
.gate-house__mark .crest { width: 40px; color: var(--gilt-bright); flex: none; }
.gate-house__mark b { display: block; font: 600 1.45rem/1 var(--serif); letter-spacing: .02em; }
.gate-house__mark small { display: block; font-size: .72rem; letter-spacing: .08em; opacity: .8; margin-top: 3px; }
.gate-house__toggle { background: none; border: 1px solid var(--gilt); width: 46px; height: 42px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.gate-house__toggle i { display: block; width: 22px; height: 2px; background: var(--gilt-pale); }
.hedge-nav { flex-basis: 100%; display: none; padding: 4px 0 16px; }
.hedge-nav.is-open { display: block; }
.hedge-nav ul { list-style: none; margin: 0; padding: 0; }
.hedge-nav a { display: block; color: var(--gilt-pale); text-decoration: none; padding: 10px 2px; border-bottom: 1px solid rgba(217, 182, 92, .22); font-size: 1.02rem; }
.hedge-nav a[aria-current="page"] { color: var(--gilt-bright); }
.hedge-nav__acct a { color: var(--gilt-bright); }

@media (min-width: 1080px) {
  .gate-house__toggle { display: none; }
  .hedge-nav { display: block; flex-basis: auto; padding: 0; }
  .hedge-nav ul { display: flex; gap: 2px; align-items: center; }
  .hedge-nav a { border: 0; padding: 8px 10px; font-size: .93rem; }
  .hedge-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gilt-bright); }
  .hedge-nav__acct a { border: 1px solid var(--gilt); margin-left: 8px; padding: 6px 14px; }
}

/* ---------- buttons ---------- */
.urn { display: inline-block; font: 600 .95rem/1.2 var(--sans); letter-spacing: .03em; padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--gilt); cursor: pointer; text-decoration: none; text-align: center; }
.urn--gilt { background: var(--gilt); color: #fff; }
.urn--gilt:hover { background: #8f6e22; color: #fff; }
.urn--line { background: transparent; color: var(--hedge); }
.urn--line:hover { background: var(--gilt-pale); }
.urn--hedge { background: var(--hedge); border-color: var(--hedge); color: var(--gilt-pale); }
.urn--hedge:hover { background: var(--boxwood); color: #fff; }
.urn[disabled] { opacity: .55; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--gilt); cursor: pointer; }

/* ---------- ornaments ---------- */
.knot { width: 132px; margin: 0 auto 18px; color: var(--gilt); }
.eyebrow { font: 500 italic 1.2rem/1.3 var(--serif); color: var(--gilt); margin-bottom: .4em; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 42em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- sections ---------- */
.terrace { padding: 56px 0; }
.terrace--sage { background: var(--sage); }
.terrace--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.terrace--hedge { background: var(--hedge); color: var(--gilt-pale); }
.terrace--hedge h2, .terrace--hedge h3 { color: #fff; }
.terrace--hedge a { color: var(--gilt-bright); }
@media (min-width: 900px) { .terrace { padding: 92px 0; } }

/* the arched hero */
.orangery { background: var(--hedge); color: var(--gilt-pale); overflow: hidden; }
.orangery__grid { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 40px; }
.orangery h1 { color: #fff; }
.orangery .lede { color: var(--gilt-pale); }
.orangery__arch { border-radius: 999px 999px 0 0; overflow: hidden; border: 3px solid var(--gilt); box-shadow: 0 0 0 7px var(--hedge), 0 0 0 8px var(--gilt); margin: 8px; }
.orangery__arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.orangery__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.orangery__cta .urn--line { color: var(--gilt-pale); }
.orangery__cta .urn--line:hover { color: var(--hedge); }
@media (min-width: 900px) {
  .orangery__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 72px; }
  .orangery__arch img { aspect-ratio: 4 / 4.4; max-height: 640px; }
}

/* shallow banner for inner pages */
.lawn-banner { position: relative; background: var(--hedge-deep); color: #fff; }
.lawn-banner img { width: 100%; height: 300px; object-fit: cover; opacity: .62; }
.lawn-banner__text { position: absolute; inset: auto 0 0 0; padding: 0 0 28px; }
.lawn-banner h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); margin: 0; }
.lawn-banner .eyebrow { color: var(--gilt-pale); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
@media (min-width: 900px) { .lawn-banner img { height: 440px; } .lawn-banner__text { padding-bottom: 48px; } }

/* text-only title band */
.title-lawn { background: var(--sage); border-bottom: 3px double var(--gilt); padding: 44px 0 34px; }
.title-lawn h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }

/* two beds side by side */
.beds { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .beds { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .beds--wide-left { grid-template-columns: 1.3fr 1fr; }
  .beds--flip > :first-child { order: 2; }
}

.gilt-frame { padding: 8px; border: 1px solid var(--gilt); background: var(--paper); }
.gilt-frame img { width: 100%; }
.gilt-frame figcaption { font: italic 500 1rem/1.4 var(--serif); color: var(--ink-soft); padding: 10px 4px 2px; }

/* card grid */
.trellis { display: grid; gap: 22px; }
@media (min-width: 640px) { .trellis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .trellis--four { grid-template-columns: repeat(4, 1fr); } .trellis--three { grid-template-columns: repeat(3, 1fr); } }
.bloom { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.bloom img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bloom__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.bloom__body p { color: var(--ink-soft); font-size: .96rem; }
.bloom__meta { font: italic 500 1.05rem/1.3 var(--serif); color: var(--gilt); margin-bottom: 6px; }
.bloom__body .urn { margin-top: auto; align-self: flex-start; }

/* facts */
.plaques { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .plaques { grid-template-columns: 1fr 1fr; } }
.plaque { border: 1px solid var(--gilt); outline: 1px solid var(--gilt); outline-offset: -6px; padding: 18px 20px; background: var(--paper); }
.plaque b { display: block; font: 600 1.15rem/1.2 var(--serif); color: var(--hedge); margin-bottom: 4px; }
.plaque span { font-size: .93rem; color: var(--ink-soft); }

/* numbered walk / itinerary */
.walk { list-style: none; margin: 0; padding: 0; counter-reset: walk; }
.walk > li { position: relative; padding: 0 0 26px 62px; counter-increment: walk; }
.walk > li::before { content: counter(walk); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gilt); display: grid; place-items: center; font: 600 1.25rem/1 var(--serif); color: var(--hedge); background: var(--paper); }
.walk > li::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 1px dotted var(--gilt); }
.walk > li:last-child::after { display: none; }
.walk h3 { margin-bottom: .3em; }

/* drawings */
.plan { background: var(--paper); border: 1px solid var(--line); padding: 14px; }
.plan svg { width: 100%; }
.plan text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; fill: var(--hedge); }
.plan .t-cap { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .14em; fill: var(--gilt); }
.plan .t-light { fill: #fffdf7; }
.plan .t-pale { fill: var(--gilt-pale); }
.plan figcaption { font-size: .86rem; color: var(--ink-soft); padding-top: 8px; }

/* game list on the salon page */
.salon-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .salon-list { grid-template-columns: 1fr 1fr; } }
.salon-list li { border-left: 3px solid var(--gilt); padding: 6px 0 6px 16px; }
.salon-list b { font: 600 1.2rem/1.3 var(--serif); color: var(--hedge); display: block; }

/* tables for hours */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); }
.hours th, .hours td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font: 600 1.05rem/1.3 var(--serif); color: var(--hedge); }
.table-wrap { overflow-x: auto; }

/* departures and reservation */
.departures { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.departure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); }
.departure b { font: 600 1.15rem/1.3 var(--serif); }
.departure__left { font-size: .9rem; color: var(--boxwood); }
.departure--out { opacity: .78; }
.departure--out .departure__left { color: var(--rose); font-weight: 600; }
.ledger { display: grid; gap: 14px; }
.ledger label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.ledger input, .ledger select, .ledger textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9ae8f; background: #fff; border-radius: 2px; color: var(--ink); }
.ledger textarea { min-height: 120px; resize: vertical; }
.ledger .tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ledger .tick input { width: auto; margin-top: 5px; }
.ledger__two { display: grid; gap: 14px; }
@media (min-width: 640px) { .ledger__two { grid-template-columns: 1fr 1fr; } }
.ledger__msg { min-height: 1.5em; font-weight: 600; color: var(--rose); margin: 0; }
.ledger__msg.is-ok { color: var(--boxwood); }
.ledger-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gilt); padding: 24px 20px; }
@media (min-width: 640px) { .ledger-card { padding: 34px 36px; } }
.narrow { max-width: 620px; margin: 0 auto; }

/* account */
.acct-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.acct-list li { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gilt); padding: 14px 16px; font-size: .95rem; }
.acct-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.acct-head .lede { margin-bottom: 0; }
.acct-state { display: flex; align-items: center; gap: 14px; padding: 28px 0; color: var(--ink-soft); }
.acct-state p { margin: 0; }
.acct-state--error { flex-wrap: wrap; color: var(--rose); font-weight: 600; }
.acct-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--gilt-pale); border-top-color: var(--gilt); animation: rg-turn 1s linear infinite; flex: none; }
@keyframes rg-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .acct-spinner { animation: none; } }
.acct-summary { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .acct-summary { grid-template-columns: repeat(3, 1fr); } }
.acct-summary b { font-size: 1.9rem; line-height: 1.1; }
.acct-section { margin-bottom: 56px; }
.acct-section__head { max-width: 46em; margin-bottom: 20px; }
.acct-section__head h2:focus { outline: none; }
.acct-section__head p { color: var(--ink-soft); }
.acct-lower { align-items: start; }
.acct-lower > * { min-width: 0; }
.acct-meta { font-size: .9rem; color: var(--ink-soft); }
.acct-meta b, .acct-list li { overflow-wrap: anywhere; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ticket-list { display: grid; gap: 18px; }
.ticket-card { display: grid; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gilt); }
.ticket-card__thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 7; }
@media (min-width: 760px) { .ticket-card__thumb img { aspect-ratio: 4 / 3; } }
.acct-summary .plaque { padding: 12px 18px; }
.acct-summary .plaque span { display: block; }
.ticket-card__body { padding: 18px 18px 20px; min-width: 0; }
.ticket-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.ticket-card__ref { font-size: .85rem; color: var(--ink-soft); letter-spacing: .02em; }
.ticket-card h3 { margin-bottom: .2em; }
.ticket-card h3 a { text-decoration: none; color: var(--hedge-deep); }
.ticket-card h3 a:hover { text-decoration: underline; }
.ticket-card__route { font: italic 500 1.05rem/1.4 var(--serif); color: var(--gilt); margin-bottom: 14px; }
.ticket-card__facts { display: grid; gap: 10px 20px; margin: 0 0 14px; }
.ticket-card__facts div { border-top: 1px dotted var(--line); padding-top: 8px; }
.ticket-card__facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.ticket-card__facts dd { margin: 2px 0 0; font-weight: 600; }
.ticket-card__status { font-size: .92rem; color: var(--ink-soft); margin-bottom: 12px; }
.ticket-card__confirm { background: #fbefe9; border: 1px solid #e3c2b6; padding: 14px 16px; margin-top: 4px; }
.ticket-card__confirm p { margin-bottom: 10px; font-weight: 600; color: var(--rose); }
.ticket-card__msg { margin: 8px 0 0; font-weight: 600; color: var(--rose); min-height: 1em; }
.ticket-card__msg:empty { display: none; }
.ticket-card--cancelled { border-top-color: var(--line); }
.ticket-card--cancelled .ticket-card__thumb img { filter: grayscale(1); opacity: .6; }
.ticket-card--cancelled h3 a, .ticket-card--cancelled .ticket-card__route { color: var(--ink-soft); }
.ticket-card--confirmed { border-top-color: var(--hedge); }
@media (min-width: 560px) { .ticket-card__facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) {
  .ticket-card { grid-template-columns: 240px 1fr; }
  .ticket-card__body { padding: 22px 26px; }
}
@media (min-width: 1080px) { .ticket-card__facts { grid-template-columns: repeat(4, 1fr); } }
.badge { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid transparent; }
.badge--new { background: var(--gilt-pale); color: #6b5217; border-color: var(--gilt); }
.badge--contacted { background: var(--sage); color: var(--hedge); border-color: var(--boxwood); }
.badge--confirmed { background: var(--hedge); color: var(--gilt-pale); }
.badge--cancelled { background: transparent; color: var(--rose); border-color: var(--rose); }
.urn--rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.urn--rose:hover { background: #7f3a2f; color: #fff; }
.empty-bed { text-align: center; background: var(--paper); border: 1px dashed var(--gilt); padding: 40px 22px; max-width: 760px; margin: 0 auto; }
.empty-bed p { color: var(--ink-soft); max-width: 36em; margin-left: auto; margin-right: auto; }
.hedge-nav__btn { background: none; border: 0; font: inherit; color: var(--gilt-pale); cursor: pointer; padding: 10px 2px; text-align: left; width: 100%; border-bottom: 1px solid rgba(217, 182, 92, .22); }
.hedge-nav__btn:hover { color: #fff; }
@media (min-width: 1080px) { .hedge-nav__btn { padding: 6px 10px; border: 0; font-size: .93rem; width: auto; } }

/* departures schedule (departures.php) */
.schedule-filter { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gilt); padding: 18px 18px 20px; margin-bottom: 26px; }
.schedule-filter label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.schedule-filter select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9ae8f; background: #fff; border-radius: 2px; color: var(--ink); }
.schedule-filter__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
@media (min-width: 760px) { .schedule-filter { grid-template-columns: 1fr 1fr auto; align-items: end; padding: 22px 26px; } }
.schedule-note { background: var(--gilt-pale); border-left: 3px solid var(--gilt); padding: 12px 16px; }
.schedule-note--down { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--rose); padding: 26px 22px; max-width: 760px; }
.schedule { width: 100%; border-collapse: collapse; }
.schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; }
.schedule__row { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gilt); padding: 14px 16px 16px; margin-bottom: 14px; }
.schedule__row--few { border-top-color: var(--rose); }
.schedule__row--out { border-top-color: var(--line); opacity: .82; }
.schedule tbody th { font: 600 1.35rem/1.25 var(--serif); text-align: left; margin-bottom: 6px; }
.schedule tbody th a { color: var(--hedge-deep); text-decoration: none; }
.schedule tbody th a:hover { text-decoration: underline; }
.schedule td { padding: 4px 0; font-size: .95rem; }
.schedule td[data-label]::before { content: attr(data-label); display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.schedule td[data-label="Route"] { font: italic 500 1.05rem/1.4 var(--serif); color: var(--gilt); }
.schedule td[data-label="Route"]::before { font-family: var(--sans); font-style: normal; }
.schedule__go { padding-top: 10px !important; }
.schedule__go:empty { display: none; }
.schedule__left { color: var(--ink-soft); white-space: nowrap; }
.seat-badge { display: inline-block; font: 600 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid transparent; margin-right: 6px; }
.seat-badge--open { background: var(--sage); color: var(--hedge); border-color: var(--boxwood); }
.seat-badge--few { background: #fbefe9; color: var(--rose); border-color: var(--rose); }
.seat-badge--out { background: transparent; color: var(--ink-soft); border-color: var(--line); }
@media (min-width: 900px) {
  .schedule { display: table; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gilt); }
  .schedule thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .schedule tbody { display: table-row-group; }
  .schedule tr { display: table-row; }
  .schedule th, .schedule td { display: table-cell; padding: 14px 14px; vertical-align: middle; border-bottom: 1px solid var(--line); }
  .schedule thead th { font: 600 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); text-align: left; background: var(--gravel); }
  .schedule__row, .schedule__row--few, .schedule__row--out { background: none; border: 0; padding: 0; margin: 0; }
  .schedule__row--out td, .schedule__row--out th { color: var(--ink-soft); }
  .schedule td[data-label]::before { display: none; }
  .schedule tbody th { font-size: 1.2rem; margin: 0; }
  .schedule__go { text-align: right; white-space: nowrap; padding-top: 14px !important; }
  .schedule__go:empty { display: table-cell; }
  .schedule__go .urn { padding: 10px 18px; }
}

/* legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.reviewed { font-style: italic; color: var(--ink-soft); }
.legal code { overflow-wrap: anywhere; }
.legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
.legal tr { border: 1px solid var(--line); margin-bottom: 10px; background: var(--paper); }
.legal td { border: 0; border-bottom: 1px dotted var(--line); }
.legal td:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .legal thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .legal table { display: table; }
  .legal tbody { display: table-row-group; }
  .legal tr { display: table-row; background: none; }
  .legal td { display: table-cell; width: auto; border: 1px solid var(--line); }
}

.small-print { font-size: .84rem; color: var(--ink-soft); padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.garden-wall { background: var(--hedge-deep); color: #d9dccf; font-size: .92rem; padding: 48px 0 30px; border-top: 3px double var(--gilt); }
.garden-wall a { color: var(--gilt-pale); }
.garden-wall__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .garden-wall__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.garden-wall__name { display: flex; align-items: center; gap: 10px; font: 600 1.5rem/1 var(--serif); color: var(--gilt-pale); }
.garden-wall__name .crest { width: 34px; color: var(--gilt-bright); }
.garden-wall h2 { font: 600 1.15rem/1.2 var(--serif); color: var(--gilt-bright); margin-bottom: 8px; }
.garden-wall ul { list-style: none; margin: 0; padding: 0; }
.garden-wall li { padding: 3px 0; }
.garden-wall__legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(217, 182, 92, .3); font-size: .84rem; }
.garden-wall__salon { color: var(--gilt-pale); }
.demo-mark { font-weight: 600; color: #fff; border: 1px dashed var(--gilt-bright); padding: 8px 12px; }

/* ---------- overlays ---------- */
.cookie-trellis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 3px double var(--gilt); padding: 14px 20px; display: grid; gap: 10px; box-shadow: 0 -8px 28px rgba(20, 42, 30, .18); font-size: .92rem; }
.cookie-trellis[hidden] { display: none; }
.cookie-trellis p { margin: 0; }
.cookie-trellis__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-trellis .urn { padding: 9px 18px; }
@media (min-width: 900px) { .cookie-trellis { grid-template-columns: 1fr auto; align-items: center; padding: 16px 40px; } }

.thanks-veil, .age-arch { position: fixed; inset: 0; z-index: 80; background: rgba(20, 42, 30, .72); display: grid; place-items: center; padding: 20px 16px 150px; overflow-y: auto; }
.thanks-veil[hidden], .age-arch[hidden] { display: none; }
.thanks-card, .age-arch__card { background: var(--paper); max-width: 480px; width: 100%; text-align: center; padding: 30px 22px 26px; border: 1px solid var(--gilt); outline: 1px solid var(--gilt); outline-offset: -8px; }
.thanks-card h2, .age-arch__card h2 { font-size: 1.8rem; }
.thanks-card__seal { margin: 0 0 6px; }
.thanks-card__seal .crest { width: 52px; margin: 0 auto; color: var(--gilt); }
.thanks-card__extra:empty { display: none; }
.age-arch__btns { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .age-arch__btns { flex-direction: row; justify-content: center; } }
.age-arch__no { margin-top: 16px; color: var(--rose); font-weight: 600; }
body.is-locked { overflow: hidden; }
