/* =============================================================
   COMMUNITY PORTAL — V2 DESIGN ("Place-first", 2026)
   Loaded AFTER styles.css on portal-v2.html only. Projects with
   config.themeVersion !== 2 never receive this file.

   Two skins share one DOM:
     standard  — sand / olive / terracotta, Bricolage Grotesque + DM Sans,
                 soft radii. The default for every new project.
     premium   — "Editorial Prestige" for developer clients: bone / ink /
                 deep-green band / brass, Cormorant Garamond + Manrope,
                 square corners. html[data-skin="premium"].
============================================================= */

:root {
  /* V2 palette */
  --v2-page:     #F3EDE3;
  --v2-ink:      #2B2A27;
  --v2-muted:    #7A756C;
  --v2-dim:      #A29C92;
  --v2-card:     #FFFFFF;
  --v2-rule:     #E0D7C8;
  --v2-rule-2:   #E9E1D3;
  --v2-brand:    #3F5A3C;      /* portal olive — non-client fixed colour */
  --v2-band:     #3F5A3C;      /* feature band (premium overrides)      */
  --v2-band-ink: #F3EDE3;
  --v2-sky:      #DCE9EB;
  --v2-radius:   20px;
  --v2-radius-sm:12px;
  --v2-pill:     999px;
  --v2-shadow:   0 10px 30px rgba(43, 42, 39, 0.10);
  --v2-max:      1280px;

  /* Base-token remap (styles.css components read these) */
  --bg:           var(--v2-page);
  --bg-nav:       #FBF8F2;
  --bg-card:      var(--v2-card);
  --bg-sidebar:   #FBF8F2;
  --bg-input:     #FFFFFF;
  --accent:       #C2683D;     /* default client accent — overridden per project by brandColor */
  --accent-hover: #A5552F;
  --accent-dim:   rgba(194, 104, 61, 0.09);
  --accent-soft:  rgba(194, 104, 61, 0.14);
  --accent-glow:  rgba(194, 104, 61, 0.22);
  --accent-border:rgba(194, 104, 61, 0.30);
  --text:         var(--v2-ink);
  --text-muted:   var(--v2-muted);
  --text-dim:     var(--v2-dim);
  --border:       var(--v2-rule);
  --border-light: #D2C8B6;
  --c-support:    var(--accent);
  --c-concern:    #B23A3A;
  --c-question:   #B8860B;
  --c-suggestion: #2B7A9E;
  --nav-h:        72px;
  --contact-h:    0px;         /* the fixed contact bar is replaced by a page footer */
  --radius:       12px;
  --font-heading: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
}

html[data-skin="premium"] {
  --v2-page:     #F6F3EE;
  --v2-ink:      #1A1917;
  --v2-muted:    #7C766C;
  --v2-dim:      #A39C90;
  --v2-rule:     #E3DED6;
  --v2-rule-2:   #EBE6DE;
  --v2-brand:    #213122;
  --v2-band:     #213122;
  --v2-band-ink: #F6F3EE;
  --v2-sky:      #E7E2DA;
  --v2-radius:   0;
  --v2-radius-sm:0;
  --v2-pill:     0;
  --v2-shadow:   none;
  --bg-nav:      var(--v2-page);
  --bg-sidebar:  #FBF9F5;
  --accent:       #B08D57;
  --accent-hover: #8F7143;
  --accent-dim:   rgba(176, 141, 87, 0.10);
  --accent-soft:  rgba(176, 141, 87, 0.16);
  --accent-glow:  rgba(176, 141, 87, 0.24);
  --accent-border:rgba(176, 141, 87, 0.34);
  --border-light: #D6CFC4;
  --radius:       0;
  --font-heading: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

/* Dark mode is not offered on V2 — a single, deliberate light look. */
html[data-theme="dark"] { color-scheme: light; }

html, body { font-size: 15px; }
body { font-family: var(--font-body); }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--v2-rule);
  box-shadow: none;
  padding: 0 28px;
  gap: 24px;
}
.v2-logo-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--v2-radius-sm);
  background: var(--v2-brand);
  display: flex; align-items: center; justify-content: center;
}
.v2-logo-mark svg { width: 22px; height: 22px; }
.v2-logo-mark.has-logo { background: none; width: auto; height: 40px; }
.v2-logo-mark.has-logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.logo-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--v2-ink);
  text-transform: none;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--v2-muted);
  margin-top: 2px;
}
.logo-divider { background: var(--v2-rule); }
.lfd-name { color: var(--v2-ink); font-family: var(--font-heading); text-transform: none; letter-spacing: 0; font-size: 14px; }
.lfd-sub  { color: var(--v2-muted); text-transform: none; letter-spacing: 0; }

