/* ============================================================
   FONTS — self-hosted
   ============================================================ */
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-800-italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary: #0f0e0e;
  --color-secondary: #f5f2ed;
  --color-accent: #ed1b23;
  --color-accent-dark: #c80e24; /* AA contrast behind white text */
  --color-surface: #1a1818;
  --color-white: #ffffff;
  --color-muted: #55504c;
  --color-line: rgba(15, 14, 14, 0.14);
  --color-line-light: rgba(255, 255, 255, 0.18);
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --header-height: 4rem;
  --section-pad: clamp(3rem, 7vw, 5rem);
  --radius: 12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-secondary);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important; /* must beat component display rules */
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
.display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

.accent {
  display: block;
  color: var(--color-accent);
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  max-width: 34rem;
}

/* Hand-drawn "spark" flourish after a heading */
.spark::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.15em;
  vertical-align: top;
  background: url("/assets/icons/spark.svg") center / contain no-repeat;
}

/* Brush underline */
.swoosh::after {
  content: "";
  display: block;
  width: min(11rem, 60%);
  height: 0.75rem;
  margin-top: 0.25rem;
  background: url("/assets/icons/swoosh.svg") left center / 100% 100% no-repeat;
}

.text-center {
  text-align: center;
}

.text-center.swoosh::after {
  margin-inline: auto;
}

/* ============================================================
   LAYOUT & BUTTONS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--waves {
  background-image:
    url("/assets/icons/waves.svg"), url("/assets/icons/waves.svg");
  background-position:
    -60px -20px,
    calc(100% + 60px) calc(100% + 20px);
  background-repeat: no-repeat;
  background-size: 220px;
}

.section--red {
  background-color: var(--color-accent-dark);
  color: var(--color-white);
}

.section__head {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.section__head--left {
  justify-items: start;
  text-align: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn--red {
  background-color: var(--color-accent-dark);
  color: var(--color-white);
}

.btn--red:hover {
  background-color: #a50b1d;
}

.btn--outline {
  border-color: currentColor;
  color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-accent-dark);
}

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-center {
  margin-top: 2rem;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================================================
   HEADER
   ============================================================ */
/* Reserve space while the partial loads, to avoid layout shift */
#site-header {
  height: var(--header-height);
  background-color: var(--color-primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  flex-shrink: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.site-logo {
  display: block;
  flex-shrink: 0;
}

.site-logo img {
  width: 11rem;
}

/* ---------- Mobile and tablet menu: full-height panel ---------- */
html.nav-locked {
  overflow: hidden;
}

.main-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.5rem var(--container-pad) calc(1.25rem + env(safe-area-inset-bottom));
  overflow: hidden auto;
  overscroll-behavior: contain;
  background: var(--color-primary) url("/assets/icons/waves.svg") right -130px top -70px / 220px no-repeat;
  border-top: 3px solid var(--color-accent);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.3s ease,
    visibility 0s linear 0.3s;
}

/* Red brush slash behind the links */
.main-nav::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -4rem;
  z-index: -1;
  width: 17rem;
  height: 12rem;
  background-color: var(--color-accent);
  -webkit-mask: url("/assets/icons/brush.svg") center / contain no-repeat;
  mask: url("/assets/icons/brush.svg") center / contain no-repeat;
}

