/* ==========================================================================
   松尾珈琲 - 全ページ共通スタイル
   デザインコンセプト: 写真を主役に、余白で空気を語る。没入と静寂。
   ========================================================================== */

:root {
  /* Color palette — 秋田杉の色相から */
  --bg: #F9F6F0;
  --bg-warm: #F5F0E6;
  --bg-dark: #EDE6D8;
  --primary: #8B6239;
  --secondary: #C9A84C;
  --accent: #A0785A;
  --text: #2C1810;
  --text-light: #6B5D52;
  --text-muted: #9A8E82;
  --border: rgba(139, 98, 57, 0.12);
  --white: #ffffff;

  /* Typography */
  --font-serif: "Zen Old Mincho", "Shippori Mincho B1", "Noto Serif JP", serif;
  --font-body: "Shippori Mincho B1", "Zen Old Mincho", "Noto Serif JP", serif;

  /* Layout */
  --max-width: 1200px;
  --content-width: 960px;
  --header-height: 72px;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
  --space-xxl: 180px;
}

/* ---------- A11y: Skip link ---------- */
.skip-link {
  position: absolute;
  left: 0; top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform .2s ease;
  text-decoration: underline;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------- A11y: Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  opacity: 1;
}

/* ---------- A11y: Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .photo-band-img { transform: none !important; }
  .fade-in, .reveal-left, .reveal-right, .mask-reveal, .stagger-children {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
a:hover { opacity: 0.65; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--text);
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: clamp(17px, 2vw, 22px); }
p { font-size: clamp(15px, 1.15vw, 17px); line-height: 2.1; }

.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-family: var(--font-serif);
  position: relative;
}
.section-label::before,
.section-label::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  opacity: 0.4;
}
.section-label::before { margin-right: 16px; }
.section-label::after { margin-left: 16px; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background .5s ease, border-color .5s ease, backdrop-filter .5s ease;
  border-bottom: 1px solid transparent;
}
/* Transparent on hero */
.site-header--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--transparent .site-logo,
.site-header--transparent .site-nav a {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.site-header--transparent .site-logo small {
  color: rgba(255,255,255,0.7);
}
.site-header--transparent .nav-toggle span {
  background: var(--white);
}
/* Solid after scroll */
.site-header--solid {
  background: rgba(249, 246, 240, 0.95);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header--solid .site-logo,
.site-header--solid .site-nav a {
  color: var(--text);
  text-shadow: none;
}
/* Subpage default solid */
.site-header--page {
  background: rgba(249, 246, 240, 0.95);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition: color .5s ease, text-shadow .5s ease;
}
.site-logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-top: 2px;
  font-weight: 400;
  transition: color .5s ease;
}
.site-nav ul {
  display: flex;
  gap: var(--space-lg);
}
.site-nav a {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  position: relative;
  padding: 8px 0;
  transition: color .5s ease, text-shadow .5s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.site-nav a:hover::after,
.site-nav a.current::after { transform: scaleX(1); }
.site-nav a:hover { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s ease, top .3s ease, opacity .3s ease, background .5s ease;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-open .nav-toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 16px; transform: rotate(-45deg); }
.nav-open .nav-toggle span { background: var(--text); }

/* ---------- Page wrapper ---------- */
.page { padding-top: var(--header-height); }
.page-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  height: 55vh;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1208;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 8s ease-out;
}
.page-hero.loaded img {
  transform: scale(1.03);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.4) 100%);
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: var(--white) !important;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  letter-spacing: 0.3em;
}
.page-hero h1 small {
  display: block;
  font-size: 0.35em;
  letter-spacing: 0.5em;
  margin-top: var(--space-sm);
  opacity: 0.7;
  font-weight: 400;
}

/* ---------- Section base ---------- */
section { padding: var(--space-xl) 0; }

