/* ==========================================================================
   Happy Brew — styles.css
   One stylesheet for every page. Colours and sizes live in :root below.
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours (taken from the Happy Brew logo and crew shirts) */
  --sun: #fab300;        /* sunflower yellow */
  --sun-soft: #ffd257;
  --sun-pale: #fff0c2;
  --navy: #0d3256;       /* logo navy: all text and outlines */
  --navy-deep: #082340;
  --cream: #fff9ec;      /* page background */
  --paper: #ffffff;
  --sky: #d7ebf7;        /* from the butterfly mural */
  --blue: #1b6498;

  --font-display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;

  --line: 3px;                     /* outline thickness used everywhere */
  --radius: 28px;
  --radius-sm: 16px;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --smile: clamp(28px, 6vw, 84px); /* depth of the curved "smile" edges */
}

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

html {
  font-size: 112.5%; /* 1rem = 18px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.111rem);
  line-height: 1.6;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 5vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.25; }

p, ul, ol, dl, blockquote, figure { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; }
:where(ul:not([class]), ol:not([class])) > li + li { margin-top: 0.35em; }
strong { font-weight: 700; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 4px; }

:focus-visible {
  outline: 4px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}
.band--navy :focus-visible, .board :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
.card :focus-visible, .form--card :focus-visible, .event :focus-visible { outline-color: var(--navy); }

::selection { background: var(--sun); color: var(--navy); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -6rem; z-index: 100;
  background: var(--navy); color: #fff;
  padding: 0.8rem 1.2rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 0; outline-color: var(--sun); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 46rem; }

.lede { font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.4rem); line-height: 1.5; }
.small { font-size: 0.889rem; line-height: 1.5; } /* 16px: legal small print only */
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 0.6rem;
}
/* The "possABILITIES" emphasis from the logo */
.abil { font-weight: 700; letter-spacing: 0.01em; }