.navbar-nav {
  gap: 4px;
  padding: 5px;
  background: var(--v2-rule-2);
  border-radius: var(--v2-pill);
  flex: 0 1 auto;
}
.nav-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 9px 18px;
  border: none;
  border-radius: var(--v2-pill);
  color: var(--v2-ink);
  gap: 0;
}
.nav-tab-icon { display: none; }
.nav-tab:hover { background: rgba(255,255,255,0.55); color: var(--v2-ink); }
.nav-tab.active {
  background: var(--v2-ink);
  color: var(--v2-page);
  border: none;
}
.navbar-actions { gap: 10px; margin-left: auto; }
.consultation-badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--v2-ink);
  background: var(--v2-card);
  border: 1px solid var(--v2-rule);
  border-radius: var(--v2-pill);
  padding: 7px 14px 7px 10px;
}
.badge-dot { background: var(--v2-brand); animation: none; width: 9px; height: 9px; }
.v2-nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: var(--v2-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.v2-nav-cta:hover { background: var(--accent-hover); }
.v2-nav-cta:active { transform: scale(0.98); }
.btn-admin {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 8px 14px;
  border-radius: var(--v2-pill);
  border-color: var(--v2-rule);
  color: var(--v2-muted);
}

/* Premium navbar: hairline, tracked uppercase tabs with an underline */
html[data-skin="premium"] .navbar { padding: 0 48px; }
html[data-skin="premium"] .logo-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: 0.01em; }
html[data-skin="premium"] .logo-sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
html[data-skin="premium"] .v2-logo-mark { display: none; }
html[data-skin="premium"] .v2-logo-mark.has-logo { display: flex; }
html[data-skin="premium"] .navbar-nav { background: none; padding: 0; gap: 26px; }
html[data-skin="premium"] .nav-tab {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 0 6px; color: var(--v2-muted); border-bottom: 2px solid transparent; border-radius: 0;
}
html[data-skin="premium"] .nav-tab:hover { background: none; color: var(--v2-ink); }
html[data-skin="premium"] .nav-tab.active { background: none; color: var(--v2-ink); border-bottom-color: var(--accent); }
html[data-skin="premium"] .v2-nav-cta, html[data-skin="premium"] .consultation-badge {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
html[data-skin="premium"] .v2-nav-cta { color: var(--v2-ink); }
html[data-skin="premium"] .badge-dot { background: var(--accent); }

/* ── SHARED BUTTONS (map sidebar, modals, survey) ───────── */
.btn-primary, .btn-secondary, .lb-annotate-btn, .welcome-btn, .lb-f-submit, .lb-f-cancel, .renders-admin-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: var(--v2-pill);
}
.btn-primary { padding: 12px 20px; }
.btn-secondary { border-color: var(--border-light); color: var(--v2-ink); }
.btn-secondary:hover { border-color: var(--v2-ink); }
html[data-skin="premium"] .btn-primary,
html[data-skin="premium"] .btn-secondary,
html[data-skin="premium"] .v2-btn { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
html[data-skin="premium"] .btn-primary { color: var(--v2-ink); }

/* ── MAP TAB CHROME ─────────────────────────────────────── */
.map-sidebar { border-right: 1px solid var(--v2-rule); }
.sidebar-title, .sidebar-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--v2-muted);
}
.sidebar-help { color: var(--v2-muted); font-size: 14px; }
.pin-item { border-radius: var(--v2-radius-sm); border: 1px solid var(--v2-rule); background: var(--v2-card); }
.pin-item-category { font-family: var(--font-body); letter-spacing: 0.04em; }
.pin-count-badge { border-radius: var(--v2-pill); font-family: var(--font-body); }
.sidebar-open-btn { border-radius: var(--v2-pill); font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-weight: 600; }
.map-hint { border-radius: var(--v2-pill); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.mapboxgl-popup-content { border-radius: var(--v2-radius-sm); font-family: var(--font-body); }
.popup-cat { font-family: var(--font-body); }
.nav-help, .model-move-panel { border-radius: var(--v2-radius-sm); font-family: var(--font-body); }

/* ── MODAL / TOAST / WELCOME / LIGHTBOX ─────────────────── */
.modal { border-radius: var(--v2-radius); }
.modal-title { font-family: var(--font-heading); font-size: 20px; letter-spacing: -0.01em; text-transform: none; font-weight: 700; }
.form-group label { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.04em; text-transform: none; font-weight: 600; color: var(--v2-muted); }
.form-group input, .form-group select, .form-group textarea { border-radius: var(--v2-radius-sm); font-family: var(--font-body); background: #FFFFFF; border: 1px solid var(--v2-rule); }
.toast { border-radius: var(--v2-pill); font-family: var(--font-body); }
.welcome-box { border-radius: var(--v2-radius); }
.welcome-title { font-family: var(--font-heading); text-transform: none; letter-spacing: -0.01em; }
.lb-panel-title, .lb-panel-count, .lb-comment-card-name { font-family: var(--font-body); letter-spacing: 0.02em; text-transform: none; }
html[data-skin="premium"] .modal, html[data-skin="premium"] .welcome-box, html[data-skin="premium"] .pin-item,
html[data-skin="premium"] .form-group input, html[data-skin="premium"] .form-group select, html[data-skin="premium"] .form-group textarea { border-radius: 0; }
html[data-skin="premium"] .modal-title, html[data-skin="premium"] .welcome-title { font-family: var(--font-display); font-weight: 500; font-size: 26px; }

/* ── RENDERS / FAQ / SURVEY TABS ────────────────────────── */
.section-eyebrow { font-family: var(--font-body); color: var(--accent); letter-spacing: 0.08em; }
.section-title { font-family: var(--font-heading); text-transform: none; letter-spacing: -0.01em; font-size: 32px; font-weight: 700; }
.section-subtitle { font-family: var(--font-body); }
.render-card { border-radius: var(--v2-radius-sm); border: 1px solid var(--v2-rule); background: var(--v2-card); }
.render-card-caption { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
#tab-faq .info-section-title { font-family: var(--font-heading); font-size: 30px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--v2-ink); border-bottom-color: var(--v2-rule); }
#tab-faq .faq-item, #tab-survey .survey-option { border-radius: var(--v2-radius-sm); background: var(--v2-card); }
.faq-q { font-family: var(--font-body); font-weight: 600; }
.faq-q-num { font-family: var(--font-body); border-radius: var(--v2-pill); }
.survey-title { font-family: var(--font-heading); text-transform: none; letter-spacing: -0.01em; }
.survey-q-label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 16px; }
.survey-rating-btn, .survey-yesno-btn { border-radius: var(--v2-radius-sm); font-family: var(--font-body); }
html[data-skin="premium"] .section-title, html[data-skin="premium"] #tab-faq .info-section-title, html[data-skin="premium"] .survey-title {
  font-family: var(--font-display); font-weight: 500; font-size: 40px;
}

/* The fixed contact bar is not used on V2 — a page footer replaces it. */
.contact-bar { display: none; }
.dark-mode-btn { display: none; }

/* ═══════════════════════════════════════════════════════════
   PROJECT PAGE (#tab-info) — light, single surface on V2.
   The v1 stylesheet's dark editorial theme is neutralised by
   remapping its tokens; V2 sections use their own v2-* classes.
═══════════════════════════════════════════════════════════ */
#tab-info {
  --info-bg:         var(--v2-page);
  --info-text:       var(--v2-ink);
  --info-text-muted: var(--v2-muted);
  --info-rule:       var(--v2-rule);
  --info-card-bg:    var(--v2-card);
  /* v1's #tab-info block remaps --accent to --info-accent, so this must be a
     literal (var(--accent) would be circular). applyBranding() overrides it
     inline with the project's brand colour. */
  --info-accent:     #C2683D;
  --text-dim:        var(--v2-dim);
}
html[data-skin="premium"] #tab-info { --info-accent: #B08D57; }
#tab-info .content-scroll { background: var(--v2-page); overflow-x: hidden; }
.info-progress { background: var(--accent); }

