@font-face {
  font-family: Spectral;
  src: url(fonts/spectral-300.woff2) format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Mulish;
  src: url(fonts/mulish-300.woff2) format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Mulish;
  src: url(fonts/mulish-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --sand: #f3eee6;
  --ink: #3d3833;
  --clay: #8a6a55;
  --line: #cfc3b2;
  --serif: Spectral, Georgia, serif;
  --sans: Mulish, system-ui, sans-serif;
  --space: clamp(80px, 12vw, 130px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay); }
:focus-visible { outline: 1px solid var(--clay); outline-offset: 4px; }

/* Small letter-spaced uppercase, shared by menu, labels and button */
nav a, form label, legend, button {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 40px;
  padding: 40px clamp(24px, 6vw, 80px);
}
.site-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; }
nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
nav a { padding: 8px 0; }

main { padding: 0 24px; }

section {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space) 0;
  text-align: center;
}
/* Short clay rule between sections */
section + section::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: calc(-1 * var(--space)) auto var(--space);
  background: var(--clay);
}

.opening { max-width: 760px; padding: clamp(110px, 18vw, 190px) 0 clamp(120px, 20vw, 210px); }

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 300; }
h1 { font-size: 30px; line-height: 1.6; letter-spacing: 0.05em; }
h2 { font-size: 25px; line-height: 1.3; letter-spacing: 0.04em; margin-bottom: 28px; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.rates { margin: 40px 0 0; }
.rates div + div { margin-top: 28px; }
.rates dt { font-family: var(--serif); font-size: 20px; letter-spacing: 0.03em; }
.rates dd { margin: 0; }

.contact-lines a { border-bottom: 1px solid var(--line); }

form {
  display: flex;
  flex-direction: column;
  margin-top: 64px;
  text-align: left;
}
form label { margin: 28px 0 8px; }
form label:first-child { margin-top: 0; }
fieldset { margin: 28px 0 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 8px; }
form label.check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--clay); }

input:not([type="checkbox"]), textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 0; border-bottom-color: var(--clay); }

button {
  align-self: center;
  margin-top: 48px;
  padding: 16px 36px;
  border: 1px solid var(--clay);
  border-radius: 40px;
  background: transparent;
  color: var(--clay);
  font-family: inherit;
  cursor: pointer;
}
button:hover { background: var(--clay); color: var(--sand); }

.form-status { margin-top: 48px; color: var(--clay); }

/* Honeypot: off-screen for people, visible to bots */
.hp { position: absolute; left: -9999px; }

.site-footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 15px;
}
.site-footer p, .site-footer address { margin: 0 0 20px; font-style: normal; }
.site-footer .copyright { margin: 36px 0 0; font-size: 13px; }

@media (max-width: 600px) {
  .site-header { flex-direction: column; padding-top: 32px; }
  nav { justify-content: center; }
}
