/* ==========================================================================
   Kopi Mo Brew — house style
   Palette pulled off the badge: espresso ink, aged label parchment, brass
   signage gold, and the deep harbour teal that the anchor belongs to.
   ========================================================================== */

:root {
  --ink: #211208;
  --ink-2: #3a2415;
  --ink-3: #5c3d26;
  --parchment: #f2e7d2;
  --foam: #fbf5e9;
  --sand: #e4d3b4;
  --brass: #c4892f;
  --brass-lt: #e0ae5c;
  --harbor: #123640;
  --harbor-lt: #1d5361;
  --sea: #7fa6a2;
  --paper: #ffffff;

  --shadow-sm: 0 2px 8px rgba(33, 18, 8, 0.08);
  --shadow-md: 0 14px 34px -12px rgba(33, 18, 8, 0.32);
  --shadow-lg: 0 34px 70px -24px rgba(33, 18, 8, 0.48);

  --edge: 1px solid rgba(33, 18, 8, 0.14);
  --radius: 4px;

  --display: "Bevan", "Rockwell", Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --marker: "Caveat", "Bradley Hand", cursive;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --gap: clamp(1.5rem, 3vw, 3rem);
  --sec: clamp(4.5rem, 9vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  font-weight: 350;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.6rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared bits ---------- */
.wrap { width: min(1240px, 100% - (var(--pad) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - (var(--pad) * 2)); margin-inline: auto; }
.section { padding-block: var(--sec); }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-3);
  max-width: 56ch;
}

.script { font-family: var(--marker); font-size: 1.5em; line-height: 1; color: var(--brass); }

/* rope rule — a hand-twisted divider instead of a plain hairline */
.rope-rule {
  height: 10px;
  background-image: repeating-linear-gradient(
    115deg,
    var(--sand) 0 5px,
    transparent 5px 10px
  );
  border-top: 1px solid rgba(33, 18, 8, 0.16);
  border-bottom: 1px solid rgba(33, 18, 8, 0.16);
  opacity: 0.85;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--foam);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 50px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn .btn-ico { transition: transform 0.4s var(--ease); }
.btn:hover .btn-ico { transform: translateX(4px); }

.btn.is-ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn.is-brass { --btn-bg: var(--brass); --btn-fg: var(--ink); }
.btn.is-brass::before { background: var(--foam); }

/* ==========================================================================
   Preloader — the seal drops before the page settles
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader img {
  width: 108px;
  animation: seal-set 1.5s var(--ease) both;
}
.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brass);
  animation: bar 1.4s var(--ease) forwards;
}
@keyframes seal-set {
  0% { opacity: 0; transform: scale(0.4) rotate(-90deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes bar { to { width: 100%; } }
body.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem var(--pad);
  color: var(--foam);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
    box-shadow 0.45s var(--ease), color 0.45s var(--ease);
}
.site-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 18, 8, 0.66), transparent);
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(33, 18, 8, 0.96);
  padding-block: 0.7rem;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}
.site-head.is-stuck::after { opacity: 0; }
/* interior pages start on parchment, so the bar needs ink type from the off */
.site-head.on-light { color: var(--ink); }
.site-head.on-light::after { background: linear-gradient(180deg, rgba(251, 245, 233, 0.9), transparent); }
.site-head.on-light.is-stuck { color: var(--foam); }
/* the drawer is ink, so the bar must flip regardless of page */
body.nav-open .site-head,
body.nav-open .site-head.on-light { color: var(--foam); background: transparent; box-shadow: none; }
body.nav-open .site-head::after { opacity: 0; }

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img {
  width: 52px;
  transition: width 0.45s var(--ease), transform 0.6s var(--ease);
}
.brand:hover img { transform: rotate(-12deg); }
.is-stuck .brand img { width: 42px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  opacity: 0.72;
  margin-top: 0.32rem;
  font-weight: 400;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.nav a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding-block: 0.35rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-image: repeating-linear-gradient(115deg, currentColor 0 3px, transparent 3px 6px);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--brass-lt); }

.head-cta { display: none; }
@media (min-width: 1080px) { .head-cta { display: inline-flex; } }