.v2-page { max-width: var(--v2-max); margin: 0 auto; padding: 0 40px; }
.v2-section { padding: 72px 0 0; }
.v2-section:last-child { padding-bottom: 72px; }
.v2-h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--v2-ink);
  margin: 0 0 18px;
}
.v2-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v2-muted);
  margin-bottom: 12px;
}
.v2-prose { font-size: 18px; line-height: 1.7; color: var(--v2-ink); max-width: 760px; }
.v2-prose p { margin: 0 0 18px; }
.v2-prose p:last-child { margin-bottom: 0; }
.v2-prose p + p { color: #4A4843; }
.v2-prose a { color: var(--accent); font-weight: 600; text-decoration: none; }
.v2-prose a:hover { text-decoration: underline; }
.v2-prose strong { font-weight: 600; }
.v2-prose .info-section-image { border-radius: var(--v2-radius); border: none; margin-top: 22px; }
.v2-muted { color: var(--v2-muted); }
.v2-two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.v2-two-col .v2-h2 { position: sticky; top: 24px; }

/* Fade-in reveal — same mechanism as v1 (.fade-section/.in-view) */
.fade-section { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-section.in-view { opacity: 1; transform: none; }

/* ── HERO ───────────────────────────────────────────────── */
.v2-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--v2-sky) 0%, var(--v2-page) 60%);
  overflow: hidden;
}
.v2-hero-media { position: absolute; inset: 0; }
.v2-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-hero-scrim { position: absolute; inset: 0; display: none;
  background: linear-gradient(180deg, rgba(26,25,23,0.06) 0%, rgba(26,25,23,0.18) 40%, rgba(26,25,23,0.82) 100%); }
