:root {
  --cream: #f5f5c5;
  --olive: #414a2c;
  --olive-deep: #414a2c;
  --ink: #414a2c;
  --line: rgba(65, 74, 44, 0.24);
  --page-inline: clamp(1rem, 5vw, 5.5rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--olive);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  color: var(--cream);
  background: var(--olive);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-inline);
  color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .35s ease, height .35s ease, color .35s ease;
}
.site-header.is-scrolled {
  height: 72px;
  color: var(--olive);
  background: rgba(245,245,197,.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand { width: clamp(8.7rem, 13vw, 11.5rem); }
.brand-lockup { position: relative; display: block; width: 100%; }
.brand img { width: 100%; height: auto; transition: opacity .25s ease; }
.brand-logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled .brand-logo-light { opacity: 0; }
.site-header.is-scrolled .brand-logo-dark { opacity: 1; }
.site-header.is-menu-open .brand-logo-light { opacity: 1; }
.site-header.is-menu-open .brand-logo-dark { opacity: 0; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.25rem); }
.desktop-nav a,
.header-cta {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.desktop-nav a { position: relative; padding: .65rem 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .45rem;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta {
  justify-self: end;
  padding: .85rem 1.05rem;
  border: 1px solid currentColor;
  transition: color .2s ease, background .2s ease;
}
.header-cta:hover { color: var(--olive); background: var(--cream); }
.site-header.is-scrolled .header-cta:hover { color: var(--cream); background: var(--olive); }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: #1c160f;
}
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(10,9,6,.4) 0%, rgba(10,9,6,.04) 36%, rgba(10,9,6,.78) 100%),
    linear-gradient(90deg, rgba(10,9,6,.4) 0%, transparent 68%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 9rem var(--page-inline) clamp(4.5rem, 8vw, 7.5rem);
}
.eyebrow {
  margin: 0 0 1.2rem;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-eyebrow { color: rgba(245,245,197,.82); }
.hero-wordmark {
  width: min(76vw, 1020px);
  height: auto;
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
}
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.hero-tagline {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.7rem);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero-tagline em { font-family: var(--serif); font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--olive); background: var(--cream); }
.button-dark { color: var(--cream); background: var(--olive); }
.button-outline { color: var(--cream); border-color: rgba(245,245,197,.45); }
.button-outline:hover { color: var(--olive); background: var(--cream); border-color: var(--cream); }
.text-link { font-size: .82rem; font-weight: 700; border-bottom: 1px solid currentColor; padding: .5rem 0; }
.hours-stamp {
  position: absolute;
  z-index: 2;
  right: var(--page-inline);
  top: 33%;
  width: 158px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  border: 1px solid rgba(245,245,197,.55);
  border-radius: 50%;
  transform: rotate(8deg);
  text-align: center;
  backdrop-filter: blur(7px);
}
.hours-stamp span { font: italic 1.15rem var(--serif); }
.hours-stamp strong { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.75rem;
  writing-mode: vertical-rl;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section { padding: clamp(5.5rem, 10vw, 10rem) var(--page-inline); }
.story {
  min-height: 840px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(3rem, 6vw, 7.5rem);
  align-items: center;
  overflow: hidden;
}
.story h1,
.section-heading h2,
.brand-message h2,
.visit h2 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.065em;
}
.story-copy { min-width: 0; }
.story h1 { max-width: 14ch; }
.story .lead {
  max-width: 720px;
  margin: clamp(2rem, 4vw, 3.25rem) 0;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.9vw, 1.8rem);
  line-height: 1.45;
}
.story-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.story-meta div { display: grid; gap: .4rem; }
.story-meta span { font-size: .68rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.story-meta strong { font-size: .95rem; }
.story-art {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: clamp(590px, 48vw, 720px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8rem 2rem 0;
  background: var(--cream);
  border: 2px solid var(--olive);
  border-radius: 50% 50% 1.25rem 1.25rem;
  overflow: hidden;
}
.story-art img {
  width: min(88%, 460px);
  height: auto;
  transform: translateY(2%);
}
.art-note {
  position: absolute;
  z-index: 2;
  inset: 2.6rem 2rem auto;
  color: var(--olive);
  text-align: center;
  font: italic clamp(1.25rem, 2vw, 2rem)/1.15 var(--serif);
}

.ticker { overflow: hidden; color: var(--cream); background: var(--olive); border-block: 1px solid rgba(245,245,197,.28); }
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 2.3rem;
  padding: .55rem 0 .72rem;
  animation: ticker 24s linear infinite;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.ticker i { font: 400 .42em var(--serif); }
@keyframes ticker { to { transform: translateX(-50%); } }

.flavours { color: var(--cream); background: var(--olive-deep); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; margin-bottom: clamp(3.5rem, 6vw, 6.5rem); }
.section-heading h2 em, .brand-message h2 em, .visit h2 em { font-family: var(--serif); font-weight: 400; }
.section-heading > p { max-width: 420px; margin: 0 0 .4rem auto; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.food-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.food-card { position: relative; grid-column: span 5; min-height: 510px; overflow: hidden; background: #171a11; }
.food-card-wide { grid-column: span 7; }
.food-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.food-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(15,14,9,.86)); }
.food-card:hover img { transform: scale(1.045); }
.food-label { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: end; }
.food-label span { grid-row: 1 / 3; align-self: start; font-size: .68rem; letter-spacing: .15em; opacity: .7; }
.food-label h3 { margin: 0; font: italic clamp(1.6rem, 2.4vw, 2.7rem)/1 var(--serif); }
.food-label p { margin: .45rem 0 0; font-size: .84rem; opacity: .8; }

.brand-moment {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.brand-message h2 { color: var(--olive); }
.brand-message > p:not(.eyebrow) { max-width: 620px; margin: 2.4rem 0; font: 1.25rem/1.5 var(--serif); }
.brand-orbit { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit-ring { width: min(38vw, 470px); aspect-ratio: 1; border: 2px solid var(--olive); border-radius: 50%; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; inset: 11% 11%; border: 1px dashed rgba(65,74,44,.48); border-radius: 50%; }
.orbit-ring::after { inset: 25%; border-style: solid; }
.orbit-cup {
  position: absolute;
  width: clamp(8.5rem, 13vw, 11.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--olive);
}
.orbit-cup svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit-cup path { vector-effect: non-scaling-stroke; }
.orbit-note { position: absolute; padding: .75rem 1rem; color: var(--cream); background: var(--olive); font-size: .75rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.orbit-note-one { left: 2%; top: 16%; transform: rotate(-8deg); }
.orbit-note-two { right: 0; top: 38%; transform: rotate(7deg); }
.orbit-note-three { left: 16%; bottom: 12%; transform: rotate(4deg); }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 9rem); color: var(--cream); background: var(--olive); }
.visit-intro > p:last-child { max-width: 600px; margin: 2rem 0 0; font: 1.2rem/1.5 var(--serif); color: rgba(245,245,197,.82); }
.visit-details { align-self: end; border-top: 1px solid rgba(245,245,197,.34); }
.detail-row { display: grid; grid-template-columns: 1fr 1.7fr; gap: 1.2rem; padding: 1.45rem 0; border-bottom: 1px solid rgba(245,245,197,.2); }
.detail-row span { font-size: .7rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.detail-row strong { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.detail-row a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: 2rem; }

.footer {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 43vw, 650px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(2rem, 3.5vw, 3.2rem) var(--page-inline) clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--cream);
  background:
    radial-gradient(ellipse at 50% 122%, rgba(245,245,197,.46) 0%, rgba(245,245,197,0) 55%),
    linear-gradient(180deg, #414a2c 0%, #414a2c 34%, rgba(65,74,44,.91) 70%, rgba(65,74,44,.78) 100%);
  border-top: 1px solid rgba(245,245,197,.16);
}
.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 18%;
  right: 18%;
  bottom: -110px;
  height: 190px;
  border-radius: 50%;
  background: rgba(245,245,197,.3);
  filter: blur(58px);
  pointer-events: none;
}
.footer-top,
.footer-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 1.5rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-top { grid-template-columns: 1fr auto; }
.footer-top p,
.footer-bottom p { margin: 0; }
.footer-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(245,245,197,.62);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.footer-cta:hover { color: var(--olive); background: var(--cream); transform: translateY(-2px); }
.footer-wordmark {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  height: clamp(120px, 17vw, 220px);
  background: linear-gradient(180deg, rgba(245,245,197,.42), rgba(245,245,197,.07));
  -webkit-mask-image: url("./assets/brewio-wordmark-vector.svg");
  mask-image: url("./assets/brewio-wordmark-vector.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.footer-bottom {
  grid-template-columns: 1fr auto 1fr;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(245,245,197,.24);
  color: rgba(245,245,197,.84);
}
.footer-tagline { font: italic 1.08rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.footer-bottom nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.footer-copyright { text-align: right; }
.footer-bottom a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: .25rem; }

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--olive);
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px) rotate(-4deg); }
.floating-whatsapp svg { width: 30px; fill: currentColor; }
.toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 150%);
  padding: .9rem 1.15rem;
  color: var(--cream);
  background: var(--ink);
  font-size: .85rem;
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle {
    display: grid;
    place-content: center;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 1px; margin: 3px 0; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 72px 0 auto;
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .7rem;
    padding: 2rem;
    color: var(--cream);
    background: var(--olive);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { font-size: clamp(2.5rem, 9vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
  .mobile-menu a:last-child { margin-top: 1.5rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .4rem; }
  .site-header.is-menu-open { color: var(--cream); background: var(--olive); }
  .hero-wordmark { width: 88vw; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hours-stamp { top: 24%; width: 128px; }
  .story, .brand-moment, .visit { grid-template-columns: 1fr; }
  .story { min-height: auto; }
  .story-art { width: min(100%, 650px); min-height: 690px; justify-self: center; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { margin-left: 0; }
  .brand-orbit { min-height: 460px; }
  .orbit-ring { width: min(72vw, 470px); }
  .visit-details { margin-top: 1rem; }
}

@media (max-width: 700px) {
  .site-header { padding-inline: 1rem; }
  .brand { width: 8.6rem; }
  .hero { min-height: 820px; }
  .hero-content { width: 100%; padding-inline: 1rem; padding-bottom: 5rem; }
  .hero-wordmark { width: 100%; margin-top: .5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .hours-stamp { right: 1rem; top: 19%; width: 110px; }
  .hours-stamp span { font-size: 1rem; }
  .scroll-cue { display: none; }
  .section { padding: 5.5rem 1rem; }
  .story h1, .section-heading h2, .brand-message h2, .visit h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .story-meta { grid-template-columns: 1fr; }
  .story-art { min-height: 540px; padding: 7rem 1rem 0; border-radius: 50% 50% .8rem .8rem; }
  .story-art img { width: min(92%, 390px); }
  .art-note { inset: 2.2rem 1.25rem auto; }
  .ticker-track { gap: 1.4rem; }
  .food-grid { display: block; }
  .food-card { min-height: 470px; margin-bottom: 1rem; }
  .food-card-wide { min-height: 390px; }
  .brand-moment { gap: 2rem; }
  .brand-orbit { min-height: 400px; }
  .orbit-note-one { left: 0; }
  .orbit-note-two { right: -2%; }
  .detail-row { grid-template-columns: 1fr; gap: .45rem; }
  .visit-actions { flex-direction: column; }
  .visit-actions .button { width: 100%; }
  .footer { min-height: 460px; padding: 1.5rem 1rem; }
  .footer-top { grid-template-columns: 1fr auto; gap: 1rem; }
  .footer-top p { max-width: 12rem; line-height: 1.45; }
  .footer-wordmark { height: clamp(68px, 22vw, 110px); }
  .footer-bottom { grid-template-columns: 1fr; gap: .9rem; }
  .footer-bottom nav { flex-wrap: wrap; row-gap: .7rem; }
  .footer-copyright { text-align: left; }
  .floating-whatsapp { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
