/* Palette from the logo (orange and green) plus Havana/Miami cement-tile colours.
   Type: Bricolage Grotesque for headlines, Yellowtail script (Miami signage) for short words, Figtree for reading. */
:root {
  --orange: #f4561c;
  --green: #1d5446;
  --night: #0f2e27;
  --cream: #fff6ea;
  --sand: #f3e3c8;
  --gold: #f2b33d;
  --ink: #1d1a17;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
  --sans: "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--cream); font: 500 1.125rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .9s ease; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.kicker { font: 700 .85rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--cream); color: var(--ink); padding: 10px 14px; }
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 21; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 10px var(--gutter); background: linear-gradient(rgba(15,46,39,.85), rgba(15,46,39,0)); transition: background .6s ease, color .6s ease; }
body[data-tone="light"] .top { color: var(--ink); background: linear-gradient(rgba(255,246,234,.95), rgba(255,246,234,0)); }
.brand img { width: 66px; height: auto; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav .link { display: none; font-weight: 700; text-decoration: none; }
.now { position: absolute; left: 50%; transform: translateX(-50%); font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.now.show { opacity: .85; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--orange); color: #fff; border: 2px solid var(--orange); transition: transform .2s, background .2s; }
.pill:hover { transform: translateY(-2px); background: #d9440f; border-color: #d9440f; }
.pill.ghost { background: transparent; border-color: currentColor; color: inherit; }
.pill.small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns.center { justify-content: center; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 110px; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(15,46,39,.72), rgba(15,46,39,.35) 75%), linear-gradient(180deg, rgba(15,46,39,.4), rgba(15,46,39,.1) 40%, rgba(15,46,39,.92)); }
.hero-copy { max-width: 900px; display: grid; justify-items: center; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); margin-bottom: 18px; text-shadow: 0 3px 24px rgba(0,0,0,.5); }
.hero h1 .script { display: block; color: var(--gold); font-size: 1.35em; line-height: 1.1; margin-bottom: 6px; }
.lede { max-width: 40ch; font-size: 1.2rem; margin: 0 auto 28px; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.hero .btns { justify-content: center; }
.hero-note { margin-top: 22px; font-weight: 700; opacity: .92; }

/* Cement-tile band */
.tile-band { height: clamp(60px, 9vw, 96px); background: url(media/tile.svg) 0 0 / auto 100% repeat-x; }

/* Shared section heading */
.sec-head { max-width: 860px; margin: 0 auto clamp(32px, 5vw, 52px); padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; }
.sec-head h2 { font-size: clamp(2.6rem, 8vw, 5.6rem); margin-top: 12px; }
.sec-head h2 .script { font-size: 1.15em; color: var(--orange); }
.sec-head p:not(.kicker) { max-width: 46ch; margin-top: 16px; font-size: 1.15rem; }
.rise { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }

/* Favorites: pinned, slides sideways */
.favs { position: relative; color: var(--ink); }
.favs-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.favs-stage .sec-head { margin-bottom: 26px; }
.favs-stage .sec-head h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.favs-track { display: flex; gap: clamp(14px, 2vw, 26px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.dish { flex: 0 0 auto; width: clamp(250px, 26vw, 340px); background: #fff; border-radius: 18px; padding: 14px 14px 18px; box-shadow: 0 16px 34px rgba(29,26,23,.12); border: 2px solid var(--sand); }
.dish:nth-child(even) { transform: translateY(18px) rotate(1deg); }
.dish:nth-child(odd) { transform: rotate(-1deg); }
.dish img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: #fff; }
.dish h3 { font: 800 1.3rem/1.15 var(--head); margin: 14px 4px 4px; display: flex; justify-content: space-between; gap: 10px; }
.dish h3 span { color: var(--orange); white-space: nowrap; font-size: 1.05rem; }
.dish p { margin: 0 4px; font-size: .98rem; color: #4d443b; }

/* Menu */
.menu { color: var(--ink); padding: clamp(90px, 11vw, 140px) var(--gutter); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; max-width: 900px; position: sticky; top: 64px; z-index: 5; padding: 8px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--sand); font-weight: 700; text-decoration: none; font-size: .95rem; }
.chips a:hover { border-color: var(--orange); color: var(--orange); }
.menu-cols { max-width: 1180px; margin: 0 auto; display: grid; gap: 30px; }
.msec { background: #fff; border-radius: 18px; padding: 26px clamp(18px, 3vw, 32px); border: 2px solid var(--sand); scroll-margin-top: 130px; }
.msec h3 { font: 800 2rem/1 var(--head); color: var(--green); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.msec h3 small { font: 400 1.5rem/1 var(--script); color: var(--orange); }
.msec ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 12px; }
.msec li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed #e7d8bf; }
.msec li:last-child { border-bottom: 0; padding-bottom: 0; }
.msec li b { font-weight: 700; }
.msec li .price { font-weight: 700; color: var(--orange); }
.msec li p { grid-column: 1 / -1; font-size: .96rem; color: #5a5047; }
.allergy { max-width: 760px; margin: 36px auto 24px; text-align: center; font-size: .9rem; color: #6a5f55; }

/* Story */
.story { padding: clamp(90px, 11vw, 140px) var(--gutter); display: grid; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto; color: #fff; }
.story-photo { margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1; width: min(520px, 86vw); justify-self: center; border: 10px solid var(--cream); clip-path: circle(calc(30% + var(--p, 0) * 20%)); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .kicker { color: var(--cream); opacity: .9; }
.story-copy h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 12px 0 18px; }
.story-copy p:not(.kicker) { font-size: 1.15rem; max-width: 48ch; margin-top: 12px; }

/* Catering */
.catering { padding: clamp(90px, 11vw, 140px) 0; }
.catering .kicker { color: var(--gold); }
.cat-photo { margin: 0 auto 32px; max-width: 1100px; padding: 0 var(--gutter); }
.cat-photo img { width: 100%; border-radius: 18px; aspect-ratio: 16/7; object-fit: cover; }
.trays { max-width: 1100px; margin: 0 auto 32px; padding: 0 var(--gutter); display: grid; gap: 14px; }
.trays figure { background: rgba(255,246,234,.08); border: 1px solid rgba(255,246,234,.2); border-radius: 14px; overflow: hidden; }
.trays img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.trays figcaption { padding: 18px; display: grid; gap: 4px; }
.cat-how { max-width: 760px; margin: 0 auto 24px; padding: 0 var(--gutter); text-align: center; }
.cat-how a { color: var(--gold); font-weight: 700; }
.trays b { font: 800 1.25rem/1.2 var(--head); }

/* Visit: tiles fade in behind */
.visit { position: relative; isolation: isolate; padding: clamp(90px, 11vw, 140px) var(--gutter); }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(media/tile.svg) 0 0 / 120px 120px; opacity: .18;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.visit .kicker { color: var(--gold); }
.visit-inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 18px; }
.visit-card { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 8px 8px 0 var(--orange); }
address { font-style: normal; font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.phone-note { color: #5a5047; margin-bottom: 18px; }
.visit-card .btns .pill.ghost { color: var(--ink); }
.visit-card .kicker { margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid #ecdcc4; }
.hours td + td { text-align: right; }
.hours tr.today td { color: var(--orange); font-weight: 700; }

/* Contact */
.contact { padding: clamp(90px, 11vw, 140px) var(--gutter); color: var(--ink); }
.contact .sec-head p:not(.kicker) { color: #5a5047; }
.contact-form { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; background: #fff; border: 2px solid var(--sand); border-radius: 18px; padding: clamp(20px, 4vw, 34px); }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form i { font-style: normal; font-weight: 500; color: #6a5f55; }
.contact-form input, .contact-form textarea { font: 500 1.05rem/1.4 var(--sans); padding: 12px 14px; min-height: 48px; border: 2px solid #e2cfb1; border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--orange); outline-offset: 1px; }
.contact-form button { font: 700 1.05rem/1 var(--sans); cursor: pointer; }
.form-note { font-size: .92rem; color: #6a5f55; }
.review-ask { max-width: 760px; margin: 28px auto 0; text-align: center; }
.review-ask a { color: var(--orange); font-weight: 700; }
.pick { color: var(--orange); }
.hero-kicker { color: var(--gold); margin-bottom: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.45); }
footer .copy { font-size: .9rem; color: #6a5f55; }

footer { color: var(--ink); padding: 60px var(--gutter) 120px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.foot-logo { width: 150px; height: auto; }
.bye { font: 400 clamp(3rem, 10vw, 5.5rem)/1 var(--script); color: var(--orange); }

.callbar { position: fixed; inset: auto 12px 12px; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.callbar .pill.ghost { background: var(--night); color: var(--cream); border-color: var(--night); }

/* ---- Splash: cement tiles flip in, the logo is set down, tiles flip away ---- */
.splash { position: fixed; inset: 0; z-index: 100; cursor: pointer; background: var(--night); animation: bg-clear 0s linear 2.55s forwards, splash-gone 0s linear 3.4s forwards; perspective: 900px; }
@keyframes bg-clear { to { background: transparent; } }
.no-splash .splash, .splash.done { display: none; }
.tiles { position: absolute; inset: 0; display: grid; grid-auto-rows: 1fr; }
.tiles i { background: url(media/tile.svg) center / cover; backface-visibility: hidden; will-change: transform; transform: rotateY(90deg);
  animation: tile-in .45s cubic-bezier(.2,.8,.3,1) forwards, tile-out .45s cubic-bezier(.6,0,.8,.3) forwards;
  animation-delay: calc(var(--d) * .55s), calc(2.55s + var(--d) * .5s); }
.splash-mark { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; pointer-events: none; animation: fade-out .3s ease 2.45s forwards; }
.splash-mark img { width: min(300px, 62vw); height: auto; background: var(--cream); border-radius: 50%; padding: 6px; opacity: 0; transform: scale(1.6); animation: stamp .55s cubic-bezier(.3,1.4,.5,1) 1s forwards; box-shadow: 0 0 0 10px rgba(255,246,234,.85); }
.splash-mark p { font: 400 clamp(2.6rem, 9vw, 4.4rem)/1.1 var(--script); color: var(--cream); background: var(--green); padding: 4px 26px 10px; border-radius: 999px; opacity: 0; transform: translateY(14px); animation: rise-in .45s ease 1.45s forwards; }
html:not(.no-splash) .hero-copy { opacity: 0; animation: rise-in .7s ease 3s forwards; }
@keyframes tile-in { to { transform: rotateY(0deg); } }
@keyframes tile-out { from { transform: rotateY(0deg); } to { transform: rotateY(-90deg); } }
@keyframes stamp { to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes splash-gone { to { visibility: hidden; pointer-events: none; } }

@media (min-width: 900px) {
  .top nav .link { display: inline; }
  .callbar { display: none; }
  footer { padding-bottom: 60px; }
  .menu-cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .story { grid-template-columns: 1fr 1fr; gap: 72px; }
  .trays { grid-template-columns: repeat(3, 1fr); }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .wide { grid-column: 1 / -1; }
  .visit-inner { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
@media (max-width: 899px) {
  .now { display: none; }
  .top .pill.small { display: none; }
  .chips { top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}
@media (max-width: 899px) {
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 8px var(--gutter); }
  .chips a { flex: 0 0 auto; }
}

/* EN | ES switch */
.lang { font: 700 .85rem/1 var(--sans); letter-spacing: .08em; min-height: 38px; min-width: 46px; padding: 0 12px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.lang:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