.v2-hero.has-image { min-height: 640px; }
.v2-hero.has-image .v2-hero-scrim { display: block; }
.v2-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--v2-max);
  margin: 0 auto;
  padding: 120px 40px 56px;
  display: flex; flex-direction: column; gap: 18px;
  color: var(--v2-ink);
}
.v2-hero.has-image .v2-hero-inner { color: #F6F3EE; }
.v2-status {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 8px 14px 8px 10px;
  background: var(--v2-card);
  border-radius: var(--v2-pill);
  font-size: 13px; font-weight: 500; color: var(--v2-ink);
}
.v2-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--v2-brand); }
.v2-status.closed .v2-status-dot { background: var(--v2-dim); }
.v2-hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.v2-hero.has-image .v2-hero-eyebrow { color: var(--accent); opacity: 1; }
.v2-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin: 0;
}
.v2-hero-title.is-long { font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -0.02em; line-height: 1.02; }
.v2-hero-lede { font-size: 19px; line-height: 1.55; max-width: 620px; margin: 0; }
.v2-hero.has-image .v2-hero-lede { color: rgba(246,243,238,0.9); }
.v2-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.v2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--v2-pill);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}
.v2-btn:active { transform: scale(0.98); }
.v2-btn-primary { background: var(--accent); color: #FFFFFF; }
.v2-btn-primary:hover { background: var(--accent-hover); }
.v2-btn-ghost { background: var(--v2-card); color: var(--v2-ink); border-color: var(--v2-rule); }
.v2-btn-ghost:hover { border-color: var(--v2-ink); }
.v2-hero.has-image .v2-btn-ghost { background: transparent; color: #F6F3EE; border-color: rgba(246,243,238,0.65); }
.v2-hero.has-image .v2-btn-ghost:hover { border-color: #F6F3EE; background: rgba(246,243,238,0.1); }
.v2-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--v2-muted); margin-top: 10px; }
.v2-hero.has-image .v2-hero-meta { color: rgba(246,243,238,0.72); }
.v2-hero-meta span:empty { display: none; }

html[data-skin="premium"] .v2-hero-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(52px, 7vw, 104px); }
html[data-skin="premium"] .v2-hero-eyebrow { font-size: 12px; letter-spacing: 0.18em; color: var(--accent); opacity: 1; }
html[data-skin="premium"] .v2-status { border: 1px solid var(--v2-rule); background: transparent; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
html[data-skin="premium"] .v2-hero.has-image .v2-status { border-color: rgba(246,243,238,0.5); color: #F6F3EE; backdrop-filter: blur(4px); }
html[data-skin="premium"] .v2-status-dot { background: var(--accent); }
html[data-skin="premium"] .v2-btn-primary { color: var(--v2-ink); }
html[data-skin="premium"] .v2-hero-inner { padding-bottom: 72px; }

/* ── STATS ──────────────────────────────────────────────── */
.v2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 32px; }
.v2-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 26px 26px;
  background: var(--v2-card);
  border-radius: var(--v2-radius);
}
.v2-stat-value { font-family: var(--font-heading); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.v2-stat-label { font-weight: 600; margin-top: 6px; }
.v2-stat-sub { font-size: 14px; color: var(--v2-muted); }
.v2-stat.v2-stat-brand { background: var(--v2-band); color: var(--v2-band-ink); }
.v2-stat.v2-stat-brand .v2-stat-value { color: var(--v2-band-ink); }
.v2-stat.v2-stat-brand .v2-stat-sub { color: color-mix(in srgb, var(--v2-band-ink) 75%, transparent); }
html[data-skin="premium"] .v2-stats { gap: 0; padding: 56px 0 0; border-bottom: 1px solid var(--v2-rule); }
html[data-skin="premium"] .v2-stat { background: none; padding: 0 40px 48px 0; border-right: 1px solid var(--v2-rule); }
html[data-skin="premium"] .v2-stat + .v2-stat { padding-left: 40px; }
html[data-skin="premium"] .v2-stat:last-child { border-right: none; }
html[data-skin="premium"] .v2-stat-value { font-family: var(--font-display); font-weight: 500; font-size: 84px; color: var(--v2-ink); letter-spacing: 0; }
html[data-skin="premium"] .v2-stat-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
html[data-skin="premium"] .v2-stat.v2-stat-brand { background: none; color: var(--v2-ink); }
html[data-skin="premium"] .v2-stat.v2-stat-brand .v2-stat-value { color: var(--v2-ink); }
html[data-skin="premium"] .v2-stat.v2-stat-brand .v2-stat-sub { color: var(--v2-muted); }

/* Key-info fallback (projects without quick stats) */
.v2-keyinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 32px; }
.v2-keyinfo > div { padding: 20px 24px; background: var(--v2-card); border-radius: var(--v2-radius-sm); }
.v2-keyinfo .k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--v2-muted); margin-bottom: 6px; }
.v2-keyinfo .v { font-weight: 600; }

