/* Su Casa Restaurant & Bar. Direction: the lit sign at dusk.
   Deep oxblood and amber glow up top, warm paper for the menu, the sign's wine red as the accent. */
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #2a1416;
  --night-2: #3a1c1f;
  --wine: #7a2230;
  --wine-ink: #6a1c28;
  --amber: #f0b45a;
  --amber-2: #ffcf85;
  --paper: #fbf5ec;
  --paper-2: #f3e9da;
  --ink: #2b1b18;
  --muted: #6a5650;
  --line: #e2d4c1;
  --on-night: #f6ece0;
  --on-night-muted: #d9c6b4;
  --display: "Cormorant", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .4em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
section[id] { scroll-margin-top: calc(var(--header-h) + 64px); }
section.menu-cat[id] { scroll-margin-top: calc(var(--header-h) + 136px); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--amber); color: var(--night); padding: 12px 16px; min-height: 44px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.menu :focus-visible, .brunch :focus-visible, .visit :focus-visible, .faq :focus-visible, .story :focus-visible, .nf :focus-visible { outline-color: var(--wine); }
.ico { width: 1em; height: 1em; flex: none; }

.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.eyebrow-wine { color: var(--wine); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1.1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: transform .16s ease, background-color .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
.btn-amber { background: var(--amber); color: var(--night); }
.btn-ghost { border-color: rgba(246, 236, 224, .38); color: var(--on-night); }
.btn-wine { background: var(--wine); color: #fff; }
.btn-line { border-color: var(--wine); color: var(--wine-ink); }
@media (hover: hover) {
  .btn-amber:hover { background: var(--amber-2); }
  .btn-ghost:hover { border-color: var(--amber); color: var(--amber-2); }
  .btn-wine:hover { background: var(--wine-ink); }
  .btn-line:hover { background: rgba(122, 34, 48, .07); }
}
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--amber-2); font-weight: 600; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(42, 20, 22, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: var(--on-night); border-bottom: 1px solid rgba(240, 180, 90, .16); }
.bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 600 1.55rem/1 var(--display); color: var(--amber-2); }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-top: 3px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--on-night-muted); border-radius: 8px; }
.nav a:hover { color: var(--amber-2); }
.bar-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav + .bar-actions { margin-left: 8px; }
.lang { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1.5px solid rgba(246, 236, 224, .3); background: none; color: var(--on-night); font: 600 .85rem var(--body); cursor: pointer; letter-spacing: .06em; }
.lang:hover { border-color: var(--amber); }
.chipbar { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.chipbar::-webkit-scrollbar { display: none; }
.chipbar a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(246, 236, 224, .08); border: 1px solid rgba(246, 236, 224, .14); color: var(--on-night); text-decoration: none; font-size: .92rem; font-weight: 600; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .chipbar { display: none; }
  section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
  section.menu-cat[id] { scroll-margin-top: calc(var(--header-h) + 84px); }
}

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 78% 35%, #5a2a1e 0%, var(--night-2) 42%, var(--night) 75%); color: var(--on-night); overflow: hidden; }
.hero-grid { display: grid; gap: 28px; padding: 40px 0 56px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 11vw, 6.2rem); color: #fff3e2; margin-bottom: 18px; }
.hero h1 span { display: block; font-style: italic; font-size: .46em; color: var(--amber); letter-spacing: 0; margin-top: .2em; }
.lede { font-size: 1.14rem; color: var(--on-night-muted); max-width: 34em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--on-night); background: rgba(0, 0, 0, .22); border: 1px solid rgba(246, 236, 224, .14); padding: 8px 14px; border-radius: 999px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9c8a7d; }
.status.is-open .dot { background: #7fd39a; box-shadow: 0 0 0 4px rgba(127, 211, 154, .18); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 26px 0 0; font-size: .92rem; color: var(--on-night-muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.hero-sign { margin: 0 auto; width: min(76vw, 420px); position: relative; order: -1; }
.hero-sign::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 180, 90, .32), transparent 72%); }
.hero-sign img { position: relative; border-radius: 50%; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; padding: 72px 0 88px; gap: 56px; }
  .hero-sign { order: 0; width: 100%; max-width: 420px; }
}
@media (max-width: 899px) { .hero-sign { width: min(56vw, 260px); } }

