:root {
  --kd-bg: #fcfaf8; --kd-surface: #ffffff; --kd-text: #261f17; --kd-muted: #675c51;
  --kd-accent: #c78f53; --kd-on-accent: #211a12; --kd-accent-2: #9be4fd; --kd-accent-ink: #9b6933;
}

/* Strict type scale */
:root {
  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --hair: 1px solid color-mix(in srgb, var(--kd-text) 18%, transparent);
  --margin: clamp(1.25rem, 6vw, 6rem);
  --ease: cubic-bezier(0.65, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--kd-bg);
  color: var(--kd-text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: var(--fs-m);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: "Jost", "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: var(--kd-accent-ink); text-decoration: none; }

:focus-visible {
  outline: 1px solid var(--kd-text);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--kd-surface);
  color: var(--kd-text);
  padding: 0.5rem 1rem;
  border: var(--hair);
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Inline text links: hairline in the brand colour */
.link {
  color: var(--kd-accent-ink);
  background-image: linear-gradient(var(--kd-accent), var(--kd-accent));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem var(--margin);
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  font-family: "Jost", sans-serif;
  font-size: var(--fs-s);
  letter-spacing: 0.08em;
}
.nav a {
  color: var(--kd-text);
  padding: 0.25rem 0;
  background-image: linear-gradient(var(--kd-accent), var(--kd-accent));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
.nav a:hover, .nav a:focus-visible { background-size: 100% 1px; }

@media (min-width: 720px) {
  .brand img { height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 2.5rem;
  padding: 1rem var(--margin) 0;
}

.frame {
  margin: 0;
}
.frame .pic {
  overflow: hidden;
  border: var(--hair);
  padding: 0.6rem;
  background: var(--kd-surface);
}
.frame .pic img { width: 100%; object-fit: cover; }

figcaption {
  margin-top: 0.85rem;
  font-size: var(--fs-xs);
  color: var(--kd-muted);
  letter-spacing: 0.02em;
}

.hero .pic img { aspect-ratio: 4 / 3; }

.hero-text {
  align-self: end;
  padding-bottom: 2.5rem;
}

.hero h1 {
  font-size: var(--fs-s);
  font-weight: 400;
  letter-spacing: 0.32em;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero h1 span { display: block; color: var(--kd-muted); font-weight: 300; }

.hero h1::after {
  content: "";
  display: block;
  width: 2.5rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--kd-accent);
}

.lede {
  font-family: "Jost", sans-serif;
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub { color: var(--kd-muted); max-width: 30rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--kd-text);
  color: var(--kd-text);
  font-family: "Jost", sans-serif;
  font-size: var(--fs-s);
  letter-spacing: 0.08em;
  background: transparent;
}
.btn:hover, .btn:focus-visible {
  background: var(--kd-text);
  color: var(--kd-bg);
}

.rating {
  margin-top: 2.5rem;
  font-size: var(--fs-xs);
  color: var(--kd-muted);
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 60fr 40fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .hero .frame { padding-left: 0; }
  .hero .pic { border-left: 0; padding-left: 0; }
  .hero .pic img { aspect-ratio: 16 / 11; }
  .hero figcaption { padding-left: var(--margin); }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(5rem, 12vw, 10rem) var(--margin) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head h2, .about h2 {
  font-size: var(--fs-l);
  margin-bottom: 1.25rem;
}
.section-head p { color: var(--kd-muted); }

/* About */
.about {
  display: grid;
  gap: 3rem;
}
.about-text { max-width: 34rem; }
.about-text p:last-child { margin-bottom: 0; }
.about .pic img { aspect-ratio: 4 / 5; }

@media (min-width: 900px) {
  .about {
    grid-template-columns: 5fr 6fr;
    gap: clamp(3rem, 8vw, 9rem);
    align-items: center;
  }
  .about .frame { order: 2; }
}

/* Menu: wall labels, not cards */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: var(--hair);
}
.menu-list li {
  padding: 1.75rem 0;
  border-bottom: var(--hair);
}
.menu-list h3 {
  font-size: var(--fs-m);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  transition: color 0.4s var(--ease);
}
.menu-list p { color: var(--kd-muted); margin: 0; font-size: var(--fs-s); max-width: 30rem; }
.menu-list li:hover h3 { color: var(--kd-accent-ink); }

@media (min-width: 720px) {
  .menu-list { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); }
}
@media (min-width: 1100px) {
  .menu-list { grid-template-columns: repeat(3, 1fr); }
}

.note {
  margin-top: 2.5rem;
  max-width: 36rem;
  font-size: var(--fs-s);
  color: var(--kd-muted);
}

/* Highlights */
.highlights {
  display: grid;
  gap: 2.5rem;
}
.highlights article {
  border-top: 1px solid var(--kd-accent);
  padding-top: 1.5rem;
}
.highlights h3 {
  font-size: var(--fs-m);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.highlights p { color: var(--kd-muted); font-size: var(--fs-s); margin: 0; }

@media (min-width: 900px) {
  .highlights { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); }
}

/* Words from guests */
.quotes {
  display: grid;
  gap: 3.5rem;
}
.quotes blockquote { margin: 0; }
.quotes blockquote p {
  font-family: "Jost", sans-serif;
  font-size: var(--fs-l);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.quotes .small p { font-size: var(--fs-m); line-height: 1.6; }
.quotes cite {
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--kd-muted);
}

@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(6, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
  .quotes .wide { grid-column: span 4; }
  .quotes .wide:nth-of-type(2) { grid-column: 3 / span 4; }
  .quotes .small { grid-column: span 2; }
}

/* Visit */
.visit {
  display: grid;
  gap: 3.5rem;
}
.visit h2 { font-size: var(--fs-xl); margin-bottom: 1.25rem; }
.visit-intro p { color: var(--kd-muted); max-width: 30rem; }

.details { display: grid; gap: 2.5rem; }
.details h3 {
  font-size: var(--fs-s);
  font-weight: 400;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.hours { border-collapse: collapse; width: 100%; max-width: 22rem; font-size: var(--fs-s); }
.hours th, .hours td {
  text-align: left;
  font-weight: 300;
  padding: 0.5rem 0;
  border-bottom: var(--hair);
}
.hours td { text-align: right; color: var(--kd-muted); font-variant-numeric: tabular-nums; }

address { font-style: normal; font-size: var(--fs-s); line-height: 1.8; }

.facts {
  margin: 0;
  font-size: var(--fs-s);
  color: var(--kd-muted);
  max-width: 34rem;
}

@media (min-width: 900px) {
  .visit { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 8vw, 9rem); }
  .details { grid-template-columns: 1fr 1fr; }
  .details .facts-block { grid-column: 1 / -1; }
}

/* Footer */
.site-footer {
  margin-top: clamp(5rem, 12vw, 10rem);
  padding: 3rem var(--margin) 3.5rem;
  border-top: var(--hair);
  display: grid;
  gap: 1.5rem;
  font-size: var(--fs-xs);
  color: var(--kd-muted);
}
.site-footer img { height: 40px; width: auto; }
.site-footer p { margin: 0; }

@media (min-width: 720px) {
  .site-footer { grid-template-columns: auto 1fr auto; align-items: end; gap: 2.5rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .link, .nav a { transition: background-size 0.5s var(--ease), color 0.3s; }
  .link:hover, .link:focus-visible { color: var(--kd-text); }
  .btn { transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }

  .frame .pic img { transition: transform 1.6s var(--ease); }
  .frame:hover .pic img { transform: scale(1.03); }

  /* Signature: the hero photograph wipes open on arrival */
  .hero .pic img {
    animation: wipe 1.8s var(--ease) 0.15s both;
  }

  /* Gallery images wipe open as they enter the view */
  @supports (animation-timeline: view()) {
    .reveal-wipe img {
      animation: wipe linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 45%;
    }
  }
}

@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
