/* ==========================================================================
   NAZ HOUSE — AUTHENTIC EXPERIENCE
   Strict palette, typography, arches, flourishes & textures from naz-menu.pdf
   ========================================================================== */

@font-face {
  font-family: 'MyanmarMN';
  src: url('assets/fonts/MyanmarMN-subset.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Exact PDF palette */
  --teal: #02434c;
  --teal-deep: #01333a;
  --teal-abyss: #012327;
  --slate: #104555;
  --teal-muted: #366b71;
  --cream: #fbeede;
  --cream-bright: #fffaf3;
  --cream-soft: #f1dec7;
  --orange: #d05e15;
  --copper: #cd6526;
  --copper-deep: #a54810;
  --powder: #b5ccd4;

  /* Typography */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'MyanmarMN', 'Montserrat', serif;

  /* Layout & Motion */
  --header-h: 72px;
  --container-max: 1220px;
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--teal);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  background-color: var(--teal);
  color: var(--cream);
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Surfaces & Tactile Paper Speckle
   -------------------------------------------------------------------------- */
.surface-teal {
  background-color: var(--teal);
  color: var(--cream);
}

.surface-teal-deep {
  background-color: var(--teal-deep);
  color: var(--cream);
}

.surface-cream {
  background-color: var(--cream);
  color: var(--teal);
}

.surface-orange {
  background-color: var(--orange);
  color: var(--cream-bright);
}

.speckle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('assets/textures/naz-speckle.webp');
  background-size: 560px auto;
  background-repeat: repeat;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.surface-cream > .speckle-layer {
  opacity: 0.24;
  mix-blend-mode: multiply;
}

.surface-orange > .speckle-layer {
  opacity: 0.16;
  mix-blend-mode: soft-light;
}

.dot-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Scroll Progress Hairline
   -------------------------------------------------------------------------- */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}

.scroll-rail__bar {
  width: 100%;
  height: 100%;
  background: var(--copper);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Adaptive Editorial Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
  color: var(--cream);
  transition: background-color 0.35s var(--ease-editorial), color 0.35s var(--ease-editorial), border-color 0.35s var(--ease-editorial), backdrop-filter 0.35s var(--ease-editorial);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(2, 67, 76, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(251, 238, 222, 0.14);
}

.site-header[data-theme='light'] {
  color: var(--teal);
}

.site-header[data-theme='light'].is-scrolled {
  background-color: rgba(251, 238, 222, 0.92);
  border-bottom-color: rgba(2, 67, 76, 0.12);
}

.brand-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 46px;
  flex-shrink: 0;
}

.brand-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s var(--ease-editorial);
}

.brand-mark--teal {
  opacity: 0;
}

.site-header[data-theme='light'] .brand-mark--cream {
  opacity: 0;
}

.site-header[data-theme='light'] .brand-mark--teal {
  opacity: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.8vw, 2.75rem);
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding: 0.35rem 0;
  opacity: 0.86;
  transition: opacity 0.25s var(--ease-soft);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-editorial);
}

.nav-link:hover, .nav-link:focus-visible {
  opacity: 1;
}

.nav-link:hover::after, .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-arch-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.56rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  transition: background-color 0.28s var(--ease-editorial), color 0.28s var(--ease-editorial), border-color 0.28s var(--ease-editorial);
}

.btn-arch-sm:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--cream-bright);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
}

.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s var(--ease-editorial);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(1, 35, 39, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-editorial);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--teal);
  color: var(--cream);
  padding: 1.75rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(251, 238, 222, 0.14);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-editorial);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer__links {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer__links a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(251, 238, 222, 0.14);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  transition: color 0.2s, padding-left 0.25s var(--ease-editorial);
}

.mobile-drawer__links a:hover {
  color: var(--copper);
  padding-left: 0.5rem;
}

.mobile-drawer__motto {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  opacity: 0.65;
}

