@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Fraunces and Outfit have no Greek letters. Greek characters come from Literata and Manrope
   (variable, Greek subset only); unicode-range keeps them off English pages, apart from the
   small sans file for the ΕΛ label in the language switch. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/literata-greek.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --ink: #24160f;
  --espresso: #1a100c;
  --cream: #f3ebdd;
  --paper: #fbf7f1;
  --line: #e2d4c4;
  --copper: #8c4e2a;
  --green: #243f34;
  --muted: #5e5148;
  --header: 4.5rem;
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 154, 92, 0.18), transparent 55%),
    var(--cream);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image: radial-gradient(rgba(36, 22, 15, 0.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--copper); }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 0.2em 0; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 0.4em; }
h3 { font-size: 1.45rem; margin: 0.2em 0; }
p { margin: 0 0 0.8em; }
address { font-style: normal; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: rgba(251, 247, 241, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(26, 16, 12, 0.04);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 2.7rem; width: auto; }
.footer-logo { height: 4.5rem; width: auto; margin-bottom: 0.8rem; }
.partner-logo { height: 3.2rem; width: auto; margin-top: 0.6rem; background: #fff; padding: 0.35rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.45rem 0.7rem;
}
.nav-toggle-lines {
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

#site-nav {
  display: none;
  position: absolute;
  inset: var(--header) 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.4rem;
}
body.nav-open #site-nav { display: block; }
#site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
#site-nav a:not(.button) { text-decoration: none; color: var(--espresso); font-weight: 500; }
#site-nav li a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
#site-nav a:not(.button)[aria-current="page"] { color: var(--copper); }
#site-nav .button {
  color: var(--cream);
  background: var(--espresso);
  border-color: var(--espresso);
  font-weight: 600;
}
#site-nav .button:hover {
  color: var(--cream);
  background: var(--green);
  border-color: var(--green);
}

