@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: 400 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: #fff;
  --ink-muted: rgba(255, 255, 255, 0.72);
  --ink-faint: rgba(255, 255, 255, 0.4);
  --paper: #231f20;
  --paper-raised: #2c2728;
  --rule: rgba(255, 255, 255, 0.18);
  --accent: #d9c69a;
  --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: 1.25rem;
}

h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  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);
}

header {
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem var(--gutter);
}

nav {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
}

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

.nav-toggle-label {
  display: none;
  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;
  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;
}

nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: center;
}

nav > ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

nav li {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav > ul > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

nav > ul > li > a {
  padding: 0.4rem 0;
}

nav ul ul li {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

nav ul ul a {
  color: var(--ink-muted);
}

nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}

nav a:hover,
nav a:focus,
nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

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

  nav > ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 0.75rem;
    border-top: 1px solid var(--rule);
  }

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

  nav > ul > li {
    align-items: stretch;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
  }

  nav > ul > li > a {
    display: block;
    min-height: 44px;
    padding: 0.6rem 0;
  }

  nav > ul ul {
    flex-direction: column;
    gap: 0;
    margin-top: 0.25rem;
    padding-left: 1rem;
  }

  nav > ul ul li {
    padding: 0.25rem 0;
  }

  nav > ul ul a {
    display: block;
    min-height: 44px;
    padding: 0.6rem 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;
}

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;
}
