:root {
  color-scheme: light;
  --ink: #1e342b;
  --muted: #4b5c53;
  --paper: #f8f6f0;
  --surface: #fffefa;
  --sage: #e8ede4;
  --line: #bac5ba;
  --accent: #ecd79e;
  --focus: #a14c30;
  --heading: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-padding-block-start: 1.25rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}

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

a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible, :is(button, input, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.08 var(--heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 { font-size: 1.65rem; }

.wrap { width: min(100% - 5rem, 75rem); margin-inline: auto; }

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 2;
  padding: 0.6rem 1rem;
  background: var(--surface);
  transform: translateY(-150%);
}

.skip:focus { transform: none; }

.preview {
  padding: 0.65rem 1.25rem;
  background: var(--sage);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font: 400 clamp(1.35rem, 2.2vw, 1.75rem)/1 var(--heading);
}

.brand small {
  display: block;
  margin-top: 0.3rem;
  font: 600 0.69rem/1.3 system-ui, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand svg {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1.7rem; }
nav a { font-size: 0.88rem; text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  background: var(--ink);
  color: var(--surface);
  font: 600 0.94rem/1.3 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: #344f41; }
.button:disabled { background: #536258; cursor: not-allowed; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--ink);
  color: var(--paper);
}

.hero-content {
  align-self: center;
  padding: clamp(2.8rem, 7vw, 7rem) clamp(2.25rem, 5.5vw, 6.2rem);
  padding-inline-start: max(clamp(2.25rem, 5.5vw, 6.2rem), calc((100vw - 75rem) / 2));
}

.hero h1 { font-size: clamp(2.65rem, 5.6vw, 5.25rem); text-wrap: initial; }
.hero p { max-width: 34ch; margin-top: 1.3rem; color: #e0e9dd; font-size: 1.08rem; }

.hero .button {
  margin-top: 1.8rem;
  background: var(--accent);
  color: var(--ink);
}

.hero .button:hover { background: var(--surface); }
.hero .button:focus-visible, .footer a:focus-visible { outline-color: var(--accent); }

.hero figure { position: relative; min-height: 27rem; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }

.hero figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.25rem 0.55rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.75rem;
}

.section { padding-block: clamp(3rem, 7vw, 6.6rem); }
.section h2 { margin-bottom: 1.5rem; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.services article { border-top: 1px solid var(--line); padding-top: 1.35rem; }
.services h3, .contact-intro h3 { margin-bottom: 0.55rem; }
.services p, .contact-intro p, .approach p { color: var(--muted); }
.services p { max-width: 52ch; }

.approach { background: var(--sage); }
.approach-grid, .contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); }
.approach-grid { align-items: center; padding-block: clamp(2rem, 5vw, 3.6rem); }
.approach-grid h2 { margin-bottom: 0; }
.approach-grid p { max-width: 62ch; }
.contact-intro p { max-width: 41ch; }
.contact-intro h3 { margin-top: 1.8rem; }
.contact-intro .fine-print { margin-top: 1.25rem; }

.fine-print { font-size: 0.9rem; color: var(--muted); }
form > .fine-print { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.full { grid-column: 1 / -1; }
.form-grid label, legend { font-size: 0.94rem; font-weight: 650; }
label small, legend small { margin-left: 0.35rem; color: var(--muted); font-size: 0.8rem; font-weight: 400; }

input:not([type=radio], [type=checkbox]), textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  margin-top: 0.4rem;
  border: 1px solid #84948a;
  border-radius: 0.2rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  caret-color: var(--ink);
}

input[type=date] { max-width: 18rem; }
textarea { resize: vertical; }
textarea::placeholder { color: var(--muted); opacity: 1; }

.field-help {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 0.5rem; padding: 0; }
.time-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; }

.time-options label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 400;
  cursor: pointer;
}

input[type=checkbox], input[type=radio] {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  accent-color: var(--ink);
}

.honeypot {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}

.consents { margin-top: 1.8rem; }
.consents > .fine-print { margin-bottom: 1.15rem; }

.consent-option {
  display: flex;
  align-items: start;
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  cursor: pointer;
}

.consent-option strong { display: block; margin-bottom: 0.15rem; }
.consent-option input { margin-top: 0.23rem; }
.consent-option:last-of-type { margin-bottom: 1rem; border-bottom: 1px solid var(--line); }

.form-status { margin-top: 0.75rem; color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }
.form-status[data-state=error] { color: #8b3825; }
.form-status[data-state=success] { padding: 0.7rem 0.85rem; background: var(--sage); color: var(--ink); }

.footer { padding-block: 2rem; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem 1.5rem; }
.footer-inner > a { font: 1.25rem/1.4 var(--heading); text-decoration: none; }

.policy { max-width: 48rem; min-height: 60vh; }
.policy h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); }
.policy h2 { margin: 2rem 0 0.65rem; font-size: clamp(1.55rem, 3vw, 2.2rem); text-wrap: initial; }
.policy p, .policy ul { margin-top: 0.8rem; color: var(--muted); }
.policy ul { padding-inline-start: 1.4em; }
.policy li + li { margin-top: 0.5rem; }
.policy .policy-notice { margin-top: 1.25rem; padding: 0.9rem 1.1rem; background: var(--sage); color: var(--ink); }
.policy > .button { margin-top: 1.15rem; }

@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header { align-items: flex-start; flex-direction: column; gap: 0.85rem; }
  nav { gap: 0.55rem 1.15rem; }
  .header nav .button { min-height: 2.55rem; padding-inline: 0.7rem; font-size: 0.83rem; }

  .hero, .services, .approach-grid, .contact { grid-template-columns: 1fr; }
  .hero-content { padding: 2.5rem 1.25rem; }
  .hero h1 { max-width: 16ch; }
  .hero figure { min-height: auto; aspect-ratio: 1.55; }
  .services { gap: 1.4rem; }
  .approach-grid { gap: 0.75rem; }
}

@media (max-width: 30rem) {
  .form-grid { grid-template-columns: 1fr; }
  input[type=date] { max-width: none; }
}
