@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e1512;
  --bg-2: #121b16;
  --bg-3: #0a0f0d;
  --fg: #f6f3ec;
  --muted: rgba(246, 243, 236, 0.8);
  --line: rgba(246, 243, 236, 0.24);
  --wheat: #e8c872;
  --wheat-hi: #f0d68e;
  --paper: #f4f1ea;
  --paper-2: #fbf9f4;
  --ink: #15201a;
  --ink-muted: rgba(21, 32, 26, 0.78);
  --ink-line: rgba(21, 32, 26, 0.18);
  --green: #1f3b2d;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.75rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  scrollbar-color: rgba(232, 200, 114, 0.45) var(--bg-3);
  accent-color: var(--wheat);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  caret-color: var(--wheat);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--wheat); color: #14130f; }
.light ::selection { background: var(--green); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--green); }

.wrap { width: 100%; max-width: 90rem; margin: 0 auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 100;
  padding: 0.625rem 1rem; background: var(--wheat); color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 6px;
}
.skip:focus { top: 0.75rem; }

/* Shared type */
h2 {
  font-family: var(--serif);
  font-size: clamp(2.375rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-lede { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.light .section-lede { color: var(--ink-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 3rem; padding: 0 1.375rem; border-radius: 999px;
  font: 600 1rem/1.25 var(--sans); text-decoration: none; text-align: center;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease-out), background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 3.5rem; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn-accent { background: var(--wheat); color: #14130f; font-weight: 700; }
.btn-accent:hover { background: var(--wheat-hi); }
.btn-ghost { border-color: var(--line); color: inherit; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--green); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.625rem; }
.brand { display: flex; flex-direction: column; gap: 0.25rem; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 2.125rem; line-height: 0.9; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wheat); }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.375rem); font-size: 0.9375rem; font-weight: 500; }
.nav a { text-decoration: none; padding-block: 0.625rem; background: linear-gradient(var(--wheat), var(--wheat)) 0 100% / 0 2px no-repeat; transition: background-size 200ms var(--ease-out); }
.nav a:hover { background-size: 100% 2px; }
.header-call { font-size: 0.9375rem; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 1.125rem; height: 2px; background: var(--fg); transition: transform 180ms var(--ease-out); }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: 3.75rem; width: min(20rem, calc(100vw - 2 * var(--gutter)));
  display: flex; flex-direction: column; padding: 0.75rem; gap: 2px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.45);
}
.menu-panel a:not(.btn) { padding: 0.75rem 0.875rem; text-decoration: none; font-size: 1.0625rem; font-weight: 500; border-radius: 0.625rem; }
.menu-panel a:not(.btn):hover { background: var(--bg-2); }
.menu-panel .btn { margin-top: 0.5rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(42.5rem, 100svh, 61.25rem);
  display: grid; grid-template-rows: 1fr auto;
}
.hero picture, .find picture { position: absolute; inset: 0; z-index: -2; }
.hero-img, .find-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 72% 50%; animation: settle 1600ms var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::before { inset: 0; background: linear-gradient(90deg, rgba(10, 16, 14, 0.92) 0%, rgba(10, 16, 14, 0.62) 38%, rgba(10, 16, 14, 0) 68%); }
.hero::after { left: 0; right: 0; bottom: 0; height: 18.75rem; background: linear-gradient(0deg, rgba(10, 16, 14, 0.92), rgba(10, 16, 14, 0)); }
.hero-inner { display: flex; align-items: center; padding-top: 8.75rem; padding-bottom: 3.5rem; }
.hero-copy { max-width: 41.25rem; display: flex; flex-direction: column; gap: 1.75rem; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.125rem, 6.4vw, 5.75rem);
  line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance;
}
.lede { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 31em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero .actions { padding-top: 0.25rem; }
.proof { font-size: 0.9375rem; color: var(--muted); }
.proof a { color: var(--fg); text-decoration-color: rgba(232, 200, 114, 0.7); }
.proof a:hover { text-decoration-color: var(--wheat); }
.hero-strip { position: relative; border-top: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; gap: 1.75rem; padding-block: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.strip-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wheat); flex: none; }
.villages { display: flex; flex-wrap: wrap; gap: 0.375rem 1.75rem; }

/* Sections */
.section { padding-block: var(--section); }
.light { background: var(--paper); color: var(--ink); }