/* ── GALLERY ────────────────────────────────────────────── */
.v2-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.v2-gallery:empty { display: none; }
.v2-gallery figure { margin: 0; cursor: zoom-in; display: flex; flex-direction: column; gap: 10px; }
.v2-gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.v2-gallery .v2-gallery-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--v2-radius); background: var(--v2-rule-2); }
.v2-gallery figure:first-child:nth-last-child(odd) .v2-gallery-img { aspect-ratio: 21 / 9; }
.v2-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.v2-gallery figure:hover img { transform: scale(1.03); }
.v2-gallery figcaption { font-size: 13px; color: var(--v2-muted); }
.v2-gallery .image-disclaimer { grid-column: 1 / -1; margin: 0; }
html[data-skin="premium"] .v2-gallery figcaption { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── HAVE YOUR SAY ──────────────────────────────────────── */
.v2-hys-intro { font-size: 18px; line-height: 1.6; color: var(--v2-muted); max-width: 760px; margin: 0 0 32px; }
.v2-hys-intro a { color: var(--accent); font-weight: 600; }
.v2-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v2-way {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px;
  background: var(--v2-card);
  border-radius: var(--v2-radius);
  text-align: left;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit; color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.v2-way:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--v2-shadow); }
.v2-way-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-way-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.v2-way-level { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v2-muted); padding: 5px 10px; background: var(--v2-page); border-radius: var(--v2-pill); }
.v2-way-title { font-family: var(--font-heading); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.v2-way-body { font-size: 15px; line-height: 1.55; color: var(--v2-muted); }
.v2-way-cta { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.v2-way.v2-way-event { background: var(--v2-band); color: var(--v2-band-ink); }
.v2-way.v2-way-event .v2-way-body, .v2-way.v2-way-event .v2-way-cta { color: color-mix(in srgb, var(--v2-band-ink) 82%, transparent); }
.v2-way.v2-way-event .v2-way-level { background: rgba(255,255,255,0.14); color: var(--v2-band-ink); }
.v2-way.v2-way-event .v2-way-num { background: var(--v2-band-ink); color: var(--v2-band); }

/* Map preview beside the event card */
.v2-hys-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 16px; }
.v2-hys-row.v2-hys-row--map-only { grid-template-columns: 1fr; }
.v2-minimap-card {
  position: relative; min-height: 420px;
  border-radius: var(--v2-radius); overflow: hidden;
  background: var(--v2-sky);
  cursor: pointer;
}
.v2-minimap-card:empty { display: none; }
.v2-minimap { position: absolute; inset: 0; }
.v2-minimap .mapboxgl-ctrl-logo, .v2-minimap .mapboxgl-ctrl-attrib { opacity: 0.6; }
.v2-minimap-tag {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 12px; background: rgba(255,255,255,0.92); border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--v2-ink); pointer-events: none;
}
.v2-minimap-foot {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; background: var(--v2-card); border-radius: 14px; box-shadow: var(--v2-shadow);
  font-size: 14px;
}
.v2-minimap-foot strong { font-weight: 600; }
.v2-minimap-foot .v2-btn { padding: 10px 16px; font-size: 14px; }
.v2-event {
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
  padding: 36px 36px;
  background: var(--accent); color: #FFFFFF;
  border-radius: var(--v2-radius);
}
.v2-event-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.v2-event-title { font-family: var(--font-heading); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.v2-event p { margin: 0; line-height: 1.55; font-size: 16px; }
.v2-event p + p { font-weight: 600; }
.v2-event a { color: inherit; }
html[data-skin="premium"] .v2-way { border: 1px solid var(--v2-rule); }
html[data-skin="premium"] .v2-way-title { font-family: var(--font-display); font-weight: 500; font-size: 26px; }
html[data-skin="premium"] .v2-way-num { color: var(--v2-ink); }
html[data-skin="premium"] .v2-event { background: var(--v2-band); color: var(--v2-band-ink); border: 1px solid var(--accent); }
html[data-skin="premium"] .v2-event-eyebrow { color: var(--accent); opacity: 1; letter-spacing: 0.16em; }
html[data-skin="premium"] .v2-event-title { font-family: var(--font-display); font-weight: 500; }

/* Premium: Have Your Say sits in the deep-green chapter band */
html[data-skin="premium"] .v2-hys-band { background: var(--v2-band); color: var(--v2-band-ink); margin: 72px calc(50% - 50vw) 0; padding: 96px calc(50vw - 50%); }
html[data-skin="premium"] .v2-hys-band .v2-section { padding-top: 0; }
html[data-skin="premium"] .v2-hys-band .v2-h2, html[data-skin="premium"] .v2-hys-band .v2-hys-intro { color: var(--v2-band-ink); }
html[data-skin="premium"] .v2-hys-band .v2-hys-intro { opacity: 0.85; }
html[data-skin="premium"] .v2-hys-band .v2-eyebrow { color: var(--accent); }
html[data-skin="premium"] .v2-hys-band .v2-way { background: rgba(246,243,238,0.04); border-color: rgba(246,243,238,0.18); color: var(--v2-band-ink); }
html[data-skin="premium"] .v2-hys-band .v2-way-body, html[data-skin="premium"] .v2-hys-band .v2-way-level { color: rgba(246,243,238,0.7); }
html[data-skin="premium"] .v2-hys-band .v2-way-level { background: rgba(246,243,238,0.08); }
html[data-skin="premium"] .v2-hys-band .v2-way-cta { color: var(--accent); }
html[data-skin="premium"] .v2-hys-band .v2-minimap-foot { background: #1A1917; color: var(--v2-band-ink); }
html[data-skin="premium"] .v2-hys-band .v2-contact { color: rgba(246,243,238,0.7); }
html[data-skin="premium"] .v2-hys-band .v2-contact a { color: var(--accent); }
.v2-contact { margin-top: 22px; font-size: 14px; color: var(--v2-muted); }
.v2-contact a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ── TIMELINE — horizontal step track (V2 markup from app.js) ── */
#tab-info .info-timeline-wrap { border: none; padding: 0; margin: 0; background: none; }
#tab-info .info-timeline-wrap .info-docs-title,
#tab-info .info-docs .info-docs-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em; text-transform: none;
  color: var(--v2-ink); margin-bottom: 24px;
}
.v2-tl-progress { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--v2-muted); }
#tab-info .timeline.v2-tl {
  position: relative;
  display: block;
  padding: 40px 44px 36px;
  background: var(--v2-card);
  border-radius: var(--v2-radius);
}
.v2-tl-track { position: absolute; top: 9px; height: 4px; background: var(--v2-rule-2); border-radius: 2px; z-index: 0; }
.v2-tl-fill  { height: 100%; background: var(--v2-brand); border-radius: 2px; }
.v2-tl-steps { display: grid; gap: 12px; position: relative; }
.v2-tl-step  { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; padding: 0 4px; z-index: 1; }
.v2-tl-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--v2-rule-2); border: 4px solid var(--v2-card);
  box-shadow: 0 0 0 2px var(--v2-rule-2);
}
.v2-tl-step.done .v2-tl-dot    { background: var(--v2-brand); box-shadow: 0 0 0 2px var(--v2-brand); }
.v2-tl-step.current .v2-tl-dot { background: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 0 0 8px var(--accent-dim); }
.v2-tl-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2-muted); }
.v2-tl-step.current .v2-tl-eyebrow { color: var(--accent); }
.v2-tl-label { font-size: 14px; line-height: 1.35; color: var(--v2-muted); }
.v2-tl-step.done .v2-tl-label    { color: var(--v2-ink); font-weight: 600; }
.v2-tl-step.current .v2-tl-label { color: var(--v2-ink); font-weight: 700; }
.v2-tl-date { font-size: 12px; color: var(--v2-muted); }
#tab-info .tl-disclaimer { color: var(--v2-muted); font-size: 13px; margin-top: 14px; }