.nav-open .main-nav {
  visibility: visible;
  clip-path: inset(0);
  transition: clip-path 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list li,
.nav-extra {
  opacity: 0;
  transform: translateX(-2.5rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-list li {
  border-bottom: 1px solid var(--color-line-light);
}

.nav-open .nav-list li,
.nav-open .nav-extra {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.35);
}

.nav-open .nav-list li:nth-child(1) {
  transition-delay: 0.12s;
}

.nav-open .nav-list li:nth-child(2) {
  transition-delay: 0.18s;
}

.nav-open .nav-list li:nth-child(3) {
  transition-delay: 0.24s;
}

.nav-open .nav-list li:nth-child(4) {
  transition-delay: 0.3s;
}

.nav-open .nav-extra {
  transition-delay: 0.38s;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.5rem, 1.4vh, 1rem);
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.25rem, min(12vw, 6.4vh), 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.nav-link__label {
  padding: 0.04em 0.3em 0.08em 0;
  transition: translate 0.2s ease;
}

.nav-link:hover .nav-link__label,
.nav-link:active .nav-link__label {
  translate: 0.5rem 0;
}

.nav-link__ko {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Current page sits on a slanted red stroke */
.nav-link[aria-current="page"] .nav-link__label {
  padding-inline: 0.3em 0.45em;
  background-color: var(--color-accent-dark);
  clip-path: polygon(2% 10%, 100% 0, 95% 92%, 0 100%);
}

.nav-cta-item {
  display: none;
}

.nav-extra {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
}

.nav-extra__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.nav-flavours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.nav-flavours a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

/* Photos only download once the menu has been opened */
.nav-flavours img {
  display: none;
  width: 100%;
  max-width: 6.5rem;
  aspect-ratio: 1;
  margin: 0 auto 0.4rem;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
}

.nav-seen .nav-flavours img {
  display: block;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nav-actions .btn {
  flex: 1 1 9rem;
  padding-inline: 0.5rem;
  font-size: 1.0625rem;
}

.nav-extra__note {
  font-size: 0.9375rem;
  text-align: center;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 6.25rem;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-toggle__bars {
  display: grid;
  justify-items: end;
  gap: 5px;
  width: 1.25rem;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    width 0.2s ease;
}

.nav-toggle__bar:nth-child(2) {
  width: 65%;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Short upright phones: tighten up so everything fits without scrolling */
@media (max-width: 1023px) and (orientation: portrait) and (max-height: 700px) {
  .main-nav {
    gap: 1rem;
    padding-bottom: 0.75rem;
  }

  .nav-link {
    padding-block: 0.4rem;
    font-size: 2rem;
  }

  .nav-extra {
    gap: 0.6rem;
  }

  .nav-flavours img {
    max-width: 3.75rem;
  }

  .nav-extra__note {
    display: none;
  }
}

/* Tall tablets: scale up to fill the space */
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 850px) {
  .nav-link {
    padding-block: 1.5rem;
    font-size: 5.5rem;
  }

  .nav-flavours img {
    max-width: 8.5rem;
  }
}

/* Phones on their side: links and extras side by side */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 500px) {
  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 1.5rem;
  }

  .main-nav::before {
    display: none;
  }

  .nav-link {
    padding-block: 0.45rem;
    font-size: 2.125rem;
  }

  .nav-extra {
    align-self: center;
    gap: 0.6rem;
  }

  .nav-extra__note {
    display: none;
  }

  .nav-flavours img {
    max-width: 4rem;
  }
}

/* ---------- Desktop: inline navigation ---------- */
@media (min-width: 1024px) {
  :root {
    --header-height: 4.5rem;
  }

  .site-logo img {
    width: 13rem;
  }

  .nav-toggle,
  .nav-extra,
  .main-nav::before {
    display: none;
  }

  .main-nav {
    display: block;
    flex: 1;
    position: static;
    padding: 0;
    overflow: visible;
    background: none;
    border: none;
    visibility: visible;
    clip-path: none;
    transition: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
  }

  .nav-list li {
    border: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-cta-item {
    display: list-item;
  }

  .nav-link {
    display: block;
    padding-block: 0.25rem;
    font-weight: 700;
    font-style: normal;
    font-size: 1.1875rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    border-bottom: 3px solid transparent;
  }

  .nav-link:hover {
    color: #ff8a8f;
  }

  .nav-link__label,
  .nav-link[aria-current="page"] .nav-link__label {
    padding: 0;
    background: none;
    clip-path: none;
  }

  .nav-link:hover .nav-link__label,
  .nav-link:active .nav-link__label {
    translate: none;
  }

  .nav-link__ko {
    display: none;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--color-accent);
  }

  .nav-cta {
    min-height: 2.5rem;
    padding-block: 0.35rem;
    font-size: 1.0625rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.hero__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__content {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.hero__title {
  font-size: clamp(3.25rem, 13vw, 6.5rem);
  line-height: 0.9;
}

.hero__title--md {
  font-size: clamp(2.75rem, 11vw, 5.5rem);
}

.hero__kicker {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

.badge {
  display: none;
}

/* Side-by-side hero for tablets, desktops and landscape phones */
@media (min-width: 768px),
  (min-width: 560px) and (orientation: landscape) {
  .hero {
    display: flex;
    align-items: center;
    min-height: clamp(22rem, 42vw, 34rem);
  }

  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -2;
    width: 68%;
    height: 100%;
    aspect-ratio: auto;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      90deg,
      var(--color-primary) 32%,
      rgba(15, 14, 14, 0.82) 45%,
      rgba(15, 14, 14, 0) 70%
    );
  }

  .hero__content {
    padding-block: 2.5rem;
  }

  .hero__text {
    max-width: 24rem;
  }

  .hero__title {
    max-width: 62%;
    font-size: clamp(3rem, 7.4vw, 6.5rem);
  }

  .hero__title--md {
    font-size: clamp(2.5rem, 6.4vw, 5.5rem);
  }
}

@media (min-width: 1024px) {
  .badge {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    display: grid;
    place-content: center;
    width: 9rem;
    aspect-ratio: 1;
    padding: 1rem;
    border: 3px solid var(--color-white);
    border-radius: 50%;
    background-color: rgba(15, 14, 14, 0.85);
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    font-size: 1.375rem;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    rotate: 6deg;
  }
}

/* ============================================================
   FLAVOUR CAROUSEL (home)
   ============================================================ */
.carousel {
  position: relative;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px;
  padding-inline: 4px;
  scroll-padding-inline: 4px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.flavour-card {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius);
  background-color: var(--color-surface);
}

.flavour-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.flavour-card__text {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 0.75rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92) 60%);
  text-align: center;
}

.flavour-card h3 {
  font-style: italic;
  font-size: 1.6rem;
}

.flavour-card p {
  font-size: 0.9375rem;
  line-height: 1.35;
}

.carousel__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
}

.carousel__btn:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.carousel__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 560px) {
  .carousel__track {
    grid-auto-columns: calc((100% - 2rem) / 3);
  }
}

@media (min-width: 1024px) {
  .carousel__track {
    grid-auto-columns: calc((100% - 3rem) / 4);
  }
}

/* ============================================================
   CATEGORY TILES (home)
   ============================================================ */
.tile-grid {
  display: grid;
  gap: 1rem;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tile:hover img {
  transform: scale(1.05);
}

.tile__label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 3rem 0.9rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.tile__label h3 {
  font-style: italic;
  font-weight: 800;
  font-size: 1.75rem;
}

.price {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  white-space: nowrap;
}

@media (min-width: 560px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   SPLIT FEATURE (image + text)
   ============================================================ */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split__text {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
}

.split__media--tall img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px),
  (min-width: 560px) and (orientation: landscape) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .split__media--tall img {
    aspect-ratio: 4 / 5;
    max-height: 36rem;
  }
}

/* ============================================================
   CTA BAND, REVIEWS, PHOTO BAND
   ============================================================ */
.cta-band {
  background-image: url("/assets/icons/brush.svg"), url("/assets/icons/brush.svg");
  background-position:
    left -80px top -30px,
    right -80px bottom -30px;
  background-repeat: no-repeat;
  background-size: 260px;
  padding-block: 2.5rem;
}

.cta-band__inner {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.cta-band h2 .accent {
  color: inherit;
}

@media (min-width: 768px) {
  .cta-band__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
  }
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 5px solid var(--color-accent);
  border-radius: var(--radius);
}

.review blockquote {
  font-size: 1.1875rem;
}

.review__score {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
}

.stars {
  color: #9a6500;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.review__source {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.review__source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-band {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.photo-band img {
  width: 100%;
  height: clamp(16rem, 44vw, 30rem);
  object-fit: cover;
}

.photo-band__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.85));
  padding-block: 1.5rem;
}