/* Services: job sheet */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 7rem); row-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.services-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 7vw, 7rem); row-gap: 1.5rem; align-items: end; }
.services-head .section-lede { padding-bottom: 0.375rem; }
.services-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.services-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.jobsheet { border-top: 2px solid var(--wheat); }
.jobsheet-title {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 0.875rem; border-bottom: 1px solid var(--line);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wheat);
}
.jobsheet-title span:last-child { color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }
.job {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2rem; align-items: baseline;
  padding-block: 1.375rem; border-bottom: 1px dashed var(--line);
}
.job h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; }
.job p { color: var(--muted); font-size: 1.0625rem; }
.job:last-child h3 { color: var(--wheat); }

/* Split sections */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.split-copy .btn { margin-top: 0.5rem; }
.split-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

.facts { margin: 0.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; width: 100%; max-width: 34rem; border-top: 1px solid var(--ink-line); padding-top: 1.5rem; }
.facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.facts dd { margin: 0.375rem 0 0; font-size: 1.0625rem; }
.facts div:first-child dd { font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.facts a { font-weight: 600; }

/* Collection and the patch map */
.collection { background: var(--bg); }
.collection-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.pull { margin: 0.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.75rem; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3125rem, 1.9vw, 1.5625rem); line-height: 1.35; }
.pull footer { font-size: 0.875rem; color: var(--muted); }

.patch { display: flex; flex-direction: column; gap: 0.75rem; }
.patch-map { width: 100%; height: auto; display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.patch-grid path { fill: none; stroke: rgba(246, 243, 236, 0.07); stroke-width: 1; }
.patch-grid .patch-dyke { stroke: rgba(232, 200, 114, 0.35); stroke-width: 2; }
.patch-rings circle { fill: none; stroke: rgba(232, 200, 114, 0.4); stroke-width: 1; stroke-dasharray: 4 6; transform-box: view-box; transform-origin: 0 0; }
.patch-rings text { fill: rgba(232, 200, 114, 0.85); font: 600 12px var(--sans); letter-spacing: 0.06em; }
.patch-places circle { fill: var(--fg); }
.patch-places text { fill: var(--fg); font: 500 15px var(--sans); }
.patch-places .d, .patch-home .d { fill: var(--muted); font-size: 12px; font-weight: 500; }
.patch-home path { fill: var(--wheat); }
.patch-home text { fill: var(--wheat); font: 400 20px var(--serif); }
.patch figcaption { font-size: 0.875rem; color: var(--muted); }
.patch-list { display: none; }

/* The one authored moment: the patch draws itself in */
.js .patch:not(.is-in) .patch-rings circle { transform: scale(0.2); opacity: 0; }
.js .patch:not(.is-in) .patch-places > g, .js .patch:not(.is-in) .patch-rings text { opacity: 0; }
.js .patch .patch-rings circle { transition: transform 1100ms var(--ease-out), opacity 700ms ease-out; }
.js .patch .patch-rings circle:last-of-type { transition-delay: 160ms; }
.js .patch .patch-places > g, .js .patch .patch-rings text { transition: opacity 500ms ease-out; }
.js .patch .patch-places > g:nth-child(1) { transition-delay: 300ms; }
.js .patch .patch-places > g:nth-child(2) { transition-delay: 380ms; }
.js .patch .patch-places > g:nth-child(3) { transition-delay: 460ms; }
.js .patch .patch-places > g:nth-child(4) { transition-delay: 540ms; }
.js .patch .patch-places > g:nth-child(5) { transition-delay: 620ms; }
.js .patch .patch-places > g:nth-child(6) { transition-delay: 700ms; }
.js .patch .patch-places > g:nth-child(7) { transition-delay: 780ms; }
.js .patch .patch-places > g:nth-child(8) { transition-delay: 860ms; }
.js .patch .patch-rings text { transition-delay: 900ms; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.reviews-head > div { max-width: 47.5rem; }
.review-list { columns: 2 22rem; column-gap: 1.25rem; }
.review { break-inside: avoid; margin-bottom: 1.25rem; }
.review blockquote {
  margin: 0; display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--paper-2); border: 1px solid var(--ink-line); border-radius: 8px;
}
.review blockquote::before { content: "“"; font-family: var(--serif); font-size: 4.5rem; line-height: 0.5; color: var(--green); height: 1.75rem; }
.review p { font-size: 1.125rem; line-height: 1.6; }
.review footer { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.875rem; color: var(--ink-muted); }
.review footer strong { font-size: 1rem; color: var(--ink); }

/* Find us */
.find { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); min-height: 47.5rem; display: flex; align-items: center; }
.find-img { object-position: 70% 50%; }
.find::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 16, 14, 0.9) 0%, rgba(10, 16, 14, 0.55) 45%, rgba(10, 16, 14, 0.1) 75%); }
.find-card {
  max-width: 37.5rem; display: flex; flex-direction: column; gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: 10px;
  background: rgba(14, 21, 18, 0.88); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.details { margin: 0; display: grid; gap: 1.125rem; }
.details div { display: grid; grid-template-columns: 8.75rem 1fr; gap: 1rem; padding-top: 1.125rem; border-top: 1px solid var(--line); }
.details dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wheat); padding-top: 0.3rem; }
.details dd { margin: 0; color: var(--fg); }
.contact-lines { display: flex; flex-direction: column; gap: 0.25rem; }
.details a { font-weight: 600; text-decoration-color: rgba(232, 200, 114, 0.6); }
.details a:hover { text-decoration-color: var(--wheat); }