/* A hand-drawn smile underline for key words */
.smile-under {
  display: inline-block;
  background: url("assets/img/smile-line.svg") no-repeat center bottom / 100% 0.32em;
  padding-bottom: 0.26em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3.1rem; padding: 0.7rem 1.5rem;
  background: var(--navy); color: #fff;
  border: var(--line) solid var(--navy); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.15;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 5px 0 var(--navy-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--navy-deep); text-decoration: none; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--navy-deep); }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--paper { background: var(--paper); color: var(--navy); }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.15rem; font-size: 1rem; box-shadow: 0 4px 0 var(--navy-deep); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.band--navy .btn, .board .btn, .site-footer .btn { border-color: var(--sun); box-shadow: 0 5px 0 #000; }
.band--navy .form--card .btn { border-color: var(--navy); box-shadow: 0 5px 0 var(--navy-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; }
.btn-row--center { justify-content: center; }

.arrow-link {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.35em; min-height: 2.75rem;
}
.arrow-link::after { content: "→"; transition: transform 0.15s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: var(--line) solid var(--navy);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 4.25rem; padding-block: 0.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.brand svg { width: 2.6rem; height: auto; flex: none; }
.brand:hover svg { transform: rotate(-8deg); }
.brand svg { transition: transform 0.2s ease; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.4rem 1rem;
  background: var(--paper); color: var(--navy);
  border: var(--line) solid var(--navy); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; cursor: pointer;
}
.nav-toggle svg { width: 1.3rem; height: 1.3rem; }
.nav-toggle[aria-expanded="true"] { background: var(--sun); }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
html:not(.js) .nav-toggle { display: none; }
/* Narrow phones (320px): tighten the bar so the logo and menu button both fit */
@media (max-width: 24em) {
  .site-header__bar { gap: 0.5rem; }
  .brand { font-size: 1.2rem; gap: 0.4rem; }
  .brand svg { width: 2.1rem; }
  .nav-toggle { padding: 0.4rem 0.75rem; gap: 0.4rem; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: flex; align-items: center; min-height: 3rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sun); }
.site-nav a[aria-current="page"]:not(.btn), .site-nav a.is-section:not(.btn) {
  font-weight: 700;
  background: url("assets/img/smile-line.svg") no-repeat left 86% / 2.4em 0.4em;
}

/* Small screens: nav is a panel under the bar */
@media (max-width: 68.74em) {
  .site-nav { padding: 0.25rem 0 1.25rem; border-top: 2px dashed var(--navy); }
  .js .site-nav:not(.is-open) { display: none; }
  /* Keep every link reachable when the open menu is taller than the screen */
  .js .site-nav.is-open { max-height: calc(100vh - 4.75rem); max-height: calc(100dvh - 4.75rem); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav li + li { border-top: 1px solid rgba(13, 50, 86, 0.18); }
  .site-nav li.nav-cta { border-top: 0; padding-top: 0.9rem; }
  .site-nav .btn { width: 100%; }
}
/* Wide screens: nav sits in the bar */
@media (min-width: 68.75em) {
  .nav-toggle { display: none; }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
  .site-nav a { font-size: 1.05rem; white-space: nowrap; }
}

/* Short or heavily zoomed screens: let the header scroll away so it never covers the page */
@media (max-height: 30em) {
  .site-header { position: static; }
  .js .site-nav.is-open { max-height: none; overflow: visible; }
  html { scroll-padding-top: 1rem; }
}

/* ---------- Bands (page sections) ---------- */
.band { padding-block: var(--section); }
.band--tight { padding-block: calc(var(--section) * 0.6); }
.band--sun { background: var(--sun); }
.band--navy { background: var(--navy); color: #fff; }
.band--sky { background: var(--sky); }
.band--paper { background: var(--paper); }
/* The bottom edge of a band curves like a smile */
.band--smile {
  border-bottom-left-radius: 50% var(--smile);
  border-bottom-right-radius: 50% var(--smile);
  padding-bottom: calc(var(--section) + var(--smile) * 0.5);
}
.band--frown-top {
  border-top-left-radius: 50% var(--smile);
  border-top-right-radius: 50% var(--smile);
  padding-top: calc(var(--section) + var(--smile) * 0.5);
}
.band-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.band-head.center { margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { background: var(--sun); padding-block: clamp(2rem, 5vw, 4rem) calc(var(--section) * 0.7 + var(--smile) * 0.5); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { max-width: 34rem; }
.hero__actions { margin-top: 1.6rem; }

.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 1.5rem 0 0; padding: 0.55rem 1.1rem 0.55rem 0.9rem;
  background: var(--paper); border: var(--line) solid var(--navy); border-radius: 999px;
  font-weight: 700; line-height: 1.3;
}
.status__dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--navy); flex: none; }
.status[data-state="open"] .status__dot { background: #1f8a4c; box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.25); }
.status[data-state="closed"] .status__dot { background: #b3261e; }

.hero__photos { position: relative; max-width: 36rem; margin-inline: auto; width: 100%; padding: 0 0 12% 0; }
.hero__photos .photo--main { transform: rotate(-2deg); }
.hero__photos .photo--snap { position: absolute; width: 46%; right: -2%; bottom: 0; transform: rotate(4deg); }
.hero__stamp {
  position: absolute; left: -3%; bottom: 2%; width: 34%; aspect-ratio: 1;
  display: grid; place-items: center; padding: 6%;
  background: var(--navy); border: var(--line) solid var(--paper); border-radius: 50%;
  transform: rotate(-10deg); box-shadow: 0 6px 0 var(--navy-deep);
}
.hero__stamp img { width: 100%; }

@media (min-width: 56em) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sun); padding-block: clamp(2.25rem, 6vw, 4.5rem) calc(clamp(2.25rem, 6vw, 4rem) + var(--smile) * 0.5); }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 4vw, 4rem); max-width: 18ch; }
.page-hero .lede { max-width: 40rem; }
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) {
  .page-hero__grid--photo { grid-template-columns: 1.1fr 0.9fr; }
}
.crumbs { font-weight: 700; margin-bottom: 1rem; }

/* ---------- Photos ---------- */
.photo {
  margin: 0; overflow: hidden;
  background: var(--sun-pale);
  border: var(--line) solid var(--navy); border-radius: var(--radius);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--snap { border: 6px solid var(--paper); outline: var(--line) solid var(--navy); border-radius: 20px; box-shadow: 0 6px 0 var(--navy-deep); }
.photo--tilt-l { transform: rotate(-2deg); }
.photo--tilt-r { transform: rotate(2deg); }
.photo--wide img { aspect-ratio: 3 / 2; }
.photo--square img { aspect-ratio: 1; }
.photo--tall img { aspect-ratio: 4 / 5; }
figure.photo figcaption, .caption { padding: 0.7rem 1rem; background: var(--paper); border-top: var(--line) solid var(--navy); font-weight: 600; }
.cutout { display: block; margin-inline: auto; max-height: 26rem; width: auto; }

/* Clearly marked placeholder for content the organisation still needs to supply */
.todo-block {
  display: grid; place-items: center; text-align: center; gap: 0.3rem;
  min-height: 12rem; padding: 1.5rem;
  background: repeating-linear-gradient(45deg, var(--paper) 0 18px, var(--sun-pale) 18px 36px);
  border: var(--line) dashed var(--navy); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy);
}
.todo-block span { font-family: var(--font-body); font-weight: 400; font-size: 1rem; max-width: 30rem; }
.todo-chip {
  display: inline-block; padding: 0.1rem 0.7rem; vertical-align: middle;
  background: repeating-linear-gradient(45deg, var(--paper) 0 8px, var(--sun-pale) 8px 16px);
  border: 2px dashed var(--navy); border-radius: 999px; color: var(--navy);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0;
}

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.split > *, .grid > *, .hero__grid > *, .page-hero__grid > *, .menu-cols > * { min-width: 0; }
.split--top { align-items: start; }
@media (min-width: 40em) {
  .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56em) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 0.75fr; }
  .split--wide-right { grid-template-columns: 0.8fr 1.2fr; }
  .split--flip > :first-child { order: 2; }
}
@media (min-width: 68.75em) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.stack > * + * { margin-top: 1.1rem; }

