@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #151920;
  --ink: #ede7db;
  --muted: #c4bfb4;
  --accent: #c9a66b;
  --rule: rgba(201, 166, 107, 0.35);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
  z-index: 10;
}
.skip:focus { top: 0.75rem; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #e2c792; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(860px, calc(100% - 3.5rem));
  margin: 0 auto;
}

header {
  padding: 2.25rem 0 0;
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--ink); }

nav[aria-label="Primary"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav[aria-label="Primary"] a {
  color: var(--muted);
  text-decoration: none;
  padding: 0 0.7rem;
}
nav[aria-label="Primary"] a + a { border-left: 1px solid var(--rule); }
nav[aria-label="Primary"] a:hover,
nav[aria-label="Primary"] a:focus-visible,
nav[aria-label="Primary"] a[aria-current="page"] {
  color: var(--accent);
}

main {
  flex: 1 0 auto;
}

.hero {
  padding: 6.5rem 0 5rem;
}

.hero-mark,
.page-title {
  margin: 0 0 1.4rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-title {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.page-head {
  padding: 4.75rem 0 2.5rem;
}

.gold-rule {
  width: 4rem;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 0 0 1.6rem;
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}

section { padding: 0 0 4.25rem; }

.section-title {
  margin: 0 0 1.6rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.55rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.75rem;
}

.brand {
  margin: 0;
  padding: 1.15rem 0 1.3rem;
  border-top: 1px solid var(--rule);
}

/* Section title already has a rule; don't double it on the first row. */
.brand-grid .brand:nth-child(-n+2) {
  border-top: 0;
  padding-top: 0.2rem;
}

.brand h3 {
  margin: 0 0 0.25rem;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.brand p { margin: 0 0 0.4rem; color: var(--ink); }

.brand .links { margin: 0; }
.brand .links a + a::before {
  content: " · ";
  color: var(--muted);
  text-decoration: none;
}

.lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.lower p { margin: 0; color: var(--ink); }

.prose {
  max-width: 36rem;
  padding: 0 0 4.5rem;
}

.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.prose .section-title {
  margin-top: 2.25rem;
}


.brand-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.brand-list li {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}
.brand-list li:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.brand-list strong {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 1.15rem;
  display: block;
  margin: 0 0 0.15rem;
}

.brand-list a { color: var(--accent); }

.email-link {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

footer {
  flex: 0 0 auto;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.footer-inner p { margin: 0; }
.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}
.footer-inner a:hover,
.footer-inner a:focus-visible { color: var(--accent); }

.nowrap { white-space: nowrap; }

@media (max-width: 680px) {
  .wrap { width: min(860px, calc(100% - 2rem)); }
  header { padding-top: 1.35rem; }
  nav[aria-label="Primary"] a { padding: 0 0.5rem; }
  .hero { padding: 3.25rem 0 2.75rem; }
  .hero-mark { font-size: clamp(2.2rem, 12vw, 3rem); }
  .page-head { padding: 3rem 0 1.75rem; }
  .brand-grid,
  .lower {
    grid-template-columns: 1fr;
  }
  .brand-grid .brand:nth-child(-n+2) {
    border-top: 1px solid var(--rule);
    padding-top: 1.15rem;
  }
  .brand-grid .brand:first-child {
    border-top: 0;
    padding-top: 0.2rem;
  }
  .lower {
    gap: 2.25rem;
    padding-bottom: 2.25rem;
  }
  section { padding-bottom: 3rem; }
  .prose { padding-bottom: 3.25rem; }
}
