:root {
  --kd-bg: #f6f2e8; --kd-surface: #eee6d4; --kd-text: #1b1712; --kd-muted: #71674f;
  --kd-accent: #4a7c3f; --kd-on-accent: #ffffff; --kd-accent-2: #c9a13b; --kd-accent-ink: #497a3e;
}

/* Derived tones */
:root {
  --ink: var(--kd-text);
  --night: color-mix(in srgb, var(--kd-text) 92%, transparent);
  --pale: color-mix(in srgb, var(--kd-bg) 94%, var(--kd-accent-2));
  --pale-soft: color-mix(in srgb, var(--pale) 74%, transparent);
  --leaf: color-mix(in srgb, var(--kd-accent) 55%, var(--kd-bg));
  --hair: color-mix(in srgb, var(--kd-text) 18%, transparent);
  --display: "Libre Caslon Display", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kd-text);
  color: var(--kd-text);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--kd-accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--kd-bg); color: var(--kd-text);
  padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Small spaced caps */
.label, .chapter-no, .bar-links a, .hero-line, figcaption {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* ---------- Header ---------- */
.bar {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad) 3rem;
  color: var(--pale);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--kd-text) 72%, transparent), transparent);
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(1rem, 3.6vw, 1.3rem);
  text-decoration: none;
  line-height: 1.15;
}
.bar-links { display: flex; gap: clamp(1rem, 3vw, 2rem); flex-shrink: 0; }
.bar-links a {
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--pale) 35%, transparent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background: var(--kd-text);
  color: var(--pale);
  isolation: isolate;
}
.hero-frame {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    var(--kd-text) 0%,
    color-mix(in srgb, var(--kd-text) 75%, transparent) 30%,
    transparent 65%);
}
.hero-type {
  padding: 0 var(--pad) clamp(2.5rem, 8vh, 5rem);
  max-width: 82rem;
}
.hero-line { color: var(--pale-soft); margin-bottom: 1rem; }
.hero-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 14.5vw, 9.5rem);
  line-height: .92;
  letter-spacing: -.015em;
  max-width: 11ch;
  padding-bottom: .18em;
}
.hero-sub {
  margin-top: 1.4rem;
  max-width: 34rem;
  color: var(--pale-soft);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

/* ---------- Chapters (black, grain) ---------- */
.chapters {
  position: relative;
  background: var(--kd-text);
  color: var(--pale);
  padding: clamp(1rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 6rem);
  isolation: isolate;
}
.chapters::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.chapter {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad);
}
.chapter-frame {
  overflow: hidden;
  height: 72svh;
  min-height: 22rem;
}
.chapter-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  scale: 1.15;
}
.chapter-text { max-width: 30rem; }
.chapter-no { color: var(--leaf); margin-bottom: 1rem; }
.chapter-line {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 9vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}
.chapter-text p:last-child { color: var(--pale-soft); }

@media (min-width: 900px) {
  .chapter {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 4rem);
  }
  .chapter-frame { height: 86svh; }
  .chapter--flip .chapter-frame { order: 2; }
  .chapter--flip .chapter-text { justify-self: end; }
  .chapter-text { padding-bottom: 2rem; }
}

/* ---------- Cream page ---------- */
.page {
  background: var(--kd-bg);
  color: var(--kd-text);
}
.wrap {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  border-top: 1px solid var(--hair);
}
.page > .wrap:first-child { border-top: 0; }
.section-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.label { color: var(--kd-muted); margin-bottom: .9rem; }
p + p { margin-top: 1rem; }

/* About */
.about { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.about-copy > p { max-width: 36rem; }
.about-photo { overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.notes { margin-top: 2.5rem; border-top: 1px solid var(--hair); }
.notes li { padding: 1.2rem 0; border-bottom: 1px solid var(--hair); }
.notes h3 { font: 600 1.05rem/1.3 var(--sans); margin-bottom: .3rem; }
.notes p { color: var(--kd-muted); }
@media (min-width: 900px) {
  .about { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

/* What they offer: two-column list */
.offer-head { max-width: 38rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.offer-head p { color: var(--kd-muted); }
.offer-list {
  display: grid;
  column-gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--kd-text);
}
.offer-list li {
  display: grid;
  gap: .25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hair);
}
.offer-list h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.45rem, 4.5vw, 1.8rem);
  line-height: 1.15;
}
.offer-list p { color: var(--kd-muted); }
@media (min-width: 760px) {
  .offer-list { grid-template-columns: 1fr 1fr; }
}

/* Visit */
.visit-grid { display: grid; gap: 3rem; }
.hours { border-top: 1px solid var(--kd-text); }
.hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--hair);
}
.hours dt { font-weight: 500; }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .closed dd { color: var(--kd-muted); }
.visit-addr {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: .8rem;
}
.visit-addr a { text-decoration: none; }
.visit-where .label:not(:first-child) { margin-top: 2.5rem; }
.facts li { padding: .6rem 0; border-bottom: 1px solid var(--hair); }
.facts li:first-child { border-top: 1px solid var(--hair); }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); }
}

.arrow-link {
  color: var(--kd-accent-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.arrow-link span { display: inline-block; }

/* Reviews set large */
.reviews .section-h { max-width: 18ch; }
.quotes { display: grid; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 1rem; }
.quote { padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.quote blockquote p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.6vw, 2.6rem);
  line-height: 1.18;
  max-width: 28ch;
}
.quote:nth-child(2) { justify-self: end; }
.quote:nth-child(3) blockquote p { font-size: clamp(2rem, 8vw, 4.4rem); line-height: 1.02; }
figcaption { margin-top: 1.2rem; color: var(--kd-muted); }

/* Contact */
.contact { text-align: left; }
.contact-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 10vw, 6rem);
  line-height: .98;
  max-width: 12ch;
  margin-bottom: 1.5rem;
}
.contact > p { max-width: 34rem; }
.contact-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2rem;
  margin-top: 2rem !important;
}
.button {
  display: inline-block;
  background: var(--kd-accent);
  color: var(--kd-on-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 999px;
}

/* Footer */
.foot {
  background: var(--kd-text);
  color: var(--pale-soft);
  padding: 2.5rem var(--pad);
}
.foot address {
  font-style: normal;
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  align-items: baseline;
  max-width: 78rem; margin: 0 auto;
}
.foot-name { font-family: var(--display); font-size: 1.25rem; color: var(--pale); }
.foot a { text-decoration: none; }

/* Hover & focus micro-interactions */
@media (prefers-reduced-motion: no-preference) {
  .bar-links a, .foot a, .visit-addr a { transition: border-color .25s ease, color .25s ease, opacity .25s ease; }
  .arrow-link span { transition: transform .25s ease; }
  .button { transition: background-color .25s ease, transform .25s ease; }
  .offer-list h3 { transition: transform .35s ease; }
}
.bar-links a:hover, .bar-links a:focus-visible { border-bottom-color: var(--pale); }
.arrow-link:hover span, .arrow-link:focus-visible span { transform: translateX(4px); }
.button:hover, .button:focus-visible {
  background: color-mix(in srgb, var(--kd-accent) 85%, var(--kd-text));
  transform: translateY(-2px);
}
.offer-list li:hover h3 { transform: translateX(6px); }
.visit-addr a:hover, .foot a:hover { color: var(--kd-accent-ink); }
.foot a:hover { color: var(--pale); }
