/* Manuka Kitchen - tokens derived from the logo hexagon (#E6A928) and the room's own
   terrazzo, tan leather and black menu boards. See _brief.md. */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  font-style: normal;
}

:root {
  --honey: #e6a928;
  /* the logo hue darkened until it clears AA on the terrazzo band too, not just on the page */
  --honey-deep: #7d550a;
  --board: #16181a;
  --board-2: #212528;
  --board-line: #33383c;
  --surface: #fbfaf8;
  --terrazzo: #e8e5e0;
  --ink: #1a1c1e;
  --ink-soft: #55595d;
  --ink-onboard: #e9e6e0;
  --ink-onboard-soft: #a8aeb3;
  --tan: #a9662b;

  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --measure: 66ch;
  --shell: 1180px;
  --gut: clamp(1.15rem, 0.7rem + 2.2vw, 3rem);
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0;
  font-variation-settings: 'opsz' 96, 'SOFT' 20;
}

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

.shell {
  width: min(100% - 2 * var(--gut), var(--shell));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--board);
  color: var(--ink-onboard);
  padding: 0.75rem 1.1rem;
  z-index: 60;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- the honeycomb mark ---------- */

.hex {
  width: 1.75rem;
  height: 1.95rem;
  flex: none;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--honey);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #16181a;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: saturate(1.4) blur(9px);
  border-bottom: 1px solid rgba(26, 28, 30, 0.1);
}

.head-in {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-height: 62px;
  padding-block: 0.55rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  padding-block: 0.5rem;   /* keeps the mark a 44px tap target, not just 31px of glyph */
}
.wordmark span { display: none; }
@media (min-width: 430px) { .wordmark span { display: inline; } }

.head-nav {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
  font-size: 0.85rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
@media (min-width: 900px) { .head-nav { display: flex; } }

.head-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.head-nav a:hover { color: var(--ink); border-bottom-color: var(--honey); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}
@media (min-width: 900px) { .head-actions { margin-left: 1.5rem; } }

.head-tel {
  display: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.7rem 0.4rem;
  white-space: nowrap;
}
.head-tel:hover { color: var(--honey-deep); }
@media (min-width: 620px) { .head-tel { display: inline-block; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-honey { background: var(--honey); color: #16181a; border: 1px solid var(--honey); }
.btn-honey:hover { background: #f2b73a; border-color: #f2b73a; }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink-onboard);
  border: 1px solid rgba(233, 230, 224, 0.42);
}
.btn-ghost-dark:hover { border-color: var(--honey); color: var(--honey); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 28, 30, 0.28);
}
.btn-outline:hover { border-color: var(--ink); background: rgba(26, 28, 30, 0.04); }

.btn-sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.84rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--board);
  color: var(--ink-onboard);
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.82) 0%, rgba(12, 13, 15, 0.55) 42%, rgba(12, 13, 15, 0.9) 100%);
}

.hero-in {
  padding-block: clamp(4.5rem, 3rem + 14vw, 9.5rem) clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--honey);
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.35rem + 4.4vw, 4.05rem);
  color: #fff;
  margin-bottom: 1.1rem;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 1;
}

.hero p.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: #d9d5cf;
  max-width: 34rem;
  margin: 0 0 1.9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-facts {
  position: relative;
  border-top: 1px solid rgba(233, 230, 224, 0.16);
  background: rgba(9, 10, 12, 0.5);
}
.hero-facts ul {
  list-style: none;
  margin: 0;
  padding: 1.05rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1.2rem, 4vw, 3rem);
  font-size: 0.87rem;
  color: #cfcbc4;
}
.hero-facts li { display: flex; align-items: center; gap: 0.45rem; }
.hero-facts b { color: #fff; font-weight: 600; }
.star { color: var(--honey); }

/* ---------- generic section ---------- */

.band { padding-block: clamp(3.4rem, 2rem + 6vw, 6rem); }
.band-terrazzo { background: var(--terrazzo); }

.sec-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 1rem + 3vw, 3rem); }
.sec-head h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.65rem);
  margin-bottom: 0.8rem;
}
.sec-head p { color: var(--ink-soft); max-width: var(--measure); margin: 0; }

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--honey-deep);
  margin: 0 0 0.9rem;
}

/* ---------- the room ---------- */

.room-grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3.2rem);
  align-items: center;
}
@media (min-width: 860px) { .room-grid { grid-template-columns: 0.95fr 1.05fr; } }

.room-copy p { max-width: var(--measure); color: var(--ink-soft); }
.room-copy p + p { margin-top: 1rem; }
.room-copy strong { color: var(--ink); font-weight: 600; }

.room-shots { display: grid; gap: 0.85rem; grid-template-columns: 1fr 1fr; }
.room-shots figure { margin: 0; }
.room-shots img { border-radius: 3px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.room-shots figcaption {
  margin-top: 0.5rem;
  font-size: 0.79rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ---------- the board (signature) ---------- */

.board {
  background: var(--board);
  color: var(--ink-onboard);
  padding-block: clamp(3.6rem, 2rem + 7vw, 6.5rem);
}
.board .sec-head h2 { color: #fff; }
.board .sec-head p { color: var(--ink-onboard-soft); }
.board .kicker { color: var(--honey); }

.board-grid {
  display: grid;
  gap: clamp(1.6rem, 1rem + 2.5vw, 2.4rem);
}
@media (min-width: 900px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }

.panel {
  background: var(--board-2);
  border: 1px solid var(--board-line);
  border-radius: 6px;
  padding: clamp(1.35rem, 1rem + 1.4vw, 2rem);
}
.panel-wide { grid-column: 1 / -1; }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--board-line);
}
.panel-head h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
  color: #fff;
}
.panel-head .when {
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--honey);
  margin-left: auto;
  font-weight: 600;
}

