/* Layout concept: the supplied mockups. A deep green header and hero with an arch doorway,
   ivory reading sections with hairline columns, one centred faith band, sand bands for forms,
   a deep green footer. Rules from the component sheet: 2px corners, 44px touch targets,
   2px focus outline, slow gentle fades. Lora for voice, Inter for labels and forms. */
:root {
  --ivory: #F7F3EC;
  --sand: #E9E1D3;
  --stone: #CFC4B1;
  --forest: #1F3A2E;
  --deep: #14271E;
  --brass: #A88B5A;

  --on-dark: #F7F3EC;
  --on-dark-muted: #CFC4B1;

  --bg: #F7F3EC;
  --surface: #E9E1D3;
  --field: #F7F3EC;
  --field-line: #8F8575;
  --line: #CFC4B1;
  --fg: #2B2823;
  --muted: #6F6657;
  --head: #1F3A2E;
  --label: #7A6038;
  --form-label: #3E5A4A; --err: #9B2C2C; --ok: #2F6B4A;
  --hero: #14271E;
  --panel: #1F3A2E;
  --panel-line: #3E5A4A;
  --btn: #1F3A2E;
  --btn-fg: #F7F3EC;
  --focus: #1F3A2E;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12231A; --surface: #1A3025; --field: #213A2D; --field-line: #5A7466; --line: #30493B;
    --fg: #F1ECE1; --muted: #B5B8A6; --head: #F1ECE1; --label: #C2A56F; --form-label: #B5B8A6; --err: #F0A19A; --ok: #8FCFA6;
    --hero: #0D1B14; --panel: #0D1B14; --panel-line: #2B4538;
    --btn: #C2A56F; --btn-fg: #14271E; --focus: #C2A56F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12231A; --surface: #1A3025; --field: #213A2D; --field-line: #5A7466; --line: #30493B;
  --fg: #F1ECE1; --muted: #B5B8A6; --head: #F1ECE1; --label: #C2A56F; --form-label: #B5B8A6; --err: #F0A19A; --ok: #8FCFA6;
  --hero: #0D1B14; --panel: #0D1B14; --panel-line: #2B4538;
  --btn: #C2A56F; --btn-fg: #14271E; --focus: #C2A56F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--hero);
  z-index: 30;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--on-dark); }
section { scroll-margin-top: 84px; }

.wrap {
  max-width: 1104px;
  margin-inline: auto;
  padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--label);
}

/* Header */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--hero); color: var(--on-dark); border-bottom: 1px solid var(--panel-line); }
.bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand svg { flex: none; width: 34px; height: 34px; }
.brand span { font-size: 19px; font-weight: 500; }
.nav { display: flex; gap: 0 28px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color 0.3s ease, box-shadow 0.3s ease;
}
.nav a:hover { color: var(--on-dark); }
.nav a[aria-current="true"] { color: var(--on-dark); box-shadow: inset 0 -1px 0 var(--brass); }
.menu { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; border-radius: 2px; cursor: pointer; align-items: center; justify-content: center; color: var(--on-dark); }
.menu .x { display: none; }
.menu[aria-expanded="true"] .lines { display: none; }
.menu[aria-expanded="true"] .x { display: block; }

/* Hero */
.hero {
  background: radial-gradient(circle at 78% 70%, rgba(168, 139, 90, 0.28) 0, rgba(168, 139, 90, 0) 42%), var(--hero);
  color: var(--on-dark);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; padding-top: 56px; }
.hero .label { color: var(--brass); letter-spacing: 0.28em; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.kicker .by { font-style: italic; font-size: 14px; color: var(--on-dark-muted); }
.kicker .by::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 14px; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero h1 { font-size: clamp(36px, 8.6vw, 68px); line-height: 1.04; letter-spacing: -0.01em; margin-top: 18px; color: var(--on-dark); }
.hero .sub { font-style: italic; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.5; color: var(--on-dark-muted); max-width: 480px; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, filter 0.3s ease;
}
.btn-ivory { background: var(--ivory); color: var(--forest); }
.btn-ivory:hover { filter: brightness(0.94); }
.btn-line { border-color: var(--on-dark-muted); color: var(--on-dark); }
.btn-line:hover { border-color: var(--on-dark); }
.btn-form { background: var(--btn); color: var(--btn-fg); }
.btn-form:hover { filter: brightness(1.14); }
.btn-outline { border-color: var(--head); color: var(--head); }
.btn-outline:hover { background: var(--head); color: var(--bg); }
.arch { width: 100%; max-width: 340px; height: auto; justify-self: center; display: block; overflow: visible; }
.arch .line { stroke: var(--on-dark); }
.facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 16px 56px;
  margin: 48px 0 0;
  padding: 22px 0 44px;
  list-style: none;
  border-top: 1px solid var(--panel-line);
}
.facts li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts span { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); }
.facts b { font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--on-dark); }
.facts b.tbc-d { font-style: italic; font-weight: 400; color: var(--on-dark-muted); }

/* Bands */
.band { padding-block: 72px; }
.band-sand { background: var(--surface); }
.head h2 { font-size: clamp(30px, 5.4vw, 44px); line-height: 1.1; color: var(--head); margin-top: 14px; }
.head p { margin-top: 16px; font-size: 17px; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 64px; align-items: end; }
.head-split .label { grid-column: 1 / -1; }
.head-split p { margin-top: 0; padding-bottom: 6px; }
.head-split .side { padding-bottom: 6px; }
.head-split .side p { padding-bottom: 0; }
.head-split .side .btn { margin-top: 24px; }

/* Idea */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.cols3 > div { border-top: 1px solid var(--line); padding-top: 18px; }
.cols3 .n { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--label); }
.cols3 h3 { font-size: 24px; color: var(--head); margin-top: 8px; }
.cols3 p { font-size: 15px; line-height: 1.65; margin-top: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.card { background: var(--surface); border-top: 2px solid var(--brass); border-radius: 2px; padding: 20px 22px 22px; }
.card h3 { font-size: 20px; color: var(--head); }
.card p { font-size: 15px; line-height: 1.55; margin-top: 6px; }

/* Faith band */
.faith { background: var(--panel); color: var(--on-dark); text-align: center; padding-block: 72px; }
.faith .rule { width: 40px; height: 1px; background: var(--brass); margin: 0 auto 28px; }
.faith h2 { font-size: clamp(26px, 4.6vw, 38px); line-height: 1.2; max-width: 780px; margin: 0 auto; color: var(--on-dark); }
.faith p { font-style: italic; font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); max-width: 560px; margin: 20px auto 0; }

/* Forms */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 44px; align-items: start; }
.formbox { background: var(--bg); padding: 30px; border-radius: 2px; }
.formbox h3 { font-size: 22px; color: var(--head); }
form { display: grid; gap: 16px; margin-top: 4px; }
.formbox h3 + form { margin-top: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--form-label); }
.field .opt { font-weight: 400; letter-spacing: 0.12em; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg);
  background: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 2px;
  padding: 0 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