.button, button.button {
  display: inline-block;
  background: var(--espresso);
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: 500 0.92rem/1 "Outfit", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.button:hover { background: var(--green); border-color: var(--green); color: var(--cream); }
.button-ghost { background: transparent; color: var(--espresso); }
.button-ghost:hover { background: var(--espresso); color: var(--cream); }
.button-small { padding: 0.55rem 0.85rem; }

.section, .page-intro { width: min(var(--measure), calc(100% - 2.5rem)); margin: 0 auto; }
.hero-stage {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  margin: 0;
  overflow: hidden;
  color: #f6efe6;
  background: #120c09;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 8, 6, 0.84) 0%, rgba(12, 8, 6, 0.42) 36%, rgba(12, 8, 6, 0.08) 68%),
    linear-gradient(to top, rgba(12, 8, 6, 0.72), transparent 46%);
}
.hero-stage .hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
  padding-top: 5rem;
}
.hero-stage .hero-copy p { max-width: 34rem; color: #f3e7da; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.button-ghost.light { color: #f6efe6; border-color: rgba(246, 239, 230, 0.72); background: transparent; }
.button-ghost.light:hover { background: #f6efe6; color: var(--espresso); }
.marquee {
  overflow: hidden;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.marquee-track { display: flex; gap: 2.4rem; width: max-content; padding: 0.9rem 1.2rem; }
.marquee span {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--copper);
}
.index {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(140, 78, 42, 0.4);
}
.trust-strip {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--espresso);
  color: #f6efe6;
  border-bottom: 1px solid rgba(246, 239, 230, 0.12);
}
.trust-strip li { margin: 0; font-size: 0.92rem; color: #e8ddd0; letter-spacing: 0.06em; text-transform: uppercase; }
.offer-row-tight h2 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.offer-row-tight article { padding: 1rem 1.1rem 1.15rem; }
.section-tight { padding-top: 1.75rem; }
.section-head-tight { margin-bottom: 0.9rem; }
.section-head-tight h2 { margin: 0; }
.card.compact .card-body { padding-top: 0.2rem; }
.section-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.lede-short { color: var(--muted); font-size: 1rem; max-width: 32rem; }
.list-tight { padding-left: 1.1rem; }
.list-tight li { margin-bottom: 0.35rem; }
.offer-row {
  display: grid;
  gap: 1rem;
}
.offer-row article {
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.45rem;
  box-shadow: 0 16px 40px rgba(26, 16, 12, 0.04);
}
.b2b-intro { text-align: center; max-width: 40rem; margin-inline: auto; }
.b2b-intro h1 { font-size: clamp(2rem, 5vw, 2.85rem); letter-spacing: 0.04em; text-transform: uppercase; }
.offer-row h2 { font-size: 1.7rem; }
.text-link { color: var(--espresso); font-weight: 600; }
.machine-brand-photo {
  margin: 0 0 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(26, 16, 12, 0.04);
}
.machine-brand-photo img {
  display: block;
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin-inline: auto;
  vertical-align: middle;
}
.machine-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
.machine-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}
.add-row { display: flex; align-items: end; gap: 0.6rem; margin: 0.6rem 0 0.8rem; }
.qty-label { margin: 0; }
.qty-label input { width: 4.5rem; }
.order-list { max-width: none; margin-bottom: 1.5rem; }
.order-line {
  display: grid;
  gap: 0.6rem 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 4.75rem 1fr auto auto;
  grid-template-areas:
    "media details details details"
    "media pack qty price";
}
.order-line-head {
  display: none;
  padding-top: 0;
  border-top: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.order-line-pack {
  grid-area: pack;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.order-line-head .order-line-pack { color: var(--muted); font-weight: 500; }
.order-line-head .num { grid-area: price; text-align: right; }
.order-line-media {
  grid-area: media;
  display: block;
  align-self: start;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.order-line-media img,
.order-line-media .no-photo {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
}
.order-line-media .no-photo {
  display: grid;
  place-items: center;
  padding: 0.35rem;
  font-size: 0.62rem;
  text-align: center;
  color: var(--muted);
  aspect-ratio: unset;
}
.order-line-details { grid-area: details; min-width: 0; }
.order-line label { grid-area: qty; margin: 0; }
.order-line > .price { grid-area: price; margin: 0; text-align: right; white-space: nowrap; }
.order-line h2 { font-size: 1.35rem; margin: 0; }
.order-line h2 a { color: inherit; text-decoration: none; }
.order-line input { width: 5rem; }
.muted { color: var(--muted); font-size: 0.95rem; }
.order-banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.95rem;
}
.order-banner-success {
  border-color: rgba(36, 63, 52, 0.35);
  background: rgba(36, 63, 52, 0.08);
  color: var(--green);
}
.order-banner-warning {
  border-color: rgba(122, 36, 24, 0.35);
  background: rgba(122, 36, 24, 0.08);
  color: #7a2418;
}
.order-totals {
  width: 100%;
  max-width: 22rem;
  margin: 1rem 0 1.25rem auto;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.order-totals th,
.order-totals td {
  padding: 0.45rem 0.25rem;
  border-top: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
}
.order-totals th { color: var(--muted); }
.order-totals .num { text-align: right; white-space: nowrap; }
.order-total-row th,
.order-total-row td {
  font-weight: 600;
  color: var(--ink);
  border-top: 2px solid var(--line);
  padding-top: 0.65rem;
}
.order-done-actions { margin-top: 1.5rem; }
.order-resend-form { margin: 0; }
.order-page-head { max-width: 40rem; margin-bottom: 1.5rem; }
.order-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 40px rgba(36, 22, 15, 0.06);
}
.order-sheet-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.85rem;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 600;
}
.order-sheet-cols {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.meta-list { margin: 0; }
.meta-list div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}
.meta-list dt { margin: 0; color: var(--muted); font-size: 0.88rem; }
.meta-list dd { margin: 0; font-weight: 500; }
.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}
.order-table th,
.order-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.order-table th { color: var(--muted); font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.order-table .num { text-align: right; white-space: nowrap; }
.order-table tfoot td { border-bottom: 0; font-weight: 500; }
.order-notes { margin: 0 0 1rem; white-space: pre-wrap; }
.order-sheet-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.order-sheet-foot p { margin: 0 0 0.5rem; }
.order-next a { font-weight: 500; }
.order-ref span {
  font-family: "Outfit", monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--espresso);
}
.order-confirm-head { max-width: 40rem; margin-bottom: 1.25rem; }
.order-confirm-back { margin-top: 1.5rem; }
.order-list-total { margin: 0.75rem 0 1rem; color: var(--muted); font-size: 0.95rem; }
.form-grid {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}
.form-grid label { margin: 0; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid .error.span-2 { grid-column: 1 / -1; }
.order-terms {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.order-checkout .button { margin-bottom: 0.25rem; }
.order-line h3 { font-size: 1.15rem; margin: 0; }
.order-line h3 a { color: inherit; text-decoration: none; }
.order-empty { text-align: center; padding: 2rem 1.4rem; }
.order-again { margin-bottom: 1.25rem; }
.order-again-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.order-again-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.order-again-list li:last-child { border-bottom: 0; }
.order-again-qty { font-weight: 600; }
.text-link { font-weight: 500; }
.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88em;
  letter-spacing: normal;
  text-transform: none;
}
.eyebrow {
  margin: 0;
  color: var(--copper);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section { padding: 2.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.4rem; }
.band { background: var(--espresso); color: var(--cream); }
.band a { color: #f0d7c4; }
.grid, .card-grid {
  display: grid;
  gap: 1rem;
}
.card, .location-card, .note, .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(26, 16, 12, 0.04);
}
.card-media { overflow: hidden; border-radius: 18px 18px 0 0; }
.card-media img { transition: transform 0.6s ease; }
.band .note { background: transparent; border-color: rgba(243, 235, 221, 0.25); }
.card-media { display: block; margin: -1rem -1rem 1rem; }
.card-media img, .no-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}
.no-photo {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}
.card-pack {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.price { font-weight: 600; margin-top: 0.35rem; }
.dietary { font-size: 0.95rem; }
.dietary span {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h3 a { color: inherit; text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }
.filters a, .search input {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  font: inherit;
}
.filters a[aria-current="true"] { background: var(--espresso); color: var(--cream); }
.search { display: flex; gap: 0.5rem; margin: 1rem 0 0; }
.search input { flex: 1; min-width: 0; }

.location-card dl { margin: 1rem 0; }
.location-card div { display: grid; grid-template-columns: 6rem 1fr; gap: 0.5rem; padding: 0.35rem 0; border-top: 1px solid var(--line); }
.location-card dt { color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.prose { max-width: 42rem; }
.prose ul { padding-left: 1.1rem; }
form { display: grid; gap: 0.9rem; max-width: 36rem; }
label { display: grid; gap: 0.3rem; font-weight: 500; }
input, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
}
.address-field { position: relative; }
.address-suggest {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(26, 16, 12, 0.12);
}
.address-suggest [role="option"] { padding: 0.6rem 0.8rem; cursor: pointer; border-bottom: 1px solid var(--line); }
.address-suggest [aria-selected="true"], .address-suggest [role="option"]:hover { background: var(--cream); }
.address-credit { padding: 0.35rem 0.8rem; font-size: 0.75rem; color: var(--muted); text-align: right; }
.error { color: #7a2418; margin: 0; font-size: 0.92rem; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.split { display: grid; gap: 1.5rem; }
.site-footer {
  background: var(--espresso);
  color: #f6efe6;
  padding: 2.5rem 1.25rem 1.5rem;
}
.site-footer a { color: #f0d7c4; }
.footer-grid { display: grid; gap: 1.5rem; width: min(var(--measure), 100%); margin: 0 auto; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-label {
  margin: 0 0 0.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #c9a58a;
}
.brand-lockup { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; }
.legal-note { width: min(var(--measure), 100%); margin: 1.5rem auto 0; color: #cbbbaa; font-size: 0.9rem; }

@media (min-width: 720px) {
  .hero-stage .hero-copy { margin-left: max(1.25rem, calc((100% - var(--measure)) / 2)); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid, .split { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2,
  .form-grid .error.span-2 { grid-column: auto; }
}
@media (min-width: 720px) {
  .order-sheet-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .offer-row { grid-template-columns: repeat(3, 1fr); }
  .order-line {
    grid-template-columns: 5.25rem 1fr 5rem auto auto;
    grid-template-areas: "media details pack qty price";
  }
  .order-line-head {
    display: grid;
    grid-template-columns: 5.25rem 1fr 5rem auto auto;
    grid-template-areas: "media details pack qty price";
  }
  .order-line-head span:nth-child(1) { grid-area: media; }
  .order-line-head span:nth-child(2) { grid-area: details; }
  .order-line-head .order-line-pack { grid-area: pack; }
  .order-line-head span:nth-child(4) { grid-area: qty; }
  .order-line-head .num { grid-area: price; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); width: min(var(--measure), calc(100% - 2.5rem)); margin: 0 auto; border-radius: 0 0 18px 18px; }
}
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  #site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    padding: 0;
  }
  #site-nav ul { display: flex; gap: 0.7rem; margin: 0; }
  #site-nav li a { border: 0; padding: 0; font-size: 0.88rem; white-space: nowrap; }
  #site-nav .button { flex-shrink: 0; }
  .card-grid.three, .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .site-header, .site-footer { padding-left: 2rem; padding-right: 2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: drift 22s ease-in-out infinite alternate; }
  .marquee-track { animation: ticker 32s linear infinite; }
  .card { animation: rise 0.6s ease both; }
  .card:hover { transform: translateY(-6px); }
  .card:hover .card-media img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- 2026-09 redesign: brands, shelves, effects ---------- */
:root {
  --shadow-soft: 0 18px 50px rgba(26, 16, 12, 0.08);
  --shadow-lift: 0 26px 60px rgba(26, 16, 12, 0.16);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.announce {
  position: relative;
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.6rem;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--espresso);
  color: #ead9c6;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.announce-sep { color: #b98a62; }
@media (max-width: 719px) {
  .announce { flex-direction: column; font-size: 0.74rem; padding: 0.45rem 0.9rem; }
  .announce-sep { display: none; }
}

.site-header { transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(26, 16, 12, 0.08); }
.brand img { transition: height 0.3s ease; }
.site-header.is-scrolled .brand img { height: 2.3rem; }

/* Hero: real packshots on a counter */
.hero-shop {
  position: relative;
  z-index: 2;
  overflow-x: clip;
  overflow-y: visible;
  color: #f6efe6;
  background:
    radial-gradient(58rem 30rem at 72% 92%, rgba(196, 128, 74, 0.42), transparent 62%),
    radial-gradient(40rem 26rem at 8% 0%, rgba(96, 56, 32, 0.5), transparent 65%),
    linear-gradient(180deg, #1d120c 0%, #110a07 100%);
  isolation: isolate;
}
.hero-shop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 222, 186, 0.07) 50%, transparent 58%) 0 0 / 250% 100% no-repeat;
}
.hero-shop-inner {
  display: grid;
  gap: 1.6rem;
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 3rem;
}
.hero-shop h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); color: #fff; text-wrap: balance; margin: 0 0 0.4em; }
.hero-counter {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.35rem, 1.1vw, 1.1rem);
  height: 9rem;
  padding-bottom: 1.3rem;
}
.hero-counter::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 1.3rem;
  border-top: 1px solid rgba(255, 228, 196, 0.28);
  background: linear-gradient(180deg, rgba(255, 232, 205, 0.13), transparent);
}
.pack-wrap { display: flex; align-items: flex-end; height: 100%; }
.pack-wrap.pack-tin { height: 57%; }
.pack-wrap.pack-bottle { height: 80%; }
.pack { position: relative; z-index: 1; display: block; height: 100%; border-radius: 8px; }
.pack img { width: auto; height: 100%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55)); }
.wide-only { display: none; }

/* Hover card that explains each pack (tap to open on touch screens) */
.pack-card {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: calc(100% + 0.6rem);
  width: min(19rem, calc(100vw - 2.5rem));
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: -50% -8px;
  transition: opacity 0.22s ease, translate 0.22s ease, visibility 0.22s;
}
.pack-card .eyebrow { font-size: 0.7rem; }
.pack-card-name { margin: 0.25rem 0 0.3rem; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; line-height: 1.2; color: var(--espresso); }
.pack-card-desc { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.pack-card-price { margin: 0; font-weight: 600; }
.pack-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.75rem; }
.pack-card-actions form { display: block; margin: 0; }
.pack-wrap:hover .pack-card,
.pack-wrap:focus-within .pack-card,
.pack-wrap.is-open .pack-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: -50% 0;
}
@media (min-width: 960px) {
  .pack-wrap { position: relative; }
  .pack-card { top: auto; bottom: calc(100% + 0.9rem); translate: -50% 8px; }
  .pack-card::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.1rem; }
  .pack-wrap.align-start .pack-card { left: 0; translate: 0 8px; }
  .pack-wrap.align-end .pack-card { left: auto; right: 0; translate: 0 8px; }
  .pack-wrap.align-start:hover .pack-card, .pack-wrap.align-start:focus-within .pack-card, .pack-wrap.align-start.is-open .pack-card,
  .pack-wrap.align-end:hover .pack-card, .pack-wrap.align-end:focus-within .pack-card, .pack-wrap.align-end.is-open .pack-card { translate: 0 0; }
}

