/* ============================================================
   KOHO — kohohotpot.com
   Colours and type are the KOHO brand book's, not new ones:
   the same ramps as constants/brand.ts in the app.
   ============================================================ */

@font-face {
  font-family: "Roc Grotesk";
  src: url("assets/fonts/RocGrotesk-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand book ramps */
  --cream:        #fff0dc;  /* cream 200 — the ground */
  --white:        #ffffff;  /* cream 100 */
  --parchment:    #eddab9;  /* cream 300 */
  --tan:          #d1b895;  /* cream 400 */
  --oxblood:      #7f050a;  /* crimson 300 — primary */
  --oxblood-deep: #56050d;  /* crimson 400 */
  --forest:       #212d11;  /* green 300 */
  --forest-deep:  #19210d;  /* green 400 */
  --gold:         #f4bc07;  /* gold 300 — spent once: the open-now dot */
  --ink:          #070707;  /* ink 400 */
  --ink-soft:     #545454;  /* ink 100 */
  --muted:        #8a8275;

  --focus: var(--oxblood);

  --display: "Roc Grotesk", "Epilogue", "Arial Black", "Helvetica Neue", sans-serif;
  --body: "Epilogue", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
}

/* ---- Base ------------------------------------------------------------ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* The hidden attribute is only a user-agent display:none, so any class here
   that sets display (the widget is a grid, the badge inline-block) would
   quietly override it and show what the script meant to hide. */
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; text-wrap: balance; }

p { margin: 0; }

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 50;
  background: var(--oxblood);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- Shared type ----------------------------------------------------- */

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.eyebrow-on-dark { color: var(--parchment); }

h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.005em;
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head h2 { color: var(--oxblood); }
.section-lede { margin-top: 16px; color: var(--ink-soft); max-width: var(--measure); }

/* ---- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--oxblood); color: var(--cream); }
.btn-solid:hover { background: var(--oxblood-deep); }

.btn-line { border-color: var(--oxblood); color: var(--oxblood); background: transparent; }
.btn-line:hover { background: var(--oxblood); color: var(--cream); }

.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: var(--white); }

.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }

.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---- Unfinished-details markers ------------------------------------- */

.draft-banner {
  background: var(--gold);
  color: var(--ink);
  font-size: .9rem;
  text-align: center;
  padding: 9px var(--gutter);
}
.draft-banner code { font-size: .85em; background: rgba(0,0,0,.08); padding: 1px 5px; border-radius: 3px; }

.placeholder {
  display: inline-block;
  border: 1.5px dashed currentColor;
  border-radius: 6px;
  padding: 1px 9px;
  font-size: .88em;
  font-weight: 500;
  opacity: .72;
}

/* ---- Top bar --------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 240, 220, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(209, 184, 149, .55);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav a:not(.btn) {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.nav a:not(.btn):hover { color: var(--oxblood); }

@media (max-width: 620px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 28px; }
}

/* ---- Hero ------------------------------------------------------------ */

.hero { padding: clamp(36px, 7vw, 96px) 0 clamp(48px, 7vw, 104px); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.3rem, 10vw, 4.6rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--oxblood);
  margin: 0 0 22px;
}

.lede { font-size: 1.15rem; max-width: 34ch; color: var(--ink); }

/* The opening-day badge. Gold is the colour held back for "open" — the live
   dot — and before opening day this is the only open news there is. */
.opening {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
}
.status.is-open .status-dot {
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(244, 188, 7, .55);
  animation: simmer 2.4s ease-out infinite;
}
.status.is-open .status-text { color: var(--ink); }

.status-on-dark { color: rgba(255, 240, 220, .72); margin-top: 0; }
.status-on-dark.is-open .status-text { color: var(--cream); }

@keyframes simmer {
  0%   { box-shadow: 0 0 0 0 rgba(244, 188, 7, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(244, 188, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 188, 7, 0); }
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}

.hero-disc {
  position: absolute;
  inset: 12% 6% 4%;
  border-radius: 50%;
  background: var(--parchment);
}

.mascot { position: relative; width: 100%; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
  .display { font-size: clamp(3.6rem, 6.6vw, 6rem); }
  .hero-art { width: min(100%, 470px); justify-self: end; }
}

/* ---- Ritual ---------------------------------------------------------- */

.ritual {
  background: var(--parchment);
  padding: clamp(56px, 8vw, 112px) 0;
}
.ritual .section-lede { color: #4a4034; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  row-gap: 8px;
  padding: 26px 0 28px;
  border-top: 2px solid var(--ink);
}

.step-n {
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  line-height: .85;
  color: var(--oxblood);
  min-width: 1.1ch;
}

.step h3 { font-size: 1.28rem; font-weight: 600; line-height: 1.25; padding-top: 4px; }
.step p { color: #3b3329; max-width: 44ch; }

@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); }
}

