:root {
  --jungle: #17352a;
  --palm: #24503c;
  --leaf: #7fa36a;
  --sand: #f7eedf;
  --sand-2: #efe1c8;
  --rattan: #b9864a;
  --sun: #e8854f;
  --sun-deep: #a3461c;
  --lacquer: #b8202f;
  --ink: #1f2722;
  --muted: #55605a;
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.kicker { margin: 0 0 .6rem; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); }
.section-lede { max-width: 62ch; color: var(--muted); font-size: 1.125rem; margin: 1rem 0 0; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sand); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: #2a1407; }
.btn-sun:hover { background: #f19a68; }
.btn-ghost { color: #fff; border: 2px solid rgb(255 255 255 / .7); backdrop-filter: blur(6px); background: rgb(255 255 255 / .08); }
.btn-ghost:hover { background: rgb(255 255 255 / .18); }
.btn-line { border: 2px solid var(--jungle); color: var(--jungle); }
.btn-line:hover { background: var(--jungle); color: var(--sand); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: .7rem clamp(1rem, 3vw, 2.5rem); color: #fff; transition: background-color .3s, box-shadow .3s; }
.site-header.solid { background: rgb(23 53 42 / .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgb(0 0 0 / .18); }
.brand img { width: 92px; }
.site-header nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-header nav a { text-decoration: none; font-weight: 600; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-color: var(--sun); }
.header-call { min-height: 42px; padding: .5rem 1.1rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--jungle); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgb(10 25 19 / .55) 0%, rgb(10 25 19 / 0) 22%),
  linear-gradient(20deg, rgb(10 25 19 / .9) 0%, rgb(10 25 19 / .45) 45%, rgb(10 25 19 / .05) 75%); }
.hero-copy { position: relative; z-index: 1; width: min(1280px, 100% - 2.5rem); margin: 0 auto; padding: 8rem 0 clamp(2.5rem, 7vh, 5rem);
  display: grid; grid-template-columns: auto minmax(0, 30rem); align-items: end; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); }
.hero-word { font-size: clamp(4.5rem, 17vw, 15.5rem); line-height: .8; letter-spacing: -0.04em; text-transform: uppercase; text-shadow: 0 6px 40px rgb(10 25 19 / .35); }
.hero-side { padding-bottom: .4rem; }
.hero-tag { margin: 0; font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--display); text-wrap: balance; }
.hero .lede { max-width: 46ch; font-size: clamp(1rem, 1.5vw, 1.1rem); margin: .8rem 0 0; color: rgb(255 255 255 / .9); }
.hero .actions { margin-top: 1.4rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.open-pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .9rem; border-radius: 999px; background: rgb(255 255 255 / .14); backdrop-filter: blur(6px); font-weight: 600; font-size: .95rem; }
.open-pill::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sand-2); }
.open-pill.is-open::before { background: #7ee08a; box-shadow: 0 0 0 4px rgb(126 224 138 / .25); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* Woven rattan band */
.rattan-band { height: 18px; background:
  repeating-linear-gradient(45deg, var(--rattan) 0 6px, #d6a868 6px 12px),
  var(--rattan);
  -webkit-mask: repeating-linear-gradient(-45deg, #000 0 6px, rgb(0 0 0 / .78) 6px 12px);
          mask: repeating-linear-gradient(-45deg, #000 0 6px, rgb(0 0 0 / .78) 6px 12px); }

/* Feast cards */
.feast { padding: clamp(4rem, 9vw, 7rem) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card { background: #fffaf2; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--sand-2), 0 18px 40px -24px rgb(23 53 42 / .45); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.7rem; }
.card-body p { margin: .6rem 0 0; color: var(--muted); }

/* Prices + menu */
.prices { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; background: var(--jungle); color: var(--sand); overflow: hidden; }
.prices::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background:
  radial-gradient(60% 50% at 100% 0%, rgb(127 163 106 / .28), transparent 70%),
  radial-gradient(50% 40% at 0% 100%, rgb(232 133 79 / .18), transparent 70%); }
.prices .wrap { position: relative; }
.prices .kicker { color: #f3a97c; }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; margin-top: 2.8rem; align-items: start; }

.postcard { position: relative; background: var(--sand); color: var(--ink); border-radius: 10px; padding: 2.2rem 2.2rem 1.8rem; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); transform: rotate(-1deg);
  background-image: linear-gradient(90deg, transparent calc(100% - 12px), rgb(185 134 74 / .12) 0); }
.postcard::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgb(185 134 74 / .45); border-radius: 6px; pointer-events: none; }
.postcard h3 { font-size: 2rem; }
.stamp { position: absolute; top: 1.4rem; right: 1.4rem; width: 86px; height: 98px; display: grid; place-content: center; text-align: center; background: var(--lacquer); color: #fff; transform: rotate(6deg);
  border: 5px dotted var(--sand); outline: 2px solid rgb(255 255 255 / .6); outline-offset: -9px; box-shadow: 0 6px 14px -6px rgb(0 0 0 / .4); }
.stamp span { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stamp small { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .35rem; }
.price-list { display: grid; gap: 1.3rem; margin-top: 1.4rem; }
.price-group h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: .3rem; }
dl { margin: 0; }
.row { display: flex; align-items: baseline; gap: .6rem; padding: .25rem 0; }
.row dt { flex: 0 1 auto; }
.row::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgb(31 39 34 / .25); }
.row dd { order: 2; margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.fine { font-size: .9rem; color: var(--muted); margin: 1.4rem 0 0; }

.broths h3 { font-size: 1.6rem; margin-top: 1.6rem; }
.broths h3:first-child { margin-top: 0; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0; }
.pills li { padding: .4rem .95rem; border-radius: 999px; background: rgb(247 238 223 / .1); border: 1px solid rgb(247 238 223 / .3); font-weight: 600; }
.broths p { margin: .6rem 0 0; color: rgb(247 238 223 / .86); }
.inline-list { line-height: 1.9; }
.extras { margin-top: 1rem; }
.extras .row::after { border-color: rgb(247 238 223 / .3); }
.extras dd { font-size: 1.1rem; }

.menu-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; }
.board { background: rgb(247 238 223 / .06); border: 1px solid rgb(247 238 223 / .16); border-radius: var(--radius); padding: 1.8rem; }
.board > h3 { font-size: 1.8rem; color: #fff; }
.board-cols { columns: 2; column-gap: 1.5rem; margin-top: 1rem; }
.board-cols > div { display: contents; }
.board-cols ul { break-inside: avoid; }
.board-cols h4 { break-after: avoid; }
.board-cols > div:first-child > h4:first-child { margin-top: 0; }
.board h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f3a97c; margin: 1rem 0 .35rem; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { padding: .15rem 0; color: rgb(247 238 223 / .92); }
.tag { display: inline-block; margin-left: .3rem; padding: 0 .45rem; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: .1em; background: var(--sun); color: #2a1407; }
.printed { margin: 2rem 0 0; color: rgb(247 238 223 / .8); }
.printed a { color: #fff; font-weight: 600; }

/* Bar */
.bar { padding: clamp(4rem, 9vw, 7rem) 0; color: var(--sand); background:
  radial-gradient(70% 60% at 85% 0%, rgb(232 133 79 / .22), transparent 70%),
  radial-gradient(60% 50% at 0% 100%, rgb(184 32 47 / .18), transparent 70%),
  #1c130e; }
.bar .kicker { color: #f3a97c; }
.bar .section-lede { color: rgb(247 238 223 / .82); }
.drinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.8rem; }
.drink { margin: 0; }
.drink img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 22px 40px -26px rgb(0 0 0 / .8); }
.drink figcaption { margin-top: .8rem; font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: #fff; }

/* Gallery */
.gallery { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); background: var(--sand-2); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.gallery-nav { display: flex; gap: .6rem; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--jungle); background: transparent; color: var(--jungle); font-size: 1.3rem; cursor: pointer; transition: background-color .2s, color .2s; }
.round:hover { background: var(--jungle); color: var(--sand); }
.strip { list-style: none; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.2rem max(1.25rem, (100% - 1180px) / 2) 1.2rem; margin: 0; scrollbar-width: thin; scrollbar-color: var(--rattan) transparent; }
.strip li { flex: 0 0 min(85vw, 560px); scroll-snap-align: center; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.strip li.tall { flex-basis: min(51vw, 336px); }
.strip li.tall img { aspect-ratio: 4 / 5; }

/* Visit */
.visit { padding: clamp(4rem, 9vw, 7rem) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: stretch; }
address { font-style: normal; font-size: 1.25rem; margin-top: 1.2rem; }
.link-strong { font-weight: 700; font-size: 1.25rem; color: var(--palm); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours caption { text-align: left; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); padding-bottom: .4rem; }
.hours th, .hours td { text-align: left; font-weight: 500; padding: .55rem .7rem; border-bottom: 1px solid var(--sand-2); }
.hours td { text-align: right; font-weight: 700; }
.hours tr.today { background: #fff4e4; }
.hours tr.today th::after { content: "Today"; margin-left: .5rem; padding: .05rem .45rem; border-radius: 6px; font-size: .7rem; font-weight: 700; text-transform: uppercase; background: var(--leaf); color: #fff; }
.social { list-style: none; display: flex; gap: 1.2rem; padding: 0; margin: 1.6rem 0 0; }
.social a { font-weight: 600; color: var(--palm); }
.map { min-height: 380px; background: var(--sand-2) url(/img/gallery-storefront-night-800.webp) center / cover; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -24px rgb(23 53 42 / .5); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Journal stories (home page). Same strip as ivea.co: two identical halves scroll right to left; -50% lands on the seam.
   Filled from /journal/feed by main.js and shown only when a story exists. Pauses on hover or focus; still and hand-scrollable for reduced motion. */
.stories { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--sand-2); overflow: hidden; }
.stories-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.story-viewport { margin-top: 2.2rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.story-track { display: flex; gap: 1.4rem; width: max-content; padding-right: 1.4rem; animation: story-marquee 45s linear infinite; will-change: transform; }
.story-viewport:hover .story-track, .story-viewport:focus-within .story-track { animation-play-state: paused; }
@keyframes story-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.story-card { display: block; width: 300px; flex-shrink: 0; text-decoration: none; }
.story-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px -24px rgb(23 53 42 / .45); }
.story-date { display: block; margin-top: .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); }
.story-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: .3rem; font: 700 1.25rem/1.25 var(--display); color: var(--ink); transition: color .2s; }
.story-card:hover .story-title, .story-card:focus-visible .story-title { color: var(--palm); }
@media (max-width: 760px) { .stories-head { flex-direction: column; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .story-track { animation: none; } .story-viewport { overflow-x: auto; mask-image: none; } }

/* Footer */
.site-footer { background: var(--jungle); color: rgb(247 238 223 / .85); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-grid img { width: 120px; }
.footer-grid p { margin: 0; }
.small { font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .drinks { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .price-grid, .menu-boards, .visit-grid { grid-template-columns: 1fr; }
  .postcard { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: .4rem 1rem; padding-bottom: .4rem; }
  .brand img { width: 72px; }
  .header-call { margin-left: auto; }
  .site-header nav { order: 3; width: 100%; margin: 0; gap: 1.2rem; overflow-x: auto; font-size: .95rem; }
  .site-header nav a { white-space: nowrap; }
  .site-header:not(.solid) { background: linear-gradient(180deg, rgb(10 25 19 / .6), transparent); }
  .hide-sm { display: none; }
  .hero-copy { padding-top: 10rem; grid-template-columns: 1fr; }
  .postcard { padding: 1.8rem 1.4rem 1.5rem; }
  .stamp { width: 66px; height: 76px; top: 1rem; right: 1rem; }
  .stamp span { font-size: 1.2rem; }
  .stamp small { display: none; }
  .postcard h3 { padding-right: 70px; }
  .board { padding: 1.4rem; }
  .board li { font-size: .95rem; }
  .board-cols { column-gap: 1rem; }
  .gallery-nav { display: none; }
  .drinks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; margin-inline: -1.25rem; padding: 0 1.25rem .8rem; scrollbar-width: thin; scrollbar-color: var(--rattan) transparent; }
  .drink { scroll-snap-align: start; }
  .drink figcaption { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .btn:hover { transform: none; }
}
