/* Kernow Skies — travel-poster design system. Used across all pages.
   Variables kept stable (--primary, --text, etc.) so existing JS-injected
   class names continue to render correctly. */

:root {
  /* Palette — cool, coastal, less "claude" */
  --ink:        #15212d;
  --ink-soft:   #2a3a4a;
  --paper:      #ffffff;
  --paper-soft: #f3f6fa;   /* faint cool grey, replaces cream backgrounds */
  --sea:        #2d5876;
  --sea-dark:   #1d3e57;
  --sea-deep:   #122c43;
  --rust:       #2d5876;   /* legacy alias remap: anything previously rust → sea */
  --rust-dark:  #1d3e57;
  --gold:       #c9923a;   /* still used on dark surfaces only (hero corners, footer rule) */
  --gold-soft:  #e3c382;

  /* Legacy aliases — kept so existing rules + dynamic JS work */
  --primary:        var(--sea);
  --primary-hover:  var(--sea-dark);
  --text:           var(--ink);
  --text-muted:     #5a6776;
  --bg:             var(--paper);
  --bg-soft:        var(--paper-soft);
  --cream:          var(--paper-soft);   /* in case any rule still references --cream */
  --border:         rgba(21, 33, 45, 0.10);
  --rule:           rgba(21, 33, 45, 0.10);
  --rule-strong:    rgba(21, 33, 45, 0.30);
  --shadow:         0 2px 6px rgba(21, 33, 45, 0.08);
  --shadow-lift:    0 2px 4px rgba(21, 33, 45, 0.10), 0 20px 40px rgba(21, 33, 45, 0.14);

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --body:  'Bellota Text', system-ui, -apple-system, sans-serif;
  --font:  var(--body); /* legacy alias */

  --max: 1240px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-weight: 400;
  font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700; margin: 0;
  line-height: 1.15; letter-spacing: -0.005em;
}
a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============ Logo (Cornish flag + wordmark) ============ */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__flag {
  width: 40px; height: 40px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.logo__flag::before, .logo__flag::after {
  content: ""; position: absolute; background: #fff;
}
.logo__flag::before { top: 6px; bottom: 6px; left: 50%; width: 6px; transform: translateX(-50%); }
.logo__flag::after  { left: 6px; right: 6px; top: 50%; height: 6px; transform: translateY(-50%); }

/* Per-site logo override — set by app.js when /api/config has LOGO_URL.
   Hides the default CSS flag mark and renders the uploaded image instead. */
.has-custom-logo .logo__flag {
  background: var(--logo-url) center/contain no-repeat;
  box-shadow: none;
}
.has-custom-logo .logo__flag::before,
.has-custom-logo .logo__flag::after { display: none; }
.logo__text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.logo__text small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  font-weight: 400;
  margin-top: 4px;
  color: var(--sea);
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.nav__brand { display: flex; align-items: center; }
.nav__links { display: flex; gap: 28px; flex-wrap: wrap; }
.nav__links a {
  color: var(--ink-soft); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.nav__links a:hover, .nav__links a.active { color: var(--rust); }
.nav__links a.active { border-bottom: 2px solid var(--rust); padding-bottom: 2px; }

/* ============ Nav cart icon + badge ============ */
.nav__cart {
  position: relative; display: inline-flex; align-items: center;
  margin-left: 18px; color: var(--ink); text-decoration: none;
  padding: 4px;
}
.nav__cart:hover { color: var(--rust); }
.nav__cart-icon { display: block; }
.nav__cart-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--rust); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ============ Toast (product-page "added to cart" pop-up) ============ */
.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 4px;
  display: flex; align-items: center; gap: 16px;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
  z-index: 50; opacity: 0;
  transition: transform 0.30s ease, opacity 0.30s ease;
  pointer-events: none;
}
.toast--show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a {
  color: var(--gold-soft); text-decoration: underline;
  font-weight: 600;
}