/* ---------- Cards ---------- */
.card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper); color: var(--navy);
  border: var(--line) solid var(--navy); border-radius: var(--radius);
}
.card > * { margin: 0; }
.card--sun { background: var(--sun); }
.card--sky { background: var(--sky); }
.card--pale { background: var(--sun-pale); }
.card--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.card__icon { width: 3.25rem; height: 3.25rem; flex: none; }
.card .arrow-link, .card .btn { margin-top: auto; align-self: flex-start; }
.card__foot { margin-top: auto !important; padding-top: 0.5rem; }
.card > h2, .post-card h2 { font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem); line-height: 1.2; }
.card :is(h2, h3) a { text-decoration: none; }
.card :is(h2, h3) a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 4px; }
/* Whole-card link without nesting interactive content */
.card--link { position: relative; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--navy); }
.card--link :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.icon { width: 2.75rem; height: 2.75rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Fact strip under the home hero */
.facts { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.facts .icon { width: 2.4rem; height: 2.4rem; margin-top: 0.1rem; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
@media (min-width: 52em) { .facts { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Big number */
.stat { display: grid; gap: 0.25rem 1.5rem; align-items: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 3rem + 9vw, 8.5rem); line-height: 0.9; color: var(--sun); }
.stat p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.25; margin: 0; max-width: 24ch; }
@media (min-width: 40em) { .stat { grid-template-columns: auto 1fr; } }

/* Quote */
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0 auto 1rem; max-width: 22ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 3vw, 3.1rem); line-height: 1.12; text-wrap: balance; }
.quote figcaption { font-weight: 700; }
.quote svg { width: 4rem; height: auto; margin: 0 auto 1rem; display: block; }

/* Tick list and feature list */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li + li { margin-top: 0.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.4rem; height: 1.4rem;
  background: var(--sun) url("assets/img/tick.svg") no-repeat center / 70%;
  border: 2px solid var(--navy); border-radius: 50%;
}
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.features li { display: flex; gap: 1rem; align-items: center; margin: 0; padding: 1rem 1.2rem; background: var(--paper); border: var(--line) solid var(--navy); border-radius: var(--radius-sm); font-weight: 600; line-height: 1.35; }
@media (min-width: 40em) { .features { grid-template-columns: repeat(2, 1fr); } }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li { margin: 0; }
.pill-list a, .pill-list span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 1rem; background: var(--paper); border: 2px solid var(--navy); border-radius: 999px; text-decoration: none; font-weight: 600; line-height: 1.25; }
.pill-list a:hover { background: var(--sun); }

