/*
Client: CM BEEZ Tea & Honey Haven
Industry / category: Family tea room + apiary retail, Main Street Amherst, Ohio
Brand personality (from their voice + print + room, not ours): playful, homey, local
  — “Buzz on by.” “Every cup creates a little buzz.” “Stop and sip.”
  — Cartoon side-view bee, honey-drip business card, sunflower-yellow walls
Primary persona: Amherst local who is tired of coffee as the only sit-down option.
  Fear: is this a kids’ cartoon kiosk, or a real room I can stay in?
  Desire: a bright table, a cup built from scoops, a jar named after a person.
  Belief they need: that the honey is actually theirs (34 hives, family names).
Secondary persona: gift-buyer / family with a kid who will clock the bee, plus
  the meditation / “spill the tea” guest who needs a quiet two-hour room.
Customer journey: hours + how to get there (railroad-bridge detour) → see the
  actual yellow room → pick a cup from the four Hive Guide chapters → take
  honey home → come back (punch card).
Primary conversion: walk in Tue–Sat 10–5 / text 440-308-7088
Secondary conversion: Facebook for whatever is happening this week (no invented calendar)
Metaphor / design concept: THE HIVE WALK
  The site is walking through the shop — yellow mast (their wall), lounge
  portrait, communal table, tea-scoop wall — then sitting down with their
  actual Hive Tea Guide as the IA.
Layout DNA: Portrait shop plates (their photos are 3:4; do not letterbox them
  into a cinema strip). Paper chapters instead of icon cards. Ground color
  changes every band. Honey drip is a mast cap, used once.
Opening module: Honey-drip yellow field + “Stop and sip.” Hours as a stamp.
  Lounge photograph beside/below — headline is never over a face or sofa.
Proof strategy: 34 hives, family-named jars (Wild Jesse’s, Xander’s lavender),
  Morning Journal ribbon-cutting, the tea-wall photograph, the 9+1 punch card.
Type direction + logo-match rationale: The lockup is a rounded, friendly sans
  (“CM BEEZ”) around a cartoon bee. Nunito 800 is the wordmark category.
  Fraunces is used only for “HIVE” / collection titles because THEIR printed
  Tea Guide already contrasts a display serif “HIVE” against the rounded mark.
  Not a luxury rebrand; not last client’s pairing.
Palette (sampled from the room + print, not last project):
  wall yellow #F0C31A · bar teal #164E5A · sofa cobalt #1F4A8C · honey #C9840E
  paper #FFF7E4 · ink #1A1612 · forest #2A5840 · sage seat #C5D39A
One signature move: the four-panel Hive Tea Guide (Queen’s / Garden Hive /
  Wildflower Meadow / Bee Well) as vertical brochure chapters — plus the real
  punch-card honeycomb used once, not as wallpaper.
Deliberate non-goals:
  — no honeycomb background pattern (clipart)
  — no 3 equal feature cards
  — no overlay headline on a hero photograph
  — no cream invitation cards (Farm 1893)
  — no spa plaster / honey-as-wellness (Infinite Touch)
  — no soot type-wall or 01–03 bars (Stack Heating)
  — no utility bar + condensed caps
Swap-test: last client’s logo on this yellow drip + bee walk would look like a
  trespasser. Must stay NO.
*/

:root {
  --yellow: #f0c31a;
  --yellow-deep: #d9ab0d;
  --teal: #164e5a;
  --teal-deep: #0e3942;
  --cobalt: #1f4a8c;
  --honey: #c9840e;
  --paper: #fff7e4;
  --paper-2: #f6e6c2;
  --ink: #1a1612;
  --ink-soft: #4a4338;
  --forest: #2a5840;
  --sage: #c5d39a;
  --white: #fffdf6;
  --danger: #8a1f1f;
  --header-h: 4.4rem;
  --radius: 1.15rem;
  --shadow: 0 18px 40px rgba(26, 22, 18, 0.12);
  --font-sans: "Nunito", "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --max: 72rem;
}

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

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  max-width: 100%;
  overflow-x: hidden;
}
h1, h2, h3, p, li {
  overflow-wrap: break-word;
}
@media (max-width: 919px) {
  body { padding-bottom: 5.2rem; }
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--teal); }
a:hover { color: var(--honey); }

:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 80;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}
.nap {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid rgba(26, 22, 18, 0.08);
  padding-block: 0.7rem;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(26, 22, 18, 0.06); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand img {
  width: 4.4rem;
  height: auto;
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  line-height: 1;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  margin-top: 0.18rem;
}

.nav-desktop { display: none; }
.nav-toggle {
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  background: var(--yellow);
  border-radius: 999px;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1rem 1.2rem;
  background: var(--white);
  border-bottom: 4px solid var(--yellow);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 0.75rem 0.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid rgba(26, 22, 18, 0.08);
}
.nav-mobile a.nav-cta {
  border: 0;
  margin-top: 0.6rem;
  background: var(--teal);
  color: var(--white);
  text-align: center;
  border-radius: 999px;
  padding: 0.85rem;
}

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .nav-mobile,
  .nav-mobile.is-open { display: none !important; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-desktop a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
  }
  .nav-desktop a:hover { color: var(--teal); }
  .nav-desktop a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
  .nav-desktop a.nav-cta {
    background: var(--teal);
    color: var(--white);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    box-shadow: none;
  }
  .nav-desktop a.nav-cta:hover { background: var(--teal-deep); color: var(--white); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.1;
  width: auto;
}
a.btn--teal,
.btn--teal { background: var(--teal); color: var(--white); }
a.btn--teal:hover,
.btn--teal:hover { background: var(--teal-deep); color: var(--white); }
a.btn--ink,
.btn--ink { background: var(--ink); color: var(--yellow); }
a.btn--ink:hover,
.btn--ink:hover { background: #000; color: var(--yellow); }
a.btn--ghost,
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
a.btn--ghost.light,
.btn--ghost.light { color: var(--paper); border-color: var(--paper); }
a.btn--yellow,
.btn--yellow { background: var(--yellow); color: var(--ink); }
a.btn--yellow:hover,
.btn--yellow:hover { color: var(--ink); }
.hero-actions,
#hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-self: start;
}

/* Opening — The Hive Walk */
.opening {
  background: var(--yellow);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.opening__drip {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.4rem;
  color: var(--honey);
  z-index: 3;
  pointer-events: none;
}
.opening__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}
.kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--teal-deep);
}
.opening h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 7.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 0.6rem;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.opening .lede {
  font-size: 1.12rem;
  max-width: 36rem;
  margin: 0 0 1.1rem;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: normal;
}
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  align-self: start;
  width: max-content;
  max-width: 100%;
}
.stamp[data-state="open"] { background: var(--forest); color: var(--white); }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
}
.facts div {
  background: rgba(255, 253, 246, 0.45);
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
}
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}
.facts span { font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; }

.opening__copy {
  min-width: 0;
  max-width: 100%;
  padding-top: 3.5rem;
  padding-bottom: 0.4rem;
}
.opening__photo {
  position: relative;
  margin: 0;
  background: var(--yellow);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.opening__photo img {
  width: 100%;
  max-width: 100%;
  height: min(78vh, 38rem);
  object-fit: cover;
  object-position: 50% 32%;
  display: block;
}
.opening__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(240, 195, 26, 0.72) 0%,
    rgba(240, 195, 26, 0.28) 14%,
    rgba(240, 195, 26, 0) 32%
  );
}

