@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #f4e8d0;
  --ink-muted: rgba(244, 232, 208, 0.72);
  --ink-faint: rgba(244, 232, 208, 0.4);
  --paper: #02030a;
  --paper-raised: rgba(244, 232, 208, 0.06);
  --rule: rgba(244, 232, 208, 0.18);
  --accent: #e6d5b3;
  --error: #f5b8b8;
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --stack: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Playfair", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "liga", "kern";
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-faint);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 120ms ease;
}

a:hover,
a:focus {
  text-decoration-color: var(--ink);
}

a[aria-current="page"] {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  letter-spacing: 0.04em;
  margin-top: 2rem;
}

h3 {
  font-size: 1.125rem;
  letter-spacing: 0.03em;
}

p {
  margin: 0 0 var(--stack);
}

strong {
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem auto;
  width: 4rem;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 4rem;
}

main section + section {
  margin-top: 2rem;
}

main ul,
main ol {
  padding-left: 1.25rem;
}

main li {
  margin-bottom: 0.5rem;
}

main img,
main svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-ornament {
  display: block;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 18rem;
  height: auto;
}

.hero-ornament path {
  fill: var(--ink);
}

.siteSky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #02030a 0%, #050614 45%, #0a0820 100%);
  pointer-events: none;
}

.siteSky svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.siteHeader,
main {
  position: relative;
  z-index: 1;
}

/* Top nav bar: shared by the home hero and the section pages. A constant-height
   black bar (logo upper-left on section pages, menu centred via an absolute
   overlay) with the contextual sub-row hanging BELOW it — so moving between
   pages with and without sub-pages never shifts the primary nav. */
.siteNav {
  --bar-h: clamp(80px, 8vw, 100px);
  position: relative;
  z-index: 8;
  background: #000;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.85);
  font-family: "Playfair Display", Georgia, serif;
}

.siteNav-bar {
  display: flex;
  align-items: center;
  min-height: var(--bar-h);
  padding: 0 clamp(16px, 4vw, 36px);
}

.siteMark {
  display: block;
  line-height: 0;
  text-decoration: none;
  border: 0;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.siteMark:hover,
.siteMark:focus {
  opacity: 1;
}

.siteMark-img {
  display: block;
  height: clamp(66px, 6.8vw, 86px);
  width: auto;
}

.siteNav-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.75rem;
  pointer-events: none;
}

.siteNav-top a {
  pointer-events: auto;
}

.siteNav-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  padding: 0.55rem clamp(16px, 4vw, 36px) 0.7rem;
  border-top: 1px solid var(--rule);
}

.siteNav a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
  opacity: 0.78;
  transition: opacity 0.2s, border-color 0.2s;
}

.siteNav-top a {
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: normal;
}

.siteNav-sub a {
  font-size: 0.72rem;
  letter-spacing: normal;
  color: var(--ink-muted);
  opacity: 0.9;
}

.siteNav a:hover,
.siteNav a:focus {
  opacity: 1;
}

.siteNav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
  opacity: 1;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 7px;
  left: 0;
}

@media (max-width: 640px) {
  .nav-toggle-label {
    display: inline-flex;
  }

  .siteNav-top {
    position: static;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.25rem clamp(16px, 4vw, 36px) 0.5rem;
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .siteNav-top {
    display: flex;
  }

  .siteNav-sub {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-top: 0;
    padding-top: 0;
  }

  .nav-toggle:checked ~ .siteNav-sub {
    display: flex;
  }

  .siteNav-top a,
  .siteNav-sub a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0;
  }
}

form {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

fieldset {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1rem 1.25rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

legend {
  padding: 0 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1rem;
}

fieldset > label {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  width: 100%;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

::placeholder {
  color: var(--ink-faint);
}

button,
input[type="submit"] {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.85rem 1.5rem;
  min-height: 44px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

[role="alert"] {
  margin: 0;
  font-size: 0.95rem;
  color: var(--error);
}

.home-meta {
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}