/* Values (the five Cs) */
.values { counter-reset: v; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.values li { margin: 0; padding: 1.25rem 1.4rem; background: var(--paper); border: var(--line) solid var(--navy); border-radius: var(--radius); }
.values h3 { margin-bottom: 0.3rem; }
.values li { border-top-width: 10px; border-top-color: var(--sun); box-shadow: 0 0 0 var(--line) var(--navy); border-color: var(--sun) transparent transparent; }
@media (min-width: 40em) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68.75em) { .values { grid-template-columns: repeat(6, 1fr); } .values li { grid-column: span 2; } .values li:nth-child(4) { grid-column: 2 / span 2; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: var(--line) solid var(--navy); }
.timeline li { position: relative; margin: 0; padding: 0 0 1.6rem 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-0.55rem - 1.5px); top: 0.3rem; width: 1.1rem; height: 1.1rem; background: var(--sun); border: var(--line) solid var(--navy); border-radius: 50%; }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }

/* ---------- Menu board ---------- */
.board {
  background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem);
}
.board h2, .board h3 { color: var(--sun); }
.board h3 { font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 0.2rem; }
.board__note { margin: 0 0 0.6rem; opacity: 0.92; }
.board + .board { margin-top: clamp(1.1rem, 2.5vw, 1.75rem); }
.menu-cols { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 52em) { .menu-cols { grid-template-columns: repeat(2, 1fr); } }
.menu-group + .menu-group { margin-top: 2rem; }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 0.75rem; margin: 0; padding: 0.55rem 0; border-bottom: 2px dotted rgba(255, 255, 255, 0.4); }
.prices li:last-child { border-bottom: 0; }
.prices .item { flex: 1; min-width: 0; font-weight: 700; line-height: 1.3; }
.prices .desc { display: block; font-weight: 400; opacity: 0.95; }
.prices .price { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; color: var(--sun); }
.gf { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-right: 0.35rem; background: var(--sun); color: var(--navy); border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; vertical-align: 0.05em; text-decoration: none; }
.flavors { columns: 2; column-gap: 1.5rem; list-style: none; padding: 0; margin: 0.4rem 0 0; }
.flavors li { margin: 0 0 0.3rem; break-inside: avoid; }
@media (min-width: 40em) { .flavors { columns: 3; } }

/* ---------- Events ---------- */
.event { display: grid; gap: 1rem 1.5rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--paper); border: var(--line) solid var(--navy); border-radius: var(--radius); }
.event + .event { margin-top: 1.25rem; }
.event > * { margin: 0; }
.event__date {
  display: grid; place-items: center; align-content: center; gap: 0.1rem;
  width: 6.5rem; height: 6.5rem; flex: none;
  background: var(--sun); border: var(--line) solid var(--navy); border-radius: 22px;
  font-family: var(--font-display); line-height: 1; text-align: center; transform: rotate(-3deg);
}
.event__date .mon { font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event__date .day { font-weight: 700; font-size: 2.5rem; }
.event__date .dow { font-weight: 600; font-size: 1rem; }
.event__date.is-past { background: var(--sky); transform: none; }
.event__body > * + * { margin-top: 0.6rem; }
.event__meta { font-weight: 700; }
.event__img--contain { object-fit: contain !important; background: #0d2b52; }
.event__img { border-radius: var(--radius-sm); border: var(--line) solid var(--navy); width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 40em) { .event { grid-template-columns: auto 1fr; } .event--img { grid-template-columns: auto 1fr 11rem; } }
.event-card .event__date { width: 5.5rem; height: 5.5rem; }
.event-card .event__date .day { font-size: 2.1rem; }

/* ---------- Pricing cards ---------- */
.rate { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.7rem); line-height: 1; }
.rate small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.4; margin-top: 0.35rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--paper); border: var(--line) solid var(--navy); border-radius: var(--radius-sm); }
.faq details + details { margin-top: 0.8rem; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; min-height: 3.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25;
  border-radius: calc(var(--radius-sm) - 3px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--sun); border: 2px solid var(--navy); border-radius: 50%; font-size: 1.5rem; line-height: 1; padding-bottom: 0.12em; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 2px dashed var(--navy); border-radius: calc(var(--radius-sm) - 3px) calc(var(--radius-sm) - 3px) 0 0; }
.faq .faq__a { padding: 1rem 1.25rem 1.25rem; }