/* ---------- Home: Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: heroZoom 16s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.02) 35%,
    rgba(0,0,0,0.08) 65%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 var(--space-md);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 600;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  margin-bottom: var(--space-md);
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1.8s ease 0.3s forwards;
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  opacity: 0;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
  animation: heroReveal 1.8s ease 0.8s forwards;
}
@keyframes heroReveal {
  to { opacity: 0.95; transform: translateY(0); }
}
.hero-scroll {
  position: absolute;
  bottom: 48px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.3em;
  opacity: 0;
  writing-mode: vertical-rl;
  animation: heroReveal 1.5s ease 1.5s forwards;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background: var(--white);
  margin: 12px auto 0;
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

/* ---------- Home: Intro ---------- */
.intro {
  padding: var(--space-xxl) 0;
  text-align: center;
  background: var(--bg);
}
.intro h2 {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}
.intro-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-light);
}
.intro-text p + p { margin-top: 1.5em; }
.intro-image {
  margin-top: var(--space-xl);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
  overflow: hidden;
}
.intro-image img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

/* ---------- Parallax photo band ---------- */
.photo-band {
  height: 60vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-band-img {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}
.photo-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}
.photo-band-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.photo-band-text h2 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: 0.3em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  line-height: 1.8;
}
.photo-band-text p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.4em;
  margin-top: var(--space-sm);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* ---------- Home: Space preview ---------- */
.space-preview {
  padding: var(--space-xxl) 0;
  background: var(--bg-dark);
}
.space-preview-header {
  max-width: var(--content-width);
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-md);
  text-align: center;
}
.space-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 6px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.space-grid .space-cell {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
}
.space-grid .space-cell:first-child { aspect-ratio: 3 / 5; }
.space-grid .space-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .6s ease;
  pointer-events: none;
}
.space-grid .space-cell:hover::after {
  background: rgba(139,98,57,0.08);
}
.space-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.25, 0, 0.2, 1);
}
.space-grid .space-cell:hover img { transform: scale(1.06); }
.space-preview-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- Home: Food highlight ---------- */
.food {
  padding: var(--space-xxl) 0;
  background: var(--bg);
}
.food-header { text-align: center; margin-bottom: var(--space-xl); }
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.food-item figure {
  margin-bottom: var(--space-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}
.food-item figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.food-item figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0, 0.2, 1);
}
.food-item:hover figure img { transform: scale(1.05); }
.food-item h4 {
  margin-bottom: var(--space-xs);
  font-size: 20px;
  letter-spacing: 0.15em;
}
.food-item p { font-size: 14px; color: var(--text-light); line-height: 2; }

/* ---------- Home: Access preview ---------- */
.access-preview {
  padding: var(--space-xxl) 0;
  background: var(--bg-dark);
  text-align: center;
}
.access-preview dl {
  max-width: 520px;
  margin: var(--space-xl) auto;
  font-size: 15px;
  line-height: 2.2;
}
.access-preview dl div {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  border-bottom: 1px dashed var(--border);
  padding: var(--space-sm) 0;
}
.access-preview dt {
  font-weight: 600;
  color: var(--primary);
  min-width: 90px;
  text-align: right;
}
.access-preview dd { text-align: left; }