/* ---- Table mosaic ---------------------------------------------------- */

.table { padding: clamp(56px, 8vw, 112px) 0; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(140px, 30vw, 180px);
  gap: 10px;
}

.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
}

.tile-hero { grid-column: span 2; grid-row: span 2; }
/* The room is a wide shot by nature, so it takes the full row rather than
   sitting alone in one. */
.tile-wide { grid-column: 1 / -1; }

/* Placeholder tones — the brand's own colours, lined like a
   bamboo steamer, so an empty slot reads as designed rather than broken. */
.tone-forest    { background: var(--forest);    color: var(--parchment); }
.tone-oxblood   { background: var(--oxblood);   color: var(--parchment); }
.tone-parchment { background: var(--parchment); color: var(--forest); }

.tile:not(.has-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 14px);
  opacity: .1;
}

.tile figcaption {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.35;
  max-width: 26ch;
}

.tile-hero figcaption {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
  max-width: 14ch;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile.has-photo { color: var(--cream); }
.tile.has-photo::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(7, 7, 7, .62), transparent);
}
.tile.has-photo figcaption { z-index: 1; }

@media (min-width: 760px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
}

/* ---- Visit ----------------------------------------------------------- */

.visit {
  --focus: var(--gold);
  background: var(--forest);
  color: var(--cream);
  padding: clamp(56px, 8vw, 112px) 0;
}

.visit h2 { color: var(--cream); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
}

.address {
  font-style: normal;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 26px 0 24px;
  max-width: 28ch;
}

.visit-actions { margin-bottom: 34px; }

.contact { display: grid; gap: 18px; margin: 0; }
.contact div { display: grid; gap: 2px; }
.contact dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 218, 185, .72);
}
.contact dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 240, 220, .35); }
.contact a:hover { border-bottom-color: var(--cream); }

.hours-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.hours { width: 100%; border-collapse: collapse; margin-top: 18px; font-variant-numeric: tabular-nums; }

.hours th, .hours td {
  text-align: left;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 240, 220, .16);
  font-size: 1rem;
  vertical-align: top;
}
.hours th { font-weight: 500; width: 42%; padding-right: 16px; color: rgba(255, 240, 220, .8); }
.hours td { font-weight: 500; }
.hours .closed { color: rgba(255, 240, 220, .5); }

.hours tr.is-today th,
.hours tr.is-today td { color: var(--cream); font-weight: 600; }
.hours tr.is-today th::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 10px 2px 0;
  vertical-align: middle;
}

@media (min-width: 860px) {
  .visit-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .visit-hours { padding-top: 42px; }
}

/* ---- Reserve --------------------------------------------------------- */

.reserve {
  --focus: var(--gold);
  background: var(--oxblood);
  color: var(--cream);
  padding: clamp(56px, 8vw, 112px) 0;
}

.reserve h2 { color: var(--cream); }

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.reserve-lede { margin-top: 18px; font-size: 1.12rem; max-width: 36ch; }
.reserve-alt { margin-top: 20px; color: rgba(255, 240, 220, .8); }
.reserve-alt a { color: var(--cream); font-weight: 600; }

/* Stands in for the widget until opening day. */
.soon {
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 12px;
  align-content: start;
  box-shadow: 0 24px 60px -30px rgba(7, 7, 7, .6);
}

.soon-date {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1;
  color: var(--oxblood);
}

.soon-follow a { color: var(--oxblood); font-weight: 600; }
.soon-follow:empty { display: none; }

/* The ReserveGo widget. It can't tell the page how tall it is (it's on
   another domain), so the frame gets a fixed height roomy enough for its
   date, party-size and slot steps, and scrolls inside past that. */
.widget { display: grid; gap: 14px; min-width: 0; }

.widget-frame {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(7, 7, 7, .6);
}

.widget-frame iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

.widget-fallback { font-size: .92rem; color: rgba(255, 240, 220, .8); text-align: center; }
.widget-fallback a { color: var(--cream); font-weight: 600; }

@media (max-width: 620px) {
  .widget-frame iframe { height: 700px; }
}

@media (min-width: 900px) {
  .reserve-grid { grid-template-columns: .9fr 1.1fr; }
}

/* ---- Footer ---------------------------------------------------------- */

.footer {
  background: var(--parchment);
  padding: 48px 0 40px;
}

.footer-inner { display: grid; gap: 14px; justify-items: start; }
.footer-mark { width: 150px; }
.footer-line { color: #3b3329; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .9rem;
  color: #5b5144;
}
.footer-meta a { color: var(--oxblood); font-weight: 600; text-decoration: none; }
.footer-meta span:empty { display: none; }

/* ---- Motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