textarea { min-height: 104px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.err { font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: var(--err); margin: 0; }
.err::before { content: "\26A0\FE0E\00a0"; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: inset 3px 0 0 var(--err); }
.status.ok { border-style: solid; border-color: var(--ok); }
.status.bad { border-style: solid; border-color: var(--err); }
.count { font-family: var(--sans); font-size: 11px; color: var(--muted); justify-self: end; }
.formbox .btn { justify-self: start; }
.fine { font-style: italic; font-size: 13px; line-height: 1.5; color: var(--muted); }
.status { font-family: var(--sans); font-size: 13px; line-height: 1.5; padding: 12px 14px; border: 1px dashed var(--label); color: var(--fg); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.visit-title { font-size: 22px; color: var(--head); margin-bottom: 14px; }
.visit { display: grid; }
.visit div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.visit div:last-child { border-bottom: 1px solid var(--line); }
.visit dt { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); padding-top: 4px; }
.visit dd { margin: 0; }
.tbc { font-style: italic; color: var(--muted); }

.faq { margin-top: 64px; max-width: 46em; }
.faq h3 { font-size: 22px; color: var(--head); margin-bottom: 14px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; min-height: 44px; padding: 14px 36px 14px 0; position: relative; font-size: 18px; color: var(--head); transition: color 0.3s ease; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 9px; font-family: var(--sans); font-size: 22px; color: var(--label); transition: transform 0.4s ease; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--label); }
details p { padding: 0 36px 18px 0; }

/* Partners */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 48px; }
.perks > div { border-top: 1px solid var(--line); padding-top: 16px; }
.perks h3 { font-size: 19px; color: var(--head); }
.perks p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.how { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: how; }
.how li { counter-increment: how; }
.how li::before { content: counter(how); font-size: 44px; line-height: 1; color: var(--label); display: block; margin-bottom: 10px; }
.how b { font-weight: 500; font-size: 20px; color: var(--head); display: block; }
.how span { display: block; font-size: 15px; line-height: 1.55; margin-top: 6px; }
.side-copy { position: sticky; top: 112px; }
.side-copy h3 { font-size: 24px; color: var(--head); }
.side-copy p { margin-top: 14px; font-size: 17px; }
.contact { margin-top: 24px; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--muted); }
.contact b { color: var(--fg); font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 44px; }
.about p { margin-top: 10px; font-size: 19px; line-height: 1.55; color: var(--head); font-style: italic; }

/* Footer */
.foot-band { background: var(--hero); color: var(--on-dark); padding-block: 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.foot > div { flex: 1 1 300px; min-width: 0; }
.foot b { display: block; font-size: 22px; font-weight: 500; }
.foot em { display: block; font-size: 14px; color: var(--on-dark-muted); margin-top: 4px; }
.foot .info { font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.foot .info i { display: block; margin-top: 10px; font-size: 12px; }

/* Motion: slow, gentle fades */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.hero .kicker, .hero h1, .hero .sub, .hero .actions, .hero .facts { animation: rise 1s ease both; }
.arch .lit { animation: fade 1.8s ease 1.2s both, breathe 9s ease-in-out 3.2s infinite; }
.hero h1 { animation-delay: 0.1s; }
.hero .sub { animation-delay: 0.25s; }
.hero .actions { animation-delay: 0.4s; }
.hero .facts { animation-delay: 0.55s; }
.arch .line { animation: draw 2.2s ease both; }
.arch .l2 { animation-delay: 0.3s; }
.arch .l3 { animation-delay: 0.6s; }
.arch .base { animation: draw 1.6s ease 0.2s both; }
.arch .dot { animation: fade 1.2s ease 1.6s both; }
.rv { opacity: 0.35; transform: translateY(10px); transition: opacity 0.9s ease, transform 0.9s ease; transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.status { animation: fade 0.5s ease both; }
:root { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s ease, content-visibility 0.4s allow-discrete; }
details[open]::details-content { block-size: auto; }
.bar { transition: box-shadow 0.3s ease; }
.bar.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .kicker, .hero h1, .hero .sub, .hero .actions, .hero .facts, .arch .line, .arch .base, .arch .dot, .arch .lit, .status { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .nav a, .btn, input, select, textarea, summary, summary::after, details::details-content, .bar { transition: none; }
}

@media (max-width: 860px) {
  section { scroll-margin-top: 72px; }
  .nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .arch { max-width: 104px; justify-self: start; order: -1; margin-bottom: 22px; }
  .kicker .by::before { display: none; }
  .hero { background: radial-gradient(circle at 70% 88%, rgba(168, 139, 90, 0.3) 0, rgba(168, 139, 90, 0) 45%), var(--hero); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 36px; padding-bottom: 36px; }
  .facts b { font-size: 17px; }
  .band { padding-block: 56px; }
  .faith { padding-block: 56px; }
  .head-split, .two, .about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .head-split { gap: 0; }
  .head-split p, .head-split .side { margin-top: 18px; padding-bottom: 0; }
  .cols3, .cards, .perks, .how { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .how { gap: 28px; }
  .cols2 { grid-template-columns: minmax(0, 1fr); }
  .formbox { padding: 22px; }
  .visit div { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .side-copy { position: static; }
  .actions .btn { flex: 1 1 100%; }
}

/* Additions for the PHP version */
.head h2.wide { max-width: 760px; }
.formbox.on-sand { background: var(--surface); }
.two.flush { margin-top: 0; }
.contact a { color: inherit; text-decoration: underline; }
.foot .info a { color: inherit; text-decoration: underline; }
/* Honeypot field: off screen, never shown to people */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Privacy page */
.bar .back { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
.bar .back:hover { color: var(--on-dark); }
.prose .wrap { max-width: 760px; }
.prose h1 { font-size: clamp(30px, 5.4vw, 44px); line-height: 1.1; color: var(--head); margin-top: 14px; }
.prose h2 { font-size: 22px; color: var(--head); margin-top: 36px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-top: 6px; }
.prose a, .fine a, .foot .info a { text-decoration: underline; }

/* Blog */
.subnav { display: flex; align-items: center; gap: 0 24px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); transition: color 0.3s ease; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--on-dark); }
.subnav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--brass); }
.post-list { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 28px; }
.post-card { border-top: 1px solid var(--line); padding-top: 20px; }
.post-card h2 { margin-top: 6px; font-size: 26px; }
.post-card h2 a { color: var(--head); transition: color 0.3s ease; }
.post-card h2 a:hover { color: var(--label); }
.post-card p { margin-top: 8px; }
.post-meta { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); }
.more:hover { text-decoration: underline; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.pager a { display: inline-flex; align-items: center; min-height: 44px; color: var(--head); font-weight: 600; }
.empty-note { margin-top: 36px; font-style: italic; color: var(--muted); }
.lede { margin-top: 14px; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--muted); }
.post-body { margin-top: 28px; font-size: 18px; line-height: 1.75; }
.post-body h2 { font-size: 26px; margin-top: 40px; }
.post-body h3 { font-size: 21px; margin-top: 28px; color: var(--head); }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote { margin-top: 18px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--brass); font-style: italic; color: var(--muted); }
.post-body a { color: var(--label); text-decoration: underline; }
.post-end { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 14px; }
.draft-banner { margin: 0; padding: 10px 20px; background: var(--brass); color: var(--deep); font-family: var(--sans); font-size: 13px; text-align: center; }
@media (max-width: 560px) { .subnav { gap: 0 14px; } .subnav a { letter-spacing: 0.12em; } }