/* ---------- Buttons ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--text);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--text);
  transition: gap .4s ease, opacity .3s ease;
}
.btn-line::after {
  content: "→";
  transition: transform .4s ease;
}
.btn-line:hover {
  opacity: 1;
  gap: 24px;
}
.btn-line:hover::after { transform: translateX(4px); }

/* ---------- Menu page ---------- */
.menu-section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}
.menu-section:last-child { border-bottom: none; }
.menu-section h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  color: var(--primary);
  letter-spacing: 0.2em;
}
.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dotted var(--border);
}
.menu-item-name {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}
.menu-item-note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.menu-item-price {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--primary);
  white-space: nowrap;
}
.menu-intro {
  padding: var(--space-xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}
.menu-intro p { max-width: 560px; margin: 0 auto; color: var(--text-light); }

/* Menu photo break */
.menu-photo-break {
  padding: var(--space-lg) 0;
  display: flex;
  gap: var(--space-sm);
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}
.menu-photo-break img {
  flex: 1;
  height: 220px;
  object-fit: cover;
}

/* ---------- Space page ---------- */
.space-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border);
}
.space-feature:nth-child(even) { direction: rtl; }
.space-feature:nth-child(even) > * { direction: ltr; }
.space-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.space-feature-text .num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--secondary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1;
  opacity: 0.6;
}
.space-feature-text h3 {
  margin-bottom: var(--space-md);
  letter-spacing: 0.15em;
}
.space-feature-text p { color: var(--text-light); }
.space-gallery {
  padding: var(--space-xxl) 0;
  background: var(--bg-dark);
}
.space-gallery h2 { text-align: center; margin-bottom: var(--space-xl); letter-spacing: 0.2em; }
.space-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.space-gallery-grid figure { overflow: hidden; aspect-ratio: 3 / 4; }
.space-gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0, 0.2, 1);
}
.space-gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- Access page ---------- */
.access-info {
  padding: var(--space-xl) 0;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
}
.access-table th, .access-table td {
  padding: var(--space-md) var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.access-table th {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary);
  width: 140px;
  letter-spacing: 0.2em;
}
.access-map {
  padding: var(--space-xl) 0;
  background: var(--bg-dark);
}
.access-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  display: block;
}
.faq {
  padding: var(--space-xxl) 0;
}
.faq h2 { text-align: center; margin-bottom: var(--space-xl); letter-spacing: 0.2em; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.faq-q {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  padding-left: 32px;
  position: relative;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.faq-q::before {
  content: "Q.";
  position: absolute;
  left: 0; top: 0;
  color: var(--primary);
  font-size: 20px;
}
.faq-a {
  padding-left: 32px;
  position: relative;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2;
}
.faq-a::before {
  content: "A.";
  position: absolute;
  left: 0; top: 0;
  color: var(--secondary);
  font-size: 20px;
  font-family: var(--font-serif);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1C140E;
  color: #c4b8aa;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 {
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  letter-spacing: 0.3em;
  margin-bottom: var(--space-md);
}
.site-footer small {
  font-size: 10px;
  letter-spacing: 0.3em;
  display: block;
  opacity: 0.5;
  margin-top: 4px;
}
.site-footer p { font-size: 13px; line-height: 2; color: #c4b8aa; }
.site-footer ul { font-size: 13px; line-height: 2.2; }
.site-footer a { color: #c4b8aa; transition: color .3s ease; }
.site-footer a:hover { color: var(--white); opacity: 1; }
.site-footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  opacity: 0.35;
  color: #c4b8aa;
}

/* ---------- Scroll animations ---------- */
/* Fade up (default) */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0, 0.2, 1), transform 1s cubic-bezier(0.25, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.2s cubic-bezier(0.25, 0, 0.2, 1), transform 1.2s cubic-bezier(0.25, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.2s cubic-bezier(0.25, 0, 0.2, 1), transform 1.2s cubic-bezier(0.25, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mask reveal for images */
.mask-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.25, 0, 0.2, 1);
}
.mask-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.36s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root {
    --space-xl: 80px;
    --space-xxl: 120px;
    --header-height: 60px;
  }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    padding: calc(var(--header-height) + 48px) var(--space-md) var(--space-lg);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.25, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0,0,0,0.08);
    visibility: hidden;
  }
  .nav-open .site-nav { transform: translateX(0); visibility: visible; }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; gap: var(--space-md); }
  .site-nav a {
    font-size: 18px;
    padding: 12px 0;
    color: var(--text) !important;
    text-shadow: none !important;
  }
  .nav-toggle { display: block; }

  .space-grid {
    grid-template-columns: 1fr 1fr;
  }
  .space-grid .space-cell:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }

  .food-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .food-item figure { aspect-ratio: 4 / 3; }

  .space-feature {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
  }
  .space-feature:nth-child(even) { direction: ltr; }
  .space-feature img { aspect-ratio: 4 / 3; }

  .space-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .site-footer-inner { grid-template-columns: 1fr; gap: var(--space-md); }

  .access-table th { width: 100px; font-size: 13px; }

  .menu-item { flex-wrap: wrap; }

  .hero-title { letter-spacing: 0.3em; text-indent: 0.3em; }

  .photo-band { height: 50vh; min-height: 320px; }

  .menu-photo-break img { height: 180px; }

  .section-label::before,
  .section-label::after { width: 20px; }
}