.photo-band__caption p {
  font-size: clamp(2.25rem, 6vw, 4rem);
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.chip-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background-color: var(--color-primary);
  border-top: 1px solid var(--color-line-light);
  border-bottom: 3px solid var(--color-accent);
}

.chip-nav ul {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.5rem;
}

.chip-nav ul::-webkit-scrollbar {
  display: none;
}

/* Centre the chips when they fit, scroll when they do not */
.chip-nav li:first-child {
  margin-left: auto;
}

.chip-nav li:last-child {
  margin-right: auto;
}

.chip {
  display: block;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.chip:hover {
  background-color: var(--color-surface);
}

.chip[aria-current="true"] {
  background-color: var(--color-accent-dark);
}

.menu-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: calc(var(--header-height) + 3.5rem);
}

.menu-section h2 {
  margin-bottom: 1.5rem;
}

.menu-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.menu-grid + .menu-grid {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .menu-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel {
  overflow: hidden;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.panel > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.panel__body {
  padding: 1.25rem;
}

.panel__body > p {
  margin-top: 0.35rem;
}

.panel--dark {
  background-color: var(--color-surface);
  color: var(--color-white);
  border-color: var(--color-line-light);
}

.panel--red {
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  border: none;
}

.panel--red .price {
  background-color: var(--color-white);
  color: var(--color-accent-dark);
}

.panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.size-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.size-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.size-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 1.25rem 0.75rem;
  margin-top: 1.5rem;
}

.flavour-grid li {
  text-align: center;
}

.flavour-grid img {
  width: 7rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
}

.flavour-grid h4 {
  font-size: 1.125rem;
}

.flavour-grid p {
  font-size: 0.9375rem;
  line-height: 1.35;
  opacity: 0.85;
}

.dish-list {
  display: grid;
}

.dish {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.dish:last-child {
  border-bottom: none;
}

.dish--no-code {
  grid-template-columns: 1fr auto;
}

.panel--dark .dish,
.section--dark .dish {
  border-bottom-color: var(--color-line-light);
}

.dish__code {
  padding-block: 0.1rem;
  border: 2px solid var(--color-accent);
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.dish__name {
  font-size: 1.3125rem;
}

.dish__name small {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0;
}

.dish p {
  font-size: 0.9688rem;
  line-height: 1.45;
  opacity: 0.85;
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.choice-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.choice-list .dish__code {
  width: 2.5rem;
  flex-shrink: 0;
}

.choice-title {
  margin-top: 1.25rem;
}

.price-grid {
  display: grid;
  column-gap: 2.5rem;
}

@media (max-width: 767px) {
  /* Stacked lists still need a divider where the first one ends */
  .price-grid .dish-list:first-child .dish:last-child {
    border-bottom: 1px solid var(--color-line-light);
  }
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel > img.img-contain {
  object-fit: contain;
  background-color: var(--color-white);
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.photo-row img {
  width: 100%;
  border-radius: var(--radius);
}

.drink-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .drink-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .drink-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.drink-grid h3 {
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--color-accent-dark);
  border-bottom: 3px solid var(--color-accent);
}

.drink-grid li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.3rem;
}

.drink-grid li span:last-child {
  font-weight: 600;
  color: var(--color-accent-dark);
}

.menu-note {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

.stat-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
}

.stat-grid span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.founder {
  max-width: 24rem;
}

figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.timeline {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-accent);
}

.timeline li {
  position: relative;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: calc(-1.5rem - 10px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 4px solid var(--color-accent);
}

.timeline img {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius);
}

.timeline__year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: #ff4d55;
}

@media (min-width: 768px),
  (min-width: 560px) and (orientation: landscape) {
  .timeline li {
    grid-template-columns: 1fr 18rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .timeline li {
    grid-template-columns: 1fr 24rem;
  }
}

.wide-figure img {
  width: 100%;
  border-radius: var(--radius);
}

.wide-figure {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pull-quote {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.pull-quote blockquote {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.1;
}

.pull-quote figcaption {
  margin-top: 1rem;
  font-size: 1rem;
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery li {
  aspect-ratio: 4 / 3;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 15rem;
  }

  .gallery li {
    aspect-ratio: auto;
    min-height: 0;
  }

  .gallery .gallery__wide {
    grid-column: span 2;
  }

  .gallery .gallery__tall {
    grid-row: span 2;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid > * + * {
    padding-left: 3rem;
    border-left: 1px solid var(--color-line);
  }
}

.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-content: start;
}

.form-subtitle {
  color: var(--color-accent-dark);
  font-style: italic;
  font-weight: 800;
  font-size: 1.75rem;
}

.form-group {
  display: grid;
  gap: 0.25rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.required {
  color: var(--color-accent-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  background-color: var(--color-white);
  border: 1px solid #6f6963;
  border-radius: 8px;
  font-size: 1rem; /* 16px stops iOS zooming on focus */
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-group [aria-invalid="true"] {
  border: 2px solid var(--color-accent-dark);
}

#contact-form {
  display: grid;
  gap: 1rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

#contact-form .btn {
  width: 100%;
}

.store-card {
  overflow: hidden;
}

.store-card h3 {
  margin-bottom: 0.5rem;
}

.store-card a:not(.btn) {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours {
  width: 100%;
  margin-block: 1rem;
  border-collapse: collapse;
  font-size: 1rem;
}

.hours caption {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
}

.hours th,
.hours td {
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

.hours th {
  text-align: left;
  font-weight: 400;
}

.hours td {
  text-align: right;
}

.hours td span {
  display: block;
  white-space: nowrap;
}

.map {
  width: 100%;
  height: 20rem;
  border: 0;
  border-radius: var(--radius);
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

.feature {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: center;
}

.feature svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--color-accent);
}

.feature h2 {
  font-size: 1.75rem;
}

.feature p {
  font-size: 0.9688rem;
  line-height: 1.4;
}

.feature:hover h2 {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-top: 5px solid var(--color-accent);
  padding-block: 2.5rem 1.5rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-inner img {
  width: 12rem;
}

.footer-tagline {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 1.375rem;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  display: inline-block;
  padding-block: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-contact a {
  display: inline-block;
  padding-block: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line-light);
  font-size: 0.875rem;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

/* ============================================================
   CONTACT FORM STATUS (from Section 14 of CLAUDE.md)
   ============================================================ */
.form-status {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.form-status.success {
  color: #146c2e; /* darkened for AA contrast on light background */
}

.form-status.error {
  color: #b00d1f;
}

/* ============================================================
   FOCUS STYLES — do not remove
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.section--red :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.chip-nav :focus-visible {
  outline-color: #ffd23f;
}

/* Inset so the ring is not clipped by the scrolling containers */
.chip:focus-visible,
.carousel__track:focus-visible {
  outline-offset: -3px;
}

/* ============================================================
   SHORT LANDSCAPE SCREENS (phones on their side)
   ============================================================ */
@media (orientation: landscape) and (max-height: 500px) {
  :root {
    --header-height: 3.25rem;
    --section-pad: 2rem;
  }

  .site-logo img {
    width: 9.5rem;
  }

  .hero {
    min-height: 0;
  }

  .hero__content {
    gap: 0.6rem;
    padding-block: 1.25rem;
  }

  .hero__title {
    font-size: clamp(2.25rem, 7vw, 3.5rem);
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .badge {
    display: none;
  }

  .chip {
    padding-block: 0.25rem;
  }

  .chip-nav ul {
    padding-block: 0.3rem;
  }

  .map {
    height: 70vh;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* White on red needs full opacity to stay readable */
.pull-quote figcaption {
  opacity: 1;
}

/* ============================================================
   FULL-WIDTH BUTTONS ON PHONES
   Landscape layouts keep their natural widths, because their
   hero buttons sit beside the photo.
   ============================================================ */
@media (max-width: 559px), (max-width: 767px) and (orientation: portrait) {
  .btn {
    width: 100%;
  }

  .btn-row,
  .nav-actions {
    flex-direction: column;
    justify-self: stretch;
  }

  /* In a column, a flex basis would set height instead of width */
  .nav-actions .btn {
    flex: none;
  }

  .cta-band__inner {
    justify-items: stretch;
  }
}

/* ============================================================
   PHONES: swipe the flavour carousel, no arrow buttons
   Covers upright phones and phones on their side.
   ============================================================ */
@media (max-width: 767px),
  (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .carousel__controls {
    display: none;
  }
}

/* Wider phone layouts: leave part of the next card showing as a swipe cue */
@media (min-width: 560px) and (max-width: 767px),
  (min-width: 560px) and (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .carousel__track {
    grid-auto-columns: 29%;
  }
}

/* Review cards differ in length: keep text at the top, source at the bottom */
.review {
  justify-content: flex-start;
}

.review__source {
  margin-top: auto;
}
