/* archetype: gallery — quiet and considered, all air: no cards, no borders, no
   shadows. Tuned for Alto, whose room is a Victorian arcade and whose own signage
   is one slab word on a painted board. */

h1 { font-size: clamp(2.8rem, 10vw, 6rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
.lead { font-size: 1.3rem; line-height: 1.55; }

/* The header sits over the hero rather than sticking: white text scrolled onto a pale
   page is unreadable, and every page opens with a dark band for it to sit on. */
   `relative`, not `static`: base.css opens the mobile nav at `position: absolute;
   top: 100%` against the header, so a static header drops it a full viewport down. */
.site-header { position: relative; background: transparent; backdrop-filter: none; border-bottom: 0; }
.site-header .brand, .site-header .brand-name { color: #fff; }
.nav-toggle { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); color: #fff; }
.nav { background: var(--color-bg); }
.hero { margin-top: -4.25rem; padding-top: 4.25rem; min-height: min(88vh, 52rem); }
.page-hero { margin-top: -4.25rem; padding-top: calc(4.25rem + clamp(2.5rem, 7vw, 4.5rem)); }
.hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.6)); }
.hero-content { padding-block: clamp(6rem, 18vw, 11rem) clamp(3rem, 8vw, 5rem); }
.hero h1 { max-width: 18ch; font-weight: 500; }
.hero-media img { object-position: 50% 22%; }  /* their painted name lives up there */

/* Nothing is in a box. */
.card, .menu-note, .book-panel { background: transparent; border: 0; box-shadow: none; padding-inline: 0; }
.card-body { padding: 1rem 0 0; }
.section { padding-block: clamp(4rem, 11vw, 8rem); }
.section + .section { border-top: 0; }
.container { width: min(100% - 2.5rem, 62rem); }

/* Buttons are text with a line under them. */
.btn { background: transparent; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; padding: 0.35rem 0.1rem; color: var(--color-primary); font-weight: 500; letter-spacing: 0.01em; }
.btn-primary { color: var(--color-accent); }
.btn:hover { transform: none; opacity: 0.7; }
.hero .btn, .hero .btn-primary { color: #fff; }

/* Menu: an airy stack, hairlines only. */
.menu-sections { gap: 3.5rem; }
.menu-section h3 { font-weight: 400; font-size: 1.6rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.6rem; }
.menu-item { padding: 0.9rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.menu-item-name { font-weight: 500; }
.menu-item-price { font-weight: 400; color: var(--color-muted); }
.menu-item-price:empty { display: none; }

.gallery { gap: 1.5rem; }
.gallery img { border-radius: 0; }
.quote { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 300; max-width: 24ch; }
/* The pour: things develop rather than appear. site.js owns opacity and y, so nothing
   here touches either — beds fill in sequence, the standfirst lands under a rule that
   draws in and thickens, and the menu resolves for anyone who looks twice. */
@media (prefers-reduced-motion: no-preference) {
  #highlights .card { position: relative; view-timeline: --bed block; }  /* the bed starts at zero width, so it cannot time itself */
  #highlights .card::after { content: ""; position: absolute; left: 0; top: 0; background: var(--color-accent); animation: pour-bed 1s cubic-bezier(.25,.8,.25,1) both; animation-timeline: --bed; animation-range: entry 12% cover 38%; }
  #highlights .card:nth-child(2)::after { animation-range: entry 12% cover 52%; }
  #highlights .card:nth-child(3)::after { animation-range: entry 12% cover 66%; }
  @keyframes pour-bed { from { width: 0; height: 1px } to { width: 100%; height: 3px } }
  #intro .eyebrow { padding-bottom: .4rem; margin-bottom: .2rem; background: linear-gradient(var(--color-accent), var(--color-accent)) no-repeat left bottom / 0 1px; animation: pour-weight .9s ease both; animation-timeline: view(); animation-range: entry 18% cover 34%; }
  @keyframes pour-weight { from { background-size: 0 1px } to { background-size: 100% 3px } }
  .menu-item, .menu-item-desc { transition: background-color .5s ease, color .5s ease; }
  .menu-item:hover, .menu-item:focus-within { background-color: color-mix(in srgb, var(--color-accent) 7%, transparent); }
  .menu-item:hover .menu-item-desc, .menu-item:focus-within .menu-item-desc { color: var(--color-ink); }
}
