/* ─────────────────────────────────────────────────────────────────────────────
   Nakasendo landing page — CSS
   Colour variables use concrete values (matching Okiro's defaults) with
   explicit .dark-mode and auto-dark-mode overrides — same pattern as screen.css.
   --rust and --gold still reference --ghost-accent-color so CTAs auto-adapt.
   ─────────────────────────────────────────────────────────────────────────── */

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

/* Light mode palette — matches Okiro light defaults */
:root {
  --ink:          #2b394e;
  --ink-dim:      rgba(43,57,78,0.70);    /* body / secondary text on light bg */
  --ink-faint:    rgba(43,57,78,0.45);    /* de-emphasised text on light bg */
  --text-on-dark: #f4f4f7;                /* headings & inputs on always-dark panels — never changes */
  --warm-dark:    #2a3343;
  --earth:        #b8b8bd;
  --rust:         var(--ghost-accent-color);
  --mist:         #ededf1;
  --paper:        #f4f4f7;
  --cream:        #fff;
  --moss:         #2b394e;
  --gold:         color-mix(in srgb, var(--ghost-accent-color) 70%, white);
}

/* Dark mode — mirrors Okiro's .dark-mode variable overrides */
.dark-mode {
  --ink:       #f7f9f9;
  --ink-dim:   rgba(247,249,249,0.72);
  --ink-faint: rgba(247,249,249,0.50);
  --earth:     #5b6d83;
  --mist:      #344052;
  --paper:     #2a3343;
  --cream:     #1f2833;
  --moss:      #f7f9f9;
}

@media (prefers-color-scheme: dark) {
  .auto-dark-mode {
    --ink:       #f7f9f9;
    --ink-dim:   rgba(247,249,249,0.72);
    --ink-faint: rgba(247,249,249,0.50);
    --earth:     #5b6d83;
    --mist:      #344052;
    --paper:     #2a3343;
    --cream:     #1f2833;
    --moss:      #f7f9f9;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  /* photo at ~35% opacity: dark overlay (65%) layered over the image */
  background-color: var(--warm-dark);
  background-image:
    linear-gradient(rgba(42,51,67,0.65), rgba(42,51,67,0.65)),
    url('https://tomiescuisine.co.uk/content/images/2025/08/seta-no-kakehashi-over-biwako.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 72px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* woodblock texture overlay */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg, transparent, transparent 3px,
      rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px
    );
  pointer-events: none;
}

/* vertical kanji accent */
.hero-kanji {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.8);
  user-select: none;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-subtitle-jp {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: rgba(255,255,255,1);
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s forwards;
}

.hero-desc {
  font-family: 'Lora', serif;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* CTA form */
.hero-form {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  margin-bottom: 12px;
  display: block;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder { color: rgba(255,255,255,0.8); }
.form-input:focus { border-color: var(--gold); }

.form-btn {
  background: var(--rust);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.form-btn:hover { background: color-mix(in srgb, var(--ghost-accent-color) 80%, black); transform: translateY(-1px); }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
}

.form-alert {
  font-size: 12px;
  margin-top: 10px;
  padding: 8px 12px;
}

/* Hidden by default; Ghost members JS adds .success/.error to the <form> to trigger visibility */
.alert-success { display: none; color: #aaef52; }
.alert-error   { display: none; color: #ff6c78; }

/* Show error message (inside form) when submission fails */
form.error .alert-error   { display: block; }

/* On success: hide the form, show the sibling .alert-success div */
form.success              { display: none; }
form.success + .alert-success { display: block; }

/* hero right — route visual */
.hero-right {
  background: var(--paper);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--ghost-accent-color) 6%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, color-mix(in srgb, var(--color-font-one) 5%, transparent) 0%, transparent 50%);
}

/* Decorative route map */
.route-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

.route-card-header {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mist);
}

.route-list {
  list-style: none;
  position: relative;
}

.route-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--rust), var(--moss));
}

.route-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.route-item:nth-child(1)  { animation-delay: 0.9s; }
.route-item:nth-child(2)  { animation-delay: 1.0s; }
.route-item:nth-child(3)  { animation-delay: 1.1s; }
.route-item:nth-child(4)  { animation-delay: 1.2s; }
.route-item:nth-child(5)  { animation-delay: 1.3s; }
.route-item:nth-child(6)  { animation-delay: 1.4s; }
.route-item:nth-child(7)  { animation-delay: 1.5s; }
.route-item:nth-child(8)  { animation-delay: 1.6s; }
.route-item:nth-child(9)  { animation-delay: 1.7s; }
.route-item:nth-child(10) { animation-delay: 1.8s; }