html[data-skin="premium"] #tab-info .timeline.v2-tl { background: none; padding: 0; border-radius: 0; }
html[data-skin="premium"] .v2-tl-track { display: none; }
html[data-skin="premium"] .v2-tl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 32px 24px; }
html[data-skin="premium"] .v2-tl-step { align-items: flex-start; text-align: left; border-top: 2px solid var(--v2-rule); padding: 14px 0 0; gap: 10px; }
html[data-skin="premium"] .v2-tl-step.done    { border-top-color: var(--v2-ink); }
html[data-skin="premium"] .v2-tl-step.current { border-top-color: var(--accent); }
html[data-skin="premium"] .v2-tl-dot { display: none; }
html[data-skin="premium"] .v2-tl-eyebrow { letter-spacing: 0.14em; }
html[data-skin="premium"] .v2-tl-label { font-size: 15px; }
html[data-skin="premium"] .v2-tl-step.current .v2-tl-label { color: var(--v2-ink); }
html[data-skin="premium"] #tab-info .info-timeline-wrap .info-docs-title,
html[data-skin="premium"] #tab-info .info-docs .info-docs-title,
html[data-skin="premium"] .v2-h2 { font-family: var(--font-display); font-weight: 500; font-size: 44px; letter-spacing: 0; }

/* ── FAQ (inline, v1 accordion markup) ──────────────────── */
#v2-faq .faq-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
#tab-info .faq-item, #tab-info .faq-item[open], #tab-info .faq-item:hover {
  background: var(--v2-card) !important;
  border: 1px solid transparent;
  border-radius: var(--v2-radius-sm);
  overflow: hidden;
}
#tab-info .faq-item:hover { border-color: var(--v2-rule); }
#tab-info .faq-item[open] { border-color: var(--accent-border); }
#tab-info .faq-q, #tab-info .faq-item[open] .faq-q, #tab-info .faq-q:hover { padding: 18px 22px; background: none !important; font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--v2-ink) !important; gap: 14px; }
#tab-info .faq-q-num { display: none; }
#tab-info .faq-q-text { color: var(--v2-ink) !important; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; }
#tab-info .faq-q::after { color: var(--v2-ink); border-color: var(--v2-rule); }
#tab-info .faq-item[open] .faq-q { background: none; }
#tab-info .faq-a { padding: 0 22px 20px; background: none; border: none !important; }
#tab-info .faq-a p { color: #4A4843 !important; font-size: 16px; line-height: 1.65; }
html[data-skin="premium"] #tab-info .faq-item { background: none; border-radius: 0; border: none; border-top: 1px solid var(--v2-rule); }
html[data-skin="premium"] #tab-info .faq-item:last-child { border-bottom: 1px solid var(--v2-rule); }
html[data-skin="premium"] #tab-info .faq-q { padding: 22px 0; }
html[data-skin="premium"] #tab-info .faq-q-text { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
html[data-skin="premium"] #tab-info .faq-a { padding: 0 0 24px; }