/* Brand panel photos: a category label on hover, always shown on touch screens */
.float-label {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(26, 16, 12, 0.88);
  color: #f3e3cf;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  translate: -50% 6px;
  transition: opacity 0.2s ease, translate 0.2s ease;
}
.float:hover, .float:focus-visible { z-index: 3; }
.float:hover .float-label, .float:focus-visible .float-label { opacity: 1; translate: -50% 0; }
@media (hover: none) {
  .float-label { opacity: 1; translate: -50% 0; }
}
/* The promises strip continues the hero: full width, same dark ground, no separate slab. */
.trust-strip {
  width: auto;
  margin: 0;
  border-radius: 0;
  background: #110a07;
  border-top: 1px solid rgba(255, 228, 196, 0.14);
  border-bottom: 0;
  padding: 1rem max(1.25rem, calc((100% - var(--measure)) / 2));
}
.trust-strip li { color: #d9c7b3; font-size: 0.82rem; }
@media (min-width: 720px) {
  .hero-counter { height: 15rem; }
  .wide-only { display: flex; }
}
@media (min-width: 960px) {
  .hero-shop-inner { gap: 2rem; padding-top: 4rem; }
  .hero-shop .hero-copy { max-width: 52rem; }
  .hero-counter { height: 19rem; }
}
.hero-stage { min-height: min(88vh, 52rem); }
.hero-stage picture { position: absolute; inset: 0; }
.hero-stage .hero-copy { width: min(54rem, calc(100% - 2.5rem)); }
.hero-stage h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); text-wrap: balance; margin-bottom: 0.35em; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #efe2d3; max-width: 34rem; margin: 0; }
.hero-sub strong { color: #fff; font-weight: 600; }

.button-light { background: #f6efe6; color: var(--espresso); border-color: #f6efe6; }
.button-light:hover { background: #fff; color: var(--espresso); border-color: #fff; }
.button .count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(26, 16, 12, 0.1);
  font-size: 0.78rem;
}

/* Brand panels */
.brands { padding-top: 3.5rem; }
.brand-panels { display: grid; gap: 1.25rem; }
.brand-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 26px;
  color: #efe4d6;
  box-shadow: var(--shadow-lift);
  isolation: isolate;
}
.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 22rem at 110% 110%, rgba(196, 128, 74, 0.35), transparent 60%),
    linear-gradient(160deg, #2a1a12 0%, #140c08 70%);
}
.brand-panel-jean-paul-lab::before {
  background:
    radial-gradient(40rem 22rem at 110% 110%, rgba(196, 128, 74, 0.3), transparent 60%),
    linear-gradient(160deg, #1f3a30 0%, #0e1c17 72%);
}
.brand-panel-copy { padding: 2rem 1.6rem 0.5rem; }
.brand-panel-logo { height: 4.2rem; width: auto; margin-bottom: 1rem; }
.brand-panel-line {
  margin: 0 0 0.6rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #fff;
}
.brand-panel-copy > p:not(.brand-panel-line) { color: rgba(239, 228, 214, 0.86); max-width: 30rem; }
.brand-panel-copy .button { margin-top: 0.6rem; }
.brand-panel-stage { position: relative; height: 15rem; margin: 0.5rem 0 1.5rem; }
.float {
  position: absolute;
  width: 38%;
  max-width: 12rem;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}
.float img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.float-1 { left: 6%; top: 1.4rem; rotate: -6deg; }
.float-2 { left: 31%; top: 0; z-index: 2; width: 42%; }
.float-3 { right: 6%; top: 1.8rem; rotate: 6deg; }

/* Product shelves */
.shelf { padding-top: 2rem; }
.shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.shelf-head h2 { margin: 0.1rem 0 0; }
.shelf-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(14.5rem, 17rem);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.shelf-row > .card { scroll-snap-align: start; }

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.8s var(--ease), translate 0.8s var(--ease);
}
.card-media {
  position: relative;
  margin: 0;
  border-radius: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.card-media img { transition: transform 0.7s var(--ease); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.1rem 1.1rem; }
.card-body h3 { font-size: 1.2rem; line-height: 1.2; margin: 0.35rem 0 0.4rem; }
.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 0.6rem;
}
.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.card-foot .price { margin: 0.1rem 0 0; }
.card-foot .card-pack { margin: 0 0 0.35rem; }