/* burger */
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
  z-index: 101;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s;
}
.burger span + span { margin-top: 4px; }
body.nav-open .burger { color: var(--foam); }
body.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: var(--ink);
    color: var(--foam);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.7s var(--ease);
    pointer-events: none;
  }
  body.nav-open .nav { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
  .nav a {
    font-family: var(--display);
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    padding: 0.55rem 0;
    opacity: 0;
    transform: translateY(18px);
  }
  body.nav-open .nav a { animation: nav-in 0.55s var(--ease) forwards; }
  body.nav-open .nav a:nth-child(1) { animation-delay: 0.14s; }
  body.nav-open .nav a:nth-child(2) { animation-delay: 0.2s; }
  body.nav-open .nav a:nth-child(3) { animation-delay: 0.26s; }
  body.nav-open .nav a:nth-child(4) { animation-delay: 0.32s; }
  body.nav-open .nav a:nth-child(5) { animation-delay: 0.38s; }
  @keyframes nav-in { to { opacity: 1; transform: none; } }
}
@media (min-width: 900px) { .burger { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--foam);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: -6% 0 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(33, 18, 8, 0.62) 0%, rgba(33, 18, 8, 0.2) 38%, rgba(33, 18, 8, 0.9) 100%),
    radial-gradient(80% 55% at 22% 78%, rgba(18, 54, 64, 0.55), transparent 70%);
}

.hero-inner {
  width: min(1240px, 100% - (var(--pad) * 2));
  margin-inline: auto;
  padding-block: clamp(6rem, 12vh, 9rem) clamp(4rem, 8vh, 6rem);
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.35fr 0.65fr; }
}

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); max-width: 15ch; text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.28s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.41s; }
@keyframes rise { to { transform: none; } }
.hero h1 em { font-style: normal; color: var(--brass-lt); }

.hero-sub {
  max-width: 46ch;
  color: rgba(251, 245, 233, 0.86);
  margin-top: 1.5rem;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.62s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.78s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* the moored seal — rotates as you scroll, the page's signature mark */
.seal {
  position: relative;
  width: clamp(150px, 20vw, 216px);
  justify-self: end;
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.9s forwards;
}
.seal img { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
.seal svg {
  position: absolute;
  inset: -19%;
  width: 138%;
  height: 138%;
  animation: spin 26s linear infinite;
}
.seal text { fill: var(--brass-lt); font-size: 7.4px; letter-spacing: 3.4px; font-weight: 500; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 999px) { .seal { display: none; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.62);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--brass), transparent);
  animation: cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.25); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* steam curling off the hero */
.steam { position: absolute; top: 18%; right: 12%; width: 90px; opacity: 0.32; z-index: -1; }
.steam path {
  fill: none;
  stroke: var(--foam);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 120;
  animation: steam 5.5s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: 1.1s; }
.steam path:nth-child(3) { animation-delay: 2.3s; }
@keyframes steam {
  0% { stroke-dashoffset: 120; opacity: 0; transform: translateY(12px); }
  35% { opacity: 0.9; }
  100% { stroke-dashoffset: -120; opacity: 0; transform: translateY(-22px); }
}
@media (max-width: 800px) { .steam { display: none; } }

/* page banner for interior pages */
.page-head {
  position: relative;
  padding: clamp(9rem, 18vh, 13rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--parchment);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 10%;
  width: 340px;
  height: 340px;
  background: url("../assets/img/logo-badge.png") center / contain no-repeat;
  opacity: 0.07;
  animation: spin 55s linear infinite;
}
.page-head h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
.page-head .lede { margin-top: 1.4rem; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  background: var(--ink);
  color: var(--parchment);
  padding-block: 1.05rem;
  overflow: hidden;
  border-block: 1px solid rgba(196, 137, 47, 0.3);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  letter-spacing: 0.1em;
  padding-inline: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.marquee em { font-style: normal; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* image that unmasks as it enters */
.unveil { position: relative; overflow: hidden; }
.unveil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--parchment);
  transform-origin: right;
  transition: transform 1.05s var(--ease);
}
.unveil.is-in::after { transform: scaleX(0); }
.unveil img { transform: scale(1.16); transition: transform 1.5s var(--ease); }
.unveil.is-in img { transform: none; }

