/* =========================================================
   THE TAMUYA NAKAMEGURO — Brand Site
   Not a restaurant homepage. A quiet evening, on the web.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Base — muted, editorial, gallery-like */
  --ivory:        #E4DDCF;
  --ivory-deep:   #D6CDBB;
  --paper:        #E8E1D3;
  --black:        #131110;
  --ink:          #221E19;
  --walnut:       #4C3B2B;
  --walnut-soft:  #6B5843;
  --walnut-line:  #BCAF9B;

  /* Accent — the deep blue of the restroom door (a touch deeper) */
  --blue:         #1C4A63;
  --blue-deep:    #123647;
  --blue-soft:    #4a7086;

  /* Type */
  --serif: "Cormorant Garamond", "Shippori Mincho", "Times New Roman", serif;
  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
  --sans: "Zen Kaku Gothic New", "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;

  --maxw: 1180px;
  --gutter: max(28px, calc((100vw - 1180px) / 2)); /* page side margin, for edge-bleed layouts */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--blue-deep); }
::selection { background: var(--blue); color: var(--paper); }

/* Scrollbar — accent blue */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory-deep); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }
html { scrollbar-color: var(--blue) var(--ivory-deep); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: clamp(90px, 14vw, 190px) 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--walnut-soft);
  font-weight: 400;
  margin-bottom: 26px;
  display: inline-block;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: var(--ink);
}
h2.display { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.lead {
  font-family: var(--mincho);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 2.5;
  color: var(--walnut);
  font-weight: 400;
}
.lead p { margin-bottom: 1.4em; }

/* ---------- Image placeholder system ----------
   <img> tags fall back to a labeled tile when the real
   photo file is absent, so the layout stays complete. */
.ph {
  background:
    linear-gradient(135deg, rgba(90,69,49,.10), rgba(30,79,107,.08)),
    var(--ivory-deep);
  position: relative;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--walnut-soft);
  opacity: .7;
}
.ph::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--walnut-line);
}
figure { position: relative; overflow: hidden; }
figure img { width: 100%; height: 100%; object-fit: cover; }

/* Unifying editorial photo treatment — mute the warmth a touch,
   deepen the shadows, for a calmer gallery feel. */
figure img, .hero-slide, .loader-photo, .player-art img {
  filter: saturate(0.82) contrast(1.04) brightness(0.965);
}