.icon-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251, 238, 222, 0.35);
  background: transparent;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.icon-close:hover {
  background: rgba(251, 238, 222, 0.12);
}

.icon-close--teal {
  border-color: rgba(2, 67, 76, 0.28);
  color: var(--teal);
}

.icon-close--teal:hover {
  background: rgba(2, 67, 76, 0.08);
}

/* --------------------------------------------------------------------------
   Shared Buttons, Typography & Reveals
   -------------------------------------------------------------------------- */
.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.85rem;
  background: var(--orange);
  color: var(--cream-bright);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  transition: background-color 0.28s var(--ease-editorial), transform 0.28s var(--ease-editorial), border-color 0.28s;
}

.btn-copper:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  transform: translateY(-2px);
}

.btn-ghost-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.75rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(251, 238, 222, 0.45);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  transition: background-color 0.28s var(--ease-editorial), border-color 0.28s, transform 0.28s var(--ease-editorial);
}

.btn-ghost-cream:hover {
  background: rgba(251, 238, 222, 0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(2, 67, 76, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  transition: background-color 0.22s, color 0.22s;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--cream);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow--copper {
  color: var(--copper-deep);
}

.display-heading {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.display-heading--teal {
  color: var(--teal);
}

.flourish-svg {
  display: block;
  width: 128px;
  height: auto;
  margin: 1.35rem 0;
}

.editorial-body {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.04rem);
  font-weight: 400;
  line-height: 1.78;
  max-width: 54ch;
}

.editorial-body--teal {
  color: var(--slate);
}

/* Entrance Reveal Choreography */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-editorial), transform 0.85s var(--ease-editorial);
}

[data-reveal][data-delay='1'] { transition-delay: 0.1s; }
[data-reveal][data-delay='2'] { transition-delay: 0.2s; }
[data-reveal][data-delay='3'] { transition-delay: 0.3s; }

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ACT I: PAGE 01 COVER HERO — DEEP TEAL + CREAM ARCH PORTAL
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vh, 3.2rem)) clamp(1.25rem, 4vw, 3.5rem) clamp(3.8rem, 6vh, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__geo-arc {
  position: absolute;
  border: 1px solid rgba(251, 238, 222, 0.1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__geo-arc--tl {
  width: clamp(340px, 42vw, 620px);
  height: clamp(340px, 42vw, 620px);
  top: -180px;
  left: -170px;
}

.hero__geo-arc--br {
  width: clamp(420px, 50vw, 760px);
  height: clamp(420px, 50vw, 760px);
  bottom: -290px;
  right: -210px;
}

.botanical-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  filter: saturate(0.8);
  user-select: none;
}

.botanical-corner--tr {
  top: -30px;
  right: -40px;
  width: clamp(220px, 28vw, 420px);
}

.botanical-corner--bl {
  bottom: -40px;
  left: -40px;
  width: clamp(220px, 26vw, 390px);
  transform: rotate(180deg);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.hero__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo-stage {
  margin-bottom: clamp(1.2rem, 2.6vh, 2rem);
}

.hero__logo-svg {
  width: clamp(165px, 19vw, 240px);
  height: auto;
}

.hero__meta {
  max-width: 48ch;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--powder);
}

.hero__kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.hero__title {
  margin: 0.65rem 0 0.9rem;
  font-weight: 200;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0.24em;
  color: var(--cream);
}

.hero__lead {
  margin: 0;
  font-size: clamp(0.92rem, 1.15vw, 1.03rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(251, 238, 222, 0.86);
}

.hero__cta-row {
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__portal-col {
  display: flex;
  justify-content: center;
}

.hero-arch {
  position: relative;
  width: min(410px, 100%);
}

.hero-arch__frame {
  position: relative;
  aspect-ratio: 3 / 4.05;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(251, 238, 222, 0.38);
  padding: 11px;
  background: var(--teal-deep);
}

.hero-arch__frame::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 999px 999px 10px 10px;
  border: 1px solid rgba(251, 238, 222, 0.24);
  pointer-events: none;
  z-index: 2;
}

.hero-arch__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 10px 10px;
  transform: scale(1.06);
  will-change: transform;
}

.hero-arch__badge {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--powder);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(251, 238, 222, 0.72);
  transition: color 0.25s;
}

.scroll-cue:hover {
  color: var(--cream);
}

.scroll-cue__label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.scroll-cue__line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--copper), transparent);
  animation: scrollBreath 2.2s var(--ease-editorial) infinite;
}

