/* ─── kotori — base styles ─── */

@import url('fonts.css');

:root {
  --sumi:         #0a0908;
  --sumi-soft:    #16120e;
  --sumi-ember:   #21130b;
  --hinoki-dark:  #2a1a10;
  --hinoki:       #6b4423;
  --hinoki-light: #a07952;
  --cedar-red:    #7b341f;
  --cedar-black:  #1f0f08;
  --washi:        #f5efe0;
  --washi-dim:    #d9d2c1;
  --vermillion:   #c14a2a;
  --vermillion-2: #d35a3a;
  --gold:         #b89968;
  --gold-soft:    #8a7250;

  --display: 'Shippori Mincho B1', 'Times New Roman', serif;
  --body:    'Manrope', system-ui, -apple-system, sans-serif;

  --deck-h: 110px;
  --ease:   cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 720px) {
  :root { --deck-h: 84px; }
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--washi);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(123,52,31,.22), transparent 42rem),
    linear-gradient(180deg, #0a0908 0%, #120b07 42%, #070605 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  min-height: 100vh;
}

/* shared selection */
::selection { background: var(--vermillion); color: var(--washi); }

/* ─── grain overlay (a single tiny SVG noise) ─── */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .08;
  mix-blend-mode: overlay;
}

/* ─── wooden deck header (clean plank, full-width, flush to top) ─── */
.deck {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--deck-h);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(28px, 4vw, 64px);
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(20,10,4,.9);

  /* base: actual wood photo if present, with layered organic bark fallback */
  background-color: #3a2110;
  background-image:
    /* soft top sheen + bottom shadow */
    linear-gradient(180deg, rgba(255,224,178,.12) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.38) 100%),
    /* fractal noise — coarse bark cracks */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='200'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.55' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.4 -.3'/></filter><rect width='100%25' height='100%25' filter='url(%23b)'/></svg>"),
    /* fractal noise — fine grain fibers */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200'><filter id='f'><feTurbulence type='turbulence' baseFrequency='0.04 0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23f)'/></svg>"),
    /* warm highlight streaks (ribbon figure) */
    repeating-linear-gradient(1deg,
      rgba(180,108,52,.10) 0 6px,
      rgba(60,28,12,.18) 6px 14px,
      rgba(140,78,38,.08) 14px 22px,
      rgba(28,12,4,.20) 22px 30px),
    /* deep undertone fallback */
    linear-gradient(180deg, #5e3219 0%, #3e1d0d 48%, #1a0c05 100%);
  background-size: 100% 100%, 600px 200px, 400px 200px, 100% 100%, 100% 100%;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat, repeat, repeat, repeat-x, no-repeat;
  background-blend-mode: overlay, multiply, soft-light, multiply, normal;

  box-shadow:
    inset 0 1px 0 rgba(255,210,150,.22),
    inset 0 -2px 0 rgba(0,0,0,.55),
    inset 0 -16px 24px rgba(0,0,0,.40),
    0 3px 0 rgba(20,8,3,.80),
    0 14px 28px -10px rgba(0,0,0,.72);
}

/* knot — placed in the empty area between the brand tagline and the nav buttons */
.deck::before {
  content: '';
  position: absolute;
  left: 52%;
  top: 38%;
  width: 34px; height: 24px;
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center,
      rgba(8,3,1,.90) 0 18%,
      rgba(48,22,10,.72) 26%,
      rgba(120,64,28,.34) 52%,
      transparent 76%),
    repeating-radial-gradient(ellipse at center,
      rgba(20,10,4,.55) 0 1px,
      rgba(140,76,34,.20) 2px 3px,
      transparent 4px 6px);
  mix-blend-mode: multiply;
  opacity: .85;
}
/* second knot — small, lower, also in the empty zone */
.deck::after {
  content: '';
  position: absolute;
  left: 64%;
  top: 70%;
  width: 22px; height: 16px;
  transform: translate(-50%, -50%) rotate(8deg);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center,
      rgba(8,3,1,.82) 0 20%,
      rgba(48,22,10,.65) 28%,
      rgba(120,64,28,.28) 54%,
      transparent 76%),
    repeating-radial-gradient(ellipse at center,
      rgba(20,10,4,.50) 0 1px,
      rgba(140,76,34,.18) 2px 3px,
      transparent 4px 6px);
  mix-blend-mode: multiply;
  opacity: .75;
}