/* Pack size as a clear badge wherever a product is shown. */
.pack-chip {
  display: inline-block;
  padding: 0.22rem 0.62rem;
  border: 1px solid #dcbc98;
  border-radius: 999px;
  background: #f4e4cf;
  color: #6e3a18;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pack-chip-lg { padding: 0.32rem 0.85rem; font-size: 1rem; }
.product-buy .card-pack { margin: 0.5rem 0 0.2rem; }
.pack-card-price .pack-chip { margin-right: 0.3rem; font-size: 0.8rem; }
.order-line-pack .pack-chip { font-size: 0.82rem; }
.card-foot .add-row { margin: 0; }
.card:hover { box-shadow: var(--shadow-lift); }
.brand-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26, 16, 12, 0.86);
  color: #f3e3cf;
}
.brand-badge-jean-paul-lab { background: rgba(31, 58, 48, 0.92); }

/* Catalogue filters */
.catalogue h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.filters a { border-radius: 999px; padding: 0.42rem 0.85rem; transition: background 0.2s ease, color 0.2s ease; }
.filters a:hover { border-color: var(--espresso); }
.filters-brand { margin-bottom: 0.2rem; }
.filters-brand a { font-weight: 600; }
.filters-brand a[aria-current="true"] { background: var(--green); border-color: var(--green); }
.search input { border-radius: 999px; padding: 0.7rem 1rem; }
.result-count { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.8rem; }