/* ---------- People ---------- */
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.person { margin: 0; padding: clamp(1.25rem, 3vw, 1.6rem); background: var(--paper); border: var(--line) solid var(--navy); border-radius: var(--radius); }
.person__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.person__head > div, .people > li { min-width: 0; }
.person__head img { width: 6rem; height: 6rem; flex: none; border-radius: 50%; border: var(--line) solid var(--navy); object-fit: cover; background: var(--sun-pale); }
.person h3 { margin-bottom: 0.15rem; }
.person .role { font-weight: 700; margin: 0; }
.person h3 { overflow-wrap: normal; hyphens: none; }
@media (max-width: 24em) { .person__head { gap: 0.8rem; } .person__head img { width: 4.5rem; height: 4.5rem; } }
@media (min-width: 62em) { .people { grid-template-columns: repeat(2, 1fr); align-items: start; } }

/* ---------- News ---------- */
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; border-bottom: var(--line) solid var(--navy); }
.post-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.35rem 1.4rem; flex: 1; }
.post-card__body > * { margin: 0; }
.post-meta { font-weight: 700; }
.article { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); line-height: 1.7; }
.article p { margin-bottom: 1.25em; }
.article figure { margin: 2rem 0; }
.article figure img { width: 100%; max-height: 80vh; object-fit: contain; background: var(--sun-pale); }
.article blockquote { margin: 1.5rem 0; padding: 0.4rem 0 0.4rem 1.25rem; border-left: 6px solid var(--sun); font-family: var(--font-display); font-weight: 500; font-size: 1.3em; line-height: 1.35; }
.article-nav { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 2px dashed var(--navy); }
@media (min-width: 40em) { .article-nav { grid-template-columns: 1fr 1fr; } .article-nav > :last-child { text-align: right; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form--card { padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--paper); color: var(--navy); border: var(--line) solid var(--navy); border-radius: var(--radius); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; }
.field .hint { font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.2rem; padding: 0.6rem 0.9rem;
  font: inherit; color: var(--navy); background: var(--paper);
  border: var(--line) solid var(--navy); border-radius: var(--radius-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; padding-right: 2.6rem; background: var(--paper) url("assets/img/chevron.svg") no-repeat right 0.9rem center / 1.1rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; border-radius: var(--radius-sm); background-color: #fffdf5; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 0.8rem; align-items: flex-start; }
.check input { flex: none; width: 1.6rem; height: 1.6rem; margin: 0.15rem 0 0; accent-color: var(--navy); }
.form-status { margin: 0; padding: 0.9rem 1.1rem; background: var(--sun-pale); border: 2px solid var(--navy); border-radius: var(--radius-sm); font-weight: 600; }
.form-note { margin: 0; }
.form-status:empty { display: none; }
.form-status[data-kind="error"] { background: #fde7e5; }
.hp { position: absolute; left: -9999px; }

.signup { display: grid; gap: 0.8rem; align-items: end; }
@media (min-width: 40em) { .signup { grid-template-columns: 1fr auto; } }

/* ---------- Info table (hours) ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 2px dotted rgba(13, 50, 86, 0.35); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 700; padding-right: 1rem; }
.hours td { text-align: right; }
@media (min-width: 30em) { .hours td { white-space: nowrap; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.contact-list .icon { width: 2.2rem; height: 2.2rem; margin-top: 0.1rem; }
.contact-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.map { width: 100%; height: 22rem; border: var(--line) solid var(--navy); border-radius: var(--radius); background: var(--sky); display: block; }

.logo-stamp { width: min(15rem, 60%); margin: 0 auto 1.5rem; }
.avatar { width: 6rem; height: 6rem; border-radius: 50%; border: var(--line) solid var(--navy); object-fit: cover; }
.card svg:not(.icon) { width: 3rem; height: auto; }
.seal { width: 7rem; border: 2px solid var(--navy); border-radius: 10px; }

/* ---------- Footer ---------- */
.pre-footer { background: var(--sun); padding-block: clamp(2.5rem, 6vw, 4rem) calc(clamp(2.5rem, 6vw, 4rem) + var(--smile) * 0.5); border-bottom-left-radius: 50% var(--smile); border-bottom-right-radius: 50% var(--smile); }
.footer-shell { background: var(--navy); }
.site-footer { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.site-footer a:hover { text-decoration-color: var(--sun); }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-logo { width: 11rem; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1.25rem; color: var(--sun); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid #fff; border-radius: 50%; }
.social a:hover { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.social svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px dashed rgba(255, 255, 255, 0.45); display: grid; gap: 0.5rem; }
.footer-legal p { margin: 0; }
@media (min-width: 46em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 68.75em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .pre-footer, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
}