.deck-brand {
  display: flex; align-items: center; gap: 18px;
  position: relative; z-index: 1;
  color: #f6e7c7;
  text-shadow:
    0 1px 0 rgba(0,0,0,.85),
    0 2px 4px rgba(0,0,0,.75),
    0 0 1px rgba(0,0,0,.9);
}
.deck-brand .deck-logo {
  height: calc(var(--deck-h) - 22px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.65));
}
.deck-brand .deck-tag {
  font-family: var(--body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 1;
  color: #efdcb4;
  opacity: .95;
}
@media (max-width: 720px) {
  .deck-brand .deck-tag { display: none; }
  .deck-brand .deck-logo { height: calc(var(--deck-h) - 18px); }
}

.deck-nav {
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px);
  position: relative; z-index: 1;
}
.deck-nav a {
  position: relative;
  font-family: var(--body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  /* bright cream text that reads as "carved letters catching the light" */
  color: #f6e7c7;
  text-shadow:
    0 1px 0 rgba(0,0,0,.85),
    0 2px 4px rgba(0,0,0,.75),
    0 0 1px rgba(0,0,0,.9);
  padding: 9px 18px;
  border-radius: 4px;
  /* carved channel: dark inner shadow (gouge) + warm highlight on the lip */
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.10) 60%, rgba(255,210,150,.06));
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.65),
    inset 0 -1px 0 rgba(255,214,158,.30),
    inset 1px 0 1px rgba(0,0,0,.35),
    inset -1px 0 1px rgba(0,0,0,.35);
  transition: color .25s var(--ease), text-shadow .25s var(--ease), box-shadow .25s var(--ease);
}
.deck-nav a:hover,
.deck-nav a:focus-visible,
.deck-nav a.is-active {
  color: #fff5dc;
  text-shadow:
    0 1px 0 rgba(0,0,0,.95),
    0 2px 5px rgba(0,0,0,.85),
    0 0 8px rgba(255,224,170,.35);
  box-shadow:
    inset 0 3px 4px rgba(0,0,0,.75),
    inset 0 -1px 0 rgba(255,224,170,.42),
    inset 1px 0 1px rgba(0,0,0,.45),
    inset -1px 0 1px rgba(0,0,0,.45);
}
@media (max-width: 480px) {
  .deck-nav a { font-size: .7rem; letter-spacing: .22em; padding: 7px 12px; }
  .deck-nav { gap: 8px; }
}

/* ─── reviews section (sits above the footer on every page) ─────────── */
.reviews {
  position: relative;
  padding: 72px clamp(20px, 5vw, 56px) 80px;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(193,74,42,.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(184,153,104,.12), transparent 55%),
    linear-gradient(180deg, #150c08 0%, #0a0706 60%, #060403 100%);
  color: var(--washi);
  border-top: 1px solid rgba(184,153,104,.18);
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 -.05'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .12;
  mix-blend-mode: overlay;
}
.reviews > * { position: relative; z-index: 1; }

.reviews-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.reviews-head .eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--vermillion-2);
  display: inline-block;
  margin-bottom: 14px;
}
.reviews-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--washi);
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.reviews-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews-meta .reviews-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .14em;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.reviews-meta .reviews-rating {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--washi);
}
.reviews-meta .reviews-count {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--washi-dim);
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 40px;
}
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px 28px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.4), transparent 36%),
    linear-gradient(180deg, #fff7e5 0%, #f3e7c9 100%);
  color: var(--sumi);
  border-radius: 4px;
  border: 1px solid rgba(184,153,104,.32);
  box-shadow:
    0 18px 40px -18px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.55);
}
.review-card::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 1px solid rgba(120,90,50,.10);
  pointer-events: none;
  border-radius: 2px;
}
.review-card .review-stars {
  color: var(--vermillion);
  font-size: .98rem;
  letter-spacing: .14em;
}
.review-card .review-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
  color: #1f1208;
}
.review-card .review-author {
  margin-top: auto;
  font-family: var(--body);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(31,18,8,.65);
}