.route-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.route-dot.start  { background: var(--rust); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rust) 20%, transparent); }
.route-dot.end    { background: var(--moss); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 20%, transparent); }
.route-dot.mid    { background: var(--mist); border: 2px solid var(--earth); }
.route-dot.active { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }

.route-text {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.route-name {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--ink);
}

.route-name span {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  color: var(--earth);
  margin-left: 6px;
}

.route-km {
  font-size: 11px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.route-prefecture-tag {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  margin-top: 2px;
}

.tag-kyoto  { color: var(--rust); }
.tag-gifu   { color: var(--moss); }
.tag-multi  { color: var(--gold); }
.tag-gunma  { color: #8a4a6b; }
.tag-tokyo  { color: var(--ink); }

.route-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--mist);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-total {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.gpx-badge {
  background: var(--warm-dark);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  text-transform: uppercase;
}

/* ── WHAT YOU GET ── */
.section-what {
  background: var(--cream);
  padding: 120px 72px;
  position: relative;
}

.section-what::before {
  content: '中山道';
  position: absolute;
  top: 60px;
  right: 60px;
  font-family: 'Shippori Mincho', serif;
  font-size: 80px;
  color: color-mix(in srgb, var(--ink) 5%, transparent);
  user-select: none;
  line-height: 1;
  writing-mode: vertical-rl;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 600px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

.card {
  background: var(--paper);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.card:hover { transform: translateY(-4px); }

.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::after { transform: scaleX(1); }

.card-img {
  display: block;
  width: calc(100% + 72px);
  margin: -40px -36px 28px;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
}

.card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.card-body {
  font-family: 'Lora', serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-dim);
}

.card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--mist);
  color: var(--earth);
}

/* ── STORY STRIP ── */
.story-strip {
  background: var(--warm-dark);
  padding: 100px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.story-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg, transparent, transparent 60px,
      rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px
    );
  pointer-events: none;
}

.story-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.story-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.25;
  margin-bottom: 28px;
}