@keyframes scrollBreath {
  0%, 100% { transform: scaleY(0.65); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   ACT II: PAGE 02 WELCOME THRESHOLD — CREAM + ARCHED TEAL DOOR
   ========================================================================== */
.welcome {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3.5rem);
  overflow: hidden;
}

.welcome__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.welcome__door-stage {
  display: flex;
  justify-content: center;
}

.door-wrap {
  position: relative;
  width: min(360px, 84%);
  aspect-ratio: 408 / 719;
  will-change: transform;
}

.door-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Positioned strictly at the PDF's measured WELCOME plaque coordinates inside viewBox 93.68 126.94 407.91 718.95 */
.door-welcome-plaque {
  position: absolute;
  top: 24.4%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.8vw, 1.38rem);
  letter-spacing: 0.24em;
  color: var(--copper);
  pointer-events: none;
  user-select: none;
  transform-origin: center top;
  transition: transform 0.6s var(--ease-editorial);
}

.door-wrap:hover .door-welcome-plaque {
  transform: translate(-50%, -50%) rotate(-1.6deg);
}

.house-pillars {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(2, 67, 76, 0.2);
  border-radius: 14px 14px 4px 4px;
  background: rgba(255, 250, 243, 0.42);
  transition: background-color 0.32s var(--ease-editorial), color 0.32s var(--ease-editorial), border-color 0.32s, transform 0.32s var(--ease-editorial);
}

.pillar-card:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
  transform: translateY(-3px);
}

.pillar-card__num {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--copper-deep);
  transition: color 0.3s;
}

.pillar-card:hover .pillar-card__num {
  color: var(--powder);
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.1em;
}

.pillar-card__sub {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.48;
  opacity: 0.8;
}

/* ==========================================================================
   ACT III: MOTIONSITES-INSPIRED STICKY EDITORIAL STORYBOARD (#craft)
   ========================================================================== */
.craft-storyboard {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
  transition: background-color 0.75s var(--ease-editorial), color 0.65s var(--ease-editorial);
}

.craft-storyboard[data-surface='teal'] {
  background-color: var(--teal);
  color: var(--cream);
  --craft-muted: var(--powder);
  --craft-rule: rgba(251, 238, 222, 0.22);
  --craft-frame-bg: var(--teal-deep);
  --craft-accent: var(--copper);
}

.craft-storyboard[data-surface='orange'] {
  background-color: var(--orange);
  color: var(--cream-bright);
  --craft-muted: var(--teal-abyss);
  --craft-rule: rgba(1, 35, 39, 0.26);
  --craft-frame-bg: #b44e0f;
  --craft-accent: var(--teal);
}

.craft-storyboard[data-surface='cream'] {
  background-color: var(--cream);
  color: var(--teal);
  --craft-muted: var(--copper-deep);
  --craft-rule: rgba(2, 67, 76, 0.2);
  --craft-frame-bg: var(--cream-soft);
  --craft-accent: var(--orange);
}

