@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --forest: #1b2a23;
  --forest-deep: #131e19;
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --ink: #1f2622;
  --muted: #6a6f68;
  --gold: #b8955c;
  --gold-soft: #d4bb8c;
  --on-dark: #efe8da;
  --on-dark-muted: #a9b0a6;
  --rule: #e2d9c6;
  --rule-dark: rgba(239, 232, 218, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --width: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #18231e;
    --paper: #151e1a;
    --ink: #ece5d6;
    --muted: #a3aa9f;
    --rule: rgba(239, 232, 218, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  position: relative;
  z-index: 2;
  color: var(--on-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand svg {
  flex: none;
  width: 1.75rem;
  height: 2.4rem;
  color: var(--gold);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.brand-name small {
  margin-top: 0.35rem;
  color: var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--on-dark);
}

@media (max-width: 40rem) {
  .site-nav {
    display: none;
  }
}

/* Dark bands */

.dark {
  background: var(--forest);
  color: var(--on-dark);
}

.top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(184, 149, 92, 0.12), transparent 70%),
    var(--forest);
  color: var(--on-dark);
}

.top-art {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--width)) / 2 + var(--gutter)));
  bottom: 0;
  width: min(24rem, 45vw);
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 46rem);
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
}

@media (max-width: 40rem) {
  .eyebrow {
    letter-spacing: 0.22em;
  }

  .eyebrow::before {
    width: 1.5rem;
  }
}

.hero h1 {
  max-width: 17ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero h1 em {
  color: var(--gold-soft);
  font-style: italic;
}

.hero p {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: var(--on-dark-muted);
  font-size: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  margin-top: 2.75rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--on-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.button:hover {
  background: var(--gold);
  color: var(--forest-deep);
}

/* Sections */

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.section h2 {
  max-width: 20ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 3rem;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.services .numeral {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.services h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.services p {
  margin: 0;
  color: var(--muted);
}

/* Statement */

.statement {
  background: var(--cream);
  text-align: center;
}

.statement blockquote {
  max-width: 44rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-style: italic;
  line-height: 1.35;
}

.statement blockquote::before,
.statement blockquote::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 2.5rem;
  background: var(--gold);
}

.statement blockquote::after {
  margin: 2.5rem auto 0;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 3rem 4rem;
  align-items: end;
}

.contact h2 {
  color: var(--on-dark);
}

.contact-details {
  display: grid;
  gap: 2rem;
}

.contact-details .label {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details address {
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.35;
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

/* Footer */

.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark-muted);
  font-size: 0.8rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--rule-dark);
}

.site-footer .copyright {
  margin-right: auto;
}

.site-footer a {
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-footer a:hover {
  color: var(--on-dark);
}

/* Legal and plain pages */

.page-title {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.page-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}

.page-title p {
  margin: 1rem 0 0;
  color: var(--on-dark-muted);
}

.prose {
  max-width: 42rem;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.prose h2 {
  margin: 3rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--gold);
}

.prose a {
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2em;
}

.consent-form {
  margin: 2.5rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  background: var(--cream);
}

.consent-form h2 {
  margin-top: 0;
}

.consent-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0 2rem;
  margin: 1.5rem 0;
}

.consent-fields p {
  margin: 0;
  padding-top: 2.25rem;
  border-bottom: 1px solid var(--ink);
}

.consent-fields span {
  display: block;
  transform: translateY(1.6rem);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-fields + p,
.consent-fields + p + p {
  margin-top: 2.5rem;
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-list li {
  border-bottom: 1px solid var(--rule);
}

.doc-list a {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  text-decoration: none;
}

.doc-list a::after {
  content: "→";
  color: var(--gold);
}