/* Faint paper grain over the whole page (Aesop-like texture) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
header.nav, #loader { z-index: 200; }

/* =========================================================
   LOADING — pencil draws the logo (SVG)
   ========================================================= */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  perspective: 1900px; perspective-origin: 50% 44%;
}
/* the two doors that swing open to reveal the site */
.door {
  position: absolute; top: 0; height: 100%; width: 50.4%;
  background: linear-gradient(180deg, #EAE3D5 0%, #E1D8C7 100%);
  will-change: transform;
  transition: transform 1.25s cubic-bezier(.66, 0, .18, 1);
  backface-visibility: hidden;
}
.door::after { /* paper grain on each door */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.door-left  { left: 0;  transform-origin: left center;  box-shadow: inset -50px 0 70px -34px rgba(60,44,28,.4); }
.door-right { right: 0; transform-origin: right center; box-shadow: inset  50px 0 70px -34px rgba(60,44,28,.4); }
#loader.opening { pointer-events: none; }
#loader.opening .door-left  { transform: rotateY(-112deg); }
#loader.opening .door-right { transform: rotateY(112deg); }
#loader.done { opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s var(--ease); }
.loader-stage { position: relative; z-index: 2; width: min(520px, 82vw); }
.loader-note { z-index: 2; }
.loader-logo-img { width: 100%; height: auto; display: block; transform-origin: 50% 50%; }

/* line-art strokes (hat / flourish / mustache) — graphite texture */
.ln {
  fill: none;
  stroke: #423a30;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#graphite);
  transition: stroke .8s ease;
}
.loader-logo.inking .ln { stroke: #17130f; }
/* written wordmark (revealed by pencil wipe) */
.wm { fill: #33291d; stroke: none; filter: url(#graphite); transition: fill .8s ease; }
.loader-logo.inking .wm { fill: #17130f; }

/* pencil */
#pencil {
  position: absolute; top: 0; left: 0;
  width: 42px; transform-origin: 50% 100%;
  will-change: transform, opacity;
  filter: drop-shadow(0 9px 11px rgba(0,0,0,.24));
}
.loader-note {
  position: absolute; bottom: 6vh; left: 0; right: 0; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--walnut-soft); letter-spacing: .12em;
  opacity: 0; transition: opacity 1s ease;
}
#loader.reveal-note .loader-note { opacity: .85; }

/* the entry-photo cross-fade at the end of the loader */
.loader-photo {
  position: absolute; inset: -6%; opacity: 0;
  width: 112%; height: 112%; object-fit: cover; object-position: center;
  transition: opacity 1s ease;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
header.nav.scrolled {
  background: rgba(241,235,222,.9);
  backdrop-filter: blur(12px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(90,69,49,.12);
}
.nav-logo {
  position: relative; display: inline-block; line-height: 0;
  height: 52px; transition: height .5s var(--ease);
}
.nav-logo img { height: 100%; width: auto; display: block; transition: opacity .5s var(--ease); }
.nav-logo .nl-dark { position: absolute; inset: 0; opacity: 0; }
header.nav.scrolled .nav-logo { height: 44px; }
header.nav.scrolled .nav-logo .nl-light { opacity: 0; }
header.nav.scrolled .nav-logo .nl-dark { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink); font-weight: 500;
}
.nav-links a:not(.btn)::after {
  content: ""; display: block; height: 1px; width: 0; background: var(--blue);
  transition: width .35s var(--ease); margin-top: 3px;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--paper) !important;
  padding: 13px 26px; border-radius: 2px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); color: var(--paper) !important; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory) !important; }
.btn.light { background: var(--ivory); color: var(--ink) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* =========================================================
   HERO — cinematic slow cross-fade
   ========================================================= */
.hero { height: 100vh; min-height: 620px; position: relative; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05);
  transition: opacity 1.6s var(--ease), transform 6s ease;
}
.hero-slide.on { opacity: 1; transform: scale(1); transition: opacity 1.6s var(--ease), transform 6s ease; }
.hero::after {
  content:""; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(12,10,8,.45) 100%),
    linear-gradient(180deg, rgba(12,10,8,.42) 0%, rgba(12,10,8,.22) 42%, rgba(12,10,8,.72) 100%);
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(60px, 12vh, 130px);
  color: var(--ivory);
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 6.2rem); line-height: 1; letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero .sub {
  font-family: var(--mincho); margin-top: 26px;
  font-size: clamp(1rem, 2vw, 1.35rem); line-height: 2.1; font-weight: 300;
  text-shadow: 0 1px 20px rgba(0,0,0,.4);
}
.hero .cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .cta-row .btn.ghost { color: var(--ivory) !important; border-color: rgba(255,255,255,.55); }
.hero .cta-row .btn.ghost:hover { background: var(--ivory); color: var(--ink) !important; }

.hero-dots { position:absolute; bottom: 30px; right: clamp(20px,4vw,48px); z-index:3; display:flex; gap:9px; }
.hero-dots span { width: 22px; height: 2px; background: rgba(255,255,255,.35); transition: background .4s; }
.hero-dots span.on { background: var(--ivory); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.75); font-size: 10px;
  letter-spacing: .35em; text-transform: uppercase; text-align: center;
}
.scroll-hint::after {
  content:""; display:block; width:1px; height:44px; margin: 12px auto 0;
  background: linear-gradient(rgba(255,255,255,.8), transparent);
  animation: scrolldrop 2.4s var(--ease) infinite;
}
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--paper); text-align: center; }
.about .lead { max-width: 620px; margin: 34px auto 0; }
.about h2 .amp { color: var(--blue); font-style: italic; }
.divider-mark { width: 44px; height: 1px; background: var(--walnut-line); margin: 0 auto 40px; }