/* Blog pictures */
.thumb { display: block; overflow: hidden; border-radius: 2px; background: var(--surface); }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s ease; }
.thumb:hover img { transform: scale(1.02); }
.post-card .thumb + .post-meta { margin-top: 14px; }
figure.cover { margin: 28px 0 0; }
figure.cover img, .post-body figure img { display: block; width: 100%; height: auto; border-radius: 2px; background: var(--surface); }
.post-body figure { margin: 32px 0 0; }
.post-body figcaption { margin-top: 8px; font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .thumb img { transition: none; } .thumb:hover img { transform: none; } }

/* Blog design: list styles, categories, richer posts */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose .wrap.wide-wrap, .wrap.wide-wrap { max-width: 1120px; }
.blog-index .post-meta, .post .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; }
.blog-search { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.blog-search input[type="search"] { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--fg); background: var(--field); border: 1px solid var(--field-line); border-radius: 2px; }
.blog-search .btn { min-height: 44px; padding-inline: 18px; }
.view-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; }
.view-switch a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.view-switch a + a { border-left: 1px solid var(--line); }
.view-switch a:hover { color: var(--head); }
.view-switch a[aria-current] { background: var(--forest); color: var(--on-dark); }
:root[data-theme="dark"] .view-switch a[aria-current] { background: var(--btn); color: var(--btn-fg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: 13px; color: var(--head); transition: background 0.3s ease, border-color 0.3s ease; }
.chips a span { font-size: 11px; color: var(--muted); }
.chips a:hover { border-color: var(--label); }
.chips a[aria-current] { background: var(--surface); border-color: var(--label); font-weight: 600; }
.results-note { margin-top: 22px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.results-note a { color: var(--label); text-decoration: underline; }
.chip-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface); color: var(--head); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; }
.chip-tag:hover { background: var(--stone); color: var(--deep); }

.posts { margin-top: 32px; display: grid; gap: 36px 28px; }
.posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.posts-magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts-list, .posts-compact { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard .thumb { margin-bottom: 14px; }
.pcard h2 { margin: 6px 0 0; font-size: 22px; line-height: 1.25; }
.pcard h2 a { color: var(--head); text-decoration: none; transition: color 0.3s ease; }
.pcard h2 a:hover { color: var(--label); }
.pc-summary { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--fg); }
.pcard .more { align-self: flex-start; }
.pc-text { min-width: 0; }
.pc-grid .pc-text { display: flex; flex-direction: column; flex: 1; }

.pc-list { flex-direction: row; gap: 28px; padding-block: 26px; border-top: 1px solid var(--line); }
.pc-list:last-child { border-bottom: 1px solid var(--line); }
.pc-list .thumb { flex: 0 0 min(300px, 38%); margin: 0; align-self: flex-start; }
.pc-list:not(:has(.thumb)) .pc-text { padding-left: 0; }
.pc-list h2 { font-size: 26px; }

.pc-compact { flex-direction: row; padding-block: 14px; border-top: 1px solid var(--line); }
.pc-compact:last-child { border-bottom: 1px solid var(--line); }
.pc-compact h2 { font-size: 19px; margin-top: 4px; }

.feature { margin-top: 32px; }
.pc-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.pc-hero .thumb { margin: 0; }
.pc-hero .thumb img { aspect-ratio: 3 / 2; }
.pc-hero h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.pc-hero .pc-summary { font-size: 18px; }

/* A post */
.post .wrap { max-width: 760px; }
.post .wrap.wide-wrap { max-width: 1120px; }
.post-body > :first-child { margin-top: 0; }
.post-body .anchor { margin-left: 8px; font-family: var(--sans); font-size: 0.7em; color: var(--label); opacity: 0; text-decoration: none; transition: opacity 0.3s ease; }
.post-body h2:hover .anchor, .post-body h3:hover .anchor, .post-body .anchor:focus { opacity: 1; }
.post-body h2, .post-body h3 { scroll-margin-top: 90px; }
.post-body hr.section-break { border: 0; margin: 44px auto; text-align: center; height: 12px; }
.post-body hr.section-break::after { content: "· · ·"; letter-spacing: 0.6em; color: var(--label); }
.post-body .callout { margin-top: 26px; padding: 18px 22px; background: var(--surface); border-left: 3px solid var(--brass); border-radius: 2px; font-size: 17px; line-height: 1.65; }
.post-body .callout p { margin: 0; }
.post-body blockquote.pull { margin: 40px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brass); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; font-style: italic; color: var(--head); }
.post-body blockquote.pull p { margin: 0; }
.post-body figure { margin: 32px 0 0; }
.post-body figure.wide { margin-inline: min(0px, calc((760px - 100vw + 32px) / 2)); }
@media (min-width: 900px) { .post-body figure.wide { margin-inline: -90px; } }
.post-body figure.small { max-width: 380px; margin-inline: auto; }
.post-body figure img { cursor: zoom-in; }
.post-body .gallery { display: grid; gap: 10px; margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-body .gallery figure { margin: 0; }
.post-body .gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.post-body .gallery-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-body .gallery-3 figure:first-child, .post-body .gallery-5 figure:first-child { grid-column: 1 / -1; }
.post-body .gallery-3 figure:first-child img, .post-body .gallery-5 figure:first-child img { aspect-ratio: 16 / 9; }
.post-body .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-body .gallery figcaption { font-size: 12px; }
@media (min-width: 900px) { .post-body .gallery { margin-inline: -60px; } }
@media (max-width: 560px) { .post-body .gallery-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.toc { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 2px; font-family: var(--sans); font-size: 14px; }
.toc b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc li { margin-top: 4px; }
.toc a { color: var(--head); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.is-wide figure.cover-wide { margin-inline: min(0px, calc((760px - 100vw + 32px) / 2)); }
@media (min-width: 900px) { .is-wide figure.cover-wide { margin-inline: -170px; } }
.post-hero { position: relative; background: var(--hero); min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 20, 0.15) 0, rgba(13, 27, 20, 0.85) 100%); }
.post-hero-text { position: relative; width: 100%; z-index: 1; padding-block: 56px 40px; }
.post-hero h1 { color: var(--on-dark); font-size: clamp(32px, 6vw, 52px); }
.post-hero .lede { color: var(--on-dark-muted); }
.post-hero .post-meta { color: var(--on-dark-muted); }
.post-hero .chip-tag { background: rgba(247, 243, 236, 0.16); color: var(--on-dark); }
.post-hero + .band { padding-top: 40px; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--label); text-decoration: underline; cursor: pointer; min-height: 44px; }
.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.pn { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 2px; font-size: 17px; line-height: 1.35; color: var(--head); text-decoration: none; transition: border-color 0.3s ease; }
.pn:hover { border-color: var(--label); }
.pn span { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.pn.older { text-align: right; grid-column: 2; }
.pn.newer { grid-column: 1; }
.related { background: var(--surface); }
.related h2 { margin: 0; font-size: 26px; color: var(--head); }
.related .pcard h2 { font-size: 20px; }

/* Picture viewer */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8, 16, 12, 0.92); animation: fade 0.3s ease both; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 2px; }
.lightbox p { margin: 0; max-width: 60ch; color: var(--on-dark-muted); font-family: var(--sans); font-size: 14px; text-align: center; }
.lightbox button { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(247, 243, 236, 0.14); color: var(--on-dark); font-size: 26px; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(247, 243, 236, 0.28); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }

@media (max-width: 960px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .pc-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pc-list { flex-direction: column; gap: 14px; }
  .pc-list .thumb { flex: none; width: 100%; }
  .posts-magazine, .posts-grid { grid-template-columns: minmax(0, 1fr); }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .pn.older, .pn.newer { grid-column: 1; text-align: left; }
  .view-switch { width: 100%; } .view-switch a { flex: 1; justify-content: center; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } .chips a, .pn { transition: none; } }

.chips a, .view-switch a, .pcard .more, .pn, .toc a { text-decoration: none; }
.pcard .more:hover { text-decoration: underline; }
.post-meta .when { white-space: nowrap; }

/* Single post polish */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.crumbs a { color: var(--label); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--muted); }
.post .post-meta { margin-top: 0; }
.post .post-meta .by::after { content: "·"; margin-left: 10px; }
.post h1 { margin-top: 10px; font-size: clamp(32px, 5.6vw, 52px); line-height: 1.08; letter-spacing: -0.01em; }
.post .lede { margin-top: 18px; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.5; }
.post-hero .crumbs a, .post-hero .crumbs span { color: var(--on-dark-muted); }
.post-body { margin-top: 36px; font-size: 19px; line-height: 1.8; }
.post-body > p:first-of-type { font-size: 1.08em; color: var(--head); }
.post-body h2 { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(24px, 3vw, 30px); }
.post-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.post-body li::marker { color: var(--label); }
.post-body figure figcaption { padding-left: 12px; border-left: 2px solid var(--brass); }

.toc-side { display: none; }
@media (min-width: 1240px) {
  .toc-inline { display: none; }
  .toc-side { display: block; float: left; position: sticky; top: 96px; width: 200px; margin-left: -250px; margin-top: 8px; font-family: var(--sans); font-size: 13px; line-height: 1.4; }
  .toc-side b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
  .toc-side ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--line); }
  .toc-side li { margin: 0; }
  .toc-side a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; transition: color 0.3s ease, border-color 0.3s ease; }
  .toc-side a:hover { color: var(--head); }
  .toc-side a[aria-current] { color: var(--head); border-left-color: var(--brass); font-weight: 600; }
}

.invite { margin-top: 56px; padding: 32px clamp(22px, 4vw, 40px); background: var(--hero); color: var(--on-dark); border-radius: 2px; border-top: 3px solid var(--brass); }
.invite h2 { margin: 0; font-size: 26px; color: var(--on-dark); border: 0; padding: 0; }
.invite p { margin-top: 10px; color: var(--on-dark-muted); font-size: 17px; }
.invite .btn { margin-top: 20px; text-decoration: none; }
.post-end { margin-top: 24px; padding-top: 0; border-top: 0; }
.post-end a { text-decoration: underline; }
@media print { .read-progress, .toc-side, .invite, .prevnext, .related, .bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .toc-side a { transition: none; } }
.post h1, .post .lede { max-width: none; }
.prose .pn, .prose .invite .btn, .prose .chips a, .prose .toc a, .prose .crumbs a { text-decoration: none; }
.prose .pn:hover { text-decoration: none; }
.post-end .link-btn { font-family: inherit; font-size: inherit; }

/* Information pages: Partners, About, Access, Questions */
.page-hero { background: radial-gradient(circle at 82% 110%, rgba(168, 139, 90, 0.28) 0, rgba(168, 139, 90, 0) 48%), var(--hero); padding-block: clamp(48px, 9vw, 96px) clamp(44px, 7vw, 76px); }
.page-hero h1 { margin-top: 14px; max-width: 18em; font-size: clamp(32px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.01em; color: var(--on-dark); }
.page-lead { max-width: 40em; margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--on-dark-muted); }
.kicker-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #C2A56F; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.textlink { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--head); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--label); }
.ticks.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 36px; }
.ticks.cols li:last-child { border-bottom: 0; }
.ticks.cols li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.ways { margin-top: 56px; align-items: start; }
.ways p { margin-top: 8px; }
.side-copy .dl { margin-top: 22px; }
.status-chip { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.status-chip.planned { background: var(--forest); color: var(--on-dark); }
.status-chip.open { background: transparent; border: 1px dashed var(--label); color: var(--muted); }
:root[data-theme="dark"] .status-chip.planned { background: var(--btn); color: var(--btn-fg); }
.flow-title { margin-top: 64px; }
.flow { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: fl; }
.flow li { counter-increment: fl; position: relative; padding: 18px 18px 18px 0; border-top: 2px solid var(--line); }
.flow li::before { content: counter(fl); display: block; font-size: 34px; line-height: 1; color: var(--label); margin-bottom: 10px; }
.flow li:last-child { border-top-color: var(--brass); }
.flow b { display: block; font-weight: 500; font-size: 19px; color: var(--head); }
.flow span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; }
.flow-note { margin-top: 18px; max-width: 46em; }
.faq-wrap { max-width: 820px; }
.faq-tools { display: grid; gap: 16px; }
.faq-tools input[type="search"] { min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--fg); background: var(--field); border: 1px solid var(--field-line); border-radius: 2px; width: 100%; }
.faq-group { margin-top: 48px; scroll-margin-top: 90px; }
.faq-group[hidden], .faq-wrap details[hidden] { display: none; }
.faq-group h2 { font-size: 24px; color: var(--head); margin-bottom: 8px; }
.faq-group details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-group details p { max-width: 42em; }
.faq-group details p a { color: var(--label); text-decoration: underline; }
.still { margin-top: 64px; padding: 28px clamp(20px, 4vw, 36px); background: var(--surface); border-top: 2px solid var(--brass); border-radius: 2px; }
.still h2 { font-size: 24px; color: var(--head); }
.still p { margin-top: 8px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } .ticks.cols { grid-template-columns: minmax(0, 1fr); } .ticks.cols li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); } .ticks.cols li:last-child { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } .page-hero .actions .btn { flex: 1 1 100%; } .subnav { flex-wrap: wrap; gap: 0 14px; } }
@media (max-width: 720px) { .bar-in:has(.subnav) .subnav { width: 100%; justify-content: space-between; border-top: 1px solid var(--panel-line); } .subnav a { letter-spacing: 0.1em; font-size: 10.5px; } }
@media print { .page-hero { background: none; color: #000; } .page-hero h1, .page-lead { color: #000; } .bar, .foot-band, .faq-tools { display: none; } }
.more-link { margin-top: 14px; font-size: 15px; }

/* ---------- Links and logo (reimagined) ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ivory, #F7F3EC); color: #14271E; font: 600 13px var(--sans); border-radius: 2px; }
.skip:focus { top: 8px; }
.brand { gap: 12px; }
.brand .mark { flex: none; width: 46px; height: 38px; color: var(--on-dark); }
.brand .mark-lg { width: 60px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-weight: 500; font-size: 18px; white-space: nowrap; }
.brand-text em { font-style: normal; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-top: 3px; }
.brand .mark path { transition: stroke 0.4s ease; }
.brand:hover .mark circle { transform-origin: 60px 76px; animation: breathe 2.4s ease-in-out infinite; }
.nav { align-items: center; gap: 0 20px; flex-wrap: nowrap; }
.nav a { letter-spacing: 0.15em; white-space: nowrap; }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--brass); color: var(--on-dark) !important; border-radius: 2px; box-shadow: none !important; transition: background 0.3s ease, color 0.3s ease; }
.nav-cta:hover { background: var(--brass); color: #14271E !important; }
.nav a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -1px 0 var(--brass); }
@media (max-width: 1040px) { .nav { gap: 0 18px; } .brand-text em { display: none; } }
@media (max-width: 860px) { .nav { align-items: stretch; } .nav-cta { margin-top: 10px; justify-content: center; } }

.site-foot { background: var(--hero); color: var(--on-dark); padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px 40px; }
.site-foot h2 { font: 600 11px var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0; }
.site-foot a { color: var(--on-dark-muted); transition: color 0.3s ease; }
.site-foot nav a, .site-foot li a { display: inline-block; padding: 7px 0; font-size: 14.5px; }
.site-foot a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass); }
.site-foot p { font-size: 14px; line-height: 1.7; color: var(--on-dark-muted); margin: 0 0 10px; }
.site-foot .brand a, .site-foot .brand { color: var(--on-dark); }
.foot-brand .foot-line { margin-top: 16px; max-width: 30ch; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--on-dark); }
.by-nm { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; font-family: var(--sans); font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; }
.by-nm .mark-sm { width: 22px; height: 22px; color: var(--on-dark-muted); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--panel-line); }
.foot-base p { font-size: 12.5px; margin: 0; max-width: 70ch; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Text links: a quiet arrow that moves on hover */
.textlink, .more-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.textlink::after, .more-link a::after { content: "\2192"; display: inline-block; transition: transform 0.35s ease; color: var(--brass); }
.textlink:hover::after, .more-link a:hover::after { transform: translateX(5px); }
main a:not([class]):not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brass) 70%, transparent); }
main a:not([class]):hover { text-decoration-color: currentColor; }

