:root {
  --paper: #f8f4ec;
  --panel: #eee7da;
  --ink: #21332c;
  --muted: #535b50;
  --accent: #934931;
  --line: #c5baa7;
  --white: #ffffff;
  --error: #9b2828;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3, nav, .brand, .footer-brand { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.9rem; letter-spacing: -0.02em; }
p + p { margin-top: 16px; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button, .button, .header-cta {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  transition: background-color 160ms ease, color 160ms ease;
  overflow-wrap: anywhere;
}
button:hover, .button:hover, .header-cta:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
button:disabled { background: #e4dac8; color: #535b50; border-color: #c5baa7; cursor: not-allowed; }
.secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.secondary:hover { background: var(--panel); color: var(--ink); border-color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-footer :focus-visible { outline-color: #e9cc83; }
svg { display: block; max-width: 100%; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
address { font-style: normal; }
.container { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.section { margin-top: 64px; }
main { padding-bottom: 64px; }
.small { font-size: 0.82rem; line-height: 1.6; }
.eyebrow {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.06rem, 1.7vw, 1.25rem); color: var(--muted); line-height: 1.65; max-width: 680px; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); color: var(--paper); }
.site-header {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-inline: 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header > *, .hero > *, .section-heading > *, .guide-grid > *,
.supporting-section > *, .article-layout > *, .footer-grid > *,
.contact-layout > *, .cookie-banner > *, .cookie-actions > *,
.dialog-actions > *, .check-label > * { min-width: 0; }
.brand { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-size: 0.95rem; font-weight: 700; line-height: 1.1; max-width: 280px; }
.brand svg { flex: 0 0 28px; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 0.9rem; }
.desktop-nav a { text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.header-cta { justify-self: end; font-size: 0.78rem; padding: 8px 16px; min-height: 40px; }
.menu-toggle { display: none; }
.mobile-nav {
  position: fixed;
  inset: 52px 0 0;
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  overflow-y: auto;
  z-index: 30;
}
.mobile-nav:not([hidden]) { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.mobile-nav a { padding: 16px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; padding-top: 64px; }
.hero > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-art { padding: 16px; }
.evening-bar-illustration { width: 100%; height: auto; }
.art-caption { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-top: 40px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading > p { color: var(--muted); max-width: 520px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-card, .note-card, .related-card {
  background: var(--panel);
  color: var(--ink);
  border: 0;
  border-left: 4px solid var(--accent);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.guide-card { transition: background-color 160ms ease; }
.guide-card:hover { background: #e6ddcc; color: var(--ink); }
.guide-card > p, .note-card > p, .related-card > p { margin: 0; }
.guide-card > a { margin-top: auto; font-weight: 700; }
.guide-card:last-child { grid-column: 1 / -1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; list-style: none; color: var(--muted); font-size: 0.8rem; }
.tags li { margin: 0; }
.tags li::before { content: "— "; }
.supporting-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); padding-top: 40px; }
.supporting-section .eyebrow { margin-bottom: 16px; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; }
.article-hero { padding-top: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.article-hero h1 { max-width: 960px; }
.back-link { font-size: 0.85rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 64px; margin-top: 64px; }
.article-sidebar .note-card h2 { font-size: 1.65rem; }
.article-sidebar .note-card { font-size: 0.9rem; }
.article-index { margin-top: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.article-index h2 { font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.article-index a { font-size: 0.9rem; }
.article-body section + section { margin-top: 64px; }
.article-body section h2 { margin-bottom: 24px; font-size: clamp(1.65rem, 2.5vw, 2.1rem); }
.article-body p { line-height: 1.8; }
.related-card { margin-top: 64px; }
.related-card h2 { font-size: 1.8rem; }
.related-card a { font-weight: 700; }
.legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.legal-body { max-width: 840px; margin-top: 64px; }
.table-wrapper { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
caption { padding: 16px; text-align: left; font-weight: 700; }
th, td { padding: 16px; vertical-align: top; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
thead { background: var(--ink); color: var(--paper); }
tbody th { font-weight: 700; }
code { font-size: 0.83rem; overflow-wrap: anywhere; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-layout > div > h2 { margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 64px; }
.contact-details h2 { font-size: 1.8rem; }
.contact-details a { overflow-wrap: anywhere; }
form { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
form > button { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-weight: 700; }
.field > label .small { font-weight: 400; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #727867;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 16px;
  line-height: 1.4;
}
textarea { resize: vertical; min-height: 160px; }
select { font-size: 0.95rem; }
input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; padding: 0; accent-color: var(--ink); margin: 4px 0 0; }
.check-label { display: flex; align-items: flex-start; gap: 16px; cursor: pointer; font-size: 0.9rem; font-weight: 400; }
.field .check-label { font-weight: 400; }
.field-hint { font-size: 0.85rem; color: var(--muted); }
.field-error { color: var(--error); font-size: 0.85rem; margin: 0; }
.is-invalid { border-color: var(--error); border-width: 2px; }
input[type="checkbox"].is-invalid { outline: 2px solid var(--error); outline-offset: 3px; }
input[type="checkbox"].is-invalid:focus-visible { outline-width: 3px; outline-offset: 5px; }
.form-status { color: var(--ink); font-weight: 700; }
.form-status:empty { display: none; }
.notice { padding: 24px; border-left: 4px solid var(--accent); background: var(--panel); color: var(--ink); margin-top: 24px; }
.draft-result h3 { font-size: 1.6rem; }
.static-map { border-left: 4px solid var(--accent); background: var(--panel); color: var(--ink); padding: 24px; }
.illustrative-courtyard-map { width: 100%; height: auto; }
.static-map figcaption { margin-top: 24px; font-size: 0.85rem; }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 0.7fr; gap: 40px; font-size: 0.85rem; }
.footer-brand { display: inline-block; font-size: 1rem; font-weight: 700; text-decoration: none; margin-bottom: 24px; }
.site-footer h2 { font-family: Arial, Helvetica, sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 24px; }
.site-footer a:hover { color: #e9cc83; }
.site-footer p + a { display: inline-block; margin-top: 16px; }
.site-footer a + .small { margin-top: 16px; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer nav h2 { margin-bottom: 8px; }
.text-button { background: transparent; color: inherit; border: 0; padding: 0; min-height: 24px; text-decoration: underline; text-underline-offset: 5px; font-size: inherit; font-weight: 400; text-align: left; justify-content: flex-start; }
.text-button:hover { background: transparent; color: #e9cc83; }
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 32px #21332c26;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.cookie-banner h2 { font-size: 1.4rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.85rem; max-width: 620px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { font-size: 0.8rem; }
.preferences-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  margin: auto;
  overflow-y: auto;
}
.preferences-dialog[open] { display: flex; flex-direction: column; gap: 24px; }
.preferences-dialog::backdrop { background: #102119bf; color: var(--paper); }
.preferences-dialog h2 { font-size: 1.9rem; }
.preferences-dialog p { margin: 0; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.status-message {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 24px;
  border: 1px solid var(--paper);
  font-size: 0.85rem;
}
@media (max-width: 1100px) {
  .cookie-banner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 40px; }
  .site-header { padding-inline: 24px; }
  .article-layout { gap: 40px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 52px; padding-inline: 16px; gap: 8px; grid-template-columns: minmax(0, 1fr) auto auto; }
  .brand { font-size: 0.78rem; max-width: 180px; }
  .brand svg { flex-basis: 24px; width: 24px; height: 24px; }
  .desktop-nav { display: none; }
  .header-cta { padding: 8px; font-size: 0.68rem; min-height: 36px; max-width: 100px; }
  .menu-toggle { display: inline-flex; background: transparent; color: var(--ink); width: 40px; min-height: 40px; padding: 8px; border-color: var(--line); font-size: 1.2rem; }
  .menu-toggle:hover { background: var(--panel); color: var(--ink); border-color: var(--ink); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 480px; width: 100%; justify-self: center; }
  .section-heading, .supporting-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card:last-child { grid-column: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .article-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .article-index { margin-top: 0; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cookie-banner { bottom: 8px; left: 8px; right: 8px; padding: 16px; gap: 16px; max-height: calc(100dvh - 16px); }
  .cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-actions button:last-child { grid-column: 1 / -1; }
  .cookie-banner h2 { font-size: 1.25rem; }
  .cookie-banner p { font-size: 0.8rem; }
  .legal-body { max-width: 100%; }
  th, td { font-size: 0.78rem; }
}
@media (max-width: 499px) {
  .article-sidebar { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-index { padding-inline: 16px; }
  .hero-art { padding: 0; }
}
@media (max-width: 399px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.8rem; }
  .site-header { padding-inline: 8px; gap: 4px; }
  .brand { font-size: 0.7rem; gap: 4px; }
  .brand svg { flex-basis: 20px; width: 20px; }
  .header-cta { max-width: 88px; font-size: 0.63rem; }
  .menu-toggle { width: 36px; min-height: 36px; }
  .guide-card, .note-card, .related-card, .static-map { padding: 16px; }
  .preferences-dialog { padding: 16px; }
  .dialog-actions { flex-direction: column; align-items: stretch; }
  .mobile-nav { padding: 16px; }
  .cookie-actions button { padding: 8px; font-size: 0.73rem; }
  .footer-grid { gap: 40px; }
  table { table-layout: fixed; }
  th, td { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}