/* =========================================================
   Alternating feature blocks (Food / Wine / Chef / Private)
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.feature.flip .feature-media { order: 2; }
.feature-media figure { aspect-ratio: 4/5; }
.feature-media.tall figure { aspect-ratio: 3/4; }
.feature-body { max-width: 480px; }
.feature-body .lead { margin-top: 24px; }
.feature.editorial .feature-body { max-width: 520px; }

/* editorial: the photo bleeds off one screen edge, text keeps the page margin */
.feature.editorial {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  grid-template-columns: 1.05fr 0.95fr; /* media (left) | text (right) */
  gap: clamp(28px, 4.5vw, 80px);
  padding-right: var(--gutter); /* page margin on the grid, so text keeps full width */
}
.feature.editorial.flip {
  grid-template-columns: 0.95fr 1.05fr; /* text (left) | media (right) */
  padding-right: 0; padding-left: var(--gutter);
}
.feature.editorial .feature-body { justify-self: start; }
.feature.editorial .display { font-size: clamp(2rem, 4.3vw, 3.4rem); line-height: 1.16; }
.feature.editorial .feature-media figure { aspect-ratio: 4/5; height: 100%; }
.feature.editorial .feature-media.tall figure { aspect-ratio: 3/4; }
/* let the photo run a touch past the section, top & bottom */
.feature.editorial .feature-media { margin-block: clamp(-30px, -3vw, -12px); }

