/* ==========================================================================
   MA — Omakase Sushi Restaurant
   Horizontal scroll · 4 panels · M ——— A
   ========================================================================== */



/* --- Font ---------------------------------------------------------------- */
@font-face {
  font-family: 'Time Sans Serif';
  src:
    url('/fonts/TimeSansSerif.woff2') format('woff2'),
    url('/fonts/TimeSansSerif.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens ------------------------------------------------------- */
:root {
  --color-bg: #f7f5f2;
  --color-text: #262626;
  --color-text-muted: #262626;
  --color-text-subtle: #262626;
  --color-btn-bg: #262626;
  --color-btn-text: #f7f5f2;
  --color-btn-hover: #3a3a3a;
  --color-border: #262626;
  --color-focus: #262626;
  --color-line: #262626;

  --font: 'Time Sans Serif', 'Georgia', 'Times New Roman', serif;
  --text-body: 1rem;
  --text-headline: 1.75rem;
  --text-letter: clamp(6rem, 14.5vh, 10.5rem);
  --text-logo: 0.8rem;

  --panel-pad: clamp(2.5rem, 5vw, 5rem);
  --logo-top: clamp(2rem, 4vh, 3rem);
  --line-top: 43%;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
}

/* --- Dark Theme ---------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #262626;
    --color-text: #f7f5f2;
    --color-text-muted: #f7f5f2;
    --color-text-subtle: #f7f5f2;
    --color-btn-bg: #f7f5f2;
    --color-btn-text: #262626;
    --color-btn-hover: #d9d7d4;
    --color-border: #f7f5f2;
    --color-focus: #f7f5f2;
    --color-line: #f7f5f2;
  }
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  /* Fluid base: 16px at 375px → 18px at 1440px */
  font-size: clamp(100%, 0.926rem + 0.188vw, 112.5%);
  height: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.2;
}

/* --- Accessibility ------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--panel-pad);
  padding: 0.5rem 1rem;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-size: 0.8rem;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  transition: top 150ms var(--ease);
}
.skip-link:focus {
  top: 0;
}
:focus-visible {
  outline: 2px solid var(--color-focus);
  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;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Scroll Container ---------------------------------------------------- */
.scroll-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  /* scroll-behavior handled by JS for anchors/keyboard only */
  /* no snap — continuous free scroll */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* --- Panel (shared) ------------------------------------------------------ */
.panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* --- Brush Line (scroll-driven, fills progressively) --------------------- */
.brush-line {
  position: absolute;
  top: var(--line-top);
  left: 22.5vw;
  width: calc(375vw + 5rem);
  height: calc(18.53vw + 0.25rem);
  transform: translateY(-50%);
  background: transparent;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  --reveal: 0%;
  -webkit-mask-image: url('/img/extended-line-web.svg'), linear-gradient(to right, black 0%, black calc(var(--reveal) - 3%), transparent var(--reveal));
  mask-image: url('/img/extended-line-web.svg'), linear-gradient(to right, black 0%, black calc(var(--reveal) - 3%), transparent var(--reveal));
  -webkit-mask-size: 100% 100%, 100% 100%;
  mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  /* opacity and --reveal driven entirely by JS — no CSS transition */
}

/* --- Fixed M——A Logo (appears after hero) -------------------------------- */
.site-logo {
  position: fixed;
  top: var(--logo-top);
  left: 5.56%;
  width: clamp(5rem, 11.25vw, 10.125rem);
  height: auto;
  color: var(--color-line);
  z-index: 100;
  user-select: none;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
  --logo-reveal: 0%;
  --logo-fade: 4%;
  -webkit-mask-image: linear-gradient(to right, black calc(var(--logo-reveal) - var(--logo-fade)), transparent var(--logo-reveal));
  mask-image: linear-gradient(to right, black calc(var(--logo-reveal) - var(--logo-fade)), transparent var(--logo-reveal));
}
.site-logo.is-visible {
  opacity: 1;
  pointer-events: auto;
}
/* Logo loaded as <img> — currentColor doesn't work, need filter for dark mode */
@media (prefers-color-scheme: dark) {
  .site-logo,
  .hero__logo {
    filter: invert(0.92);
  }
}

/* ==========================================================================
   Panel 1 — Hero (Large M)
   ========================================================================== */
.panel--hero {
  position: relative;
}

.hero__logo {
  display: none;
  color: var(--color-line);
}

.hero__m {
  position: absolute;
  left: calc(13.19% - var(--text-letter) * 0.185);
  top: calc(32.52% - var(--text-letter) * 0.167);
  width: auto;
  height: var(--text-letter);
  color: var(--color-line);
  z-index: 3;
  animation: fade-in 5s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* line-draw animation removed — JS handles both opacity and --reveal */
@keyframes line-hint {
  0%,
  100% {
    opacity: 0.15;
  }
  40%,
  60% {
    opacity: 0.4;
  }
}

@keyframes hint-fade-in {
  to { opacity: 1; }
}
@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Scroll hint (desktop only, hides on first scroll) ------------------- */
.scroll-hint {
  position: fixed;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--color-text);
  opacity: 0;
  animation: hint-fade-in 1.5s var(--ease) 3s forwards;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.scroll-hint::after {
  content: ' \2192';
}

.has-scrolled .scroll-hint {
  opacity: 0 !important;
  animation: none;
}

/* ==========================================================================
   Panel 2 — Story
   ========================================================================== */
.panel--story {
  position: relative;
  margin-right: 30vw;
}

.story__text {
  position: absolute;
  z-index: 3;
  left: 20.63%;
  top: var(--line-top);
}

.story__headline {
  font-size: var(--text-headline);
  margin-bottom: 1rem;
  transform: translateY(calc(-100% - 5rem));
}

.story__columns {
  display: flex;
  gap: 2.5rem;
}

.story__col {
  width: 18rem;
  flex-shrink: 0;
}
.story__col:nth-child(1) {
  margin-top: -2px;
}
.story__col:nth-child(2) {
  margin-top: 6px;
}
.story__col:nth-child(3) {
  margin-top: 14px;
}

.story__body {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

.story__col p {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

/* Story actions — two buttons side by side */
.story__actions {
  position: absolute;
  z-index: 3;
  left: 20.63%;
  bottom: 18%;
  display: flex;
  gap: 0.625rem;
}
.story__cta {
  margin-top: 2rem;
}
.story__col p {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

/* --- Landscape phones (short viewports) ---------------------------------- */
@media (max-height: 500px) {
  .scroll-hint { display: none; }
  :root {
    --line-top: 30%;
  }
  .story__headline {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    transform: translateY(calc(-100% - 1rem));
  }
  .story__columns {
    gap: 1.25rem;
  }
  .story__col {
    width: 12rem;
    font-size: 0.55rem;
    line-height: 1.4;
  }
  .story__col:nth-child(1),
  .story__col:nth-child(2),
  .story__col:nth-child(3) {
    margin-top: 0;
  }
  .story__body,
  .story__col p {
    font-size: 0.55rem;
    line-height: 1.4;
  }
  .hero__m {
    height: calc(var(--text-letter) * 0.7);
  }
}

/* --- Scroll reveal animations -------------------------------------------- */
.reveal {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.reveal.is-revealed {
  opacity: 1;
}
.reveal--delay-1 {
  transition-delay: 0.4s;
}
.reveal--delay-2 {
  transition-delay: 0.8s;
}
.reveal--delay-3 {
  transition-delay: 1.2s;
}

/* Photo column — right side, infinite vertical carousel */
.story__photos {
  position: absolute;
  left: 65.97%;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 20.97%;
  overflow: hidden;
}

.story__track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
  animation: carousel-up 200s linear infinite;
}

.story__photo {
  width: 100%;
  display: block;
  flex-shrink: 0;
  aspect-ratio: 3/4;
}

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


/* ==========================================================================
   Panel 3 — Gallery
   ========================================================================== */
.panel--gallery {
  position: relative;
  z-index: 3;
}
.panel--gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, transparent 0%, var(--color-bg) 15%, var(--color-bg) 85%, transparent 100%);
  pointer-events: none;
}

.gallery__grid {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* --- Gallery Carousel Columns --- */
.gallery__col {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.gallery__col--left {
  left: 21.5%;
  width: 16.89%;
  opacity: 0;
  transition: opacity 2s var(--ease);
}

.gallery__col--center {
  left: 40.1%;
  width: 19.92%;
  opacity: 0;
  transition: opacity 2s var(--ease) 0.5s;
}

.gallery__col--right {
  left: 62.2%;
  width: 16.89%;
  opacity: 0;
  transition: opacity 2s var(--ease) 1s;
}

.panel--gallery.is-revealed .gallery__col {
  opacity: 1;
}

.gallery__track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery__track--left {
  padding-top: 65vh;
}

.gallery__track--center {
  padding-top: 0;
}

.gallery__track--right {
  padding-top: 35vh;
}

.gallery__photo {
  display: block;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  transition: opacity 0.8s var(--ease);
}

.js .gallery__photo {
  opacity: 0.2;
}

.js .gallery__photo.is-on-line {
  opacity: 1;
}

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

.gallery__spacer {
  flex-shrink: 0;
  height: 4rem;
}


/* ==========================================================================
   Panel 4 — Contact / Reservation
   ========================================================================== */
.panel--contact {
  position: relative;
}

.contact__content {
  position: absolute;
  z-index: 3;
  left: 20.63%;
  top: 55%;
  max-width: 20rem;
}

.contact__headline {
  font-size: var(--text-headline);
  margin-bottom: 1rem;
}

.contact__desc {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact__address {
  font-style: normal;
  color: var(--color-text-subtle);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact__hours {
  color: var(--color-text-subtle);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact__links {
  margin-top: 1.25rem;
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.contact__links a {
  color: var(--color-text-subtle);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.contact__links a:hover {
  opacity: 1;
}

.contact__a {
  position: absolute;
  left: calc(81.53% - var(--text-letter) * 0.195);
  top: calc(32.52% - var(--text-letter) * 0.167);
  width: auto;
  height: var(--text-letter);
  color: var(--color-line);
  z-index: 3;
  opacity: 0;
}

/* ==========================================================================
   Button
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  font-family: var(--font);
  font-size: var(--text-body);
  letter-spacing: 0.02em;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border: 1px solid transparent;
  border-radius: 0;
  transition:
    background 300ms var(--ease),
    transform 300ms var(--ease),
    opacity 1.2s var(--ease);
}
.btn.reveal--delay-2 {
  transition-delay: 0.8s, 0.8s, 0.8s;
}
.btn.reveal--delay-3 {
  transition-delay: 1.2s, 1.2s, 1.2s;
}
.btn:hover,
.btn:focus-visible {
  background: var(--color-btn-hover);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--outline {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-text);
  color: var(--color-bg);
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
  position: fixed;
  top: var(--logo-top);
  right: var(--panel-pad);
  z-index: 100;
  display: flex;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-switcher__btn {
  padding: 0.15rem 0.35rem;
  color: var(--color-text-muted);
  transition: color 150ms var(--ease);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.lang-switcher__btn:hover,
.lang-switcher__btn:focus-visible {
  color: var(--color-text);
}
.lang-switcher__btn.is-active {
  color: var(--color-text);
}
.lang-switcher__sep {
  color: var(--color-border);
  user-select: none;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

/* ==========================================================================
   Responsive — Mobile (horizontal scroll preserved)
   ========================================================================== */

/* --- Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  .scroll-hint { display: none; }
  :root {
    --panel-pad: 1.5rem;
    --logo-top: 1.25rem;
    --text-letter: clamp(4.8rem, 12vh, 7.5rem);
    --text-headline: 1.5rem;
  }

  /* ── Vertical scroll layout ────────────────── */
  body {
    overflow: auto;
    height: auto;
  }

  .scroll-container {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .panel {
    flex: none;
    width: 100vw;
    height: auto;
    overflow: visible;
  }

  /* ── Hide horizontal brush line ──────────── */
  .brush-line {
    display: none;
  }

  /* ── Logo as scroll progress bar ───────────── */
  .site-logo {
    display: block;
    position: fixed;
    top: var(--logo-top);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    width: clamp(7rem, 35vw, 10rem);
    transition: opacity 0.6s var(--ease);
    --logo-reveal: 0%;
  }
  /* Background fade behind fixed logo */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--logo-top) + 1.5rem + 2.5rem);
    background: var(--color-bg);
    z-index: 99;
    pointer-events: none;
  }
  .site-logo.is-visible {
    opacity: 1;
  }

  /* (site-logo styled above as scroll progress bar) */

  /* Lang switcher */
  .lang-switcher {
    font-size: 0.6rem;
    gap: 0.25rem;
  }
  .lang-switcher__btn {
    font-size: 0.6rem;
    padding: 0.1rem 0.25rem;
  }

  /* ── Hero — show logo instead of M ────────────── */
  .panel--hero {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12rem;
    padding-bottom: 8vh;
  }

  .hero__m {
    display: none;
  }

  .panel--hero .hero__logo {
    display: block;
    width: clamp(8rem, 45vw, 12rem);
    height: auto;
  }

  /* Scroll hint — vertical arrow down */
  /* ── Story — show long version directly ─────── */
  .panel--story {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--panel-pad);
    padding-top: 0;
    padding-bottom: 4vh;
    margin-right: 0;
  }

  .story__text {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
  }

  .story__columns {
    flex-direction: column;
    gap: 0;
  }

  .story__col {
    width: 100%;
    margin-top: 0.75rem !important;
  }
  .story__col:first-child {
    margin-top: 0 !important;
  }

  .story__headline {
    margin-bottom: 1rem;
  }

  .story__body {
    line-height: 1.6;
    margin-bottom: 0;
  }

  .story__actions {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    gap: 0.625rem;
    margin-top: 3rem;
  }

  .story__photos {
    display: none;
  }


  .story__col p {
    font-size: var(--text-body);
    line-height: 1.6;
  }

  /* Reveals on mobile — smooth fade + slide up */
  .reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 1.6s var(--ease), transform 1.4s var(--ease);
  }
  .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal--delay-1 {
    transition-delay: 0.6s;
  }
  .reveal--delay-2 {
    transition-delay: 1.2s;
  }

  /* Story stagger — each block appears sequentially */
  .panel--story .story__headline { transition-delay: 0s; }
  .panel--story .story__body { transition-delay: 0.4s; }
  .panel--story .story__col:nth-child(2) { transition-delay: 0.8s; }
  .panel--story .story__col:nth-child(3) { transition-delay: 1.2s; }
  .panel--story .story__actions { transition-delay: 1.6s; }

  /* Hero elements fade in on load */
  .panel--hero .hero__logo {
    opacity: 0;
    animation: hero-fade-in 1.5s var(--ease) 0.3s forwards;
  }

  /* Gallery filmstrip fades in */
  .gallery__grid {
    opacity: 0;
    transition: opacity 3s var(--ease) 0.6s;
  }
  .panel--gallery.is-revealed .gallery__grid {
    opacity: 1;
  }


  /* ── Gallery — horizontal filmstrip ──────────── */
  .panel--gallery {
    height: auto;
    padding: 0;
    z-index: 1;
    position: relative;
  }
  .panel--gallery::before {
    display: none;
  }
  /* Scroll hint arrow */
  .panel--gallery::after {
    content: '→';
    position: absolute;
    right: var(--panel-pad);
    bottom: calc(8vh + 0.5rem);
    top: auto;
    color: #fff;
    font-size: 1.2rem;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    animation: hint-fade-in 1.5s var(--ease) 0.5s forwards;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
  }

  .gallery__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .gallery__grid {
    position: relative;
    inset: auto;
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 0.75rem;
    padding: 0 var(--panel-pad);
    scrollbar-width: none;
  }
  .panel--gallery.is-scroll-jacked {
    /* JS sets height = grid scrollWidth to create scroll room */
  }
  .panel--gallery:not(.is-scroll-jacked) .gallery__grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .is-scroll-jacked .gallery__photo {
    width: auto;
    height: 45vh;
  }
  .gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .gallery__col {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    overflow: visible;
    display: contents;
  }
  .gallery__col--left,
  .gallery__col--center,
  .gallery__col--right {
    left: auto;
    width: auto;
    opacity: 1;
    transition: none;
  }

  .gallery__track {
    display: contents;
  }
  .gallery__track--left,
  .gallery__track--center,
  .gallery__track--right {
    padding-top: 0;
  }

  .gallery__photo {
    flex-shrink: 0;
    width: 70vw;
    aspect-ratio: 3/4;
    scroll-snap-align: center;
    opacity: 1;
    border-radius: 2px;
  }
  .gallery__photo.is-on-line {
    opacity: 1;
  }

  .gallery__photo img {
    border-radius: 2px;
  }

  .gallery__spacer {
    display: none;
  }
  .gallery__photo.mobile-hidden {
    display: none;
  }
  .js .gallery__photo {
    opacity: 1;
  }

  /* ── Contact ─────────────────────────────────── */
  .panel--contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--panel-pad);
    padding-top: 8vh;
    padding-bottom: 8vh;
    min-height: auto;
  }

  .contact__content {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
  }

  .contact__desc {
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .contact__address {
    margin-bottom: 1rem;
  }

  .contact__a {
    display: none;
  }

  /* ── Button — proper touch targets on mobile ── */
  .btn {
    min-height: 2.75rem;
  }
}

/* ==========================================================================
   UMAI Reservation Widget Overrides
   Hiding rules live here; visual overrides are injected by reserve.js
   AFTER the UMAI CSS loads so our rules win the cascade.
   ========================================================================== */

/* Widget container: always in DOM so UMAI can init.
   The ReactModal__Overlay handles its own positioning. */

/* Hide the floating "Reserve a table" / "Gift card" buttons permanently.
   floating-button must stay in DOM (JS clicks its shadow DOM button for React state)
   but be invisible to the user. */
/* Keep floating-button renderable but invisible — UMAI needs it in DOM with size to init shadow content */
floating-button {
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.um-floating-trigger,
.ums-floating-trigger,
[class*="um-floating"],
[class*="ums-floating"] { display: none !important; }

/* --- Tablet -------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --panel-pad: 3rem;
  }
  .story__photos {
    width: 14rem;
  }
  .story__text {
    max-width: 100%;
  }
}

/* --- Large screens ------------------------------------------------------- */
@media (min-width: 1800px) {
  :root {
    --panel-pad: 8rem;
  }
}