.craft-storyboard__shell {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.craft-visual-col {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.craft-sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.craft-sticky__top {
  width: min(390px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--craft-muted);
}

.craft-arch-stage {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 3 / 4.05;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid var(--craft-rule);
  padding: 10px;
  background: var(--craft-frame-bg);
  transition: background-color 0.7s var(--ease-editorial), border-color 0.7s;
}

.craft-slide {
  position: absolute;
  inset: 10px;
  margin: 0;
  border-radius: 999px 999px 10px 10px;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.75s var(--ease-editorial), transform 0.95s var(--ease-editorial);
  pointer-events: none;
}

.craft-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.craft-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(1, 35, 39, 0.76), transparent);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.craft-dots {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.craft-dot {
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.craft-dot__pip {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.34;
  transition: width 0.35s var(--ease-editorial), opacity 0.35s, background-color 0.35s;
}

.craft-dot.is-active .craft-dot__pip {
  width: 26px;
  opacity: 1;
  background: var(--craft-accent);
}

.craft-steps-col {
  display: flex;
  flex-direction: column;
}

.craft-step {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--craft-rule);
  opacity: 0.36;
  transition: opacity 0.55s var(--ease-editorial), border-color 0.6s;
}

.craft-step:last-child {
  border-bottom: 0;
}

.craft-step.is-active {
  opacity: 1;
}

.craft-step__mobile-media {
  display: none;
}

.craft-step__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--craft-muted);
}