/* Where next */
.next-band { background: var(--sand, #E9E1D3); padding-block: 56px; }
.next-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.next-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 52px; background: var(--ivory, #F7F3EC); border: 1px solid var(--stone, #CFC4B1); border-radius: 2px; color: inherit; text-decoration: none; transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.next-card b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; }
.next-card span { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.next-card i { position: absolute; left: 22px; bottom: 18px; font-style: normal; font-size: 20px; color: var(--brass); transition: transform 0.35s ease; }
.next-card:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 39, 30, 0.1); }
.next-card:hover i { transform: translateX(6px); }
.next-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .next-card, .next-card i, .textlink::after, .more-link a::after { transition: none; } .brand:hover .mark circle { animation: none; } }
@media print { .site-foot, .next-band { display: none; } }

@media (max-width: 1060px) {
  .menu { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px; border-top: 1px solid var(--panel-line); margin-top: 10px; animation: fade 0.4s ease both; }
  .bar.open .nav { display: flex; }
  .nav a { font-size: 12px; padding-block: 4px; }
  .nav-cta { margin-top: 10px; justify-content: center; }
}

/* ---------- Programme, gallery, terms ---------- */
.timeline { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--label); padding-top: 6px; }
.timeline time span { font-weight: 400; letter-spacing: 0; }
.timeline h3 { font-size: 24px; color: var(--head); margin: 0 0 4px; }
.timeline p { margin: 0; max-width: 56ch; }
.tl-note { margin-top: 18px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); } .timeline time { padding-top: 0; } }
.gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 18px; }
.gallery-grid img { display: block; width: 100%; height: auto; border-radius: 2px; cursor: zoom-in; background: var(--surface); }
.gallery-grid figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.chip-light { background: transparent; color: var(--label); border-color: var(--label); }
.foot-contact { margin-top: 12px !important; }
.empty { color: var(--muted); }
.page-hero .status-chip { margin: 18px 0 0; padding: 4px 12px; border: 1px solid var(--brass); color: var(--brass); }

.timeline .tl-dot { width: 9px; height: 9px; margin-top: 12px; border-radius: 50%; background: var(--brass); }
.timeline .is-mystery h3 { font-style: italic; color: var(--label); }
.timeline .is-mystery { background: linear-gradient(90deg, rgba(168, 139, 90, 0.08), transparent 60%); }
.page-hero .status-chip + .status-chip { margin-left: 8px; }

/* ---------- Events ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 18px; }
.ev-card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; color: inherit; text-decoration: none; overflow: hidden; transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.band-sand .ev-card { background: var(--ivory); }
.ev-card:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 39, 30, 0.1); }
.ev-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.ev-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ev-art { display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 70%, #3b4a35, var(--hero) 70%); color: var(--on-dark); }
.ev-art .mark { width: 90px; height: 74px; }
.ev-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 52px; flex: 1; }
.ev-body b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--head); }
.ev-kicker { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--label); }
.ev-body .ev-when { margin-top: 6px; }
.ev-when { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.ev-when em { font-style: normal; color: var(--muted); }
.ev-venue { font-size: 14px; color: var(--muted); }
.ev-sum { font-size: 15px; line-height: 1.6; }
.ev-body i { position: absolute; left: 20px; bottom: 16px; font-style: normal; font-size: 20px; color: var(--brass); transition: transform 0.35s ease; }
.ev-card:hover .ev-body i { transform: translateX(6px); }
.ev-card.is-past { opacity: 0.82; }
.ev-card.is-cancelled .ev-body b { text-decoration: line-through; text-decoration-thickness: 1px; }
.chip-alert { border-color: #E3B7A0 !important; color: #E3B7A0 !important; }
.preview-bar { margin: 0; padding: 10px 16px; text-align: center; background: var(--brass); color: #14271E; font: 600 13px var(--sans); }
.ev-body-text { margin-top: 10px; }
.page-hero .kicker-label a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .ev-card, .ev-body i { transition: none; } }

/* ---------- Single event page ---------- */
.ev-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 80% 100%, #3b4a35 0%, var(--hero) 60%); padding-block: 72px 96px; }
.ev-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ev-hero.has-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 39, 30, 0.92) 0%, rgba(20, 39, 30, 0.7) 55%, rgba(20, 39, 30, 0.35) 100%); }
.ev-hero-art { position: absolute; right: -40px; bottom: -30px; z-index: -1; opacity: 0.12; }
.ev-hero-art .mark { width: 520px; height: 430px; color: var(--on-dark); }
.ev-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.ev-hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; margin: 14px 0 18px; max-width: 14ch; animation: rise 0.8s ease both; }
.ev-lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; max-width: 44ch; color: var(--on-dark-muted); margin: 0 0 26px; animation: rise 0.8s 0.1s ease both; }
.ev-hero .actions { animation: rise 0.8s 0.2s ease both; }
.ev-date-card { display: grid; justify-items: center; gap: 2px; min-width: 190px; padding: 22px 26px; border: 1px solid var(--brass); background: rgba(20, 39, 30, 0.55); backdrop-filter: blur(4px); text-align: center; animation: rise 0.8s 0.3s ease both; }
.dc-month { font: 600 13px var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }
.dc-day { font-family: var(--serif); font-size: 84px; line-height: 1; font-weight: 500; }
.dc-tbc { font-size: 44px; font-style: italic; }
.dc-year { font: 500 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); max-width: 180px; }
.dc-count { margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--brass); color: #14271E; font: 600 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.dc-alert { background: #E3B7A0; }
.ev-facts { list-style: none; margin: -48px 0 0; padding: 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--ivory); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 39, 30, 0.14); }
.ev-facts li { display: grid; gap: 6px; padding: 22px 24px; border-right: 1px solid var(--line); }
.ev-facts li:last-child { border-right: 0; }
.ev-facts span { font: 600 11px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--label); }
.ev-facts b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--head); }
.ev-about h2.wide { font-size: clamp(26px, 3.4vw, 38px); }
.ev-about .post-body { margin-top: 18px; }
.good-to-know { background: var(--surface); padding: 26px; border-radius: 2px; }
.band-sand .good-to-know { background: var(--ivory); }
.ev-cta { background: var(--hero); text-align: center; padding-block: 72px; position: relative; }
.ev-cta .mark-lg { width: 90px; height: 74px; color: var(--on-dark); margin-bottom: 14px; }
.ev-cta h2 { font-size: clamp(30px, 4.6vw, 48px); margin: 0 0 12px; }
.ev-cta p { max-width: 46ch; margin: 0 auto 26px; color: var(--on-dark-muted); }
.ev-cta .actions { justify-content: center; }
.evp { scroll-behavior: smooth; }
@media (max-width: 860px) {
  .ev-hero { padding-block: 48px 80px; }
  .ev-hero-in { grid-template-columns: minmax(0, 1fr); }
  .ev-date-card { justify-self: start; grid-auto-flow: column; align-items: baseline; gap: 12px; padding: 14px 18px; min-width: 0; }
  .dc-day { font-size: 52px; }
  .ev-facts { margin-top: -36px; }
  .ev-facts li { border-right: 0; border-bottom: 1px solid var(--line); }
  .ev-hero-art .mark { width: 320px; height: 265px; }
}
@media (prefers-reduced-motion: reduce) { .ev-hero h1, .ev-lead, .ev-hero .actions, .ev-date-card { animation: none; } .evp { scroll-behavior: auto; } }
.ev-hero h1, .ev-hero .dc-day, .ev-cta h2 { color: var(--on-dark); }
.ev-hero .kicker-label { color: var(--brass); }
.ev-hero-art { right: auto; left: 52%; bottom: -60px; opacity: 0.07; }