/* ============ Cart page ============ */
.cart-page {
  max-width: var(--max); margin: 0 auto;
  padding: 60px 24px 96px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 900px) {
  .cart-page { grid-template-columns: 1.7fr 1fr; gap: 40px; }
}
.cart-page__title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}
.cart-empty {
  padding: 40px 24px; text-align: center;
  background: var(--cream); border: 1px solid var(--rule);
}
.cart-grid { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 16px; align-items: center;
  padding: 14px; background: #fff;
  border: 1px solid var(--rule); border-radius: 4px;
}
.cart-item__img {
  width: 100px; aspect-ratio: 1/1.414;
  background: var(--cream); overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__title { font-weight: 700; font-size: 0.95rem; }
.cart-item__variant { color: var(--ink-soft); font-size: 0.85rem; margin-top: 2px; }
.cart-item__price { font-weight: 600; margin-top: 4px; font-size: 0.92rem; }
.cart-item__remove {
  background: none; border: 0; color: var(--ink-soft);
  cursor: pointer; font-size: 0.85rem; text-decoration: underline;
  margin-top: 4px; padding: 0;
}
.cart-item__remove:hover { color: #b03030; }
.cart-item__qty {
  display: flex; align-items: center; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.cart-item__qty button {
  width: 26px; height: 26px;
  border: 1px solid var(--rule); background: #fff;
  cursor: pointer; font-size: 1rem; font-weight: 600;
  border-radius: 3px;
}
.cart-item__qty button:hover { background: var(--cream); border-color: var(--rust); color: var(--rust); }
.cart-item__qty button[disabled] { opacity: 0.4; cursor: not-allowed; }
.cart-item__qty span { min-width: 22px; text-align: center; }

.cart-summary {
  background: var(--cream); padding: 24px;
  border: 1px solid var(--rule);
  height: fit-content;
}
.cart-summary h2 {
  font-family: var(--serif); font-size: 1.4rem;
  margin: 0 0 16px;
}
.cart-summary__row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 0.95rem;
  border-bottom: 1px dashed var(--rule);
}
.cart-summary__row:last-of-type { border-bottom: 0; }
.cart-summary__row--total {
  font-weight: 700; font-size: 1.1rem; padding-top: 14px;
  border-top: 2px solid var(--ink); border-bottom: 0;
}
.cart-summary__zone {
  margin: 18px 0 4px; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cart-summary__zone-options { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.cart-summary__zone-options label {
  display: flex; gap: 8px; align-items: baseline;
  padding: 6px 8px; cursor: pointer;
  border: 1px solid transparent; border-radius: 3px;
  font-size: 0.9rem;
}
.cart-summary__zone-options label:hover { background: #fff; }
.cart-summary__zone-options input[type=radio] { margin: 0; }
.cart-summary__zone-options label.active {
  background: #fff; border-color: var(--rust);
}
.cart-summary__zone-options small {
  display: block; color: var(--ink-soft); font-size: 0.78rem;
}
.cart-summary__checkout {
  width: 100%; margin-top: 16px;
  font-size: 1rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  font-family: var(--body); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  text-align: center; border-radius: 0;
}
.btn-primary {
  background: var(--rust); color: var(--cream);
  box-shadow: 0 2px 6px rgba(45, 88, 118, 0.32);
}
.btn-primary:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: wait; transform: none; }
.btn-outline {
  background: transparent; color: var(--cream); border-color: var(--cream);
}
.btn-outline:hover { background: var(--cream); color: var(--ink); }
.btn-outline-ink {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline-ink:hover { background: var(--ink); color: var(--cream); }
.btn-block { display: flex; width: 100%; }

/* ============ Hero (homepage) ============ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  color: var(--cream);
  text-align: center;
  padding: 120px 24px 100px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(1.05);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.65) 100%);
}
.hero__inner { max-width: 920px; margin: 0 auto; }
.hero__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 16px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; width: 32px; height: 1px; background: var(--gold-soft);
}
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1.05; margin: 0 0 24px; letter-spacing: -0.01em;
  color: var(--cream);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 640px; margin: 0 auto 40px;
  color: rgba(243, 246, 250, 0.9);
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__deco {
  position: absolute; inset: 24px; pointer-events: none;
  border: 1px solid rgba(243, 246, 250, 0.25);
}
.hero__deco::before, .hero__deco::after {
  content: ""; position: absolute;
  width: 40px; height: 40px;
  border: 2px solid var(--gold-soft);
}
.hero__deco::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__deco::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ============ Marquee ============ */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 24px 0;
  border-top: 6px solid var(--gold);
  border-bottom: 1px solid var(--ink-soft);
}
.marquee__track {
  display: flex; gap: 16px;
  animation: marquee-drift 60s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0;
  width: 140px; height: 200px;
  background: var(--ink-soft);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.marquee__item:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Values strip (homepage) ============ */
.values {
  padding: 80px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.values__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  text-align: center;
}
.value__icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--rust); }
.value h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin: 0 0 8px; letter-spacing: 0.02em; }
.value p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 700px) { .values__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Section heads ============ */
.section { padding: 80px 0; }
.section--soft { background: var(--cream); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 16px; letter-spacing: -0.01em;
}
.section__head p { color: var(--ink-soft); margin: 0; }
.section__eyebrow {
  display: inline-block; font-size: 0.75rem;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 16px;
}
.section__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 16px; letter-spacing: -0.01em;
}
.section__rule {
  width: 64px; height: 1px; background: var(--sea);
  margin: 24px auto 0; position: relative;
}
.section__rule::before, .section__rule::after {
  content: ""; position: absolute; top: 50%;
  width: 6px; height: 6px; background: var(--sea);
  border-radius: 50%; transform: translateY(-50%);
}
.section__rule::before { left: -14px; }
.section__rule::after  { right: -14px; }

/* ============ Featured / shop grid ============ */
.featured { padding: 96px 24px 120px; background: var(--paper); }
.featured__cta { text-align: center; margin-top: 64px; }

.grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__link { display: block; color: inherit; cursor: pointer; }
.card__img {
  aspect-ratio: 2 / 3;
  background: var(--cream);
  overflow: hidden;
  border: 0;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card__link:hover .card__img img,
.card:hover .card__img img { transform: scale(1.04); }
.card__meta { padding: 18px 20px 22px; border-top: 1px solid var(--rule); text-align: left; }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; color: var(--ink); }
.card__location { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 12px; }
.card__price { font-size: 0.9rem; color: var(--rust); font-weight: 700; letter-spacing: 0.04em; }

.card__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 18px; }
.card__tag {
  display: inline-block; font-size: 0.7rem; padding: 3px 10px;
  background: var(--cream); border: 1px solid var(--rule);
  color: var(--ink-soft); text-decoration: none; letter-spacing: 0.06em;
  text-transform: uppercase; transition: all 0.12s; line-height: 1.4;
}
.card__tag:hover { background: var(--rust); color: var(--cream); border-color: var(--rust); }

.placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: var(--cream); color: var(--ink-soft);
  font-family: var(--serif); font-weight: 700; padding: 16px; text-align: center;
}

/* ============ Filters (shop) ============ */
.filters {
  position: sticky; top: 73px; z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.filters__row {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

/* Shop page header — replaces the inline-styled hero so we can shrink it
   on narrow screens. */
.shop-hero {
  padding: 64px 24px 32px; text-align: center;
  background: var(--cream); border-bottom: 1px solid var(--rule);
}
.shop-hero__title {
  font-family: var(--serif); margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

/* On phones the dual-sticky nav + filters used to chew >50% of the
   viewport — the filters wrap to 3 lines and pin under a 73px nav.
   Drop the filter row's stickiness so it scrolls with the page, tighten
   spacing, and compress the hero to give the poster grid room. */
@media (max-width: 700px) {
  .shop-hero { padding: 20px 16px 12px; }
  .shop-hero .section__eyebrow { font-size: 0.7rem; margin-bottom: 4px; }
  .shop-hero__title { font-size: 1.6rem; }
  .filters { position: static; border-bottom: 0; }
  .filters__row { padding: 10px 16px; gap: 8px; }
  .filters__search { flex: 1 1 100%; min-width: 0; }
  .filters input, .filters select { padding: 0.45rem 0.7rem; font-size: 0.9rem; }
  .filters select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .filters__count { width: 100%; text-align: right; margin-left: 0; }
  /* Pull the catalogue grid up so the first row of cards is visible
     above the fold once the hero is compressed. */
  section.container[style*="56px"] { padding-top: 16px !important; }
}
.filters input, .filters select {
  padding: 0.55rem 0.9rem; border: 1px solid var(--rule);
  background: #fff; font-family: var(--body); font-size: 0.95rem; color: var(--ink);
  border-radius: 0;
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--rust); }
.filters__search { flex: 1; min-width: 200px; }
.filters__count { margin-left: auto; font-size: 0.9rem; color: var(--ink-soft); }
.filters__clear {
  background: none; border: 0; font-family: var(--body); font-size: 0.9rem;
  color: var(--ink-soft); text-decoration: underline; cursor: pointer;
}
.filters__clear:hover { color: var(--rust); }

/* ============ Product page ============ */
.product {
  padding: 60px 24px; display: grid; grid-template-columns: 1fr; gap: 48px;
  max-width: var(--max); margin: 0 auto;
}
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }
.product__image { background: var(--cream); border: 1px solid var(--rule); box-shadow: var(--shadow-lift); }
.product__title { font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 4px; color: var(--ink); }
.product__location {
  color: var(--ink-soft); margin-top: 8px;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
}
.product__desc { margin-top: 24px; font-size: 1.05rem; color: var(--ink); }

.chooser { margin-top: 36px; }
.chooser__label {
  display: block; margin-bottom: 10px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-soft);
}
.chooser__row { display: grid; gap: 10px; }
.chooser__row--3 { grid-template-columns: repeat(3, 1fr); }
.chooser__row--2 { grid-template-columns: repeat(2, 1fr); }
.chooser__opt { cursor: pointer; }
.chooser__opt input { position: absolute; opacity: 0; pointer-events: none; }
.chooser__opt-box {
  display: block; padding: 14px 12px; text-align: center;
  border: 2px solid var(--rule); background: #fff;
  transition: all 0.15s;
}
.chooser__opt input:checked + .chooser__opt-box {
  border-color: var(--rust); background: var(--rust); color: var(--cream);
}
.chooser__opt-size { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.chooser__opt-dim { font-size: 0.78rem; opacity: 0.8; margin-top: 2px; letter-spacing: 0.06em; }
.chooser__opt-paper-label { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.chooser__opt-paper-desc { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; line-height: 1.4; }

.totals {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 20px; margin-top: 28px; border-top: 1px solid var(--rule);
}
.totals__label {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-soft);
}
.totals__price { font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--rust); }
.note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin-top: 10px; }