/* Product page */
.product-detail { display: grid; gap: 1.8rem; align-items: start; padding-top: 2rem; }
.product-photo {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-info h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.product-lede { font-size: 1.15rem; color: var(--ink); max-width: 34rem; }
.product-buy {
  margin: 1.2rem 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.product-buy .price { font-size: 1.5rem; margin: 0; }
.product-terms { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.profile { margin: 0 0 1.2rem; }
.profile div { display: grid; grid-template-columns: 7rem 1fr; gap: 0.6rem; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; font-weight: 500; }
.product-brand {
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--copper);
  background: rgba(140, 78, 42, 0.06);
  border-radius: 0 14px 14px 0;
}
.product-brand p { margin: 0 0 0.3rem; }

/* Partner band */
.partner-band {
  margin-top: 2.5rem;
  background:
    radial-gradient(50rem 24rem at 90% 0%, rgba(196, 128, 74, 0.28), transparent 60%),
    var(--espresso);
  color: #efe4d6;
}
.partner-inner {
  display: grid;
  gap: 1.2rem;
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.2rem 0;
}
.partner-inner h2 { color: #fff; }
.partner-inner p { max-width: 38rem; color: rgba(239, 228, 214, 0.86); }
.partner-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin: 0; }
.partner-band .eyebrow, .brand-panel .eyebrow { color: #d6a57c; }

/* Footer brands */
.site-footer { border-top: 1px solid rgba(246, 239, 230, 0.12); }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin: 0.4rem 0 1rem; }
.footer-logos img { height: 3.4rem; width: auto; }

/* Scroll reveal: content is only hidden once JS is known to run */
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: none; }
.js .card[data-reveal] { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.8s var(--ease), translate 0.8s var(--ease); }

@media (min-width: 720px) {
  .product-detail { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .product-photo { position: sticky; top: calc(var(--header) + 1.5rem); }
  .partner-inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .partner-actions { justify-content: flex-end; }
}
@media (min-width: 960px) {
  .brand-panels { grid-template-columns: 1fr 1fr; }
  .brand-panel-copy { padding: 2.4rem 2.2rem 0.5rem; }
  .brand-panel-stage { height: 17rem; }
  .shelf-row { grid-auto-columns: calc((100% - 3rem) / 4); }
}

@media (prefers-reduced-motion: no-preference) {
  .card { animation: none; }
  .card:hover { transform: translateY(-6px); }
  .card:hover .card-media img { transform: scale(1.05); }
  .float { animation: bob 7s ease-in-out infinite alternate; transition: translate 0.6s var(--ease); }
  .float-2 { animation-duration: 8.5s; animation-delay: -2s; }
  .float-3 { animation-duration: 6.5s; animation-delay: -4s; }
  .brand-panel:hover .float-1 { translate: -6px -4px; }
  .brand-panel:hover .float-3 { translate: 6px -4px; }
  .hero-copy h1, .hero-sub { animation: hero-in 1.1s var(--ease) both; }
  .pack { animation: hero-in 1s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.09s); transition: translate 0.5s var(--ease); }
  .pack-wrap:hover .pack, .pack-wrap.is-open .pack, .pack:focus-visible { translate: 0 -8px; }
  .float:hover img { scale: 1.04; }
  .float img { transition: scale 0.4s var(--ease); }
  .hero-shop::after { animation: sweep 11s ease-in-out infinite; }
  .hero-sub { animation-delay: 0.18s; }
}
@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
@keyframes sweep {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- B2B: scroll story that fills a café counter ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto 3rem;
}
.story-stage { position: sticky; top: calc(var(--header) + 0.4rem); z-index: 3; align-self: start; padding-bottom: 0.4rem; background: var(--cream); }
.scene {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: #efe3d1;
  box-shadow: var(--shadow-lift);
}
.scene-wall {
  position: absolute;
  inset: 0 0 34% 0;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 244, 226, 0.95), transparent 70%),
    linear-gradient(180deg, #f1e6d6 0%, #e6d5bd 100%);
}
.scene-counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  border-top: 2px solid #f8efe2;
  background: linear-gradient(180deg, #d8c1a2 0%, #c8ab86 45%, #b4926c 100%);
}
.scene-item {
  position: absolute;
  left: var(--x);
  bottom: var(--b);
  z-index: var(--z);
  width: var(--size);
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(70, 40, 18, 0.3));
}
.scene-chip {
  position: absolute;
  z-index: 6;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--espresso);
  color: #f3e3cf;
  font-size: clamp(0.6rem, 1.35vw, 0.82rem);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(26, 16, 12, 0.3);
}
/* Brand machines share one spot; only the current one shows, crossfading as they cycle. */
.scene .scene-item.scene-machine { transition: opacity 0.45s ease, translate 0.6s var(--ease); }
.scene .scene-item.scene-machine.is-current { transition-delay: 0.45s; }
.scene .scene-item.scene-machine:not(.is-current) { opacity: 0; translate: 0 10px; }
/* A camera layer: close on the machine for the first chapters, then out to the full counter. */
.scene-camera {
  position: absolute;
  inset: 0;
  transform-origin: 49% 57%;
  transition: transform 1.4s var(--ease);
}
.story-live .scene[data-zoom="near"] .scene-camera { transform: scale(1.85); }
.scene-machine-tag {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 5%;
  width: max-content;
  margin: 0 auto;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(251, 247, 241, 0.94);
  color: var(--espresso);
  font-size: clamp(0.56rem, 1.25vw, 0.78rem);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(70, 40, 18, 0.18);
}
.scene-chip-setup { left: 3%; bottom: 86%; }
.scene-chip-service { left: 3%; bottom: 76%; background: var(--green); }
.scene-map {
  position: absolute;
  z-index: 7;
  top: 4%;
  right: 3%;
  width: 34%;
  margin: 0;
  padding: 0.45rem 0.55rem 0.35rem;
  border-radius: 14px;
  background: rgba(26, 16, 12, 0.93);
  box-shadow: 0 16px 34px rgba(26, 16, 12, 0.35);
}
.scene-map svg { display: block; width: 100%; height: auto; }
.scene-map figcaption { color: #e9d8c4; font-size: clamp(0.55rem, 1.2vw, 0.74rem); text-align: center; }
.scene-map .island { fill: #3b271b; stroke: rgba(255, 228, 196, 0.35); stroke-width: 1; }
.scene-map .route { fill: none; stroke: #e0a36e; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.scene-map .town { fill: #f3e3cf; }
.scene-map .town-name { display: none; fill: #e9d8c4; font: 500 14px "Outfit", "Segoe UI", sans-serif; text-anchor: middle; }
.scene-map .base { fill: #e0a36e; }
.scene-map .base-ring { fill: none; stroke: #e0a36e; stroke-width: 1.4; transform-origin: center; transform-box: fill-box; }

.story-rail {
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0.55rem 0 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.story-rail a {
  display: block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.story-rail a.is-done { color: var(--ink); border-color: #cdb79c; }
.story-rail a.is-active { background: var(--espresso); border-color: var(--espresso); color: #f3e3cf; }

.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58vh;
  padding: 1rem 0;
  scroll-margin-top: 50vh;
}
.chapter h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0.2rem 0 0.4rem; }
.chapter p:not(.eyebrow) { max-width: 26rem; color: var(--muted); font-size: 1.08rem; }
.story-chapters::after { content: ""; display: block; height: 18vh; }

/* Motion is only switched on by JS, so without it the full counter is simply shown. */
.story-live .scene-item,
.story-live .scene-chip,
.story-live .scene-machine-tag,
.story-live .scene-map { opacity: 0; translate: 0 -26px; transition: opacity 0.6s var(--ease), translate 0.7s var(--ease); }
.story-live .scene-item.on,
.story-live .scene-chip.on,
.story-live .scene-machine-tag.on,
.story-live .scene-map.on { opacity: 1; translate: none; }
.story-live .scene-map .route { stroke-dashoffset: 1; }
.story-live .scene-map.on .route { animation: draw 1.3s var(--ease) forwards; animation-delay: calc(0.35s + var(--d) * 0.16s); }
.story-live .scene-map.on .base-ring { animation: pulse 2.2s ease-out infinite; }
.story-live .chapter { opacity: 0.32; transition: opacity 0.4s ease; }
.story-live .chapter.is-active { opacity: 1; }

@media (min-width: 720px) {
  .scene-map .town-name { display: block; }
}
@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .story-stage { top: calc(var(--header) + 1.5rem); background: transparent; }
  .chapter { min-height: 72vh; scroll-margin-top: 20vh; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(2.2); opacity: 0; }
}

/* Language switch (English at /, Greek under /el/). */
.lang-switch {
  display: flex;
  margin-left: auto;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}
.lang-switch a {
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--copper); }
.lang-switch a[aria-current] { background: var(--espresso); color: var(--cream); }
@media (min-width: 1040px) {
  #site-nav { margin-left: auto; }
  .lang-switch { order: 3; margin-left: 0; }
}