/* ── DOCUMENTS ──────────────────────────────────────────── */
#tab-info .info-docs { border: none; padding: 0; margin: 0; background: none; }
#tab-info .doc-link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; margin-bottom: 10px;
  background: var(--v2-card); border: 1px solid transparent;
  border-radius: var(--v2-radius-sm);
  color: var(--v2-ink); font-weight: 600; text-decoration: none; font-family: var(--font-body);
}
#tab-info .doc-link:hover { border-color: var(--accent-border); }
#tab-info .doc-link-meta { margin-left: auto; font-size: 11px; letter-spacing: 0.08em; color: var(--v2-muted); background: var(--v2-page); padding: 4px 8px; border-radius: var(--v2-pill); }
html[data-skin="premium"] #tab-info .doc-link { background: none; border-radius: 0; border: none; border-top: 1px solid var(--v2-rule); margin: 0; padding: 18px 0; }

/* ── FOOTER ─────────────────────────────────────────────── */
.v2-footer {
  max-width: var(--v2-max);
  margin: 0 auto 48px;
  padding: 36px 44px;
  background: var(--v2-ink);
  color: rgba(243,237,227,0.75);
  border-radius: var(--v2-radius);
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  font-size: 14px; line-height: 1.6;
}
.v2-footer-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--v2-page); margin-bottom: 4px; }
.v2-footer a { color: var(--v2-page); text-decoration: none; }
.v2-footer a:hover { text-decoration: underline; }
.v2-footer-links { display: flex; gap: 24px; flex-shrink: 0; }
html[data-skin="premium"] .v2-footer { max-width: none; margin: 0; border-radius: 0; padding: 56px 48px; background: #1A1917; }
html[data-skin="premium"] .v2-footer-title { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
html[data-skin="premium"] .v2-footer-links { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .v2-two-col { grid-template-columns: 1fr; gap: 20px; }
  .v2-two-col .v2-h2 { position: static; }
  .v2-ways { grid-template-columns: 1fr; }
  .v2-hys-row { grid-template-columns: 1fr; }
}
@media (max-width: 1280px) and (min-width: 769px) {
  .navbar { padding: 0 16px; }
  .nav-tab { padding: 8px 12px; font-size: 13px; }
  .consultation-badge span:not(.badge-dot) { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar { padding: 0 12px; gap: 8px; }
  .navbar-nav { order: 3; width: 100%; display: none; } /* tabs live in the bottom bar on phones */
  .v2-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    display: flex; justify-content: space-around;
    padding: 8px 6px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg-nav); border-top: 1px solid var(--v2-rule);
  }
  .v2-tabbar .nav-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; font-size: 11px; font-weight: 600; background: none; color: var(--v2-muted); border-radius: 10px; }
  .v2-tabbar .nav-tab.active { color: var(--accent); background: var(--accent-dim); }
  .v2-tabbar .nav-tab svg { width: 20px; height: 20px; }
  .main-content { padding-bottom: 64px; }
  .v2-nav-cta { padding: 9px 14px; font-size: 13px; }
  .btn-admin, .lfd-brand, .logo-divider, .consultation-badge { display: none; }
  .logo-text { display: flex; }
  .v2-page { padding: 0 20px; }
  .v2-hero { min-height: 420px; }
  .v2-hero.has-image { min-height: 520px; }
  .v2-hero-inner { padding: 96px 20px 32px; }
  .v2-hero-lede { font-size: 16px; }
  .v2-h2 { font-size: 30px; }
  .v2-section { padding-top: 48px; }
  .v2-gallery { grid-template-columns: 1fr; }
  .v2-gallery figure:first-child:nth-last-child(odd) .v2-gallery-img { aspect-ratio: 4 / 3; }
  .v2-stat-value { font-size: 40px; }
  .v2-minimap-card { min-height: 320px; }
  .v2-minimap-foot { flex-direction: column; align-items: flex-start; }
  .v2-event { padding: 26px; }
  #tab-info .timeline.v2-tl { padding: 24px 20px; }
  .v2-tl-track { display: none; }
  .v2-tl-steps { grid-template-columns: 1fr !important; gap: 0; }
  .v2-tl-step { flex-direction: row; align-items: flex-start; text-align: left; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0 14px 0; }
  .v2-tl-step::before { content: ''; position: absolute; left: 10px; top: 32px; bottom: -4px; width: 2px; background: var(--v2-rule-2); }
  .v2-tl-step:last-child::before { display: none; }
  .v2-tl-step.done::before { background: var(--v2-brand); }
  .v2-tl-dot { flex-shrink: 0; margin-top: 2px; }
  .v2-tl-eyebrow { width: 100%; padding-left: 36px; order: 3; }
  .v2-tl-label { flex: 1; min-width: 0; }
  .v2-tl-date { width: 100%; padding-left: 36px; order: 4; }
  html[data-skin="premium"] .v2-tl-steps { grid-template-columns: 1fr !important; }
  .v2-footer { flex-direction: column; align-items: flex-start; padding: 28px 24px; margin: 0 0 24px; border-radius: var(--v2-radius); }
  html[data-skin="premium"] .v2-hys-band { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 769px) { .v2-tabbar { display: none; } }