.craft-step__rule {
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.craft-step__title {
  margin: 1rem 0 1.15rem;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0.12em;
}

.craft-step__caption {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  font-weight: 400;
  line-height: 1.78;
  max-width: 48ch;
  opacity: 0.92;
}

.craft-storyboard[data-surface='orange'] .craft-step__caption {
  color: var(--teal-abyss);
  font-weight: 500;
}

.craft-step__cta {
  margin-top: 1.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 0.78rem 1.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  transition: background-color 0.28s var(--ease-editorial), color 0.28s, border-color 0.28s, transform 0.28s var(--ease-editorial);
}

.craft-step__cta:hover {
  background: var(--teal-abyss);
  border-color: var(--teal-abyss);
  color: var(--cream);
  transform: translateY(-2px);
}

.craft-step__arrow {
  transition: transform 0.28s var(--ease-editorial);
}

.craft-step__cta:hover .craft-step__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ACT IV: THE COMPLETE 19-PAGE MENU BOOK (#menu)
   ========================================================================== */
.menu-book__intro {
  position: relative;
  padding: clamp(4.2rem, 8vw, 6.8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.8rem, 5vw, 4rem);
  text-align: center;
}

.menu-book__intro-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sticky Category Rail & Search */
.menu-controls {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(251, 238, 222, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(2, 67, 76, 0.14);
  border-bottom: 1px solid rgba(2, 67, 76, 0.14);
  color: var(--teal);
}

.menu-controls__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.72rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-tabs {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.15rem 0;
  min-width: 0;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex-shrink: 0;
  padding: 0.52rem 0.95rem;
  border: 1px solid rgba(2, 67, 76, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  transition: background-color 0.22s, color 0.22s, border-color 0.22s;
}

.menu-tab:hover {
  border-color: var(--teal);
}

.menu-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}

.menu-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: clamp(200px, 24vw, 270px);
}

.menu-search__icon {
  position: absolute;
  left: 0.85rem;
  color: var(--teal-muted);
  pointer-events: none;
}

.menu-search input {
  width: 100%;
  padding: 0.54rem 2.1rem 0.54rem 2.3rem;
  border: 1px solid rgba(2, 67, 76, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 400;
  transition: border-color 0.2s, background-color 0.2s;
}

.menu-search input::placeholder {
  color: rgba(2, 67, 76, 0.55);
}

.menu-search input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--cream-bright);
}

.menu-search__clear {
  position: absolute;
  right: 0.55rem;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 67, 76, 0.12);
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-search__clear[hidden] {
  display: none;
}

/* Individual Menu Chapters */
.menu-chapter {
  position: relative;
  padding: clamp(4rem, 7.5vw, 6.5rem) clamp(1.25rem, 4vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.menu-chapter__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.menu-chapter--with-photo .menu-chapter__inner {
  max-width: var(--container-max);
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: start;
}

.chapter-photo-col {
  position: sticky;
  top: calc(var(--header-h) + 5.2rem);
}

.chapter-photo {
  margin: 0;
}

.chapter-photo__arch {
  aspect-ratio: 3 / 4.05;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  padding: 9px;
  border: 1px solid currentColor;
  border-color: rgba(251, 238, 222, 0.34);
}

.surface-cream .chapter-photo__arch {
  border-color: rgba(2, 67, 76, 0.28);
}

.surface-orange .chapter-photo__arch {
  border-color: rgba(2, 67, 76, 0.42);
}

.chapter-photo__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 9px 9px;
  transition: transform 0.8s var(--ease-editorial);
}

.chapter-photo:hover .chapter-photo__arch img {
  transform: scale(1.035);
}

.chapter-photo__cap {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  opacity: 0.82;
}

.surface-orange .chapter-photo__cap {
  color: var(--teal-abyss);
  opacity: 0.92;
}

.chapter-head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chapter-page-ref {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  opacity: 0.72;
  margin-bottom: 0.65rem;
}

.surface-orange .chapter-page-ref {
  color: var(--teal-abyss);
  opacity: 0.9;
}

.chapter-heading {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.3vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading--teal { color: var(--teal); font-weight: 400; }
.heading--copper { color: var(--copper-deep); }
.heading--powder { color: var(--powder); }
.heading--slate { color: var(--slate); }
.heading--cream { color: var(--cream); }

.chapter-flourish {
  margin-top: 1.1rem;
  width: 118px;
  height: auto;
}

.chapter-unified-note {
  margin: 1.25rem 0 0;
  padding: 0.48rem 1.2rem;
  border: 1px solid rgba(205, 101, 38, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--copper-deep);
}

/* Menu Groups */
.chapter-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(2.4rem, 4.5vw, 3.4rem);
}

.menu-group--inset-teal {
  background: var(--teal);
  color: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.35rem, 3.5vw, 2.6rem);
  border-radius: 28px 28px 12px 12px;
  border: 1px solid rgba(2, 67, 76, 0.18);
}

.menu-group__head {
  text-align: center;
  margin-bottom: 1.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.title--teal { color: var(--teal); }
.title--orange { color: var(--orange); }
.title--copper { color: var(--copper-deep); }
.surface-teal .title--orange,
.menu-group--inset-teal .title--orange { color: #f08943; }

.menu-group__sub {
  margin-top: 0.35rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  opacity: 0.74;
}

.menu-group__flourish {
  margin-top: 0.7rem;
  width: 82px;
  height: auto;
}

/* Centered Editorial Menu Layout (P.04, P.05, P.08, P.12, P.13, P.15, P.17) */
.menu-centered {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: center;
}

.menu-centered--compact {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(2, 67, 76, 0.16);
}

.centered-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(251, 238, 222, 0.14);
}

.surface-cream .centered-item {
  border-bottom-color: rgba(2, 67, 76, 0.11);
}

.menu-group--inset-teal .centered-item {
  border-bottom-color: rgba(251, 238, 222, 0.14);
}

.surface-orange .centered-item {
  border-bottom-color: rgba(2, 67, 76, 0.2);
}

.centered-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.menu-centered--compact .centered-item {
  border-bottom: 0;
  padding-bottom: 0;
}

.centered-item__head {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
}

.centered-item__name {
  font-size: clamp(0.92rem, 1.25vw, 1.04rem);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.centered-item__price {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.centered-item__desc {
  margin: 0.38rem auto 0;
  max-width: 54ch;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.82;
}

.surface-orange .centered-item__desc,
.surface-orange .ledger-row__desc {
  color: var(--teal-abyss);
  font-weight: 500;
  opacity: 0.94;
}

/* Two-Column Ledger Layout (P.09, P.11, P.13 Milkshakes, P.15) */
.menu-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.ledger-row {
  padding: 0.42rem 0;
}

.ledger-row__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ledger-row__left {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ledger-row__name {
  font-size: clamp(0.88rem, 1.18vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.13em;
}

.ledger-row__leader {
  flex: 1 1 20px;
  height: 1px;
  border-bottom: 1px dotted currentColor;
  opacity: 0.34;
  min-width: 16px;
}

.ledger-row__right {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.ledger-row__price {
  font-size: 0.94rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.ledger-row__desc {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.78;
  line-height: 1.48;
}

.item-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 0.16rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.78;
}

/* PDF-Faithful Item Color Accents */
.surface-teal .is-accent-orange .ledger-row__name,
.surface-teal .is-accent-orange .centered-item__name {
  color: #f4934f;
}

.surface-teal .is-accent-powder .centered-item__name,
.surface-teal .is-accent-powder .ledger-row__name {
  color: var(--powder);
}

.surface-orange .is-accent-teal .ledger-row__name,
.surface-orange .is-accent-teal .ledger-row__price,
.surface-orange .is-accent-teal .centered-item__name {
  color: var(--teal-abyss);
  font-weight: 600;
}

.surface-orange .is-accent-powder .centered-item__name {
  color: var(--cream-bright);
}

.surface-cream .is-accent-orange .centered-item__name,
.surface-cream .is-accent-orange .centered-item__price {
  color: var(--copper-deep);
}

/* Specialty Coffee Origins Grid (P.09) */
.origins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.origin-card {
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(240, 137, 67, 0.45);
  border-radius: 999px 999px 10px 10px;
  background: rgba(1, 51, 58, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.origin-card__name {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.origin-card__sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--powder);
}

/* Inline Table Note Add Button */
.item-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  opacity: 0.72;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s, transform 0.22s var(--ease-editorial), border-color 0.2s;
}

.item-add-btn:hover {
  opacity: 1;
  background: var(--teal-abyss);
  border-color: var(--teal-abyss);
  color: var(--cream);
}

.item-add-btn.has-qty {
  opacity: 1;
  background: var(--teal-abyss);
  border-color: var(--teal-abyss);
  color: var(--cream);
  font-size: 0.74rem;
}

.surface-teal .item-add-btn.has-qty,
.menu-group--inset-teal .item-add-btn.has-qty {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--cream-bright);
}

.item-add-btn.is-popping {
  transform: scale(1.22);
}

/* Empty Search State */
.menu-empty {
  padding: 5rem 1.5rem;
  text-align: center;
}

.menu-empty[hidden] {
  display: none;
}

.menu-empty__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--teal);
}

.menu-empty__sub {
  margin: 0.75rem 0 1.75rem;
  font-size: 0.92rem;
  color: var(--slate);
}

/* ==========================================================================
   ACT V: PAGE 19 BACK COVER CLOSING — LIVE MORE WORRY LESS
   ========================================================================== */
.closing {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) clamp(1.25rem, 4vw, 3.5rem);
  overflow: hidden;
}

.closing__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.closing__arch-card {
  background: var(--cream);
  border-radius: 999px 999px 20px 20px;
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(251, 238, 222, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing__art-svg {
  width: min(360px, 100%);
  height: auto;
}

.closing__seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.45rem;
}

.closing__line {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--powder);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 1.65rem clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(251, 238, 222, 0.12);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(251, 238, 222, 0.78);
}

.site-footer__brand,
.site-footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__meta a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* ==========================================================================
   TABLE NOTE FLOATING PILL & SLIDE-OVER DRAWER
   ========================================================================== */
.tray-pill {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.85rem);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 238, 222, 0.28);
  background: var(--teal-abyss);
  color: var(--cream);
  box-shadow: 0 12px 30px rgba(1, 35, 39, 0.34);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  transition: transform 0.25s var(--ease-editorial), background-color 0.25s;
}

.tray-pill[hidden] {
  display: none;
}

.tray-pill:hover {
  transform: translateY(-2px);
  background: var(--teal);
}

.tray-pill__count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
}