/* Marquee */
.marquee { background: var(--wine); color: #ffe9cc; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .15); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run { display: flex; align-items: center; gap: 22px; padding: 14px 11px; font: italic 600 1.35rem/1 var(--display); white-space: nowrap; }
.marquee .star { font-style: normal; font-size: .7em; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Story */
.story { padding: 72px 0; }
.story-grid { display: grid; gap: 40px; align-items: center; }
.story-copy p { font-size: 1.08rem; color: #3d2b27; max-width: 36em; }
.story-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--paper-2); box-shadow: 0 18px 40px rgba(60, 30, 20, .16); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { aspect-ratio: 4 / 5; }
.ph-b { aspect-ratio: 4 / 5; margin-top: 48px; }
@media (min-width: 900px) { .story { padding: 112px 0; } .story-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Menu */
.menu { background: var(--paper-2); padding: 72px 0 80px; border-top: 1px solid var(--line); }
.menu-head { max-width: 40em; }
.note { font-size: .95rem; color: var(--muted); }
.menu-chips { position: sticky; top: calc(var(--header-h) + 54px); z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin: 8px 0 24px; background: var(--paper-2); scrollbar-width: none; }
.menu-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #d5c3ad; background: var(--paper); color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--wine); color: var(--wine-ink); }
@media (min-width: 960px) { .menu-chips { top: var(--header-h); flex-wrap: wrap; } }
.menu-cols { columns: 1; column-gap: 56px; }
@media (min-width: 900px) { .menu-cols { columns: 2; } }
.menu-cat { margin-bottom: 40px; }
.menu-cat h3 { break-after: avoid; }
.menu-cat h3 { font-size: 2rem; color: var(--wine-ink); padding-bottom: 10px; border-bottom: 2px solid var(--wine); margin-bottom: 6px; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dish-head { display: flex; align-items: baseline; gap: 10px; }
.dish-name { margin: 0; font: 600 1.04rem/1.35 var(--body); }
.dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted #c5ae94; transform: translateY(-4px); }
.price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wine-ink); white-space: nowrap; }
.dish-desc { margin: 4px 0 0; font-size: .94rem; line-height: 1.5; color: var(--muted); max-width: 40em; }
.badge { position: relative; display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--wine); color: #fff; font: 600 .68rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.badge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--wine); opacity: 0; animation: pulse 3s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 45%, 100% { transform: scale(1.45, 1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .badge::after { animation: none; } }

/* Feature */
.feature { background: var(--night); color: var(--on-night); padding: 72px 0; }
.feature-grid { display: grid; gap: 32px; align-items: center; }
.feature h2 { color: #fff3e2; font-style: italic; }
.feature p { color: var(--on-night-muted); font-size: 1.08rem; max-width: 30em; margin-bottom: .4em; }
.ph-crepes { aspect-ratio: 640 / 585; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
@media (min-width: 900px) { .feature { padding: 96px 0; } .feature-grid { grid-template-columns: 460px 1fr; gap: 72px; } }

/* Brunch */
.brunch { padding: 72px 0; }
.brunch-card { position: relative; text-align: center; padding: 52px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 24px 60px rgba(90, 40, 30, .08); }
.brunch-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid #e7d6bf; border-radius: 16px; pointer-events: none; }
.brunch-card p { max-width: 34em; margin-inline: auto; color: #3d2b27; }
.brunch-time { font: italic 600 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--display); color: var(--wine-ink) !important; margin-bottom: 14px !important; }
.brunch .btn { margin-top: 10px; position: relative; }

/* Order */
.order { background: var(--wine); color: #fff; padding: 56px 0; }
.order h2 { color: #fff; }
.order .eyebrow { color: var(--amber-2); }
.order p { color: #f6dccf; max-width: 32em; }
.order-grid { display: grid; gap: 20px; align-items: center; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1fr auto; } }

/* Visit */
.visit { padding: 72px 0; }
.visit-grid { display: grid; gap: 36px; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin-bottom: 20px; }
address a { display: inline-block; min-height: 44px; padding: 4px 0; color: var(--wine-ink); font-weight: 600; text-underline-offset: 4px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; margin-bottom: 14px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 600; color: var(--wine-ink); }
.hours tr.today th::after { content: " · Today"; font-weight: 400; color: var(--muted); }
html[lang="es"] .hours tr.today th::after { content: " · Hoy"; }
.small { font-size: .94rem; color: var(--muted); }
.map { min-height: 320px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .visit { padding: 104px 0; } .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } .map { min-height: 460px; } }

/* FAQ */
.faq { padding: 24px 0 88px; }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--wine); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #3d2b27; padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 56px 0 120px; font-size: .95rem; }
.foot { display: grid; gap: 28px; }
.foot p { margin: 0 0 4px; }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-night); text-decoration: none; }
.foot a:hover { color: var(--amber-2); }
.foot-name { font: 600 1.7rem/1.1 var(--display); color: var(--amber-2); margin-bottom: 8px !important; }
.foot-hours p { display: flex; justify-content: space-between; max-width: 300px; gap: 16px; }
.fine { margin-top: 28px; font-size: .82rem; color: #b9a596; }
@media (min-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .site-footer { padding-bottom: 56px; } }

/* Mobile action bar */
.mbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(42, 20, 22, .96); border-top: 1px solid rgba(240, 180, 90, .2); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; text-decoration: none; color: var(--on-night); font-weight: 600; font-size: .92rem; border: 1px solid rgba(246, 236, 224, .2); }
.mbar a.mbar-call { background: var(--amber); color: var(--night); border-color: var(--amber); }
@media (min-width: 900px) { .mbar { display: none; } }

/* 404 */
.nf { padding: 96px 0 120px; }
.nf h1 { font-size: clamp(2.6rem, 7vw, 4rem); color: var(--wine-ink); }

/* Production build additions (2026-10-28): Toast menu states, click-to-load map, privacy/terms pages */
.prices { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 0 4px; text-align: right; }
.opt { font-size: .9rem; color: var(--muted); }
.sep { color: #b39c84; }
.dish.is-soldout .dish-name, .dish.is-soldout .price, .dish.is-soldout .opt, .dish.is-soldout .dish-desc { color: #8f8079; }
.dish.is-soldout .price { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.dish.is-soldout .badge { background: #8f8079; }
.dish.is-soldout .badge::after { animation: none; }
.soldout { margin: 6px 0 0; }
.soldout span:first-child { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1.5px solid #6a5650; color: #4f3f3a; font: 600 .72rem/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.menu-foot { margin-top: 8px; }
.map-cover { height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 32px 24px; background: radial-gradient(90% 80% at 50% 40%, #fbf5ec 0%, var(--paper-2) 100%); }
.map-pin { width: 36px; height: 36px; color: var(--wine); }
.map-addr { font: 600 1.5rem/1.2 var(--display); color: var(--wine-ink); margin: 4px 0 10px; }
.map-note { font-size: .86rem; color: var(--muted); max-width: 26em; margin: 10px 0 0; }
.fine a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 4px; color: var(--on-night); text-underline-offset: 3px; }
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--wine-ink); }
.doc h2 { font-size: 1.7rem; margin-top: 1.4em; color: var(--wine-ink); }
.doc p { color: #3d2b27; max-width: 40em; }
.doc a { color: var(--wine-ink); font-weight: 600; text-underline-offset: 3px; }
.doc .nf { padding: 32px 0; }
.doc a.btn { color: #fff; }
.doc :focus-visible { outline-color: var(--wine); }
.pslot { white-space: nowrap; }

/* Client logo (2026-10-28): amber on the dark header, hero and footer */
.brand img { width: 58px; height: 58px; border-radius: 0; }
.foot-logo { width: 112px; height: auto; margin-bottom: 14px; }

/* Hero (2026-10-28): their lit-sign photo as the background. The source is a 500px round crop, so the sign
   rectangle is shown at a size it holds up at: a full-width band on phones, the right side of the hero on
   desktop, each fading into the oxblood so the copy sits on solid color. */
.hero { position: relative; isolation: isolate; background: var(--night); }
.hero-bg { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: calc(100vw / 1.43 + 24px); max-height: 460px; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: hero-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(42, 20, 22, .1) 0%, rgba(42, 20, 22, .15) 55%, rgba(42, 20, 22, .7) 84%, var(--night) 100%); }
.hero-inner { padding: calc(min(100vw / 1.43, 436px) + 4px) 0 56px; }
.hero-copy { position: relative; max-width: 560px; }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero .lede { color: #ecdccb; margin-top: 4px; }
.hero .status { background: rgba(20, 8, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .btn-ghost { background: rgba(20, 8, 9, .35); border-color: rgba(246, 236, 224, .45); }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }
@media (min-width: 900px) {
  .hero { min-height: min(640px, 82vh); display: flex; align-items: center; }
  .hero-bg { top: 0; bottom: 0; left: auto; right: 0; width: 74%; height: auto; max-height: none; }
  .hero-bg img { object-position: 70% 50%; }
  .hero-bg::after { background:
    linear-gradient(90deg, var(--night) 0%, rgba(42, 20, 22, .9) 22%, rgba(42, 20, 22, .45) 48%, rgba(42, 20, 22, .1) 74%, rgba(42, 20, 22, .2) 100%),
    linear-gradient(0deg, rgba(42, 20, 22, .55) 0%, transparent 30%); }
  .hero-inner { width: min(1160px, 100% - 32px); padding: 88px 0; }
  .hero .lede { font-size: 1.2rem; max-width: 30em; }
  .hero .eyebrow { font-size: .85rem; margin-bottom: 18px; }
}