.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.46rem 0;
}
.dishes li + li { border-top: 1px dotted rgba(168, 174, 179, 0.24); }

.dishes .mark {
  color: var(--honey);
  font-size: 0.62rem;
  line-height: 1.9;
  flex: none;
}
.dishes .name {
  font-family: var(--display);
  font-size: 1rem;
  font-variation-settings: 'opsz' 24, 'SOFT' 10;
  color: var(--ink-onboard);
}
.dishes .tag {
  font-family: var(--body);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--honey);
  border: 1px solid rgba(230, 169, 40, 0.5);
  border-radius: 3px;
  padding: 0.08rem 0.36rem;
  margin-left: 0.45rem;
  white-space: nowrap;
  vertical-align: 0.09em;
}
.dishes .dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(168, 174, 179, 0.42);
  transform: translateY(-0.28em);
  min-width: 1rem;
}
/* Narrow screens wrap most dish names, which leaves the leader as a two-pixel stub.
   Drop it there and let the price carry itself to the right instead. */
@media (max-width: 559px) {
  .dishes .dots { display: none; }
  .dishes .price { margin-left: auto; }
}

.dishes .price {
  font-variant-numeric: tabular-nums;
  font-size: 0.94rem;
  font-weight: 600;
  color: #fff;
  flex: none;
}

.panel-note {
  margin: 1.1rem 0 0;
  font-size: 0.83rem;
  color: var(--ink-onboard-soft);
}

.set-lunch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
  margin-bottom: 1.2rem;
}
.set-lunch .big {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.4rem);
  color: var(--honey);
  line-height: 1;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
}
.set-lunch p { margin: 0; color: var(--ink-onboard-soft); max-width: 30rem; font-size: 0.95rem; }

.board-foot {
  margin-top: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--board-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
}
.board-foot p { margin: 0; color: var(--ink-onboard-soft); font-size: 0.9rem; }

/* ---------- week nights ---------- */

.nights {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.night {
  background: #fff;
  border: 1px solid rgba(169, 102, 43, 0.3);
  border-top: 4px solid var(--tan);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.6rem;
}
.night .day {
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tan);
}
.night h3 { font-size: 1.3rem; margin: 0.45rem 0 0.7rem; }
.night .cost {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--ink);
  font-variation-settings: 'opsz' 96, 'WONK' 1;
}
.night p { margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- suppliers ---------- */

.suppliers {
  display: grid;
  gap: 1.4rem 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.suppliers li { border-top: 2px solid var(--honey); padding-top: 0.9rem; }
.suppliers h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.suppliers .what {
  display: block;
  font-family: var(--body);
  font-size: 0.71rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.suppliers p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- gallery ---------- */

/* Two clean rows of three, never a stranded orphan on the last row. */
.gallery {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { border-radius: 3px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.review {
  background: #fff;
  border: 1px solid rgba(26, 28, 30, 0.11);
  border-radius: 4px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.review blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.5;
  font-variation-settings: 'opsz' 36, 'SOFT' 20;
}
.review .who {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.review .who b { color: var(--ink); font-weight: 600; }

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.rating-line .score {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: 'opsz' 96, 'WONK' 1;
}

/* ---------- visit ---------- */

.hex-divider {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.hex-divider i {
  width: 0.78rem;
  height: 0.88rem;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.85;
}
.hex-divider i:nth-child(2) { opacity: 0.55; }
.hex-divider i:nth-child(3) { opacity: 0.3; }

.visit-grid {
  display: grid;
  gap: clamp(1.6rem, 1rem + 3vw, 3.4rem);
}
@media (min-width: 820px) { .visit-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hours { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 28, 30, 0.1);
  font-size: 0.93rem;
  font-weight: 400;
}
.hours th { color: var(--ink-soft); font-weight: 500; width: 8.5rem; }
.hours td { font-variant-numeric: tabular-nums; }

.contact-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.contact-list li { padding: 0.55rem 0; border-bottom: 1px solid rgba(26, 28, 30, 0.1); }
.contact-list .lbl {
  display: block;
  font-size: 0.71rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-deep);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(230, 169, 40, 0.6); }
.contact-list a:hover { color: var(--honey-deep); border-bottom-color: var(--honey-deep); }

.visit-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--board);
  color: var(--ink-onboard-soft);
  padding-block: clamp(2.6rem, 2rem + 3vw, 4rem);
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.site-foot h2 {
  font-size: 0.73rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 600;
  color: var(--honey);
  margin-bottom: 0.8rem;
}
.site-foot a { color: var(--ink-onboard); text-decoration: none; }
.site-foot a:hover { color: var(--honey); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 0.22rem 0; }
.foot-mark { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.7rem; }
.foot-base {
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--board-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.81rem;
}
.foot-base p { margin: 0; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