.story-body {
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.story-body em {
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

.story-upsell {
  margin-top: 40px;
  padding: 28px 32px;
  border-left: 3px solid var(--rust);
  background: rgba(255,255,255,0.05);
}

.story-upsell-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.story-upsell-body {
  font-family: 'Lora', serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.story-upsell-btn {
  background: var(--rust);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 24px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.story-upsell-btn:hover {
  background: color-mix(in srgb, var(--ghost-accent-color) 80%, black);
}

/* day snippets */
.day-snippets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.snippet {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--rust);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.snippet:nth-child(2) { border-color: var(--gold); }
.snippet:nth-child(3) { border-color: var(--moss); }

.snippet:hover { background: rgba(255,255,255,0.08); }

.snippet-img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
}

.snippet-day {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 24px 0;
  margin: 0;
}

.snippet-route {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-on-dark);
  padding: 12px 24px 0;
  margin: 0;
}

.snippet-detail {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  padding: 6px 24px 20px;
  margin: 0;
}

/* ── MEMBER UPSELL ── */
.section-member {
  background: var(--paper);
  padding: 120px 72px;
}

.member-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.member-left .section-title { margin-bottom: 32px; }

.member-body {
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-dim);
  margin-bottom: 48px;
}

.tier-boxes {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tier {
  padding: 28px 32px;
  position: relative;
}

.tier-free {
  background: var(--mist);
}

.tier-paid {
  background: var(--warm-dark);
  color: var(--text-on-dark);
}

.tier-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tier-free .tier-label  { color: var(--earth); }
.tier-paid .tier-label  { color: var(--gold); }

.tier-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tier-free .tier-name  { color: var(--ink); }
.tier-paid .tier-name  { color: var(--text-on-dark); }

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-feature {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tier-free .tier-feature { color: var(--ink-dim); }
.tier-paid .tier-feature { color: rgba(255,255,255,0.75); }

.tier-check {
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-free .tier-check { color: var(--moss); }
.tier-paid .tier-check { color: var(--gold); }

.tier-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.tier-free .tier-cta {
  background: var(--warm-dark);
  color: var(--text-on-dark);
}

.tier-free .tier-cta:hover { background: var(--rust); }

.tier-paid .tier-cta {
  background: var(--gold);
  color: var(--warm-dark);
}

.tier-paid .tier-cta:hover { background: color-mix(in srgb, var(--ghost-accent-color) 80%, white); }

/* member right — testimonial/pull-quote */
.member-right {
  position: sticky;
  top: 40px;
}

.pull-quote {
  background: var(--cream);
  border: 1px solid var(--mist);
  padding: 48px;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-family: 'Shippori Mincho', serif;
  font-size: 100px;
  color: var(--rust);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 28px;
  line-height: 1;
}

.pq-body {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
}

.pq-attr {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--earth);
}

/* quote cycling */
.pq-slides {
  display: grid;
}

.pq-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.pq-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.pq-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.pq-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--mist);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.pq-dot.active {
  background: var(--rust);
  transform: scale(1.4);
}

.pack-preview {
  margin-top: 32px;
  background: var(--warm-dark);
  padding: 28px 32px;
}

.pack-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.pack-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.pack-item-icon {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── FINAL CTA ── */
.section-cta {
  background-color: var(--warm-dark);
  background-image:
    linear-gradient(rgba(42,51,67,0.75), rgba(42,51,67,0.75)),
    url('https://tomiescuisine.co.uk/content/images/2026/02/20250321_152056.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}


.cta-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-sub {
  font-family: 'Lora', serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
}

.cta-form-wrap {
  position: relative;
  z-index: 1;
}

.cta-form-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin-bottom: 14px;
  display: block;
}

.cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 15px 20px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.cta-input::placeholder { color: rgba(255,255,255,0.65); }
.cta-input:focus { border-color: rgba(255,255,255,0.8); }

.cta-invert {
  border: 1px solid var(--ink-faint);
  color: var(--ink);
}
.cta-invert::placeholder { color: var(--ink-faint); }
.cta-invert:focus { border-color: var(--rust); }

.cta-btn {
  background: var(--rust);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.cta-btn:hover { background: color-mix(in srgb, var(--ghost-accent-color) 80%, black); }

.cta-note {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 14px;
}


/* ── DARK MODE STRUCTURAL OVERRIDES ─────────────────────────────────────── */
/* hero-left: swap overlay to dark-mode body colour (#1f2833) at 70% — 30% photo */
.dark-mode .hero-left {
  background-color: #1f2833;
  background-image:
    linear-gradient(rgba(31,40,51,0.70), rgba(31,40,51,0.70)),
    url('https://tomiescuisine.co.uk/content/images/2025/08/seta-no-kakehashi-over-biwako.jpg');
}

/* hero-right: remove solid paper bg so only the ::before gradient shows */
.dark-mode .hero-right { background: transparent; }

/* section-cta: deepen overlay in dark mode for readability */
.dark-mode .section-cta {
  background-color: #1f2833;
  background-image:
    linear-gradient(rgba(31,40,51,0.80), rgba(31,40,51,0.80)),
    url('https://tomiescuisine.co.uk/content/images/2026/02/20250321_152056.jpg');
}

/* gpx-badge: warm-dark bg merges with dark paper bg — swap to outlined style */
.dark-mode .gpx-badge {
  background: transparent;
  border: 1px solid var(--gold);
}

/* tier-free CTA: warm-dark button nearly invisible on dark mist — use accent */
.dark-mode .tier-free .tier-cta {
  background: var(--rust);
  color: #fff;
}

.dark-mode .tier-free .tier-cta:hover {
  background: color-mix(in srgb, var(--ghost-accent-color) 80%, black);
}

@media (prefers-color-scheme: dark) {
  .auto-dark-mode .hero-left {
    background-color: #1f2833;
    background-image:
      linear-gradient(rgba(31,40,51,0.70), rgba(31,40,51,0.70)),
      url('https://tomiescuisine.co.uk/content/images/2025/08/seta-no-kakehashi-over-biwako.jpg');
  }

  .auto-dark-mode .hero-right { background: transparent; }

  .auto-dark-mode .section-cta {
    background-color: #1f2833;
    background-image:
      linear-gradient(rgba(31,40,51,0.80), rgba(31,40,51,0.80)),
      url('https://tomiescuisine.co.uk/content/images/2026/02/20250321_152056.jpg');
  }

  .auto-dark-mode .gpx-badge {
    background: transparent;
    border: 1px solid var(--gold);
  }

  .auto-dark-mode .tier-free .tier-cta {
    background: var(--rust);
    color: #fff;
  }

  .auto-dark-mode .tier-free .tier-cta:hover {
    background: color-mix(in srgb, var(--ghost-accent-color) 80%, black);
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 80px 40px; }
  .hero-right { display: block; }
  .story-strip { grid-template-columns: 1fr; gap: 48px; }
  .member-grid { grid-template-columns: 1fr; }
  .member-right { position: static; }
  .section-cta { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .section-what, .section-member, .story-strip, .section-cta { padding: 80px 40px; }
}

@media (max-width: 600px) {
  .hero-left { padding: 60px 28px; }
  .form-row { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .section-what, .section-member, .story-strip, .section-cta { padding: 60px 24px; }
}