/* ==========================================================================
   Story / split blocks
   ========================================================================== */
.split {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .split.is-flipped .split-media { order: 2; }
}
.split-media { position: relative; }
/* the photo lives in its own .unveil wrapper so these rules can never reach the badge */
.split-media .unveil { display: block; margin: 0; border-radius: 2px; }
.split-media .unveil img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.is-tall .unveil img { aspect-ratio: 3 / 4; }

/* the badge — always a complete circle, never cropped to the container */
.stamp {
  position: absolute;
  right: clamp(-30px, -2vw, -18px);
  bottom: clamp(-34px, -2.2vw, -20px);
  z-index: 2;
  width: clamp(104px, 13vw, 156px);
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--foam);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(196, 137, 47, 0.5);
  animation: bob 6s ease-in-out infinite;
}
@media (max-width: 640px) {
  .stamp { right: -8px; bottom: -14px; width: clamp(86px, 23vw, 116px); }
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }

.pull {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.28;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 3px solid var(--brass);
  padding-left: 1.3rem;
  margin: 2rem 0;
}

/* ==========================================================================
   Cup-label cards — the signature device.
   Every menu item is dressed as the sticker the baristas write on.
   ========================================================================== */
.labels {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.label-card {
  position: relative;
  background: var(--paper);
  border-radius: 3px;
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  border: 1px solid rgba(33, 18, 8, 0.08);
}
.label-card::before,
.label-card::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 46px;
  height: 20px;
  background: rgba(196, 137, 47, 0.32);
  border: 1px solid rgba(33, 18, 8, 0.06);
}
.label-card::before { left: 16px; transform: rotate(-4deg); }
.label-card::after { right: 16px; transform: rotate(3deg); }
.label-card:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: var(--shadow-md); }

.label-card .stamp-mini {
  width: 34px;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}
.label-card h3 {
  font-family: var(--marker);
  text-transform: none;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--ink);
}
.label-card p {
  font-size: 0.9rem;
  color: var(--ink-3);
  margin-top: 0.5rem;
  line-height: 1.6;
}
.label-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(33, 18, 8, 0.22);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.price { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.02em; color: var(--brass); }

.tag {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 40px;
  background: var(--harbor);
  color: var(--foam);
  margin-bottom: 0.75rem;
}
.tag.is-brass { background: var(--brass); color: var(--ink); }

/* ==========================================================================
   Feature cards with photography
   ========================================================================== */
.feature-grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.feature {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink);
  isolation: isolate;
  min-height: clamp(360px, 44vw, 480px);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  color: var(--foam);
}
.feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(33, 18, 8, 0) 30%, rgba(33, 18, 8, 0.88) 100%);
  transition: opacity 0.5s var(--ease);
}
.feature:hover img { transform: scale(1.08); }
.feature-body { transform: translateY(12px); transition: transform 0.55s var(--ease); }
.feature:hover .feature-body { transform: none; }
.feature h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.feature p {
  font-size: 0.88rem;
  color: rgba(251, 245, 233, 0.78);
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.45s var(--ease), margin 0.5s var(--ease);
}
.feature:hover p,
.feature:focus-within p { max-height: 9rem; opacity: 1; }

/* ==========================================================================
   Full-bleed atmosphere band
   ========================================================================== */