/* Food — blackboard */
.food { background: var(--ivory); }
.blackboard {
  background: #1c211f;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.04), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.03), transparent 55%);
  border: 10px solid #3b2c1d;
  border-radius: 3px;
  box-shadow: inset 0 0 60px rgba(0,0,0,.5), 0 24px 50px rgba(0,0,0,.22);
  padding: clamp(30px, 4vw, 52px);
  color: #f3ede0; aspect-ratio: auto;
}
.blackboard .bb-head {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  color: #eadfae; letter-spacing: .04em; margin-bottom: 6px;
}
.blackboard .bb-sub { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #9fb0a3; margin-bottom: 26px; }
.bb-item { display:flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.bb-item .n { font-family: var(--mincho); font-size: 1.05rem; }
.bb-item .n small { display:block; font-family: var(--serif); font-style: italic; color:#9fb0a3; font-size:.8rem; letter-spacing:.05em; }
.bb-item .p { font-family: var(--serif); color:#eadfae; white-space: nowrap; }
.bb-note { margin-top: 24px; font-family: var(--mincho); font-size: .82rem; color: #8ca093; line-height: 1.9; }
.chalk-line { width: 100%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 8px, transparent 8px 14px); margin: 4px 0 22px; }

/* Wine */
.wine { background: linear-gradient(180deg, #2a211a, #1c1611); color: var(--ivory); }
.wine .eyebrow { color: #cbb894; }
.wine .display { color: var(--ivory); }
.wine .lead { color: #cdbfa9; }
.wine .feature-media figure { aspect-ratio: 3/4; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.wine .glow { position:absolute; inset:0; background: radial-gradient(circle at 30% 30%, rgba(203,184,148,.16), transparent 60%); pointer-events:none; }

/* =========================================================
   MUSIC — Spotify-style panel
   ========================================================= */
.music { background: var(--black); color: var(--ivory); overflow: hidden; }
.music .eyebrow { color: var(--blue-soft); }
.music .display { color: var(--ivory); }
.player {
  max-width: 620px; margin: 46px auto 0;
  background: linear-gradient(180deg, #232323, #121212);
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.5); text-align: left;
}
.player-head { display:flex; align-items:center; gap: 20px; margin-bottom: 22px; }
.player-art {
  width: 118px; height: 118px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--blue-deep), #2b2620);
  position: relative; overflow:hidden;
}
.player-art .ph::before, .player-art .ph::after { color: rgba(255,255,255,.5); }
.player-meta .plabel { font-size: 11px; letter-spacing:.3em; text-transform:uppercase; color:#a7a7a7; }
.player-meta h3 { font-family: var(--serif); font-size: 1.9rem; color:#fff; font-weight:500; margin:4px 0; }
.player-meta .pby { color:#a7a7a7; font-size: .9rem; }
.equalizer { display:flex; align-items:flex-end; gap:3px; height: 22px; margin-top:10px; }
.equalizer i { width:3px; background: #1DB954; animation: eq 1.1s ease-in-out infinite; }
.equalizer i:nth-child(2){animation-delay:.2s} .equalizer i:nth-child(3){animation-delay:.4s}
.equalizer i:nth-child(4){animation-delay:.1s} .equalizer i:nth-child(5){animation-delay:.5s}
@keyframes eq { 0%,100%{height:5px} 50%{height:22px} }
.track { display:flex; align-items:center; gap:16px; padding:12px 8px; border-radius:8px; transition: background .25s; }
.track:hover { background: rgba(255,255,255,.05); }
.track .num { width:18px; color:#a7a7a7; font-size:.85rem; text-align:center; }
.track .tinfo { flex:1; }
.track .tinfo .t { color:#fff; font-size:.98rem; }
.track .tinfo .a { color:#a7a7a7; font-size:.82rem; }
.track .dur { color:#a7a7a7; font-size:.85rem; }
.genre-tags { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top: 34px; }
.genre-tags span { border:1px solid rgba(255,255,255,.2); color:#d6d6d6; font-size:11px; letter-spacing:.2em; text-transform:uppercase; padding:8px 16px; border-radius:40px; }
.music-note { text-align:center; color:#7d7d7d; font-size:.8rem; margin-top:26px; font-family:var(--mincho); }

/* =========================================================
   ART — Curated Space
   ========================================================= */
.art { background: var(--paper); }
.art-grid {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  padding: 0 clamp(10px, 2vw, 34px);
  display:grid; grid-template-columns: 1.35fr .65fr; gap: clamp(16px, 2.4vw, 40px); margin-top: 54px;
}
.art-grid figure { aspect-ratio: 3/4; }
.art-grid .stack { display:grid; gap: clamp(16px,2.4vw,40px); margin-top: clamp(40px, 7vw, 120px); }
.art-grid .stack figure { aspect-ratio: 4/3; }
.art-cap { font-family: var(--serif); font-style: italic; color: var(--walnut); margin-top: 12px; font-size: .95rem; }

/* =========================================================
   PRIVATE ROOM
   ========================================================= */
.private { background: linear-gradient(180deg, #1b1712, #12100e); color: var(--ivory); }
.private .eyebrow { color: var(--blue-soft); }
.private .display, .private h2 { color: var(--ivory); }
.private .lead { color: #cbbfac; }
.private .tags { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 34px; }
.private .tags span { font-family: var(--mincho); font-size:.85rem; color:#cbbfac; border-left: 2px solid var(--blue); padding-left:12px; }
.private .feature-media figure { aspect-ratio: 4/3; }

/* =========================================================
   A QUIET CORNER — the restroom, as a space
   ========================================================= */
.corner { background: var(--blue-deep); color: var(--ivory); text-align:center; overflow:hidden; }
.corner .eyebrow { color: #a9c6d6; }
.corner h2 { color: #fff; }
.corner .lead { color: #d3e0e7; max-width: 560px; margin: 30px auto 0; }
.corner-imgs {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  padding: 0 clamp(10px, 2vw, 34px);
  display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(12px,1.6vw,22px); margin-top: 60px;
}
.corner-imgs figure { aspect-ratio: 3/4; }
.corner-imgs figure:nth-child(1){ transform: translateY(54px); }
.corner-imgs figure:nth-child(2){ transform: translateY(-18px); }
.corner-imgs figure:nth-child(3){ transform: translateY(46px); }
.corner-imgs figure:nth-child(4){ transform: translateY(-6px); }
@media(max-width:760px){ .corner-imgs{ grid-template-columns: repeat(2,1fr);} .corner-imgs figure{transform:none!important;} }

/* =========================================================
   GALLERY — like flipping through a photo book
   ========================================================= */
.gallery { background: var(--ivory); }
/* full-bleed, freely-sized photo-book masonry (touches the screen edges) */
.gallery-flow {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  padding: 0 clamp(10px, 2vw, 34px);
  columns: 4; column-gap: clamp(12px, 1.6vw, 22px);
  margin-top: 60px;
}
.gallery-flow figure { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 22px); }
.gallery-flow figure.a { aspect-ratio: 3/4; }
.gallery-flow figure.b { aspect-ratio: 4/3; }
.gallery-flow figure.c { aspect-ratio: 1/1; }
.gallery-flow figure.wide { aspect-ratio: 16/10; }
/* nudge a few frames off the grid rhythm for a hand-placed feel */
.gallery-flow figure:nth-child(2)  { margin-top: clamp(18px, 3vw, 52px); }
.gallery-flow figure:nth-child(6)  { margin-top: clamp(14px, 2.4vw, 40px); }
.gallery-flow figure:nth-child(8)  { margin-top: clamp(20px, 3.4vw, 60px); }
@media(max-width:1100px){ .gallery-flow{ columns:3; } }
@media(max-width:760px){ .gallery-flow{ columns:2; } }
@media(max-width:460px){ .gallery-flow{ columns:2; padding:0 10px; } }

/* =========================================================
   ACCESS — a walk to the door
   ========================================================= */
.access { background: var(--paper); }
.access-steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 54px; }
.access-step figure { aspect-ratio: 4/5; margin-bottom: 18px; }
.access-step .num { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.3rem; }
.access-step p { font-family: var(--mincho); color: var(--walnut); margin-top: 6px; line-height:1.9; }
.access-info { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; align-items:start; }
.access-map { aspect-ratio: 16/10; background: var(--ivory-deep); border:1px solid var(--walnut-line); }
.access-map iframe { width:100%; height:100%; border:0; }
.info-table { width:100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align:left; padding: 15px 0; border-bottom: 1px solid var(--walnut-line); vertical-align: top; }
.info-table th { font-family: var(--sans); font-size: 11px; letter-spacing:.24em; text-transform:uppercase; color: var(--walnut-soft); font-weight:500; width: 34%; }
.info-table td { font-family: var(--mincho); color: var(--ink); }
@media(max-width:820px){ .access-info{grid-template-columns:1fr;} .access-steps{grid-template-columns:1fr;} }

/* =========================================================
   FOOTER
   ========================================================= */
footer.foot {
  background: var(--black); color: var(--ivory);
  text-align:center; padding: clamp(90px,14vw,150px) 0;
}
footer.foot .foot-logo {
  width: clamp(180px, 26vw, 260px); height: auto; margin: 0 auto 44px;
  opacity: .9;
}
footer.foot .see {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2.4rem, 7vw, 4.2rem); color: var(--ivory); letter-spacing:.02em;
}
footer.foot .foot-links { display:flex; gap:18px; justify-content:center; margin-top: 44px; }
footer.foot .credit { margin-top: 60px; font-size: 10px; letter-spacing:.3em; text-transform:uppercase; color:#6a6258; }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature.flip .feature-media { order: 0; }
  .feature.editorial,
  .feature.editorial.flip { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .feature.editorial .feature-body { max-width: none; padding: 0 var(--gutter); justify-self: stretch; }
  .feature.editorial .feature-media { margin-block: 0; }
  .feature.editorial .feature-media figure { aspect-ratio: 3/2; }
  .art-grid { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 0; background: rgba(23,19,15,.97); flex-direction: column; justify-content: center; gap: 30px; transform: translateY(-100%); transition: transform .5s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--ivory); font-size: 15px; }
  .nav-links a:not(.btn) { color: var(--ivory); }
  .nav-toggle { display: block; z-index: 210; position: relative; }
  .nav-toggle span { display:block; width:26px; height:2px; background: var(--ink); margin:6px 0; transition: .35s var(--ease); }
  header.nav.menu-open .nav-toggle span { background: var(--ivory); }
  header.nav.menu-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  header.nav.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
  header.nav.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transition: opacity 1s ease; transform: none; }
}