.tray-pill__total {
  font-variant-numeric: tabular-nums;
  color: var(--powder);
}

.tray-drawer {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: none;
}

.tray-drawer.is-open {
  pointer-events: auto;
}

.tray-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 35, 39, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-editorial);
}

.tray-drawer.is-open .tray-drawer__backdrop {
  opacity: 1;
}

.tray-drawer__sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 94vw);
  background: var(--cream);
  color: var(--teal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-editorial);
  border-left: 1px solid rgba(2, 67, 76, 0.16);
}

.tray-drawer.is-open .tray-drawer__sheet {
  transform: translateX(0);
}

.tray-drawer__head {
  padding: 1.5rem 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(2, 67, 76, 0.14);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tray-drawer__title {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.tray-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.1rem 1.5rem;
}

.tray-empty {
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate);
}

.tray-row {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(2, 67, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tray-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.tray-row__cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--copper-deep);
}

.tray-row__name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.tray-row__unit {
  font-size: 0.74rem;
  color: var(--teal-muted);
}

.tray-row__ctrl {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.tray-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(2, 67, 76, 0.26);
  border-radius: 999px;
  overflow: hidden;
}

.tray-stepper button {
  width: 28px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 0.95rem;
}

.tray-stepper button:hover {
  background: rgba(2, 67, 76, 0.1);
}