@media (max-width: 560px) {
  :root {
    --space-xl: 60px;
    --space-xxl: 100px;
  }
  body { font-size: 15px; }
  .page-hero { height: 45vh; min-height: 300px; }
  .space-gallery-grid { grid-template-columns: 1fr; }
  .photo-band { height: 45vh; min-height: 280px; }
  .menu-photo-break { flex-direction: column; }
  .menu-photo-break img { height: 200px; }
  .section-label::before,
  .section-label::after { width: 16px; }
}

/* ---------- Blog ---------- */
.breadcrumb {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) 0;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current="page"] { color: var(--text-light); }

.blog-list {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xxl);
  display: grid;
  gap: var(--space-lg);
}
.blog-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-md);
  align-items: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.blog-card:last-child { border-bottom: none; }
.blog-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.blog-card h2 {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.blog-card h2 a { color: inherit; }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.article-meta time,
.article-meta .category { display: inline-block; }
.article h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--text);
  letter-spacing: 0.04em;
}
.article-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}
.article-hero {
  margin: var(--space-lg) calc(var(--space-md) * -1);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.article-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-body { font-size: 15.5px; line-height: 2.1; color: var(--text); }
.article-body h2 {
  font-size: 22px;
  line-height: 1.6;
  margin: var(--space-lg) 0 var(--space-md);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--accent);
  color: var(--text);
}
.article-body h3 {
  font-size: 17px;
  margin: var(--space-md) 0 var(--space-sm);
  color: var(--primary);
}
.article-body p { margin-bottom: var(--space-md); }
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--primary); }
.article-body ul, .article-body ol {
  margin: 0 0 var(--space-md) 1.4em;
}
.article-body li { margin-bottom: 6px; }
.article-body figure {
  margin: var(--space-lg) calc(var(--space-md) * -1);
}
.article-body figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-body figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  letter-spacing: 0.08em;
}
.article-body blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  font-size: 14.5px;
  color: var(--text-light);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-author {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-warm);
  border: 1px solid var(--border);
}
.article-author h3 {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.article-author .name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  margin-bottom: var(--space-xs);
}
.article-author p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-light);
}

.article-sources {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.9;
}
.article-sources h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}
.article-sources ul { margin-left: 1.2em; }

.article-tldr {
  margin: 0 0 var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  font-size: 14px;
  line-height: 1.9;
}
.article-tldr h3 {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.article-tldr p { margin: 0; color: var(--text); }

.article-faq {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.article-faq h2 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  border-left: 3px solid var(--accent);
  padding-left: var(--space-sm);
  line-height: 1.6;
}
.article-faq details {
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}
.article-faq summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text);
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-left: 28px;
}
.article-faq summary::before {
  content: "Q.";
  color: var(--accent);
  font-weight: 600;
  position: absolute;
  left: 0;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq details[open] summary { color: var(--accent); }
.article-faq .answer {
  padding: var(--space-sm) 0 var(--space-sm) 28px;
  position: relative;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.95;
}
.article-faq .answer::before {
  content: "A.";
  color: var(--text-muted);
  font-weight: 600;
  position: absolute;
  left: 0;
  top: var(--space-sm);
}

.related-posts {
  background: var(--bg-warm);
  padding: var(--space-xl) 0;
}
.related-posts-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.related-posts h2 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.related-grid a {
  color: var(--text);
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color .3s ease, transform .3s ease;
}
.related-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.related-grid time {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.related-grid .t {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

@media (max-width: 768px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-image { aspect-ratio: 16 / 9; }
  .article-hero { margin: var(--space-md) calc(var(--space-md) * -1); }
  .related-grid { grid-template-columns: 1fr; }
}