.band {
  position: relative;
  padding-block: clamp(5rem, 12vw, 9rem);
  color: var(--foam);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
/* over-sized so the parallax nudge can never expose an edge */
.band img {
  position: absolute;
  inset: -12% -4%;
  z-index: -2;
  width: 108%;
  height: 124%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 54, 64, 0.82), rgba(33, 18, 8, 0.9));
}
.band blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  line-height: 1.14;
  text-transform: uppercase;
}
.band blockquote em { font-style: normal; color: var(--brass-lt); }
.band cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.6);
}

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stats {
  display: grid;
  gap: 1px;
  background: rgba(33, 18, 8, 0.14);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid rgba(33, 18, 8, 0.14);
}
.stat { background: var(--foam); padding: 1.9rem 1.4rem; text-align: center; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--brass);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.mosaic { columns: 1; column-gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (min-width: 620px) { .mosaic { columns: 2; } }
@media (min-width: 1000px) { .mosaic { columns: 3; } }
.tile {
  break-inside: avoid;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.2rem);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  display: block;
  width: 100%;
  background: var(--sand);
}
.tile img { width: 100%; transition: transform 0.9s var(--ease), filter 0.6s var(--ease); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(33, 18, 8, 0.86));
  color: var(--foam);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  text-align: left;
}
.tile:hover img { transform: scale(1.06); }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 11, 5, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  width: auto;
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.45s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox-cap {
  color: rgba(251, 245, 233, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 1.1rem;
  text-align: center;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--foam);
  box-shadow: inset 0 0 0 1px rgba(251, 245, 233, 0.35);
  transition: background 0.3s, color 0.3s;
}
.lb-btn:hover { background: var(--brass); color: var(--ink); }
.lb-prev { left: clamp(0.6rem, 3vw, 2.4rem); }
.lb-next { right: clamp(0.6rem, 3vw, 2.4rem); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); transform: none; }

/* ==========================================================================
   Menu page
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.filter {
  padding: 0.62rem 1.15rem;
  border-radius: 40px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(33, 18, 8, 0.22);
  color: var(--ink-3);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.filter:hover { transform: translateY(-2px); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--foam); box-shadow: none; }

.menu-item.is-hidden { display: none; }
.menu-item { animation: pop 0.5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

.board {
  background: var(--harbor);
  color: var(--foam);
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(251, 245, 233, 0.16), inset 0 0 0 7px var(--harbor),
    inset 0 0 0 8px rgba(251, 245, 233, 0.1);
}
.board h3 { color: var(--brass-lt); margin-bottom: 1.4rem; }
.board-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px dotted rgba(251, 245, 233, 0.22);
}
.board-row:last-child { border-bottom: 0; }
.board-row .nm { font-weight: 400; }
.board-row .dots { flex: 1; border-bottom: 1px dotted rgba(251, 245, 233, 0.3); transform: translateY(-4px); }
.board-row .pr { font-family: var(--display); color: var(--brass-lt); font-size: 0.95rem; }

/* ==========================================================================
   Visit page
   ========================================================================== */
.info-stack {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  align-items: start;
}
.info-card {
  background: var(--paper);
  border: var(--edge);
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card h3 { font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.85rem; }
.info-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--parchment);
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(33, 18, 8, 0.16);
  font-size: 0.92rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row b { font-weight: 500; }
.hours-row.is-today { color: var(--brass); }
.hours-row.is-today::after { content: "TODAY"; font-size: 0.55rem; letter-spacing: 0.2em; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid rgba(33, 18, 8, 0.18);
  border-radius: 3px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brass);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(196, 137, 47, 0.18);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 3px;
  background: var(--parchment);
  border-left: 3px solid var(--brass);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-shown { display: block; animation: fade-up 0.5s var(--ease); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
  background: var(--ink);
  color: rgba(251, 245, 233, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.foot-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(251, 245, 233, 0.14);
}
.site-foot h4 {
  color: var(--foam);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  margin-bottom: 1.15rem;
  font-family: var(--body);
  font-weight: 500;
}
.site-foot a { transition: color 0.3s, padding 0.3s; }
.site-foot a:hover { color: var(--brass-lt); }
.foot-links li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.foot-links a:hover { padding-left: 6px; }
.foot-brand img { width: 82px; margin-bottom: 1.2rem; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(251, 245, 233, 0.5);
}
.socials { display: flex; gap: 0.65rem; margin-top: 1.3rem; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(251, 245, 233, 0.24);
  transition: background 0.35s var(--ease), color 0.35s, transform 0.35s var(--ease);
}
.socials a:hover { background: var(--brass); color: var(--ink); transform: translateY(-3px); }

/* back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--foam);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass); color: var(--ink); }

/* scroll progress hairline */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brass), var(--sea));
  z-index: 95;
}

/* ==========================================================================
   Motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .unveil::after { display: none; }
  .unveil img { transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero-sub, .hero-actions, .seal { opacity: 1; }
}