.tray-stepper span {
  min-width: 24px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tray-row__sum {
  font-size: 0.84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tray-drawer__foot {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(2, 67, 76, 0.14);
  background: var(--cream-soft);
}

.tray-drawer__sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.tray-drawer__sum strong {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.tray-drawer__btns {
  display: flex;
  gap: 0.65rem;
}

.tray-drawer__btns .btn-copper {
  flex: 1;
  padding: 0.85rem 1rem;
}

.tray-drawer__toast {
  margin: 0.75rem 0 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--copper-deep);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet 1024px & Phone 390px)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner {
    gap: 2.5rem;
  }
  .hero-arch {
    width: min(350px, 100%);
  }
  .craft-storyboard__shell {
    gap: 2.75rem;
  }
}

@media (max-width: 959px) {
  :root {
    --header-h: 64px;
  }

  .header-nav,
  .btn-arch-sm {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4.5rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__identity {
    align-items: center;
  }

  .hero__kicker {
    justify-content: center;
  }

  .hero__cta-row {
    justify-content: center;
  }

  .hero-arch {
    width: min(310px, 84vw);
  }

  .welcome__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welcome__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .door-wrap {
    width: min(290px, 76vw);
  }

  .house-pillars {
    width: 100%;
    text-align: left;
  }

  /* Storyboard switches cleanly to non-overlapping editorial cards on mobile */
  .craft-storyboard__shell {
    grid-template-columns: 1fr;
  }

  .craft-visual-col {
    display: none;
  }

  .craft-step {
    min-height: auto;
    opacity: 1;
    padding: 2.5rem 0;
    gap: 1.5rem;
  }

  .craft-step__mobile-media {
    display: flex;
    justify-content: center;
  }

  .craft-step__arch {
    width: min(320px, 84vw);
    aspect-ratio: 3 / 3.85;
    border-radius: 999px 999px 14px 14px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--craft-rule);
    background: var(--craft-frame-bg);
  }

  .craft-step__arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px 999px 8px 8px;
  }

  .menu-controls__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .menu-search {
    width: 100%;
  }

  .menu-chapter--with-photo .menu-chapter__inner {
    grid-template-columns: 1fr;
  }

  .chapter-photo-col {
    position: static;
    max-width: 310px;
    margin: 0 auto;
  }

  .closing__inner {
    grid-template-columns: 1fr;
  }

  .closing__arch-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .house-pillars {
    grid-template-columns: 1fr;
  }

  .origins-grid {
    grid-template-columns: 1fr;
  }

  .hero__cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .ledger-row__main {
    gap: 0.45rem;
  }

  .ledger-row__leader {
    min-width: 10px;
  }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