/* Footer */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding-top: 3rem; font-size: 0.9375rem; color: var(--muted); overflow: hidden; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.footer-addr { line-height: 1.6; }
.footer-addr a { color: var(--fg); text-decoration: none; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a { text-decoration: none; padding-block: 0.5rem; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }
.footer-mark { display: block; width: 100%; height: auto; margin-top: 2.5rem; margin-bottom: -1.5%; user-select: none; }
.footer-mark text { font-family: var(--serif); font-size: 300px; fill: rgba(232, 200, 114, 0.14); }

/* Persistent call button */
.call-bar {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 3.5rem; padding: 0 1.5rem; border-radius: 999px; background: var(--wheat); color: #14130f;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
  transition: transform 260ms var(--ease-out), opacity 220ms ease-out, background-color 150ms ease-out;
}
.call-bar:hover { background: var(--wheat-hi); }
.js .call-bar.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* Legal and 404 */
.legal { padding-top: 10rem; padding-bottom: var(--section); }
.legal .wrap { max-width: 51.25rem; display: flex; flex-direction: column; gap: 1.375rem; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.625rem, 5vw, 4rem); line-height: 1.05; }
.legal h2 { font-size: 1.875rem; margin-top: 1.125rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 0.375rem; }
.legal a { color: var(--wheat); }
.not-found { min-height: 100svh; display: flex; align-items: center; }
.not-found .actions { padding-top: 0.5rem; }
.not-found .actions .btn-accent { color: #14130f; }
.not-found .actions .btn-ghost { color: var(--fg); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-call { margin-left: auto; }
}
@media (max-width: 900px) {
  .services-grid, .split, .collection-grid { grid-template-columns: minmax(0, 1fr); }
  .services-head { grid-template-columns: minmax(0, 1fr); }
  .services-photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .header-inner { padding-block: 1.125rem; gap: 0.75rem; }
  .header-call { display: none; }
  .brand-name { font-size: 1.875rem; }
  .brand-sub { letter-spacing: 0.16em; }
  .hero { display: block; min-height: 0; background: var(--bg); --hero-photo: clamp(21.25rem, 52svh, 28.75rem); }
  .hero picture { position: relative; display: block; height: var(--hero-photo); }
  .hero-img { object-position: 84% 62%; }
  .hero::before { bottom: auto; height: var(--hero-photo); background: linear-gradient(180deg, rgba(10, 16, 14, 0.6) 0%, rgba(10, 16, 14, 0) 32%, rgba(10, 16, 14, 0) 58%, var(--bg) 100%); }
  .hero::after { display: none; }
  .hero-inner { padding-top: 0; margin-top: -4rem; padding-bottom: 2.25rem; }
  .hero-copy { gap: 1.375rem; }
  .hero .btn-accent { width: 100%; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-block: 1rem 1.25rem; }
  .villages { gap: 0.25rem 1rem; }
  .job { grid-template-columns: minmax(0, 1fr); row-gap: 0.375rem; padding-block: 1.125rem; }
  .job h3 { font-size: 1.5rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .patch-map { border-radius: 8px; }
  .patch-places text { font-size: 24px; }
  .patch-places .d, .patch-home .d, .patch-rings text { display: none; }
  .patch-home text { font-size: 28px; }
  .patch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem 1rem; font-size: 0.9375rem; }
  .patch-list span { color: var(--muted); margin-left: 0.25rem; }
  .find { min-height: 0; align-items: flex-end; padding-top: 15rem; padding-bottom: 3rem; }
  .find::before { background: linear-gradient(0deg, rgba(10, 16, 14, 0.94) 50%, rgba(10, 16, 14, 0.35) 80%, rgba(10, 16, 14, 0.1) 100%); }
  .find-card { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .find .btn-lg { width: 100%; }
  .call-bar { left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 5.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .patch:not(.is-in) .patch-rings circle { transform: none; opacity: 1; }
  .js .patch:not(.is-in) .patch-places > g, .js .patch:not(.is-in) .patch-rings text { opacity: 1; }
  .btn:hover { transform: none; }
}