.reviews-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .reviews { padding: 56px 18px 60px; }
  .reviews-head { margin-bottom: 32px; }
  .reviews-head h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .reviews-list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }
  .review-card { padding: 22px 22px 24px; }
  .review-card .review-quote { font-size: .96rem; }
  .reviews-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ─── shared footer ─── */
.foot {
  position: relative;
  background: var(--sumi);
  color: var(--washi-dim);
  padding: 64px clamp(20px, 5vw, 56px) 36px;
  border-top: 1px solid rgba(184,153,104,.18);
}
.foot-grid {
  /* 1180 left ~220px of dead space unused on a 1600px screen while the three
     columns bunched together on the left. */
  max-width: 1440px; margin: 0 auto;
  display: grid; gap: 40px 56px;
  grid-template-columns: 1fr;
  justify-items: start;
}

.foot-brand {
  display: flex; flex-direction: column; gap: 14px;
}
.foot-brand .foot-mark {
  font-family: var(--display);
  font-size: 2.4rem; line-height: 1;
  color: var(--washi);
  letter-spacing: .02em;
}
.foot-brand p {
  font-size: .88rem;
  max-width: 32ch;
  color: var(--washi-dim);
}

.foot-col h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.foot-col ul { display: grid; gap: 8px; }
.foot-col li, .foot-col a { font-size: .92rem; color: var(--washi-dim); }
.foot-col a:hover { color: var(--washi); }

/* Visit column — three cells in a row on desktop:
     [address text]  [map preview]  [reviews panel] */
.foot-col-visit {
  width: 100%;
  display: grid;
  /* The third column takes the remaining width and the reviews panel pins
     itself to the far right of it (margin-left: auto below). That keeps the
     address and map together on the left and pushes the reviews out to the
     edge, instead of the old fixed 360px column nudged across by a magic
     144px margin — which stopped spreading as soon as the screen got wider. */
  grid-template-columns: auto minmax(280px, auto) 1fr;
  column-gap: clamp(24px, 3vw, 64px);
  row-gap: 2px;
  align-items: start;
  justify-content: start;
}
.foot-col-visit > h4,
.foot-col-visit > ul { grid-column: 1; }
.foot-col-visit > h4 { margin-bottom: 2px; line-height: 1; }
.foot-col-visit > ul { gap: 4px; margin-top: 0; }
.foot-col-visit > .foot-map {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
}
.foot-col-visit > .foot-col-reviews {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: stretch;
  /* Pinned to the right-hand edge of the flexible column, so the gap grows
     with the screen instead of being a fixed nudge. */
  margin-left: auto;
  width: 100%;
  max-width: 420px;
}
@media (max-width: 1100px) {
  .foot-col-visit {
    grid-template-columns: auto minmax(280px, auto);
  }
  .foot-col-visit > .foot-col-reviews {
    grid-column: 1 / span 2;
    grid-row: auto;
    margin-top: 18px;
    margin-left: 0;       /* desktop-only pin — drop it once stacked */
    max-width: 100%;
  }
}
@media (max-width: 760px) {
  .foot-col-visit {
    grid-template-columns: 1fr;
  }
  .foot-col-visit > .foot-map,
  .foot-col-visit > .foot-col-reviews {
    grid-column: 1;
    grid-row: auto;
  }
}

/* footer reviews column — compact "Guests say" panel sitting next to the
   visit/map column. Sized to roughly match the map's height so 3 reviews
   fit alongside it. */