/* ---------- Partners page ---------- */
.pp-hero { padding-bottom: 80px; }
.pp-facts { margin-top: -44px; }
.pp-events { padding-top: 56px; }
.pp-ev-list { display: grid; gap: 22px; margin-top: 26px; }
.pp-ev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease; }
.pp-ev:hover { border-color: var(--brass); box-shadow: 0 16px 36px rgba(20, 39, 30, 0.12); transform: translateY(-2px); }
.pp-ev:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pp-ev:nth-child(even) .pp-ev-pic { order: 2; }
.pp-ev-pic { position: relative; min-height: 240px; background: radial-gradient(circle at 50% 70%, #3b4a35, var(--hero) 70%); }
.pp-ev-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-ev-pic .ev-art { position: absolute; inset: 0; aspect-ratio: auto; background: none; }
.pp-ev-pic .ev-art .mark { width: 130px; height: 107px; }
.pp-ev-badge { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: var(--brass); color: #14271E; font: 600 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.pp-ev-body { padding: 30px 32px; display: grid; gap: 10px; align-content: center; }
.pp-ev-body h3 { font-size: clamp(24px, 3vw, 32px); color: var(--head); margin: 0; }
.pp-ev-body p { margin: 0; max-width: 52ch; }
.pp-ev-tags { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-ev-tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 12px var(--sans); color: var(--muted); }
.pp-ev .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 6px; }
.pp-ev.is-postponed { opacity: 0.9; }
.pp-past { margin-top: 26px; }
@media (max-width: 760px) {
  .pp-ev, .pp-ev:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .pp-ev:nth-child(even) .pp-ev-pic { order: 0; }
  .pp-ev-pic { min-height: 170px; }
  .pp-ev-body { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .pp-ev { transition: none; } .pp-ev:hover { transform: none; } }

/* ---------- Series: taglines, places, maps ---------- */
.ev-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; color: var(--brass); margin: 0 0 14px; animation: rise 0.8s 0.05s ease both; }
.ev-tag { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--label); }
.pp-ev-body p.ev-tag { max-width: none; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.city-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: 600 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.city-chips a:hover { border-color: var(--brass); color: var(--head); }
.city-chips a[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.ev-address { color: var(--muted); margin-top: -6px; }
.ev-travel { margin-top: 22px; }
.map-box { position: relative; width: 100%; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, #3b4a35, var(--hero) 75%); border: 1px solid var(--line); overflow: hidden; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--on-dark); }
.map-cover .mark { width: 74px; height: 61px; }
.map-cover p { margin: 0; max-width: 32ch; font-size: 15px; color: var(--on-dark-muted); }
.map-links { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Documents page */
.doc-pick { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.2rem; }
.doc-pick label { font-weight: 600; }
.doc-pick select { padding: .6rem .8rem; border: 1px solid var(--line, #CFC4B1); border-radius: 6px; background: var(--field, #fff); color: inherit; font: inherit; max-width: 100%; }
.doc-for { margin: 0 0 1.6rem; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.1rem; margin: .8rem 0 2rem; }
.doc-card { background: var(--surface, #fff); border: 1px solid var(--line, #CFC4B1); border-radius: 10px; padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.doc-card h2 { font-size: 1.2rem; margin: 0; }
.doc-card p { margin: 0; flex: 1; }
.doc-card .btn { align-self: flex-start; }
.doc-links { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }

.admin-hint { background: #fff6dc; color: #4a3a12; padding: 10px 14px; border-left: 3px solid var(--brass); }

/* Tickets: the luxury listing on the event page */
.tk-lux { background: radial-gradient(120% 90% at 50% 0%, #1f3a2e 0%, #14271E 55%, #0e1c15 100%); color: #F7F3EC; padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.tk-lux::before, .tk-lux::after { content: ""; position: absolute; left: 50%; width: 1px; height: 46px; background: linear-gradient(#A88B5A, transparent); }
.tk-lux::before { top: 0; } .tk-lux::after { display: none; }
.tk-lux-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.tk-eyebrow { font: 600 11px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #C9AC78; }
.tk-lux-head h2 { color: #F7F3EC; margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 46px); line-height: 1.12; }
.tk-lux-head p { color: #CFC4B1; margin: 0; }
.tk-lux-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 22px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.tk-lux-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 28px; border: 1px solid rgba(201, 172, 120, .35); border-radius: 4px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); text-align: center; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.tk-lux-card:hover { transform: translateY(-5px); border-color: #C9AC78; box-shadow: 0 22px 48px rgba(0,0,0,.35); }
.tk-lux-card.is-hot { border-color: #C9AC78; background: linear-gradient(180deg, rgba(201,172,120,.17), rgba(201,172,120,.04)); box-shadow: 0 0 0 1px rgba(201,172,120,.5), 0 24px 56px rgba(0,0,0,.4); }
.tk-lux-card.is-gone { opacity: .55; }
.tk-lux-card h3 { margin: 0; font: 600 12px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #C9AC78; }
.tk-lux-price { margin: 4px 0 6px; font-family: var(--serif); font-size: clamp(38px, 5vw, 50px); line-height: 1; color: #F7F3EC; }
.tk-lux-price small { display: block; margin-bottom: 8px; font: 600 11px var(--sans); letter-spacing: .26em; color: #CFC4B1; }
.tk-lux-card ul { list-style: none; margin: 10px 0; padding: 18px 0 0; border-top: 1px solid rgba(201,172,120,.3); display: grid; gap: 9px; flex: 1; align-content: start; text-align: left; }
.tk-lux-card li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: #E6DFD1; }
.tk-lux-card li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px; border-left: 2px solid #C9AC78; border-bottom: 2px solid #C9AC78; transform: rotate(-45deg); }
.tk-lux-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #A88B5A, #D8BE8C, #A88B5A); color: #14271E; font: 700 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 5px 14px; border-radius: 2px; white-space: nowrap; }
.tk-lux-left { margin: 0; min-height: 1.4em; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #E3B98A; }
.tk-lux-btn { display: block; text-align: center; padding: 15px 18px; border: 1px solid #C9AC78; color: #F7F3EC; font: 600 11.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .3s ease, color .3s ease; cursor: pointer; }
.tk-lux-btn:hover, .tk-lux-btn:focus-visible { background: #C9AC78; color: #14271E; outline: none; }
.tk-lux-card.is-hot .tk-lux-btn { background: linear-gradient(90deg, #B8995F, #D8BE8C); color: #14271E; border-color: transparent; }
.tk-lux-card.is-hot .tk-lux-btn:hover { filter: brightness(1.08); }
.tk-lux-btn.is-disabled { opacity: .5; pointer-events: none; }
.tk-lux-note { text-align: center; margin: 30px 0 0; font-size: 13px; letter-spacing: .06em; color: #A9A08E; }

/* The checkout: three steps, in a pop-up on the event page and on its own page */
html.tk-lock { overflow: hidden; }
.tk-modal { border: 0; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border-radius: 6px; background: #F7F3EC; color: #2B2823; box-shadow: 0 40px 100px rgba(0,0,0,.55); overflow: hidden; }
.tk-modal[open] { display: flex; flex-direction: column; animation: tkIn .35s ease; }
.tk-modal::backdrop { background: rgba(10, 20, 15, .72); backdrop-filter: blur(3px); }
@keyframes tkIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.tk-modal-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #14271E; color: #F7F3EC; border-bottom: 2px solid #A88B5A; }
.tk-modal-head .mark { width: 38px; height: 32px; flex: none; }
.tk-modal-head div { flex: 1; display: grid; }
.tk-modal-head span { font: 600 10px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #C9AC78; }
.tk-modal-head b { font: 400 21px var(--serif); }
.tk-modal-x { width: 44px; height: 44px; border: 0; background: transparent; color: #F7F3EC; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; }
.tk-modal-x:hover, .tk-modal-x:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.tk-modal-body { overflow: auto; display: flex; flex-direction: column; min-height: 0; }
.tk-modal-body .tkc { min-height: 0; }

.tkc-shell { max-width: 760px; margin: 0 auto; background: #F7F3EC; color: #2B2823; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(20,39,30,.18); border: 1px solid #CFC4B1; }
.tkc { display: flex; flex-direction: column; margin: 0; gap: 0; }
.tkc * { box-sizing: border-box; }
.tkc-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; background: #E9E1D3; border-bottom: 1px solid #CFC4B1; }
.tkc-steps li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 8px; color: #8a8170; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; position: relative; }
.tkc-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; letter-spacing: 0; }
.tkc-steps li b { font-weight: 600; }
.tkc-steps li.is-on { color: #14271E; }
.tkc-steps li.is-on span { background: #14271E; color: #F7F3EC; border-color: #14271E; }
.tkc-steps li.is-on::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; background: #A88B5A; }
.tkc-steps li.is-done { color: #3E5A4A; }
.tkc-steps li.is-done span { background: #A88B5A; border-color: #A88B5A; color: #14271E; font-size: 0; }
.tkc-steps li.is-done span::before { content: ""; width: 9px; height: 5px; border-left: 2px solid #14271E; border-bottom: 2px solid #14271E; transform: rotate(-45deg) translate(1px, -1px); }
.tkc-body { padding: clamp(20px, 4vw, 34px); }
.tkc.js .tkc-panel { display: none; }
.tkc.js .tkc-panel.is-on { display: block; animation: tkFade .3s ease; }
@keyframes tkFade { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.tkc-panel + .tkc-panel { margin-top: 34px; }
.tkc.js .tkc-panel + .tkc-panel { margin-top: 0; }
.tkc-panel h3 { margin: 0 0 6px; font: 400 clamp(24px, 4vw, 30px)/1.2 var(--serif); color: #14271E; outline: none; }
.tkc-sub { margin: 0 0 22px; color: #6F6657; font-size: 15px; }
.tkc-list { display: grid; gap: 18px; }
.tkc-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid #D9CFBD; border-radius: 4px; transition: border-color .25s ease, box-shadow .25s ease; }
.tkc-card.is-hot { border-color: #A88B5A; }
.tkc-card.is-chosen { border-color: #14271E; box-shadow: inset 4px 0 0 #A88B5A, 0 8px 22px rgba(20,39,30,.08); }
.tkc-card.is-gone { opacity: .55; }
.tkc-badge { position: absolute; top: -10px; left: 18px; background: #A88B5A; color: #14271E; font: 700 9.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.tkc-info { flex: 1; display: grid; gap: 6px; }
.tkc-info h4 { margin: 0; font: 600 11.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #7A6038; }
.tkc-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.tkc-points li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; }
.tkc-points li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 2px solid #A88B5A; border-bottom: 2px solid #A88B5A; transform: rotate(-45deg); }
.tkc-left { margin: 0; font-size: 13px; font-weight: 600; color: #9a5b1d; }
.tkc-left:empty { display: none; }
.tkc-side { display: grid; gap: 12px; justify-items: end; }
.tkc-price { margin: 0; font: 400 32px/1 var(--serif); color: #14271E; text-align: right; }
.tkc-price small { display: block; margin-bottom: 4px; font: 600 10px var(--sans); letter-spacing: .24em; color: #8a8170; }
.tkc-qty { display: inline-flex; border: 1px solid #14271E; border-radius: 3px; overflow: hidden; background: #fff; }
.tkc-qty button { width: 46px; min-height: 46px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: #14271E; cursor: pointer; }
.tkc-qty button:hover:not(:disabled) { background: #14271E; color: #F7F3EC; }
.tkc-qty button:focus-visible { outline: 2px solid #A88B5A; outline-offset: -3px; }
.tkc-qty button:disabled { opacity: .3; cursor: default; }
.tkc-qty input { width: 54px; border: 0; border-left: 1px solid #D9CFBD; border-right: 1px solid #D9CFBD; text-align: center; font: 600 18px var(--sans); background: transparent; color: #14271E; -moz-appearance: textfield; padding: 0; }
.tkc-qty input::-webkit-outer-spin-button, .tkc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tkc-fields { display: grid; gap: 16px; }
.tkc .field label { color: #3E5A4A; }
.tkc .field input { background: #fff; color: #2B2823; border-color: #CFC4B1; }
.tkc-review { background: #fff; border: 1px solid #D9CFBD; border-radius: 4px; padding: 20px 22px; margin: 18px 0; }
.tkc-lines { list-style: none; margin: 0; padding: 0; }
.tkc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #E9E1D3; }
.tkc-sum { display: flex; justify-content: space-between; margin: 14px 0 0; font: 400 24px var(--serif); color: #14271E; }
.tkc-who { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed #CFC4B1; color: #6F6657; font-size: 15px; }
.tkc-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.tkc-agree input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 3px 0 0; border: 0; flex: none; accent-color: #14271E; background: none; }
.tkc-fine { margin: 14px 0 0; color: #6F6657; font-size: 13.5px; line-height: 1.55; }
.tkc-foot { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 16px clamp(20px, 4vw, 34px) 18px; background: #14271E; color: #F7F3EC; border-top: 2px solid #A88B5A; }
.tkc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
.tkc-total span { font: 600 10.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #C9AC78; }
.tkc-total b { font: 400 20px var(--serif); text-align: right; }
.tkc-err { margin: 0; padding: 9px 12px; background: rgba(227,183,160,.16); border-left: 3px solid #E3B7A0; color: #F7E4D8; font-size: 14px; }
.tkc-actions { display: flex; gap: 10px; justify-content: flex-end; }
.tkc-btn { min-height: 50px; padding: 0 28px; border: 0; border-radius: 2px; background: linear-gradient(90deg, #B8995F, #D8BE8C); color: #14271E; font: 700 11.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; flex: 1; transition: filter .25s ease; }
.tkc-btn:hover { filter: brightness(1.07); }
.tkc-btn:focus-visible { outline: 3px solid #F7F3EC; outline-offset: 2px; }
.tkc-btn:disabled { opacity: .6; cursor: wait; }
.tkc-btn-ghost { background: transparent; color: #F7F3EC; border: 1px solid rgba(247,243,236,.45); flex: 0 0 auto; }
.tkc-btn-ghost:hover { background: rgba(255,255,255,.1); filter: none; }
.tkc:not(.js) [data-next], .tkc:not(.js) [data-back], .tkc:not(.js) .tkc-steps { display: none; }
.tk-stage { background: linear-gradient(180deg, #F7F3EC, #EFE8DA); }
@media (max-width: 600px) {
  .tkc-card { flex-direction: column; align-items: stretch; }
  .tkc-side { grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .tkc-price { text-align: left; }
  .tkc-steps li b { display: none; }
  .tkc-steps li.is-on b { display: inline; }
  .tk-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .tk-modal[open], .tkc.js .tkc-panel.is-on, .tk-lux-card { animation: none; transition: none; } }

/* Verify a ticket */
.vf-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; max-width: 560px; }
.vf-form input { flex: 1 1 240px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); background: var(--field, #fff); color: var(--head); font: 600 17px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.vf-form input:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.vf-card { max-width: 560px; padding: 26px 28px; border: 1px solid var(--line); border-left-width: 5px; background: var(--surface, #fff); border-radius: 3px; }
.vf-card h2 { margin: 6px 0 14px; }
.vf-card.is-ok { border-left-color: #3E7A55; }
.vf-card.is-bad { border-left-color: #B0562F; }
.vf-badge { display: inline-block; padding: 5px 12px; background: #1F3A2E; color: #F7F3EC; font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; border-radius: 2px; }
.vf-facts { margin: 0; display: grid; gap: 10px; }
.vf-facts div { display: flex; gap: 14px; border-top: 1px solid var(--line); padding-top: 9px; }
.vf-facts dt { width: 90px; flex: none; font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--label); padding-top: 3px; }
.vf-facts dd { margin: 0; }
.vf-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
.vf-note { max-width: 560px; margin: 14px 0 0; font-style: italic; color: var(--muted); }
.vf-admin { max-width: 560px; margin-top: 28px; padding: 20px 24px; border: 1px dashed var(--brass); border-radius: 3px; }
.vf-admin h2 { margin: 0 0 8px; font-size: 20px; }
.vf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tk-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Checkout: waiting for payment, and the booked state with ticket preview */
.tkc.is-done .tkc-steps, .tkc.is-done .tkc-body, .tkc.is-done .tkc-foot { display: none; }
.tkc-done { padding: clamp(22px, 4vw, 36px); }
.tkc-done[hidden], .tkc-state[hidden] { display: none; }
.tkc-state { animation: tkFade .35s ease; }
.tkc-state h3 { margin: 0 0 8px; font: 400 clamp(26px, 4vw, 34px)/1.15 var(--serif); color: #14271E; outline: none; }
.tkc-state > p { color: #4A463E; max-width: 60ch; }
.tkc-waiting { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #14271E; }
.tkc-spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #D9CFBD; border-top-color: #A88B5A; animation: tkSpin 1s linear infinite; flex: none; }
@keyframes tkSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tkc-spin { animation-duration: 3s; } .tkc-state { animation: none; } }
.tkc-passes { margin: 18px 0; }
.tkc-passes .tkt-list { margin: 0; gap: 22px; }
.tkc-passes .tkt { max-width: 100%; }
.tkc-doneacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.tkc-btn-dark { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: #14271E; color: #F7F3EC; }
.tkc-btn-outline { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: transparent; color: #14271E; border: 1px solid #14271E; cursor: pointer; }
.tkc-btn-dark:hover, .tkc-btn-outline:hover { filter: none; background: #A88B5A; color: #14271E; border-color: #A88B5A; }
.tkc-mailmsg { min-height: 1.4em; margin: 12px 0 0; font-size: 14.5px; color: #3E5A4A; }
.tkc-mailmsg.is-bad { color: #9a3f1d; }
.vf-door { margin-top: 18px; font-size: 15px; }

.tkt-more { margin: 14px 0 0; font-size: .95rem; color: var(--ink-soft, #4a463e); }

/* Site search */
.nav-search { display: inline-flex; align-items: center; gap: 8px; }
.nav-search svg { flex: none; }
@media (min-width: 900px) { .nav-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.sr-form { display: flex; gap: 10px; margin-top: 22px; max-width: 560px; }
.sr-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--field-line); background: var(--field); color: var(--fg); border-radius: 2px; font: inherit; }
.sr-results h2 { margin: 34px 0 10px; }
.sr-count { color: var(--muted); }
.sr-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.sr-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sr-title { font-size: 1.15rem; font-weight: 600; color: var(--head); text-decoration: none; }
.sr-title:hover { text-decoration: underline; }
.sr-meta { display: block; margin-top: 2px; font-size: .85rem; color: var(--muted); }
.sr-list p { margin: 6px 0 0; }
.sr-results mark { background: color-mix(in srgb, var(--brass) 35%, transparent); color: inherit; padding: 0 2px; }
.sr-images { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.sr-images a { display: block; color: inherit; text-decoration: none; }
.sr-images img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; background: var(--surface); }
.sr-images span { display: block; margin-top: 6px; font-size: .85rem; }