.preview-note {
  font-size: 0.85rem; color: var(--ink-soft); text-align: center;
  margin: 12px 0 0; padding: 10px 14px;
  background: var(--cream); border: 1px solid var(--rule);
}
.preview-note strong { color: var(--ink); }

/* ============ Prose pages ============ */
.prose {
  max-width: 720px; margin: 0 auto;
  padding: 100px 24px; text-align: center;
}
.prose h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 20px; }
.prose p { font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin-top: 16px; }
.prose a:not(.btn) { color: var(--rust); text-decoration: underline; }

/* ============ Categories / chips (product page) ============ */
.categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.chip {
  display: inline-block; padding: 5px 12px;
  background: var(--cream); border: 1px solid var(--rule);
  font-size: 0.78rem; color: var(--ink); letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.15s; white-space: nowrap;
}
.chip:hover { background: var(--rust); color: var(--cream); border-color: var(--rust); }
.chip--region { background: var(--rust); color: var(--cream); border-color: var(--rust); font-weight: 700; }
.chip--region:hover { background: var(--rust-dark); border-color: var(--rust-dark); }

/* ============ Similar posters strip ============ */
.similar { padding: 56px 0 16px; border-top: 1px solid var(--rule); margin-top: 56px; }
.similar__title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.similar__scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  gap: 16px; overflow-x: auto;
  padding: 4px 24px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 700px) { .similar__scroll { grid-auto-columns: 200px; } }
.similar__scroll::-webkit-scrollbar { height: 6px; }
.similar__scroll::-webkit-scrollbar-track { background: var(--cream); }
.similar__scroll::-webkit-scrollbar-thumb { background: var(--rule); }
.similar__scroll::-webkit-scrollbar-thumb:hover { background: var(--rust); }

.similar__card { scroll-snap-align: start; text-align: center; color: inherit; display: block; }
.similar__card-img {
  aspect-ratio: 2 / 3; background: var(--cream);
  overflow: hidden; border: 1px solid var(--rule);
}
.similar__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.similar__card:hover .similar__card-img img { transform: scale(1.04); }
.similar__card-title { font-family: var(--serif); font-weight: 700; font-size: 0.95rem; margin-top: 8px; line-height: 1.2; color: var(--ink); }
.similar__card-location { color: var(--ink-soft); font-size: 0.78rem; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 24px 32px;
  border-top: 6px solid var(--gold);
  margin-top: 0;
}
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer__brand .logo__text { color: var(--cream); }
.footer__brand .logo__text small { color: var(--gold-soft); }
.footer__brand-logo { display: none; }  /* legacy <img> hidden — using new .logo */
.footer__tag {
  margin-top: 16px; max-width: 320px;
  color: rgba(243, 246, 250, 0.65);
  font-size: 0.95rem;
}
.footer h4, .footer__col h4 {
  font-family: var(--serif);
  font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--gold-soft);
}
.footer ul, .footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer ul li, .footer__col li { margin: 0 0 8px; }
.footer ul a, .footer__col a {
  color: rgba(243, 246, 250, 0.7); font-size: 0.95rem;
}
.footer ul a:hover, .footer__col a:hover { color: var(--cream); }
.footer__bottom {
  max-width: var(--max); margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 246, 250, 0.15);
  font-size: 0.85rem;
  color: rgba(243, 246, 250, 0.5);
  text-align: center;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ Misc ============ */
.empty { text-align: center; padding: 64px 0; color: var(--ink-soft); }
.hidden { display: none !important; }