.foot-col-reviews {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col-reviews h4 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.foot-col-reviews .foot-reviews-meta {
  font-family: var(--display);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--gold);
  text-transform: none;
}
.foot-reviews-list {
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-review {
  padding: 6px 10px 8px;
  background: rgba(255,247,229,.035);
  border-left: 2px solid var(--vermillion);
  border-radius: 0 2px 2px 0;
}
.foot-review .foot-review-stars {
  display: block;
  color: var(--vermillion-2, #d77b5a);
  font-size: .68rem;
  letter-spacing: .14em;
  margin-bottom: 2px;
}
.foot-review p {
  font-family: var(--display);
  font-style: italic;
  font-size: .82rem;
  line-height: 1.32;
  margin: 0 0 3px;
  color: var(--washi);
}
.foot-review cite {
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--washi-dim);
}
.foot-review-cta {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vermillion-2, #d77b5a);
  text-decoration: none;
  border-bottom: 1px solid rgba(193,74,42,.4);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .25s ease, border-color .25s ease;
}
.foot-review-cta:hover {
  color: var(--washi);
  border-color: var(--washi);
}
@media (max-width: 900px) {
  .foot-col-reviews { max-width: 100%; }
}

/* footer map preview */
.foot-map {
  position: relative;
  display: block;
  margin-top: 0;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184,153,104,.30);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.75);
  isolation: isolate;
  cursor: pointer;
}
.foot-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;       /* let the wrapping <a> get the click */
  filter: saturate(.7) brightness(.85);
}
.foot-map-veil {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 10px 12px;
  font-family: var(--body);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #f6e7c7;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  text-shadow: 0 1px 0 rgba(0,0,0,.7);
  transition: background .3s var(--ease);
}
.foot-map:hover .foot-map-veil,
.foot-map:focus-visible .foot-map-veil {
  background: linear-gradient(180deg, rgba(193,74,42,.10) 0%, rgba(0,0,0,.65) 100%);
}

.foot-bottom {
  max-width: 1180px; margin: 56px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(245,239,224,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(217,210,193,.6);
  letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 580px) {
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* map page: no foot-grid, so collapse the gap above the copyright strip */
.page-map .foot { padding-top: 24px; padding-bottom: 24px; }
.page-map .foot-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--body);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--vermillion);
  color: var(--washi);
  box-shadow:
    inset 0 0 0 1px rgba(245,239,224,.18),
    inset 0 0 0 4px rgba(245,239,224,0),
    0 12px 24px -10px rgba(193,74,42,.7);
}
.btn-primary:hover {
  background: var(--vermillion-2);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(245,239,224,.32),
    0 18px 30px -10px rgba(193,74,42,.7);
}

.btn-ghost {
  background: transparent;
  color: var(--washi);
  box-shadow: inset 0 0 0 1px rgba(245,239,224,.7);
}
.btn-ghost:hover {
  background: var(--washi);
  color: var(--sumi);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--sumi);
  color: var(--washi);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}
.btn-dark:hover {
  background: var(--vermillion);
  box-shadow: inset 0 0 0 1px var(--vermillion);
}

/* ─── small typographic helpers ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

/* page top spacer to account for fixed deck */
.page {
  padding-top: var(--deck-h);
  min-height: 100vh;
  position: relative;
}

/* ─── reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Footer staff entrance ─────────────────────────────────────────────────
   Deliberately quiet: a guest should never wander into the books, but staff
   need a way in without typing a URL. Faint gold dot on the right of the
   footer, brightening on hover/focus. Carries a real accessible name so a
   screen reader announces it honestly. (admin.html works typed, too.) */
.foot-admin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -14px -10px -14px 0;   /* 44px tap target, no layout shift */
  opacity: .26; transition: opacity .3s ease; flex: none;
}
.foot-admin:hover, .foot-admin:focus-visible { opacity: 1; outline: none; }
.foot-admin:focus-visible .foot-admin-dot {
  box-shadow: 0 0 0 3px rgba(184,153,104,.4);
}
.foot-admin-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); display: block;
}
@media (max-width: 640px) {
  /* footer stacks and centres on phones — sit the dot back on its own line */
  .foot-admin { margin: 2px 0 0; }
}

/* ─── Mobile header menu (hamburger) — injected by nav.js ─────────────────
   Desktop unchanged: the toggle is display:none and the nav stays inline.
   Below 640px the 4th nav item (Events) no longer fits beside the logo, so
   the nav becomes a tap-to-open panel. */
.deck-toggle { display: none; }