@media (min-width: 920px) {
  .opening__grid {
    grid-template-columns: minmax(22rem, 0.92fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 0;
    min-height: 32rem;
    padding: 0;
  }
  .opening__copy {
    padding: 3.8rem 1.6rem 2.4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .opening__photo {
    margin: 0;
  }
  .opening__photo img {
    height: 100%;
    min-height: 32rem;
    object-position: 50% 18%;
  }
  .opening__photo::after {
    background:
      linear-gradient(to right, var(--yellow) 0%, rgba(240, 195, 26, 0) 9%),
      linear-gradient(
        to bottom,
        rgba(240, 195, 26, 0.5) 0%,
        rgba(240, 195, 26, 0.22) 9%,
        rgba(240, 195, 26, 0) 22%
      );
  }
}

/* Walk journal */
.walk {
  background: var(--paper);
  padding: 3.2rem 0 1rem;
}
.walk header {
  max-width: 38rem;
  margin-bottom: 1.6rem;
}
.eyebrow {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--honey);
  margin: 0 0 0.4rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.plate {
  display: grid;
  gap: 0;
  margin: 0;
}
.plate img {
  width: 100%;
  height: min(62vh, 32rem);
  object-fit: cover;
}
.plate--window img { object-position: 50% 28%; }
.plate--table img { object-position: 50% 48%; }
.plate--bar img { object-position: 50% 40%; }
.plate--wall img { object-position: 72% 38%; }
.plate--teal img { object-position: 50% 26%; }
.plate--party img { object-position: 50% 42%; }
.plate--hive img { object-position: 50% 40%; }
.plate--door img { object-position: 50% 45%; }
.plate--market img { object-position: 50% 55%; }
.plate figcaption {
  padding: 1.15rem 0 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.plate figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}
.plate:nth-of-type(odd) { background: var(--teal); color: var(--paper); }
.plate:nth-of-type(even) { background: var(--yellow); color: var(--ink); }
@media (min-width: 920px) {
  .plate img { height: min(58vh, 30rem); }
  .plate figcaption { padding: 1.4rem 0 1.8rem; max-width: 42rem; margin-left: max(1rem, calc((100% - var(--max)) / 2)); }
}

/* Guide */
.guide {
  background: var(--paper-2);
  padding: 3.2rem 0 3.4rem;
}
.guide-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: start;
}
.panel {
  background: var(--white);
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  margin: 0.15rem 0 0.35rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.panel .who {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 0.7rem;
}
.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.panel li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.6rem;
  padding: 0.28rem 0;
  border-bottom: 1px dashed rgba(26, 22, 18, 0.12);
  font-weight: 650;
  font-size: 0.95rem;
}
.panel li:last-child { border-bottom: 0; }
.star {
  color: var(--honey);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.panel--queens { box-shadow: inset 6px 0 0 var(--yellow), var(--shadow); }
.panel--garden { box-shadow: inset 6px 0 0 var(--forest), var(--shadow); }
.panel--meadow { box-shadow: inset 6px 0 0 #7a5ea7, var(--shadow); }
.panel--well { box-shadow: inset 6px 0 0 var(--honey), var(--shadow); }
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1120px) {
  .guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Honey */
.honey {
  background: var(--teal);
  color: var(--paper);
  padding: 3.2rem 0;
}
.honey h2, .honey .eyebrow { color: var(--yellow); }
.honey p { color: #e7f0f2; max-width: 40rem; }
.jars {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.jar {
  background: rgba(255, 253, 246, 0.08);
  border: 1px solid rgba(255, 247, 228, 0.18);
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}
.jar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--yellow);
}
@media (min-width: 720px) {
  .jars { grid-template-columns: 1fr 1fr; }
}

/* Punch */
.punch-band {
  background: var(--paper);
  padding: 3rem 0;
}
.punch-card {
  background:
    radial-gradient(circle at 12% 18%, #f0c31a33, transparent 40%),
    linear-gradient(180deg, #3d2a10, #6a4a16 40%, #3d2a10);
  color: var(--yellow);
  border-radius: 1.1rem;
  padding: 1.3rem 1.1rem 1.4rem;
  box-shadow: var(--shadow);
}
.punch-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.hexes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem 0.35rem;
  margin: 1rem 0 0.4rem;
}
.hex {
  aspect-ratio: 1 / 1.12;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #f0c31a;
  color: #3d2a10;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.65rem;
  text-align: center;
  padding: 0.2rem;
}
.hex--free {
  background: var(--white);
  color: var(--ink);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

/* Visit */
.visit {
  background: var(--yellow);
  padding: 3rem 0;
}
.visit-grid {
  display: grid;
  gap: 1.2rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
}
.hours-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.12);
}
.hours-table td:last-child { text-align: right; }
.note {
  background: var(--white);
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
}
.map iframe {
  width: 100%;
  min-height: 16rem;
  border: 0;
  border-radius: 1rem;
  filter: saturate(0.9);
}
@media (min-width: 920px) {
  .visit-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* About / interiors */
.page-hero {
  background: var(--teal);
  color: var(--paper);
  padding: 2.4rem 0 2.2rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0.2rem 0 0.5rem;
  line-height: 0.95;
}
.prose {
  max-width: 42rem;
}
.prose a { color: var(--teal); font-weight: 700; }
.prose a.btn,
.prose a.btn--teal { color: var(--white); }
.prose a.btn--yellow { color: var(--ink); }
.spread {
  display: grid;
  gap: 0;
}
.spread img {
  width: 100%;
  height: min(70vh, 36rem);
  object-fit: cover;
  object-position: 78% 20%;
}
.spread .copy {
  padding: 1.6rem 0 2.4rem;
}
@media (min-width: 920px) {
  .spread {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
  }
  .spread img { height: 32rem; border-radius: 1.2rem; }
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.goods {
  display: grid;
  gap: 0.8rem;
}
.goods article {
  background: var(--white);
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}
.goods h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.goods--photos article { padding: 0 0 1rem; overflow: hidden; border-radius: 1rem; }
.goods--photos img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  margin-bottom: 0.7rem;
}
.goods--photos h3, .goods--photos p { padding: 0 1.1rem; }
@media (min-width: 720px) {
  .goods { grid-template-columns: 1fr 1fr; }
  .goods--photos img { height: 18rem; }
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 1.2rem;
}
.mosaic a,
.mosaic figure { margin: 0; display: block; color: inherit; text-decoration: none; }
.mosaic img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
.mosaic .wide { grid-column: 1 / -1; }
.mosaic .wide img { height: 16rem; object-position: 50% 45%; }
@media (min-width: 720px) {
  .mosaic { grid-template-columns: 1.2fr 1fr 1fr; }
  .mosaic img { height: 14rem; }
  .mosaic .wide { grid-column: span 2; }
  .mosaic .wide img { height: 22rem; }
}
.mosaic a:hover img { filter: brightness(1.04); }
.goods--photos a { display: block; color: inherit; text-decoration: none; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 26, 28, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4.2rem 3.2rem 3.2rem;
  touch-action: pan-y;
}
.lb.is-on { display: flex; }
.lb[hidden] { display: none !important; }
.lb__stage {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb__stage img {
  max-width: min(1100px, 92vw);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb__cap {
  margin: 0.7rem 0 0;
  color: var(--paper);
  font-size: 0.95rem;
  text-align: center;
  font-weight: 700;
}
.lb__btn {
  position: absolute;
  background: var(--yellow);
  border: 0;
  color: var(--ink);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}
.lb__close { top: 0.8rem; right: 0.8rem; font-size: 1.6rem; }
.lb__prev { left: 0.7rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 0.7rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb { padding: 3.6rem 0.5rem 4.2rem; }
  .lb__prev, .lb__next { top: auto; bottom: 0.85rem; transform: none; }
  .lb__prev { left: 0.8rem; }
  .lb__next { right: 0.8rem; }
}

/* Form */
form {
  display: grid;
  gap: 0.75rem;
  background: var(--white);
  padding: 1.2rem;
  border-radius: 1.1rem;
}
label span {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 2px solid rgba(26, 22, 18, 0.16);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 7rem; resize: vertical; }
form .btn { justify-self: start; width: auto; }
form.is-invalid input:invalid,
form.is-invalid textarea:invalid {
  border-color: var(--danger);
}
.form-ok {
  background: var(--forest);
  color: var(--white);
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
}
.form-ok a { color: var(--yellow); font-weight: 800; }

/* Footer */
.site-footer {
  background: var(--teal);
  color: var(--paper);
  padding: 2.4rem 0 1.6rem;
  margin-top: auto;
}
.site-footer a { color: var(--yellow); }
.foot-grid {
  display: grid;
  gap: 1.4rem;
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 0.5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.foot-legal {
  background: var(--ink);
  color: #cfc6b4;
  padding: 1.3rem 0 1.6rem;
  border-top: 3px solid var(--yellow);
  font-size: 0.82rem;
  line-height: 1.5;
}
.foot-legal a { color: var(--yellow); }
.foot-legal__credit {
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.04em;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(14, 57, 66, 0.96);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  z-index: 30;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta a {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem;
  border-radius: 999px;
}
@media (min-width: 920px) {
  .sticky-cta { display: none; }
}

.band { padding: 2.6rem 0 3rem; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