@media (max-width: 640px) {
  .deck-toggle {
    display: block;
    position: relative; z-index: 2; flex: none;
    width: 46px; height: 46px; padding: 0;
    border: 0; border-radius: 5px; cursor: pointer;
    background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.10) 60%, rgba(255,210,150,.06));
    box-shadow:
      inset 0 2px 3px rgba(0,0,0,.65),
      inset 0 -1px 0 rgba(255,214,158,.30),
      inset 1px 0 1px rgba(0,0,0,.35),
      inset -1px 0 1px rgba(0,0,0,.35);
  }
  .deck-toggle span {
    display: block; width: 22px; height: 2px; margin: 5px auto;
    background: #f6e7c7; border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0,0,0,.7);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .deck-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .deck-toggle.open span:nth-child(2) { opacity: 0; }
  .deck-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .deck-nav {
    position: fixed; top: var(--deck-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 7px;
    padding: 12px clamp(14px, 5vw, 22px) 16px;
    background-color: #2a1608;
    background-image: linear-gradient(180deg, rgba(255,224,178,.06), rgba(0,0,0,.38));
    border-bottom: 1px solid rgba(20,10,4,.9);
    box-shadow: 0 16px 30px -10px rgba(0,0,0,.75);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .deck-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .deck-nav a {
    text-align: center; font-size: .82rem; letter-spacing: .24em; padding: 13px;
  }
}


/* ==================================================================
   VARIANT: black top bar, site colours unchanged
   ================================================================== */

/* ── the top bar: completely black ── */
.deck{
  background-color:#000;
  background-image:none;
  background-blend-mode:normal;
  box-shadow:0 10px 26px -16px rgba(0,0,0,.85);
}
.deck::before,.deck::after{display:none !important}
.deck-brand{color:#f2ece0;text-shadow:none}
.deck-brand .deck-tag{color:#a9a196;text-shadow:none}
/* the carved-gouge buttons were drawn for the wood plank; flatten them for black */
.deck-nav{gap:clamp(8px,1.2vw,12px)}
.deck-nav a{
  background:none;box-shadow:none;text-shadow:none;
  border:1px solid rgba(255,255,255,.20);border-radius:2px;
  color:#f2ece0;font-weight:700;font-size:.74rem;letter-spacing:.2em;padding:11px 18px;
  transition:background .26s var(--ease),border-color .26s var(--ease),color .26s var(--ease);
}
.deck-nav a:hover,.deck-nav a:focus-visible,.deck-nav a.is-active{
  background:#fff;border-color:#fff;color:#000;text-shadow:none;box-shadow:none;
}
@media (max-width:640px){
  .deck-toggle{background:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
  .deck-toggle span{background:#f2ece0;box-shadow:none}
  .deck-nav{
    background-color:#000;background-image:none;
    border-bottom:1px solid rgba(255,255,255,.14);
    box-shadow:0 16px 30px -12px rgba(0,0,0,.8);
  }
  .deck-nav a{text-align:center;padding:14px}
}

/* Instagram handle in the footer — from Kotori's Google profile */
.foot-ig{ color:inherit; border-bottom:1px solid var(--gold); padding-bottom:1px; }
.foot-ig:hover{ color:var(--gold); }


/* ── footer overflow on narrow screens ──
   .foot-map declares width:380px. The grid track is 1fr, whose implicit
   min-width:auto sizes to min-content, so on a phone the track became 380px
   and the map's own max-width:100% resolved against that rather than the
   screen — every page scrolled sideways.

   Scoped to narrow screens deliberately: at desktop widths the footer lays
   out correctly as shipped, and applying this there pushed the nested
   reviews column out of the viewport instead. */
@media (max-width: 900px) {
  .foot-grid{ grid-template-columns: minmax(0, 1fr); }
  .foot-col{ min-width: 0; max-width: 100%; }
  .foot-map{ width: min(380px, 100%); }
  .foot-col ul, .foot-col li{ min-width: 0; max-width: 100%; }
}
/* the long handle should wrap at any width rather than widen its column */
.foot-ig{ overflow-wrap: anywhere; word-break: break-word; }

/* Screen-reader text for a review's rating. The stars themselves are
   aria-hidden decoration; without this a four-star review is indistinguishable
   from a five-star one to anyone not looking at the screen. */
.foot-review-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* An unfilled star should read as absence, not as another star. */
.foot-review-stars { letter-spacing: .06em; }
