/*
 *     Theme Name: Moreton Bay Farm Trail
 *     Theme URI: https://moretonbayfarmtrail.com.au
 *     Author: Gravity Projex
 *     Author URI: https://gravityprojex.com.au
 *     Description: Moreton Bay Farm Trail — agritourism discovery theme for farm gates, growers markets, u-pick experiences and paddock-to-plate dining across Moreton Bay, South East Queensland. Built on the Farm Trail Framework. Configure in farm-trail-config.php.
 *     Version: 2.0.0
 *     Requires at least: 6.7
 *     Requires PHP: 8.3
 *     Text Domain: farm-trail
 *     Tags: agritourism, farm-trail, directory, moreton-bay, queensland, custom-colors, block-patterns
 *     License: Proprietary — Gravity Projex Farm Trail Framework Agreement
 *
 *     Gravity Projex - Intellectual Property
 *     PROPRIETARY SOFTWARE LICENSE - GRAVITY PROJEX
 *     Copyright (c) 2026 Gravity Projex / Michelle Smith.
 *     All Rights Reserved.
 *     Business located in Australia.
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   Moreton Bay Farm Trail — Harvest Earth Palette
   Deep forest green · warm harvest gold · terracotta · cream · soil brown
   ========================================================================== */

:root {
    /* ---- FARM TRAIL BRAND PALETTE ---- */
    /* Forest / canopy green — primary brand */
    --tc-brand-primary: #006B5E;
    --tc-brand-primary-light: #008F7D;
    --tc-brand-primary-dark: #004D42;
    /* Harvest gold — warm, earthy CTA */
    --tc-brand-accent: #E8781A;
    --tc-brand-accent-light: #F5A623;
    --tc-brand-accent-dark: #C45E0A;
    /* Deep soil / bark — replaces charcoal */
    --tc-brand-charcoal: #0D2420;
    --tc-brand-charcoal-light: #1A3530;
    /* Terracotta — warm highlight (was "ocean") */
    --tc-brand-ocean: #F5A623;
    --tc-brand-ocean-dark: #C98A10;
    /* Cream / straw — warm neutral background */
    --tc-brand-sand: #F0FAF8;
    /* Rust / copper */
    --tc-brand-coral: #E8781A;
    /* Sage green — soft secondary */
    --tc-brand-sage: #5EA89A;

    /* Neutral Palette */
    --tc-neutral-50: #FAFAF8;
    --tc-neutral-100: #F5F5F2;
    --tc-neutral-200: #E8E6E1;
    --tc-neutral-300: #D4D2CD;
    --tc-neutral-400: #A09E99;
    --tc-neutral-500: #716F6A;
    --tc-neutral-600: #545250;
    --tc-neutral-700: #3D3B39;
    --tc-neutral-800: #2A2826;
    --tc-neutral-900: #1A1918;
    --tc-neutral-950: #0D0C0B;

    /* Semantic */
    --tc-success: #3D8B37;
    --tc-warning: #D4A017;
    --tc-error: #C0392B;
    --tc-info: #2980B9;

    /* Light Mode */
    --tc-bg-primary: #FFFFFF;
    --tc-bg-secondary: #F0FAF8;
    --tc-bg-tertiary: var(--tc-neutral-100);
    --tc-bg-elevated: #FAFAF8;
    --tc-bg-overlay: rgba(13, 12, 11, 0.6);
    --tc-text-primary: var(--tc-neutral-900);
    --tc-text-secondary: var(--tc-neutral-600);
    --tc-text-tertiary: var(--tc-neutral-400);
    --tc-text-inverse: #FFFFFF;
    --tc-border-default: var(--tc-neutral-200);
    --tc-border-strong: var(--tc-neutral-300);
    --tc-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --tc-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.05);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.06);
    --tc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.06);

    /* Typography */
    --tc-font-display: 'Barlow Condensed', 'Oswald', Impact, sans-serif;
    --tc-font-heading: 'Nunito Sans', 'DM Sans', system-ui, sans-serif;
    --tc-font-body: 'Nunito Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
    --tc-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --tc-text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.78rem);
    --tc-text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --tc-text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    --tc-text-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.175rem);
    --tc-text-xl: clamp(1.2rem, 1.05rem + 0.75vw, 1.35rem);
    --tc-text-2xl: clamp(1.4rem, 1.15rem + 1.25vw, 1.75rem);
    --tc-text-3xl: clamp(1.7rem, 1.3rem + 2vw, 2.25rem);
    --tc-text-4xl: clamp(2rem, 1.4rem + 3vw, 3rem);
    --tc-text-5xl: clamp(2.5rem, 1.5rem + 5vw, 4rem);
    --tc-text-6xl: clamp(3rem, 1.5rem + 7.5vw, 5.5rem);

    /* Spacing */
    --tc-space-1: 0.25rem;
    --tc-space-2: 0.5rem;
    --tc-space-3: 0.75rem;
    --tc-space-4: 1rem;
    --tc-space-5: 1.25rem;
    --tc-space-6: 1.5rem;
    --tc-space-8: 2rem;
    --tc-space-10: 2.5rem;
    --tc-space-12: 3rem;
    --tc-space-16: 4rem;
    --tc-space-20: 5rem;
    --tc-space-24: 6rem;
    --tc-space-32: 8rem;

    /* Layout */
    --tc-container-max: 1360px;
    --tc-container-narrow: 960px;
    --tc-container-wide: 1600px;
    --tc-gutter: clamp(1rem, 2.5vw, 2rem);

    /* Radii */
    --tc-radius-sm: 6px;
    --tc-radius-md: 10px;
    --tc-radius-lg: 16px;
    --tc-radius-xl: 24px;
    --tc-radius-2xl: 32px;
    --tc-radius-full: 9999px;

    /* Motion */
    --tc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --tc-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --tc-transition-fast: 150ms var(--tc-ease-out);
    --tc-transition-base: 250ms var(--tc-ease-out);
    --tc-transition-slow: 450ms var(--tc-ease-out);

    /* Z-Index */
    --tc-z-base: 1;
    --tc-z-dropdown: 100;
    --tc-z-sticky: 200;
    --tc-z-overlay: 300;
    --tc-z-modal: 400;
    --tc-z-toast: 500;
    --tc-z-max: 9999;
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

[data-theme="dark"] {
    --tc-bg-primary: var(--tc-neutral-950);
    --tc-bg-secondary: var(--tc-neutral-900);
    --tc-bg-tertiary: var(--tc-neutral-800);
    --tc-bg-elevated: var(--tc-neutral-900);
    --tc-bg-overlay: rgba(0, 0, 0, 0.75);
    --tc-text-primary: var(--tc-neutral-100);
    --tc-text-secondary: var(--tc-neutral-400);
    --tc-text-tertiary: var(--tc-neutral-500);
    --tc-text-inverse: var(--tc-neutral-950);
    --tc-border-default: var(--tc-neutral-800);
    --tc-border-strong: var(--tc-neutral-700);
    --tc-shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --tc-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
    --tc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-base);
    line-height: 1.6;
    color: var(--tc-text-primary);
    background-color: var(--tc-bg-primary);
    overflow-x: hidden;
    transition: background-color var(--tc-transition-slow), color var(--tc-transition-slow);
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tc-font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--tc-text-primary);
}

h1 { font-size: var(--tc-text-5xl); }
h2 { font-size: var(--tc-text-4xl); }
h3 { font-size: var(--tc-text-3xl); }
h4 { font-size: var(--tc-text-2xl); }
h5 { font-size: var(--tc-text-xl); }
h6 { font-size: var(--tc-text-lg); }

p { max-width: 72ch; line-height: 1.7; }

::selection { background: var(--tc-brand-primary); color: #F0FAF8; }

:focus-visible {
    outline: 3px solid var(--tc-brand-primary);
    outline-offset: 3px;
    border-radius: var(--tc-radius-sm);
}

.tc-skip-link {
    position: absolute;
    top: -100%;
    left: var(--tc-gutter);
    z-index: var(--tc-z-max);
    padding: var(--tc-space-3) var(--tc-space-6);
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    font-weight: 700;
    border-radius: 0 0 var(--tc-radius-md) var(--tc-radius-md);
    transition: top var(--tc-transition-fast);
}

.tc-skip-link:focus { top: 0; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.tc-container {
    width: 100%;
    max-width: var(--tc-container-max);
    margin-inline: auto;
    padding-inline: var(--tc-gutter);
}

.tc-container--narrow { max-width: var(--tc-container-narrow); }
.tc-container--wide { max-width: var(--tc-container-wide); }
.tc-section { padding-block: clamp(3rem, 6vw, 6rem); }

.tc-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.tc-header {
    position: sticky;
    top: 0;
    z-index: var(--tc-z-sticky);
    background: var(--tc-bg-primary);
    border-bottom: 1px solid var(--tc-border-default);
    transition: all var(--tc-transition-base);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tc-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--tc-shadow-md);
}

[data-theme="dark"] .tc-header.is-scrolled {
    background: rgba(13, 12, 11, 0.94);
}

.tc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--tc-space-8);
}

.tc-header__logo {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    font-family: var(--tc-font-heading);
    font-weight: 800;
    font-size: var(--tc-text-xl);
    letter-spacing: -0.03em;
    color: var(--tc-text-primary);
    transition: opacity var(--tc-transition-fast);
    flex-shrink: 0;
}

.tc-header__logo:hover { opacity: 0.8; }

.tc-header__logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--tc-radius-full);
    object-fit: cover;
    border: 2px solid var(--tc-brand-primary);
}

.tc-header__logo-text span { color: var(--tc-brand-primary); }

/* Nav */
.tc-nav { display: none; }
@media (min-width: 1024px) {
    .tc-nav { display: flex; align-items: center; gap: var(--tc-space-1); }
}

.tc-nav__link {
    position: relative;
    padding: var(--tc-space-2) var(--tc-space-4);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-full);
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
}

.tc-nav__link:hover {
    color: var(--tc-brand-primary);
    background: none;
}

/* Active state: teal text + orange underline dot */
.tc-nav__link--active {
    color: var(--tc-brand-primary);
    font-weight: 700;
    background: none;
}

.tc-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tc-brand-accent);
}

/* CTA — teal text + orange border, same padding as other links.
   Deliberately NOT a filled button so it reads as a nav item. */
.tc-nav__link--cta {
    color: var(--tc-brand-primary) !important;
    font-weight: 800;
    border: 2px solid var(--tc-brand-accent);
    border-radius: var(--tc-radius-full);
    padding: calc(var(--tc-space-2) - 2px) var(--tc-space-5);
    background: transparent;
    transition: background var(--tc-transition-fast), color var(--tc-transition-fast);
}

.tc-nav__link--cta:hover {
    background: var(--tc-brand-accent);
    color: white !important;
    border-color: var(--tc-brand-accent);
}

/* CTA must NEVER show the active dot */
.tc-nav__link--cta::after,
.tc-nav__link--cta.tc-nav__link--active::after {
    display: none !important;
}

/* Scrolled header — keep CTA readable on white bg */
.tc-header.is-scrolled .tc-nav__link--cta {
    color: var(--tc-brand-primary) !important;
}

/* Header Actions */
.tc-header__actions {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    flex-shrink: 0;
}

.tc-header__action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-secondary);
    transition: all var(--tc-transition-fast);
}

.tc-header__action-btn:hover {
    color: var(--tc-text-primary);
    background: var(--tc-bg-tertiary);
}

.tc-header__action-btn svg { width: 20px; height: 20px; }

.tc-header__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.tc-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-primary);
}

@media (min-width: 1024px) { .tc-menu-toggle { display: none; } }

.tc-menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--tc-transition-fast);
    position: relative;
}

.tc-menu-toggle__bar::before,
.tc-menu-toggle__bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--tc-transition-fast);
}

.tc-menu-toggle__bar::before { top: -7px; }
.tc-menu-toggle__bar::after { bottom: -7px; }

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar { background: transparent; }
.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar::after { bottom: 0; transform: rotate(-45deg); }

/* Mobile Menu */
.tc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--tc-z-overlay);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--tc-transition-base);
}

.tc-mobile-menu.is-open { pointer-events: auto; opacity: 1; }
.tc-mobile-menu__backdrop { position: absolute; inset: 0; background: var(--tc-bg-overlay); }

.tc-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85vw, 380px);
    height: 100%;
    background: var(--tc-bg-primary);
    padding: var(--tc-space-8) var(--tc-space-6);
    transform: translateX(100%);
    transition: transform var(--tc-transition-base);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
}

.tc-mobile-menu.is-open .tc-mobile-menu__panel { transform: translateX(0); }

.tc-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4);
    font-size: var(--tc-text-lg);
    font-weight: 600;
    color: var(--tc-text-primary);
    border-radius: var(--tc-radius-md);
    transition: background var(--tc-transition-fast);
}

.tc-mobile-menu__link:hover { background: var(--tc-bg-tertiary); }

/* ==========================================================================
   HERO
   ========================================================================== */

.tc-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tc-brand-charcoal);
}

.tc-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tc-hero__bg img, .tc-hero__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }

.tc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 45, 20, 0.25) 0%,
        rgba(30, 45, 20, 0.55) 60%,
        rgba(20, 30, 12, 0.92) 100%
    );
}

.tc-hero__content {
    position: relative;
    z-index: 1;
    padding-block: var(--tc-space-32) var(--tc-space-16);
    color: white;
}

.tc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-2) var(--tc-space-4);
    background: rgba(200, 150, 60, 0.18);
    border: 1px solid rgba(200, 150, 60, 0.35);
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-brand-accent);
    backdrop-filter: blur(8px);
    margin-bottom: var(--tc-space-6);
}

.tc-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-6xl);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: var(--tc-space-6);
    max-width: 14ch;
}

.tc-hero__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--tc-brand-accent), var(--tc-brand-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tc-hero__desc {
    font-size: var(--tc-text-lg);
    color: rgba(255, 255, 255, 0.75);
    max-width: 50ch;
    margin-bottom: var(--tc-space-10);
    line-height: 1.7;
}

.tc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--tc-space-4); align-items: center; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-3) var(--tc-space-6);
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-sm);
    font-weight: 700;
    line-height: 1.4;
    border-radius: var(--tc-radius-full);
    border: 2px solid transparent;
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.tc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.tc-btn--primary {
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    border-color: var(--tc-brand-charcoal);
}

.tc-btn--primary:hover {
    background: var(--tc-brand-charcoal-light);
    border-color: var(--tc-brand-charcoal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.35);
}

.tc-btn--gold {
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    border-color: var(--tc-brand-primary);
}

.tc-btn--gold:hover {
    background: var(--tc-brand-primary-light);
    border-color: var(--tc-brand-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.tc-btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.tc-btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

.tc-btn--ghost {
    background: transparent;
    color: var(--tc-text-primary);
    border-color: var(--tc-border-strong);
}

.tc-btn--ghost:hover { background: var(--tc-bg-tertiary); }

.tc-btn--ocean {
    background: var(--tc-brand-ocean);
    color: white;
    border-color: var(--tc-brand-ocean);
}

.tc-btn--ocean:hover { background: var(--tc-brand-ocean-dark); }

.tc-btn--lg { padding: var(--tc-space-4) var(--tc-space-8); font-size: var(--tc-text-base); }
.tc-btn--sm { padding: var(--tc-space-2) var(--tc-space-4); font-size: var(--tc-text-xs); }

.tc-btn--danger { background: var(--tc-error); color: white; border-color: var(--tc-error); }
.tc-btn--danger:hover { background: #A93226; }

/* ==========================================================================
   CARDS
   ========================================================================== */

.tc-card {
    position: relative;
    background: var(--tc-bg-elevated);
    border-radius: var(--tc-radius-lg);
    border: 1px solid var(--tc-border-default);
    overflow: hidden;
    transition: all var(--tc-transition-base);
}

.tc-card:hover {
    box-shadow: var(--tc-shadow-lg);
    transform: translateY(-3px);
    border-color: var(--tc-border-strong);
}

.tc-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tc-bg-tertiary);
}

.tc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tc-transition-slow);
}

.tc-card:hover .tc-card__image img { transform: scale(1.05); }

.tc-card__favorite {
    position: absolute;
    top: var(--tc-space-3);
    right: var(--tc-space-3);
    width: 40px;
    height: 40px;
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-secondary);
    z-index: 2;
    transition: all var(--tc-transition-fast);
    box-shadow: var(--tc-shadow-md);
}

.tc-card__favorite:hover { transform: scale(1.1); color: var(--tc-error); }

.tc-card__favorite.is-active {
    background: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    color: #FFF8EE;
}

/* Dark mode: ensure inactive heart is visible on dark card backgrounds */
[data-theme="dark"] .tc-card__favorite {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .tc-card__favorite:hover { color: #F87171; }
[data-theme="dark"] .tc-card__favorite.is-active {
    background: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    color: #FFF8EE;
}

.tc-card__favorite svg { width: 18px; height: 18px; }

.tc-card__badge {
    position: absolute;
    top: var(--tc-space-3);
    left: var(--tc-space-3);
    padding: var(--tc-space-1) var(--tc-space-3);
    background: var(--tc-brand-charcoal);
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 700;
    color: var(--tc-brand-accent);
    box-shadow: var(--tc-shadow-md);
    z-index: 2;
}

.tc-card__body { padding: var(--tc-space-4); }

.tc-card__category {
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-ocean);
    margin-bottom: var(--tc-space-2);
}

.tc-card__title {
    font-size: var(--tc-text-lg);
    font-weight: 700;
    margin-bottom: var(--tc-space-2);
    line-height: 1.3;
}

.tc-card__meta {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    margin-bottom: var(--tc-space-3);
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
}

.tc-card__rating {
    display: flex;
    align-items: center;
    gap: var(--tc-space-1);
    font-weight: 600;
    color: var(--tc-brand-primary);
}

.tc-card__rating svg { width: 14px; height: 14px; fill: var(--tc-brand-primary); }

.tc-card__excerpt {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-card__actions { display: flex; gap: var(--tc-space-2); }

/* Card tags */
.tc-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: var(--tc-space-3); }
.tc-card__tag {
    display: inline-block; padding: 2px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
}
/* Subtle group colours */
.tc-card__tag[data-group="accessibility"]  { border-color: #3B82F6; color: #3B82F6; background: rgba(59,130,246,0.08); }
.tc-card__tag[data-group="dietary"]        { border-color: #10B981; color: #059669; background: rgba(16,185,129,0.08); }
.tc-card__tag[data-group="sustainability"] { border-color: #22C55E; color: #16A34A; background: rgba(34,197,94,0.08); }
.tc-card__tag[data-group="experience"]     { border-color: #F59E0B; color: #D97706; background: rgba(245,158,11,0.08); }
.tc-card__tag[data-group="amenities"]      { border-color: #8B5CF6; color: #7C3AED; background: rgba(139,92,246,0.08); }
.tc-card__tag[data-group="vibe"]           { border-color: #0EA5E9; color: #0284C7; background: rgba(14,165,233,0.08); }
[data-theme="dark"] .tc-card__tag[data-group="accessibility"]  { color: #93C5FD; }
[data-theme="dark"] .tc-card__tag[data-group="dietary"]        { color: #6EE7B7; }
[data-theme="dark"] .tc-card__tag[data-group="sustainability"] { color: #86EFAC; }
[data-theme="dark"] .tc-card__tag[data-group="experience"]     { color: #FCD34D; }
[data-theme="dark"] .tc-card__tag[data-group="amenities"]      { color: #C4B5FD; }
[data-theme="dark"] .tc-card__tag[data-group="vibe"]           { color: #7DD3FC; }

/* Horizontal variant */
.tc-card--horizontal { display: grid; grid-template-columns: 180px 1fr; }
.tc-card--horizontal .tc-card__image { aspect-ratio: auto; height: 100%; max-height: 200px; }

/* ==========================================================================
   EXPLORE PAGE
   ========================================================================== */

.tc-explore { padding-top: var(--tc-space-8); }

.tc-explore__header { text-align: center; margin-bottom: var(--tc-space-10); }
.tc-explore__header h1 { font-family: var(--tc-font-display); margin-bottom: var(--tc-space-3); }
.tc-explore__header p { color: var(--tc-text-secondary); font-size: var(--tc-text-lg); max-width: 60ch; margin-inline: auto; }

/* Filters */
.tc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    align-items: center;
    padding: var(--tc-space-4) var(--tc-space-5);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    margin-bottom: var(--tc-space-8);
    box-shadow: var(--tc-shadow-sm);
}

.tc-filters__search { flex: 1; min-width: 200px; position: relative; }

.tc-filters__search svg {
    position: absolute;
    left: var(--tc-space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--tc-text-tertiary);
    pointer-events: none;
}

.tc-filters__search input {
    width: 100%;
    padding: var(--tc-space-3) var(--tc-space-4) var(--tc-space-3) var(--tc-space-12);
    background: var(--tc-bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--tc-radius-full);
    font: inherit;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    transition: all var(--tc-transition-fast);
}

.tc-filters__search input:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    background: var(--tc-bg-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-filters__search input::placeholder { color: var(--tc-text-tertiary); }

.tc-filters__select {
    padding: var(--tc-space-3) var(--tc-space-10) var(--tc-space-3) var(--tc-space-4);
    background: var(--tc-bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--tc-radius-full);
    font: inherit;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23716F6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all var(--tc-transition-fast);
}

.tc-filters__select:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-filters__reset {
    padding: var(--tc-space-3) var(--tc-space-5);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-full);
    transition: all var(--tc-transition-fast);
}

.tc-filters__reset:hover { background: var(--tc-bg-tertiary); color: var(--tc-text-primary); }

/* Layout */
.tc-explore__layout { display: grid; grid-template-columns: 1fr; gap: var(--tc-space-6); }
@media (min-width: 1024px) { .tc-explore__layout { grid-template-columns: 1fr 400px; align-items: start; } }

.tc-outlet-grid {
    display: grid;
    gap: var(--tc-space-4);
    align-content: start;
}

/* Desktop: scrollable list beside sticky map */
@media (min-width: 1024px) {
    .tc-outlet-grid {
        max-height: 80vh;
        overflow-y: auto;
        padding-right: var(--tc-space-2);
        scroll-behavior: smooth;
    }
}

/* Mobile: natural flow, no scroll trap */
@media (max-width: 1023px) {
    .tc-outlet-grid {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.tc-outlet-grid::-webkit-scrollbar { width: 6px; }
.tc-outlet-grid::-webkit-scrollbar-thumb { background: var(--tc-neutral-300); border-radius: var(--tc-radius-full); }
[data-theme="dark"] .tc-outlet-grid::-webkit-scrollbar-thumb { background: var(--tc-neutral-700); }

/* Map */
.tc-map-container {
    position: sticky;
    top: 88px;
    height: min(80vh, 600px);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    box-shadow: var(--tc-shadow-md);
}

/* Mobile: map hidden by default, shown via toggle */
@media (max-width: 1023px) {
    .tc-map-container {
        position: relative;
        top: auto;
        height: 50vh;
        min-height: 300px;
        display: none;
        order: -1;
    }
    .tc-map-container.is-visible { display: block; }
}

/* Mobile map toggle button */
.tc-map-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    border-radius: var(--tc-radius-md);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    text-align: center;
    gap: 8px;
    align-items: center;
    justify-content: center;
    transition: all var(--tc-transition-fast);
    cursor: pointer;
}
.tc-map-toggle svg { width: 18px; height: 18px; }
.tc-map-toggle:hover { border-color: var(--tc-brand-primary); color: var(--tc-brand-primary); }
@media (max-width: 1023px) { .tc-map-toggle { display: flex; } }

.tc-map-container .leaflet-container { width: 100%; height: 100%; border-radius: var(--tc-radius-lg); }

/* ---- MOBILE CARD OPTIMISATION ---- */

/* Tablet (641-1023px): tighter horizontal cards, no scroll trap */
@media (min-width: 641px) and (max-width: 1023px) {
    .tc-card--horizontal { grid-template-columns: 120px 1fr; }
    .tc-card--horizontal .tc-card__image { max-height: 140px; }
    .tc-card__title { font-size: var(--tc-text-base); }
    .tc-card__body { padding: var(--tc-space-3); }
    .tc-card__excerpt { -webkit-line-clamp: 1; margin-bottom: var(--tc-space-2); }
    .tc-card__meta { gap: var(--tc-space-2); margin-bottom: var(--tc-space-2); }
}

/*
 * PHONE (<640px): Compact row cards
 * Each card is a single tight row: [square thumb] [name + meta] [heart]
 * ~80px tall instead of ~350px — makes 70 outlets actually scrollable
 */
@media (max-width: 640px) {

    .tc-outlet-grid { gap: 0; }

    .tc-card {
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--tc-border-default);
        cursor: pointer;
        position: relative;
    }
    .tc-card:first-child { border-top: none; }
    .tc-card:hover { transform: none; box-shadow: none; background: var(--tc-bg-secondary); }

    .tc-card--horizontal {
        grid-template-columns: 72px 1fr;
        gap: 12px;
        min-height: 0;
        padding: 10px 12px;
        align-items: center;
    }

    .tc-card--horizontal .tc-card__image {
        aspect-ratio: 1 / 1;
        width: 72px;
        height: 72px;
        max-height: none;
        border-radius: var(--tc-radius-md);
        margin: 0;
        flex-shrink: 0;
    }

    .tc-card__image img { border-radius: var(--tc-radius-md); }

    /* Hide elements that clutter compact view */
    .tc-card__badge { display: none; }
    .tc-card__excerpt { display: none; }
    .tc-card__tags { display: none; }
    .tc-card__actions { display: none; }

    /* Compact body — no extra padding, card provides it */
    .tc-card__body {
        padding: 0;
        padding-right: 36px; /* room for heart + chevron */
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .tc-card__category {
        font-size: 0.65rem;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tc-card__title {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tc-card__meta {
        gap: 8px;
        margin-bottom: 0;
        font-size: 0.75rem;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .tc-card__meta > span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tc-card__rating svg { width: 12px; height: 12px; }

    /* Heart button repositioned inline-right */
    .tc-card__favorite {
        width: 32px;
        height: 32px;
        top: 50%;
        right: 12px;
        left: auto;
        transform: translateY(-50%);
        box-shadow: none;
        background: transparent;
        border: none;
        color: var(--tc-text-secondary);
    }
    .tc-card__favorite svg { width: 18px; height: 18px; }
    .tc-card__favorite.is-active { background: transparent; color: var(--tc-brand-primary); }
    [data-theme="dark"] .tc-card__favorite { background: transparent; border: none; color: rgba(255,255,255,0.6); }
    [data-theme="dark"] .tc-card__favorite.is-active { color: var(--tc-brand-primary); }

    /* Chevron indicator for tap navigation */
    .tc-card::after {
        content: '';
        position: absolute;
        right: 48px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--tc-text-tertiary);
        border-bottom: 2px solid var(--tc-text-tertiary);
        transform: translateY(-50%) rotate(-45deg);
        opacity: 0.35;
    }

    /* Explore header */
    .tc-explore__header h1 { font-size: var(--tc-text-2xl); }
    .tc-explore__header p { font-size: var(--tc-text-sm); }
}

/* Small phone (<380px): even tighter */
@media (max-width: 380px) {
    .tc-card--horizontal { grid-template-columns: 56px 1fr; padding: 8px 10px; gap: 10px; }
    .tc-card--horizontal .tc-card__image {
        width: 56px; height: 56px;
    }
    .tc-card__body { padding-right: 32px; }
    .tc-card__title { font-size: 0.85rem; }
    .tc-card__meta { font-size: 0.7rem; gap: 6px; }
}

/* ---- MOBILE FILTER BAR ---- */
@media (max-width: 768px) {
    .tc-filters {
        flex-wrap: wrap;
        gap: var(--tc-space-2);
    }
    .tc-filters__search { width: 100%; }
    .tc-filters__select { flex: 1; min-width: 0; font-size: var(--tc-text-sm); }
    .tc-view-toggle { order: 10; }
    .tc-filters__feature-toggle { order: 9; }
}

/* ==========================================================================
   MEMBERSHIP BADGE / TIER INDICATORS
   ========================================================================== */

.tc-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tc-tier-badge--bronze { background: #CD7F32; color: white; }
.tc-tier-badge--silver { background: #C0C0C0; color: var(--tc-brand-charcoal); }
.tc-tier-badge--gold { background: var(--tc-brand-primary); color: var(--tc-brand-charcoal); }

/* ==========================================================================
   SINGLE OUTLET
   ========================================================================== */

.tc-outlet-single { padding-top: var(--tc-space-8); }

.tc-outlet-single__hero {
    position: relative;
    padding: var(--tc-space-16) var(--tc-space-8);
    background: var(--tc-brand-charcoal);
    border-radius: var(--tc-radius-2xl);
    color: white;
    margin-bottom: var(--tc-space-10);
    overflow: hidden;
}

.tc-outlet-single__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A017' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.tc-outlet-single__back {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    color: var(--tc-text-secondary);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    margin-bottom: var(--tc-space-6);
    transition: color var(--tc-transition-fast);
}

.tc-outlet-single__back:hover { color: var(--tc-text-primary); }
.tc-outlet-single__back svg { width: 18px; height: 18px; }

.tc-outlet-single__hero h1 { font-family: var(--tc-font-display); color: white; margin-bottom: var(--tc-space-4); }

.tc-outlet-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-6);
    font-size: var(--tc-text-lg);
    opacity: 0.9;
}

.tc-outlet-single__meta-item { display: flex; align-items: center; gap: var(--tc-space-2); }

.tc-outlet-single__grid { display: grid; grid-template-columns: 1fr; gap: var(--tc-space-8); }
@media (min-width: 1024px) { .tc-outlet-single__grid { grid-template-columns: 2fr 1fr; } }

.tc-outlet-single__content {
    background: var(--tc-bg-elevated);
    padding: var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    border: 1px solid var(--tc-border-default);
}

.tc-outlet-single__featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--tc-radius-lg);
    margin-bottom: var(--tc-space-8);
}

.tc-outlet-single__sidebar { display: flex; flex-direction: column; gap: var(--tc-space-6); }

.tc-info-card {
    background: var(--tc-bg-elevated);
    padding: var(--tc-space-6);
    border-radius: var(--tc-radius-xl);
    border: 1px solid var(--tc-border-default);
}

.tc-info-card__title {
    font-size: var(--tc-text-lg);
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    margin-bottom: var(--tc-space-5);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}

.tc-info-card__item { padding: var(--tc-space-3) 0; border-bottom: 1px solid var(--tc-border-default); }
.tc-info-card__item:last-child { border-bottom: none; }

.tc-info-card__label {
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-1);
}

.tc-info-card__value { font-weight: 600; color: var(--tc-text-primary); }
.tc-info-card__value a { color: var(--tc-brand-primary); transition: color var(--tc-transition-fast); }
.tc-info-card__value a:hover { color: var(--tc-brand-primary-dark); }

/* Info card tag groups */
.tc-info-card__tag-group { padding: var(--tc-space-3) 0; border-bottom: 1px solid var(--tc-border-default); }
.tc-info-card__tag-group:last-child { border-bottom: none; }
.tc-info-card__tag-label {
    display: block;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--tc-text-tertiary); margin-bottom: 6px;
}
.tc-info-card__tag-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-info-card__tag {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.75rem; font-weight: 500;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
}

.tc-detail-map {
    height: 280px;
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
}

/* --- Photo Gallery --- */
.tc-outlet-single__gallery {
    margin: var(--tc-space-6) 0;
    padding: var(--tc-space-6) 0;
    border-top: 2px solid var(--tc-border-default);
    border-bottom: 2px solid var(--tc-border-default);
}
.tc-outlet-single__gallery-title {
    font-size: 1.25rem;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-5);
    font-weight: 600;
}
.tc-outlet-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--tc-space-4);
}
.tc-outlet-single__gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--tc-radius-lg);
    display: block;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-outlet-single__gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.tc-outlet-single__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tc-transition-base);
}
.tc-outlet-single__gallery-item:hover img { transform: scale(1.05); }
.tc-outlet-single__gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212, 160, 23, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--tc-transition-base);
    font-size: 2.5rem;
}
.tc-outlet-single__gallery-item:hover .tc-outlet-single__gallery-overlay { opacity: 1; }

/* Lightbox overrides */
.lb-data .lb-caption { font-size: 1rem; font-weight: 600; }
.lb-data .lb-number { color: var(--tc-brand-primary); }

/* --- Social Buttons --- */
.tc-outlet-single__social-links {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}
.tc-outlet-single__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background var(--tc-transition-fast), transform var(--tc-transition-fast);
    backdrop-filter: blur(10px);
}
.tc-outlet-single__social-icon:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}
.tc-outlet-single__social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.tc-social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    transition: transform var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-social-btn:hover { transform: translateY(-2px); color: white; }
.tc-social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}
.tc-social-btn--instagram:hover { box-shadow: 0 4px 12px rgba(188, 24, 136, 0.4); }
.tc-social-btn--facebook { background: #1877f2; }
.tc-social-btn--facebook:hover { background: #0c63d4; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }

@media (max-width: 768px) {
    .tc-outlet-single__gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ==========================================================================
   TRIP PLANNER
   ========================================================================== */

.tc-planner { padding-top: var(--tc-space-8); }
.tc-planner__header { text-align: center; margin-bottom: var(--tc-space-8); }
.tc-planner__header h1 { font-family: var(--tc-font-display); margin-bottom: var(--tc-space-3); }

.tc-trip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-4);
    align-items: center;
    justify-content: space-between;
    padding: var(--tc-space-6) var(--tc-space-8);
    background: var(--tc-brand-charcoal);
    border-radius: var(--tc-radius-xl);
    color: white;
    margin-bottom: var(--tc-space-8);
}

.tc-trip-stats__items { display: flex; gap: var(--tc-space-8); flex-wrap: wrap; }
.tc-trip-stat { display: flex; flex-direction: column; gap: var(--tc-space-1); }

.tc-trip-stat__label {
    font-size: var(--tc-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-brand-accent);
}

.tc-trip-stat__value {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    font-weight: 800;
}

.tc-trip-stats__actions { display: flex; flex-wrap: wrap; gap: var(--tc-space-2); }

.tc-trip-map {
    position: relative;
    height: 500px;
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    margin-bottom: var(--tc-space-8);
    box-shadow: var(--tc-shadow-md);
}

.tc-trip-map .leaflet-container { width: 100%; height: 100%; }

/* Browse All toggle button (floats top-right of map) */
.tc-trip-map__controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 401;
}
.tc-browse-toggle {
    background: var(--tc-bg-primary) !important;
    border-color: var(--tc-border-default) !important;
    color: var(--tc-text-primary) !important;
    box-shadow: var(--tc-shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs) !important;
    padding: 8px 14px !important;
}
.tc-browse-toggle:hover {
    border-color: var(--tc-brand-primary) !important;
    color: var(--tc-brand-primary) !important;
}
.tc-browse-toggle.is-active {
    background: var(--tc-brand-primary) !important;
    border-color: var(--tc-brand-primary) !important;
    color: var(--tc-brand-charcoal) !important;
}

/* Browse-all venue popup */
.tc-browse-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: var(--tc-radius-md);
    box-shadow: var(--tc-shadow-lg);
}
.tc-browse-popup {
    padding: 4px 0;
    min-width: 180px;
}
.tc-browse-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.tc-browse-popup__header strong {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    line-height: 1.3;
    color: var(--tc-text-primary);
    flex: 1;
}
.tc-browse-popup__heart {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--tc-border-default);
    border-radius: 50%;
    background: var(--tc-bg-secondary);
    color: var(--tc-text-tertiary);
    cursor: pointer;
    transition: all 150ms ease;
}
.tc-browse-popup__heart:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
    transform: scale(1.1);
}
.tc-browse-popup__heart.is-saved {
    background: rgba(212,160,23,0.12);
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
}
.tc-browse-popup__cat {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tc-text-tertiary);
    display: block;
    margin-bottom: 2px;
}
.tc-browse-popup__rating,
.tc-browse-popup__price {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-secondary);
    margin-right: 8px;
}
.tc-browse-popup__rating svg { vertical-align: -1px; }

/* Saved Venues */
.tc-saved-venues__title { font-size: var(--tc-text-2xl); margin-bottom: var(--tc-space-6); }
.tc-saved-list { display: flex; flex-direction: column; gap: var(--tc-space-4); }

.tc-saved-card {
    display: grid;
    grid-template-columns: 48px 140px 1fr auto;
    gap: var(--tc-space-4);
    align-items: center;
    padding: var(--tc-space-4);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    transition: all var(--tc-transition-fast);
    cursor: grab;
}

.tc-saved-card:hover { border-color: var(--tc-brand-primary); box-shadow: var(--tc-shadow-md); }

.tc-saved-card__number {
    width: 48px;
    height: 48px;
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    flex-shrink: 0;
}

.tc-saved-card__image {
    width: 140px;
    height: 90px;
    border-radius: var(--tc-radius-md);
    overflow: hidden;
    background: var(--tc-bg-tertiary);
    flex-shrink: 0;
}

.tc-saved-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tc-saved-card__info h3 { font-size: var(--tc-text-base); margin-bottom: var(--tc-space-1); }
.tc-saved-card__info p { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); }

.tc-saved-card__remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-tertiary);
    transition: all var(--tc-transition-fast);
    flex-shrink: 0;
}

.tc-saved-card__remove:hover { background: rgba(192, 57, 43, 0.1); color: var(--tc-error); }
.tc-saved-card__remove svg { width: 18px; height: 18px; }

/* Empty state */
.tc-empty-state {
    text-align: center;
    padding: var(--tc-space-16) var(--tc-space-8);
    background: var(--tc-bg-secondary);
    border-radius: var(--tc-radius-xl);
    border: 2px dashed var(--tc-border-default);
}

.tc-empty-state__icon { font-size: 3rem; margin-bottom: var(--tc-space-4); }
.tc-empty-state__title { font-size: var(--tc-text-xl); margin-bottom: var(--tc-space-2); }
.tc-empty-state__text { color: var(--tc-text-secondary); margin-bottom: var(--tc-space-6); margin-inline: auto; }

/* Floating trip */
.tc-floating-trip {
    position: fixed;
    bottom: var(--tc-space-8);
    right: var(--tc-space-8);
    z-index: var(--tc-z-overlay);
    display: none;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-6);
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    font-weight: 700;
    font-size: var(--tc-text-sm);
    border-radius: var(--tc-radius-full);
    box-shadow: 0 8px 24px rgba(58, 107, 53, 0.45);
    transition: all var(--tc-transition-base);
    text-decoration: none;
}

.tc-floating-trip.is-visible { display: flex; animation: tcSlideUp 0.4s var(--tc-ease-out); }
.tc-floating-trip:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 77, 66, 0.55); }

.tc-floating-trip__count {
    width: 24px;
    height: 24px;
    background: rgba(212, 160, 23, 0.25);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--tc-text-xs);
}

@media (max-width: 640px) {
    .tc-floating-trip { left: var(--tc-space-4); right: var(--tc-space-4); bottom: var(--tc-space-4); justify-content: center; }
}

/* ==========================================================================
   AUTH MODAL
   ========================================================================== */

.tc-auth-modal {
    position: fixed;
    inset: 0;
    z-index: var(--tc-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tc-transition-base);
}

.tc-auth-modal.is-open { opacity: 1; pointer-events: auto; }
.tc-auth-modal__backdrop { position: absolute; inset: 0; background: var(--tc-bg-overlay); }

.tc-auth-modal__panel {
    position: relative;
    width: min(440px, 92vw);
    background: var(--tc-bg-primary);
    border-radius: var(--tc-radius-2xl);
    padding: var(--tc-space-10);
    box-shadow: var(--tc-shadow-xl);
    transform: translateY(20px) scale(0.97);
    transition: transform var(--tc-transition-base);
}

.tc-auth-modal.is-open .tc-auth-modal__panel { transform: translateY(0) scale(1); }

.tc-auth-modal__close {
    position: absolute;
    top: var(--tc-space-4);
    right: var(--tc-space-4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-tertiary);
    transition: all var(--tc-transition-fast);
}

.tc-auth-modal__close:hover { background: var(--tc-bg-tertiary); color: var(--tc-text-primary); }

.tc-auth-form__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    text-align: center;
    margin-bottom: var(--tc-space-8);
}

.tc-auth-form__group { margin-bottom: var(--tc-space-4); }

.tc-auth-form__label {
    display: block;
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-2);
}

.tc-auth-form__input {
    width: 100%;
    padding: var(--tc-space-3) var(--tc-space-4);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font: inherit;
    color: var(--tc-text-primary);
    transition: all var(--tc-transition-fast);
}

.tc-auth-form__input:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-auth-form__submit { width: 100%; margin-top: var(--tc-space-4); }

.tc-auth-form__divider {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    margin: var(--tc-space-6) 0;
    color: var(--tc-text-tertiary);
    font-size: var(--tc-text-sm);
}

.tc-auth-form__divider::before,
.tc-auth-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--tc-border-default);
}

.tc-auth-form__toggle {
    text-align: center;
    margin-top: var(--tc-space-6);
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
}

.tc-auth-form__toggle a { color: var(--tc-brand-primary); font-weight: 600; }

/* ==========================================================================
   TOAST
   ========================================================================== */

.tc-toast {
    position: fixed;
    top: var(--tc-space-6);
    right: var(--tc-space-6);
    z-index: var(--tc-z-toast);
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-5);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    box-shadow: var(--tc-shadow-xl);
    min-width: 300px;
    animation: tcSlideInRight 0.35s var(--tc-ease-out);
}

.tc-toast--success { border-left: 4px solid var(--tc-success); }
.tc-toast--info { border-left: 4px solid var(--tc-info); }
.tc-toast--error { border-left: 4px solid var(--tc-error); }

.tc-toast__message { flex: 1; font-weight: 600; font-size: var(--tc-text-sm); color: var(--tc-text-primary); }

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */

.tc-theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-secondary);
    transition: all var(--tc-transition-fast);
}

.tc-theme-toggle:hover { color: var(--tc-text-primary); background: var(--tc-bg-tertiary); }
.tc-theme-toggle svg { width: 20px; height: 20px; }
.tc-theme-toggle__sun { display: block; }
.tc-theme-toggle__moon { display: none; }
[data-theme="dark"] .tc-theme-toggle__sun { display: none; }
[data-theme="dark"] .tc-theme-toggle__moon { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.tc-footer {
    background: var(--tc-brand-charcoal);
    color: var(--tc-neutral-400);
    padding: var(--tc-space-16) 0 var(--tc-space-8);
}

.tc-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--tc-space-12);
    margin-bottom: var(--tc-space-12);
}

@media (max-width: 768px) { .tc-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--tc-space-8); } }
@media (max-width: 480px) { .tc-footer__grid { grid-template-columns: 1fr; } }

.tc-footer__brand-desc { font-size: var(--tc-text-sm); line-height: 1.7; margin-top: var(--tc-space-4); max-width: 36ch; }

.tc-footer__heading {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-brand-accent);
    margin-bottom: var(--tc-space-5);
}

.tc-footer__links { display: flex; flex-direction: column; gap: var(--tc-space-3); }
.tc-footer__link { font-size: var(--tc-text-sm); color: var(--tc-neutral-400); transition: color var(--tc-transition-fast); }
.tc-footer__link:hover { color: white; }

.tc-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
    padding-top: var(--tc-space-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--tc-text-xs);
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1; /* safety: span all columns if parent is grid */
}
.tc-footer__acknowledgement {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: var(--tc-text-xs);
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
    font-style: italic;
    text-align: left;
}
.tc-footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    width: 100%;
}

/* ==========================================================================
   ADMIN STYLES
   ========================================================================== */

.tc-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tc-admin-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--tc-brand-primary, #D4A017);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tc-admin-stat-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 8px;
}

.tc-admin-stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--tc-brand-primary, #D4A017);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes tcSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tcSlideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tcPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes tcSpin { to { transform: rotate(360deg); } }

.tc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--tc-ease-out), transform 0.6s var(--tc-ease-out);
}

.tc-reveal.is-visible { opacity: 1; transform: translateY(0); }

.tc-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--tc-border-default);
    border-top-color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-full);
    animation: tcSpin 0.6s linear infinite;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .tc-saved-card {
        grid-template-columns: 1fr;
        gap: var(--tc-space-3);
        position: relative;
        padding-left: var(--tc-space-20);
    }
    .tc-saved-card__number {
        position: absolute; left: var(--tc-space-4); top: 50%; transform: translateY(-50%);
        width: 36px; height: 36px; font-size: var(--tc-text-base);
    }
    .tc-saved-card__image { width: 100%; height: 120px; }
    .tc-saved-card__remove { position: absolute; top: var(--tc-space-3); right: var(--tc-space-3); }
    .tc-trip-stats { flex-direction: column; text-align: center; }
    .tc-trip-stats__items { justify-content: center; }
    .tc-trip-stats__actions { width: 100%; justify-content: center; }
}

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
    border-radius: var(--tc-radius-lg) !important;
    box-shadow: var(--tc-shadow-lg) !important;
    background: #fff !important;
    color: #1a1a1a !important;
}
.leaflet-popup-content { margin: var(--tc-space-4) !important; font-family: var(--tc-font-body) !important; }
.leaflet-popup-tip { background: #fff !important; }
.tc-map-popup h3 { font-size: var(--tc-text-base); margin-bottom: var(--tc-space-1); color: #1a1a1a !important; }
.tc-map-popup p { font-size: var(--tc-text-sm); color: #555 !important; margin-bottom: var(--tc-space-2); }
.tc-map-popup a { color: #D4A017 !important; }

/* ---- FILTER LAYOUT ---- */
.tc-filters__primary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    align-items: center;
    width: 100%;
}

/* Feature toggle button */
.tc-filters__feature-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm); font-weight: 600;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default); cursor: pointer;
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
}
.tc-filters__feature-toggle:hover {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-filters__feature-toggle.is-active {
    background: var(--tc-brand-primary);
    color: #fff;
    border-color: var(--tc-brand-primary);
}
.tc-filters__feature-toggle svg:first-child { width: 16px; height: 16px; flex-shrink: 0; }
.tc-filters__chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.tc-filters__feature-toggle.is-active .tc-filters__chevron {
    transform: rotate(180deg);
}

/* Active tags summary strip */
.tc-filters__active-tags {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: var(--tc-space-2) 0;
    align-items: center;
}
.tc-active-tag {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.75rem; font-weight: 600;
    background: var(--tc-brand-primary); color: #fff;
    line-height: 1.4;
}
.tc-active-tag__remove {
    width: 14px; height: 14px; cursor: pointer; opacity: 0.7;
    background: none; border: none; color: inherit; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.tc-active-tag__remove:hover { opacity: 1; }
.tc-filters__active-count {
    font-size: 0.75rem;
    color: var(--tc-text-tertiary);
    font-weight: 600;
    margin-left: 4px;
}

/* ---- FEATURE PANEL (collapsible) ---- */
.tc-feature-panel {
    display: none;
    width: 100%;
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    animation: tc-slideDown 0.25s ease;
}
.tc-feature-panel.is-open {
    display: block;
}
@keyframes tc-slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tc-feature-panel__inner {
    padding: var(--tc-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}

/* ---- TAG GROUPS (inside feature panel) ---- */
.tc-tag-group {
    display: flex;
    align-items: flex-start;
    gap: var(--tc-space-3);
}

.tc-tag-group__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-text-tertiary);
    white-space: nowrap;
    min-width: 120px;
    padding-top: 7px;
    flex-shrink: 0;
}
.tc-tag-group__emoji { font-size: 14px; line-height: 1; }

.tc-tag-group__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tc-tag-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: var(--tc-radius-full);
    font-size: 0.8rem; font-weight: 500;
    background: var(--tc-bg-primary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default); cursor: pointer;
    transition: all var(--tc-transition-fast); user-select: none;
    line-height: 1.3;
}
.tc-tag-pill:hover {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-tag-pill.is-active {
    background: var(--tc-brand-primary); color: #fff;
    border-color: var(--tc-brand-primary);
}
.tc-tag-pill.is-active .tc-tag-pill__count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.tc-tag-pill__count {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--tc-radius-full);
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-tertiary);
    min-width: 18px;
    text-align: center;
}
.tc-tag-pill svg { width: 14px; height: 14px; }

/* ---- GROUP-SPECIFIC PILL COLOURS ---- */
.tc-tag-pill[data-group="accessibility"]:hover,
.tc-tag-pill[data-group="accessibility"].is-active { background: #3B82F6; border-color: #3B82F6; }
.tc-tag-pill[data-group="dietary"]:hover,
.tc-tag-pill[data-group="dietary"].is-active { background: #10B981; border-color: #10B981; }
.tc-tag-pill[data-group="sustainability"]:hover,
.tc-tag-pill[data-group="sustainability"].is-active { background: #22C55E; border-color: #22C55E; }
.tc-tag-pill[data-group="experience"]:hover,
.tc-tag-pill[data-group="experience"].is-active { background: #F59E0B; border-color: #F59E0B; color: #1C1917; }
.tc-tag-pill[data-group="amenities"]:hover,
.tc-tag-pill[data-group="amenities"].is-active { background: #8B5CF6; border-color: #8B5CF6; }
.tc-tag-pill[data-group="vibe"]:hover,
.tc-tag-pill[data-group="vibe"].is-active { background: #0EA5E9; border-color: #0EA5E9; }

/* Group label tints */
.tc-tag-group[data-group="accessibility"] .tc-tag-group__label { color: #3B82F6; }
.tc-tag-group[data-group="dietary"] .tc-tag-group__label { color: #059669; }
.tc-tag-group[data-group="amenities"] .tc-tag-group__label { color: #7C3AED; }
.tc-tag-group[data-group="experience"] .tc-tag-group__label { color: #D97706; }
.tc-tag-group[data-group="sustainability"] .tc-tag-group__label { color: #16A34A; }
.tc-tag-group[data-group="vibe"] .tc-tag-group__label { color: #0284C7; }

/* Active tag strip group colours */
.tc-active-tag[data-group="accessibility"] { background: #3B82F6; }
.tc-active-tag[data-group="dietary"] { background: #10B981; }
.tc-active-tag[data-group="amenities"] { background: #8B5CF6; }
.tc-active-tag[data-group="experience"] { background: #F59E0B; color: #1C1917; }
.tc-active-tag[data-group="sustainability"] { background: #22C55E; }
.tc-active-tag[data-group="vibe"] { background: #0EA5E9; }
.tc-active-tag[data-group="other"] { background: #6B7280; }

/* ---- MOBILE FEATURE PANEL ---- */
@media (max-width: 768px) {
    .tc-filters__primary {
        gap: var(--tc-space-2);
    }
    .tc-filters__feature-toggle span {
        display: none;
    }
    .tc-filters__feature-toggle {
        padding: 9px 12px;
    }
    .tc-feature-panel__inner {
        padding: var(--tc-space-3);
        gap: var(--tc-space-3);
    }
    .tc-tag-group {
        flex-direction: column;
        gap: var(--tc-space-2);
    }
    .tc-tag-group__label {
        min-width: auto;
        padding-top: 0;
        cursor: pointer;
    }
    .tc-tag-group__label::after {
        content: '';
        display: inline-block;
        width: 5px; height: 5px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        margin-left: 4px;
        transition: transform 0.15s ease;
    }
    .tc-tag-group.is-collapsed .tc-tag-group__label::after {
        transform: rotate(-45deg);
    }
    .tc-tag-group.is-collapsed .tc-tag-group__pills {
        display: none;
    }
    .tc-tag-pill { font-size: 0.75rem; padding: 4px 10px; }
}

/* Explore: View toggle */
.tc-view-toggle { display: flex; gap: 4px; background: var(--tc-bg-tertiary); border-radius: var(--tc-radius-md); padding: 3px; }
.tc-view-toggle__btn {
    padding: 6px 12px; border-radius: var(--tc-radius-sm);
    font-size: var(--tc-text-sm); font-weight: 600;
    color: var(--tc-text-secondary); background: transparent;
    transition: all var(--tc-transition-fast);
}
.tc-view-toggle__btn.is-active { background: var(--tc-bg-primary); color: var(--tc-text-primary); box-shadow: var(--tc-shadow-sm); }
.tc-view-toggle__btn svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Explore: Grid (full-width) view */
/* Grid view — desktop/tablet only */
@media (min-width: 641px) {
    .tc-explore__layout--grid { display: grid !important; grid-template-columns: 1fr !important; }
    .tc-explore__layout--grid .tc-map-container { display: none; }
    .tc-explore__layout--grid .tc-outlet-grid {
        max-height: none; overflow: visible;
        display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--tc-space-5);
    }
    .tc-explore__layout--grid .tc-card--horizontal {
        grid-template-columns: 1fr;
    }
    .tc-explore__layout--grid .tc-card--horizontal .tc-card__image {
        width: 100%; height: 180px; aspect-ratio: 16 / 10; max-height: none;
        border-radius: 0; margin: 0;
    }
    .tc-explore__layout--grid .tc-card { border-radius: var(--tc-radius-lg); border: 1px solid var(--tc-border-default); }
    .tc-explore__layout--grid .tc-card__body { padding: var(--tc-space-4); }
    .tc-explore__layout--grid .tc-card__excerpt { display: -webkit-box; }
    .tc-explore__layout--grid .tc-card__actions { display: flex; }
    .tc-explore__layout--grid .tc-card__badge { display: block; }
    .tc-explore__layout--grid .tc-card__tags { display: flex; }
}

/* Phone: hide view toggle (always compact rows) */
@media (max-width: 640px) {
    .tc-view-toggle { display: none; }
}

/* Results count */
.tc-results-count { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); padding: var(--tc-space-2) 0; }

/* ==========================================================================
   PAGE HEROES (shared across contact, guide, privacy)
   ========================================================================== */

.tc-page-hero {
    padding: var(--tc-space-12) 0 var(--tc-space-8);
    text-align: center;
    background: var(--tc-bg-secondary);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-page-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
}
.tc-page-hero__subtitle {
    font-size: var(--tc-text-lg);
    color: var(--tc-text-secondary);
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.tc-contact__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--tc-space-10);
    align-items: start;
}
@media (max-width: 900px) {
    .tc-contact__grid { grid-template-columns: 1fr; gap: var(--tc-space-6); }
}

.tc-contact__heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    margin-bottom: var(--tc-space-6);
}

/* Form */
.tc-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-4);
}
@media (max-width: 600px) {
    .tc-contact-form__row { grid-template-columns: 1fr; }
}
.tc-contact-form__field {
    margin-bottom: var(--tc-space-4);
}
.tc-contact-form__field label {
    display: block;
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-contact-form__field label .required { color: var(--tc-error); }

.tc-contact-form__field input,
.tc-contact-form__field select,
.tc-contact-form__field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-base);
    font-family: var(--tc-font-body);
    background: var(--tc-bg-primary);
    color: var(--tc-text-primary);
    transition: border-color var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-contact-form__field input:focus,
.tc-contact-form__field select:focus,
.tc-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}
.tc-contact-form__field textarea { resize: vertical; min-height: 120px; }

/* Honeypot — offscreen */
.tc-contact-form__hp {
    position: absolute; left: -9999px; top: -9999px;
    width: 1px; height: 1px; overflow: hidden;
    opacity: 0; pointer-events: none;
}

.tc-contact-form__actions {
    margin-top: var(--tc-space-4);
}
.tc-contact-form__actions .tc-btn {
    display: inline-flex; align-items: center; gap: 8px;
}

.tc-contact-form__status { margin-top: var(--tc-space-4); }
.tc-contact-form__success {
    padding: 12px 16px;
    border-radius: var(--tc-radius-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10B981;
    color: #059669;
    font-weight: 600;
    font-size: var(--tc-text-sm);
}
[data-theme="dark"] .tc-contact-form__success { color: #6EE7B7; }

.tc-contact-form__error {
    padding: 12px 16px;
    border-radius: var(--tc-radius-md);
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--tc-error);
    color: var(--tc-error);
    font-weight: 600;
    font-size: var(--tc-text-sm);
}

/* Loading spinner */
.tc-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tc-spin 0.6s linear infinite;
}
@keyframes tc-spin { to { transform: rotate(360deg); } }

/* Info sidebar */
.tc-contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}
.tc-contact__info-card {
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
}
.tc-contact__info-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212, 160, 23, 0.1);
    color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-md);
    margin-bottom: var(--tc-space-3);
}
.tc-contact__info-card h3 {
    font-size: var(--tc-text-base);
    font-weight: 700;
    margin-bottom: var(--tc-space-1);
}
.tc-contact__info-card p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
}
.tc-contact__info-card a { color: var(--tc-brand-primary); }
.tc-contact__info-card a:hover { text-decoration: underline; }

/* ==========================================================================
   GUIDE PAGE
   ========================================================================== */

.tc-guide__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-guide__filter-pill {
    padding: 6px 16px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    background: var(--tc-bg-tertiary);
    border: 1px solid var(--tc-border-default);
    transition: all var(--tc-transition-fast);
    text-decoration: none;
}
.tc-guide__filter-pill:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-guide__filter-pill.is-active {
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    border-color: var(--tc-brand-primary);
}

/* Category label */
.tc-guide__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-2);
}

/* Featured post */
.tc-guide__featured {
    margin-bottom: var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    background: var(--tc-bg-elevated);
}
.tc-guide__featured-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: inherit;
}
@media (max-width: 768px) {
    .tc-guide__featured-link { grid-template-columns: 1fr; }
}
.tc-guide__featured-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.tc-guide__featured-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tc-guide__featured:hover .tc-guide__featured-image img {
    transform: scale(1.04);
}
.tc-guide__featured-content {
    padding: var(--tc-space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tc-guide__featured-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
    line-height: 1.3;
}
.tc-guide__featured-excerpt {
    font-size: var(--tc-text-base);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-4);
}

.tc-guide__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
    font-weight: 500;
}

/* Post grid */
.tc-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tc-space-6);
    margin-bottom: var(--tc-space-8);
}
@media (max-width: 480px) {
    .tc-guide__grid { grid-template-columns: 1fr; }
}

.tc-guide__card {
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    background: var(--tc-bg-elevated);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-guide__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tc-shadow-lg);
}

.tc-guide__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.tc-guide__card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tc-bg-tertiary);
}
.tc-guide__card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tc-guide__card:hover .tc-guide__card-image img {
    transform: scale(1.04);
}
.tc-guide__card-image--placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--tc-text-tertiary);
}

.tc-guide__card-body {
    padding: var(--tc-space-5);
}
.tc-guide__card-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-lg);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-2);
    line-height: 1.3;
}
.tc-guide__card-excerpt {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-3);
}

/* Pagination */
.tc-guide__pagination {
    display: flex;
    justify-content: center;
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
.tc-guide__pagination .page-numbers {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
}
.tc-guide__pagination .page-numbers li { display: inline; }
.tc-guide__pagination .page-numbers a,
.tc-guide__pagination .page-numbers span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-sm); font-weight: 600;
    color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-guide__pagination .page-numbers a:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-guide__pagination .page-numbers .current {
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    border-color: var(--tc-brand-primary);
}

/* ==========================================================================
   PRIVACY / LEGAL PAGE
   ========================================================================== */

.tc-legal__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--tc-space-10);
    align-items: start;
}
@media (max-width: 900px) {
    .tc-legal__layout { grid-template-columns: 1fr; gap: var(--tc-space-4); }
}

/* Sidebar nav */
.tc-legal__nav {
    position: sticky;
    top: calc(var(--tc-header-height, 64px) + var(--tc-space-4));
}
.tc-legal__nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-text-tertiary);
    margin-bottom: var(--tc-space-3);
}
.tc-legal__nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tc-legal__nav-list a {
    display: block;
    padding: 6px 12px;
    font-size: var(--tc-text-sm);
    font-weight: 500;
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-sm);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
    border-left: 2px solid transparent;
}
.tc-legal__nav-list a:hover {
    color: var(--tc-text-primary);
    background: var(--tc-bg-secondary);
    border-left-color: var(--tc-brand-primary);
}
@media (max-width: 900px) {
    .tc-legal__nav {
        position: static;
        padding: var(--tc-space-4);
        background: var(--tc-bg-secondary);
        border-radius: var(--tc-radius-lg);
        border: 1px solid var(--tc-border-default);
    }
    .tc-legal__nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .tc-legal__nav-list a {
        padding: 5px 12px;
        font-size: var(--tc-text-xs);
        border-left: none;
        background: var(--tc-bg-primary);
        border: 1px solid var(--tc-border-default);
        border-radius: var(--tc-radius-full);
    }
}

/* Content */
.tc-legal__content {
    max-width: 72ch;
    line-height: 1.7;
}
.tc-legal__updated {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-legal__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-top: var(--tc-space-10);
    margin-bottom: var(--tc-space-4);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
    scroll-margin-top: calc(var(--tc-header-height, 64px) + var(--tc-space-4));
}
.tc-legal__content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.tc-legal__content h3 {
    font-size: var(--tc-text-lg);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-top: var(--tc-space-6);
    margin-bottom: var(--tc-space-2);
}
.tc-legal__content p {
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-4);
}
.tc-legal__content ul {
    list-style: disc;
    padding-left: var(--tc-space-6);
    margin-bottom: var(--tc-space-4);
    color: var(--tc-text-secondary);
}
.tc-legal__content li {
    margin-bottom: var(--tc-space-2);
    line-height: 1.6;
}
.tc-legal__content a { color: var(--tc-brand-primary); }
.tc-legal__content a:hover { text-decoration: underline; }
.tc-legal__content hr {
    border: none;
    border-top: 2px solid var(--tc-brand-primary);
    margin: var(--tc-space-10) 0;
    opacity: 0.3;
}
.tc-legal__content em { font-style: italic; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* ---- Shared overline label ---- */
.tc-about-overline {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-3);
}
.tc-about-overline--center { text-align: center; }
.tc-about-overline--light { color: var(--tc-brand-primary); }

/* ---- HERO ---- */
.tc-about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1208 0%, #2D2016 50%, #1C2A10 100%);
    overflow: hidden;
}
.tc-about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200,150,60,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(58,107,53,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.tc-about-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--tc-space-16) var(--tc-gutter);
    max-width: 800px;
    margin: 0 auto;
}
.tc-about-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-5xl);
    color: #fff;
    line-height: 1.1;
    margin-bottom: var(--tc-space-5);
}
.tc-about-hero__subtitle {
    font-size: var(--tc-text-lg);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: var(--tc-space-8);
    max-width: 60ch;
    margin-inline: auto;
}
.tc-about-hero__actions {
    display: flex;
    gap: var(--tc-space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- OUR STORY ---- */
.tc-about-story__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--tc-space-12);
    align-items: center;
}
@media (max-width: 768px) {
    .tc-about-story__grid {
        grid-template-columns: 1fr;
        gap: var(--tc-space-6);
    }
    .tc-about-story__image { order: -1; }
}
.tc-about-story__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
    line-height: 1.2;
}
.tc-about-story__content p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}
.tc-about-story__highlight {
    font-weight: 700;
    color: var(--tc-text-primary) !important;
    font-style: italic;
    border-left: 3px solid var(--tc-brand-primary);
    padding-left: var(--tc-space-4);
    margin-top: var(--tc-space-5);
}

.tc-about-story__image-frame {
    position: relative;
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--tc-bg-tertiary);
}
.tc-about-story__image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tc-about-story__image-accent {
    position: absolute;
    bottom: -12px; right: -12px;
    width: 50%; height: 50%;
    border: 3px solid var(--tc-brand-primary);
    border-radius: var(--tc-radius-xl);
    z-index: -1;
    opacity: 0.3;
}
.tc-about-story__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8ddd0 100%);
}
[data-theme="dark"] .tc-about-story__image-fallback {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a2a3a 100%);
}

/* ---- THREE PILLARS ---- */
.tc-about-pillars {
    background: var(--tc-bg-secondary);
}
.tc-about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tc-space-6);
    margin-top: var(--tc-space-8);
}
@media (max-width: 768px) {
    .tc-about-pillars__grid { grid-template-columns: 1fr; }
}
.tc-about-pillar {
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-8);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-about-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--tc-shadow-lg);
}
.tc-about-pillar__icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,160,23,0.1);
    color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-lg);
    margin-bottom: var(--tc-space-5);
}
.tc-about-pillar h3 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
}
.tc-about-pillar p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    font-size: var(--tc-text-sm);
}

/* ---- WHY VISIT (destination sell) ---- */
.tc-about-destination__divider {
    height: 300px;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url('assets/images/about-destination.jpg') center/cover no-repeat;
    background-color: #1a2a3a;
}
.tc-about-destination__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--tc-space-12);
    align-items: start;
}
@media (max-width: 768px) {
    .tc-about-destination__grid { grid-template-columns: 1fr; }
    .tc-about-destination__divider { height: 180px; }
}
.tc-about-destination__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
}
.tc-about-destination__content p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}

.tc-about-destination__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-5);
}
.tc-about-stat {
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    text-align: center;
}
.tc-about-stat__number {
    display: block;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    font-weight: 800;
    color: var(--tc-brand-primary);
    line-height: 1;
    margin-bottom: var(--tc-space-2);
}
.tc-about-stat__number small {
    font-size: 0.5em;
    font-weight: 700;
    vertical-align: baseline;
}
.tc-about-stat__label {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.4;
}

/* ---- HOW IT WORKS (steps) ---- */
.tc-about-steps__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    text-align: center;
    margin-bottom: var(--tc-space-10);
    color: var(--tc-text-primary);
}
.tc-about-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tc-space-6);
    position: relative;
}
/* Connecting line */
.tc-about-steps__grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--tc-border-default);
    z-index: 0;
}
@media (max-width: 768px) {
    .tc-about-steps__grid {
        grid-template-columns: 1fr;
        gap: var(--tc-space-5);
    }
    .tc-about-steps__grid::before {
        top: 0; bottom: 0;
        left: 28px; right: auto;
        width: 2px; height: auto;
    }
}
.tc-about-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .tc-about-step {
        text-align: left;
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 0 var(--tc-space-4);
    }
    .tc-about-step h3 { align-self: end; }
    .tc-about-step p { grid-column: 2; }
}
.tc-about-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    margin: 0 auto var(--tc-space-4);
    box-shadow: 0 4px 14px rgba(212,160,23,0.3);
}
@media (max-width: 768px) {
    .tc-about-step__num {
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
    }
}
.tc-about-step h3 {
    font-size: var(--tc-text-base);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-2);
}
.tc-about-step p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
}

/* ---- FOR BUSINESSES ---- */
.tc-about-business {
    background: var(--tc-brand-charcoal);
    color: #fff;
}
.tc-about-business__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--tc-space-10);
    align-items: center;
}
@media (max-width: 768px) {
    .tc-about-business__grid { grid-template-columns: 1fr; }
}
.tc-about-business__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: #fff;
    margin-bottom: var(--tc-space-5);
    line-height: 1.2;
}
.tc-about-business__content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}
.tc-about-business__highlight {
    font-weight: 700;
    color: #fff !important;
    font-style: italic;
    border-left: 3px solid var(--tc-brand-primary);
    padding-left: var(--tc-space-4);
}
.tc-about-business__actions {
    display: flex;
    gap: var(--tc-space-4);
    flex-wrap: wrap;
    margin-top: var(--tc-space-6);
}
.tc-about-business__features {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}
.tc-about-business__feature {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.tc-about-business__feature svg {
    flex-shrink: 0;
    color: var(--tc-brand-primary);
}

/* ---- FINAL CTA ---- */
.tc-about-cta {
    background: linear-gradient(135deg, var(--tc-brand-primary) 0%, #2C5228 100%);
    padding: var(--tc-space-16) 0;
}
.tc-about-cta__content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}
.tc-about-cta h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: #FFF8EE;
    margin-bottom: var(--tc-space-3);
}
.tc-about-cta p {
    font-size: var(--tc-text-lg);
    color: rgba(45,45,45,0.75);
    margin-bottom: var(--tc-space-8);
}
.tc-about-cta__actions {
    display: flex;
    gap: var(--tc-space-4);
    justify-content: center;
    flex-wrap: wrap;
}
.tc-about-cta .tc-btn--gold {
    background: var(--tc-brand-charcoal);
    color: #fff;
    border-color: var(--tc-brand-charcoal);
}
.tc-about-cta .tc-btn--gold:hover {
    background: #1C1917;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.tc-about-cta .tc-btn--outline {
    color: #FFF8EE;
    border-color: rgba(45,45,45,0.4);
}
.tc-about-cta .tc-btn--outline:hover {
    background: rgba(45,45,45,0.1);
    border-color: var(--tc-brand-charcoal);
}

/* ==========================================================================
   SINGLE BLOG POST (article)
   ========================================================================== */

.tc-article {
    padding-bottom: var(--tc-space-12);
}

/* Back link */
.tc-article__back {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    color: var(--tc-text-secondary);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    padding: var(--tc-space-6) 0 var(--tc-space-4);
    transition: color var(--tc-transition-fast);
}
.tc-article__back:hover { color: var(--tc-brand-primary); }

/* Hero image */
.tc-article__hero {
    max-width: 960px;
    margin: 0 auto var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
}
.tc-article__hero-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Content container — controls max-width for readability */
.tc-article__container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--tc-space-5);
}

/* Header */
.tc-article__header {
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-6);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-article__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-3);
    text-decoration: none;
}
.tc-article__category:hover { text-decoration: underline; }

.tc-article__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    line-height: 1.15;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-4);
}
.tc-article__subtitle {
    font-size: var(--tc-text-lg);
    font-style: italic;
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-5);
}

.tc-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
}
.tc-article__author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--tc-text-secondary);
}
.tc-article__avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.tc-article__sep { color: var(--tc-border-default); }

/* ---- ARTICLE CONTENT TYPOGRAPHY ---- */
.tc-article__content {
    font-size: var(--tc-text-base);
    line-height: 1.8;
    color: var(--tc-text-secondary);
}

/* Paragraph spacing */
.tc-article__content p {
    margin-bottom: 1.5em;
}
.tc-article__content p:last-child { margin-bottom: 0; }

/* Headings */
.tc-article__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.2;
}
.tc-article__content h3 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-top: 1.8em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}
.tc-article__content h4 {
    font-size: var(--tc-text-xl);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-top: 1.6em;
    margin-bottom: 0.4em;
}

/* Links */
.tc-article__content a {
    color: var(--tc-brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.tc-article__content a:hover {
    color: var(--tc-brand-primary-light);
}

/* Lists */
.tc-article__content ul,
.tc-article__content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
.tc-article__content ul { list-style: disc; }
.tc-article__content ol { list-style: decimal; }
.tc-article__content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

/* Blockquotes */
.tc-article__content blockquote {
    margin: 2em 0;
    padding: var(--tc-space-5) var(--tc-space-6);
    border-left: 4px solid var(--tc-brand-primary);
    background: var(--tc-bg-secondary);
    border-radius: 0 var(--tc-radius-md) var(--tc-radius-md) 0;
    font-style: italic;
    font-size: var(--tc-text-lg);
    color: var(--tc-text-primary);
    line-height: 1.6;
}
.tc-article__content blockquote p { margin-bottom: 0.5em; }
.tc-article__content blockquote p:last-child { margin-bottom: 0; }
.tc-article__content blockquote cite {
    display: block;
    font-style: normal;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    margin-top: var(--tc-space-2);
}

/* Images */
.tc-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tc-radius-lg);
    margin: 1.5em 0;
}
.tc-article__content figure {
    margin: 2em 0;
}
.tc-article__content figcaption {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    text-align: center;
    margin-top: var(--tc-space-2);
    font-style: italic;
}

/* Code */
.tc-article__content code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.88em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
}
.tc-article__content pre {
    margin: 1.5em 0;
    padding: var(--tc-space-5);
    border-radius: var(--tc-radius-md);
    background: var(--tc-bg-tertiary);
    overflow-x: auto;
    font-size: var(--tc-text-sm);
    line-height: 1.6;
}
.tc-article__content pre code {
    padding: 0;
    background: none;
}

/* Horizontal rule */
.tc-article__content hr {
    border: none;
    border-top: 1px solid var(--tc-border-default);
    margin: 2.5em 0;
}

/* Tables */
.tc-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: var(--tc-text-sm);
}
.tc-article__content th,
.tc-article__content td {
    padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    text-align: left;
}
.tc-article__content th {
    background: var(--tc-bg-tertiary);
    font-weight: 700;
    color: var(--tc-text-primary);
}

/* Emphasis */
.tc-article__content strong { color: var(--tc-text-primary); font-weight: 700; }
.tc-article__content em { font-style: italic; }

/* WP Block overrides — remove block editor's own spacing/layout */
.tc-article__content .wp-block-group,
.tc-article__content .wp-block-columns,
.tc-article__content > * {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---- POST TAGS ---- */
.tc-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--tc-space-8);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
.tc-article__tag {
    padding: 4px 12px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 600;
    color: var(--tc-text-secondary);
    background: var(--tc-bg-tertiary);
    border: 1px solid var(--tc-border-default);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-article__tag:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
}

/* ---- AUTHOR BIO ---- */
.tc-article__author-bio {
    display: flex;
    gap: var(--tc-space-4);
    margin-top: var(--tc-space-8);
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
}
.tc-article__author-bio-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.tc-article__author-bio strong {
    display: block;
    font-size: var(--tc-text-base);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-article__author-bio p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ---- POST NAVIGATION ---- */
.tc-article__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-4);
    margin-top: var(--tc-space-8);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
@media (max-width: 600px) {
    .tc-article__nav { grid-template-columns: 1fr; }
}
.tc-article__nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--tc-space-4);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-article__nav-link:hover {
    border-color: var(--tc-brand-primary);
    background: var(--tc-bg-secondary);
}
.tc-article__nav-link--next { text-align: right; }
.tc-article__nav-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-text-tertiary);
}
.tc-article__nav-link--next .tc-article__nav-label { justify-content: flex-end; }

.tc-article__nav-title {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- RELATED POSTS ---- */
.tc-article__related {
    margin-top: var(--tc-space-10);
    padding-top: var(--tc-space-8);
    border-top: 1px solid var(--tc-border-default);
}
.tc-article__related-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    margin-bottom: var(--tc-space-5);
}
.tc-article__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--tc-space-4);
}
.tc-article__related-card {
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-article__related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tc-shadow-md);
}
.tc-article__related-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.tc-article__related-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tc-article__related-body {
    padding: var(--tc-space-3) var(--tc-space-4);
}
.tc-article__related-body h4 {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    color: var(--tc-text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-article__related-date {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
}

/* Membership pricing page */
.tc-membership { padding: var(--tc-space-12) 0; }
.tc-membership__header { text-align: center; margin-bottom: var(--tc-space-10); }
.tc-membership__header h1 { margin-bottom: var(--tc-space-3); }
.tc-membership__header p { color: var(--tc-text-secondary); font-size: var(--tc-text-lg); max-width: 55ch; margin-inline: auto; }
.tc-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--tc-space-6); max-width: 1100px; margin: 0 auto;
}
.tc-pricing-card {
    background: var(--tc-bg-elevated); border: 2px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl); padding: var(--tc-space-8);
    display: flex; flex-direction: column; position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-xl); }
.tc-pricing-card--featured {
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 1px var(--tc-brand-primary), var(--tc-shadow-lg);
}
.tc-pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--tc-brand-primary); color: #fff;
    padding: 4px 16px; border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.tc-pricing-card__tier {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--tc-text-sm); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: var(--tc-space-4);
}
.tc-pricing-card__tier-dot { width: 10px; height: 10px; border-radius: 50%; }
.tc-pricing-card__price { font-size: var(--tc-text-5xl); font-weight: 800; font-family: var(--tc-font-heading); line-height: 1; margin-bottom: var(--tc-space-1); }
.tc-pricing-card__price span { font-size: var(--tc-text-lg); font-weight: 400; color: var(--tc-text-secondary); }
.tc-pricing-card__desc { color: var(--tc-text-secondary); font-size: var(--tc-text-sm); margin-bottom: var(--tc-space-6); }
.tc-pricing-card__features { list-style: none; margin-bottom: var(--tc-space-8); flex: 1; }
.tc-pricing-card__features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; font-size: var(--tc-text-sm);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-pricing-card__features li:last-child { border-bottom: none; }
.tc-pricing-card__features li svg { flex-shrink: 0; margin-top: 2px; color: #3D8B37; }
.tc-pricing-card__features li.is-disabled { color: var(--tc-text-tertiary); }
.tc-pricing-card__features li.is-disabled svg { color: var(--tc-text-tertiary); }
.tc-pricing-card__cta {
    display: block; width: 100%; text-align: center;
    padding: 14px; border-radius: var(--tc-radius-full);
    font-weight: 700; font-size: var(--tc-text-base);
    transition: all var(--tc-transition-fast); text-decoration: none;
    cursor: pointer; border: none; font-family: inherit;
}
.tc-pricing-card__cta--primary { background: var(--tc-brand-charcoal); color: var(--tc-brand-accent); }
.tc-pricing-card__cta--primary:hover { background: var(--tc-brand-charcoal-light); }
.tc-pricing-card__cta--featured { background: var(--tc-brand-primary); color: #fff; }
.tc-pricing-card__cta--featured:hover { background: var(--tc-brand-primary-dark); }

/* ==========================================================================
   MEMBERSHIP SIGNUP MODAL
   ========================================================================== */
.tc-signup-modal { display: none; }
.tc-signup-modal.is-open { display: block; }
.tc-signup-modal__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: var(--tc-z-modal);
}
.tc-signup-modal__panel {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem); max-width: 520px;
    max-height: 90vh; overflow-y: auto;
    background: var(--tc-bg-primary);
    border-radius: var(--tc-radius-xl);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    z-index: calc(var(--tc-z-modal) + 1);
    padding: var(--tc-space-8);
}
@media (max-width: 480px) { .tc-signup-modal__panel { padding: var(--tc-space-5); } }

.tc-signup-modal__close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; cursor: pointer;
    color: var(--tc-text-tertiary); padding: 4px; border-radius: 50%;
    transition: all var(--tc-transition-fast);
}
.tc-signup-modal__close:hover { color: var(--tc-text-primary); background: var(--tc-bg-tertiary); }

.tc-signup-modal__header { text-align: center; margin-bottom: var(--tc-space-6); }
.tc-signup-modal__badge {
    display: inline-block; padding: 4px 14px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #fff; margin-bottom: var(--tc-space-3);
}
.tc-signup-modal__header h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-signup-modal__price { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); }

.tc-signup-modal__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--tc-space-3);
}
@media (max-width: 480px) { .tc-signup-modal__row { grid-template-columns: 1fr; } }

.tc-signup-modal__field { margin-bottom: var(--tc-space-3); }
.tc-signup-modal__field label {
    display: block; font-size: var(--tc-text-sm);
    font-weight: 600; color: var(--tc-text-primary); margin-bottom: 4px;
}
.tc-signup-modal__field label .required { color: var(--tc-error); }
.tc-signup-modal__field input {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-base); font-family: var(--tc-font-body);
    background: var(--tc-bg-primary); color: var(--tc-text-primary);
    transition: border-color var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-signup-modal__field input:focus {
    outline: none; border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.tc-signup-modal__field input::placeholder { color: var(--tc-text-tertiary); }

.tc-signup-modal__submit {
    width: 100%; justify-content: center; margin-top: var(--tc-space-4);
}
.tc-signup-modal__fine-print {
    text-align: center; font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary); margin-top: var(--tc-space-3); line-height: 1.5;
}
.tc-signup-modal__fine-print a { color: var(--tc-brand-primary); }

.tc-signup-modal__success { text-align: center; padding: var(--tc-space-6) 0; }
.tc-signup-modal__success-icon { margin-bottom: var(--tc-space-4); }
.tc-signup-modal__success h3 {
    font-family: var(--tc-font-display); font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary); margin-bottom: var(--tc-space-3);
}
.tc-signup-modal__success p {
    color: var(--tc-text-secondary); line-height: 1.6;
    margin-bottom: var(--tc-space-5); max-width: 40ch; margin-inline: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Print */
@media print {
    .tc-header, .tc-footer, .tc-floating-trip, .tc-trip-stats__actions,
    .tc-saved-card__remove, .tc-mobile-menu, .tc-toast { display: none !important; }
    body { color: #000; background: #fff; }
}
/* ==========================================================================
   MORETON BAY FARM TRAIL — ADDITIONAL STYLES v2.0.0
   New components specific to the Farm Trail / Agritourism context
   ========================================================================== */

/* ---- SEASONAL HARVEST BANNER ---- */

.ft-harvest-banner {
    background: linear-gradient(90deg, var(--tc-brand-primary-dark) 0%, var(--tc-brand-primary) 60%, var(--tc-brand-accent-dark) 100%);
    color: #F0FAF8;
    padding: 10px 0;
    font-size: var(--tc-text-sm);
    border-bottom: 2px solid var(--tc-brand-accent-light);
    position: relative;
    z-index: 50;
}

.ft-harvest-banner .tc-container {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    flex-wrap: wrap;
}

.ft-harvest-banner__season {
    font-weight: 700;
    font-family: var(--tc-font-heading);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.ft-harvest-banner__produce {
    color: rgba(255,248,238,0.8);
    flex: 1;
    font-size: var(--tc-text-xs);
}

.ft-harvest-banner__cta {
    color: var(--tc-brand-accent-light);
    font-weight: 700;
    font-size: var(--tc-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--tc-transition-fast);
}

.ft-harvest-banner__cta:hover {
    color: #FFF8EE;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ft-harvest-banner__produce { display: none; }
    .ft-harvest-banner .tc-container { justify-content: space-between; }
}

/* ---- SEASONAL AVAILABILITY BADGE (on producer cards) ---- */

.ft-season-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--tc-radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}

.ft-season-badge--summer  { background: rgba(255,183,77,0.15);  border-color: rgba(255,183,77,0.4);  color: #E65100; }
.ft-season-badge--autumn  { background: rgba(193,122,75,0.15);  border-color: rgba(193,122,75,0.4);  color: #A0522D; }
.ft-season-badge--winter  { background: rgba(100,149,237,0.12); border-color: rgba(100,149,237,0.4); color: #1565C0; }
.ft-season-badge--spring  { background: rgba(102,187,106,0.15); border-color: rgba(102,187,106,0.4); color: #2E7D32; }
.ft-season-badge--yearround { background: rgba(58,107,53,0.12); border-color: rgba(58,107,53,0.4);   color: #3A6B35; }

/* ---- SUSTAINABILITY RIBBON ---- */

.ft-sustainability-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px 4px 10px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- HARVEST CALENDAR WIDGET ---- */

.ft-harvest-calendar {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-6);
    margin-bottom: var(--tc-space-8);
}

.ft-harvest-calendar__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
}

.ft-harvest-calendar__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3px;
    overflow-x: auto;
}

.ft-harvest-calendar__month {
    text-align: center;
    padding: 4px 2px 8px;
}

.ft-harvest-calendar__month-name {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tc-text-tertiary);
    display: block;
    margin-bottom: 4px;
}

.ft-harvest-calendar__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tc-border-default);
    margin: 0 auto;
}

.ft-harvest-calendar__dot--active {
    background: var(--tc-brand-primary);
}

.ft-harvest-calendar__dot--peak {
    background: var(--tc-brand-accent);
    box-shadow: 0 0 0 2px rgba(200,150,60,0.3);
}

/* ---- FOOTER SOCIAL LINKS ---- */

.ft-footer__social {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    padding-bottom: var(--tc-space-6);
    margin-bottom: var(--tc-space-6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.ft-footer__social-text {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ft-footer__social-links {
    display: flex;
    gap: var(--tc-space-3);
}

.ft-footer__social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--tc-transition-fast);
}

.ft-footer__social-btn:hover {
    background: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    color: #FFF8EE;
    transform: translateY(-2px);
}

/* ---- PRODUCER CARD ENHANCEMENTS ---- */

/* "What's in season" indicator on explore cards */
.ft-card__in-season {
    position: absolute;
    bottom: var(--tc-space-3);
    left: var(--tc-space-3);
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: var(--tc-radius-full);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Sustainability score bar */
.ft-sustainability-bar {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    margin-top: var(--tc-space-2);
}

.ft-sustainability-bar__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-text-tertiary);
    white-space: nowrap;
}

.ft-sustainability-bar__track {
    flex: 1;
    height: 4px;
    background: var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    overflow: hidden;
}

.ft-sustainability-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tc-brand-primary-dark), var(--tc-brand-primary));
    border-radius: var(--tc-radius-full);
    transition: width 0.6s var(--tc-ease-out);
}

/* ---- TRAIL ROUTE BADGE ---- */
/* Shows distance/time for farm-to-farm legs on trip planner */

.ft-route-leg {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-2) 0;
    color: var(--tc-text-tertiary);
    font-size: var(--tc-text-xs);
    font-weight: 600;
    justify-content: center;
}

.ft-route-leg__line {
    flex: 1;
    height: 1px;
    border-top: 2px dashed var(--tc-border-default);
    max-width: 60px;
}

.ft-route-leg__time {
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    padding: 2px 10px;
    white-space: nowrap;
}

/* ---- MEMBERSHIP TIER UPDATES — Farm Trail terminology ---- */

/* Bronze → Seedling, Silver → Harvest, Gold → Heritage */
.tc-tier-badge--seedling,
.tc-tier-badge--bronze  { background: #7E9B5A; color: white; }
.tc-tier-badge--harvest,
.tc-tier-badge--silver  { background: #C8963C; color: var(--tc-brand-charcoal); }
.tc-tier-badge--heritage,
.tc-tier-badge--gold    { background: #8B6914; color: white; }

/* ---- FARM TRAIL HERO ENHANCEMENTS ---- */

/* Texture overlay — subtle grain for earthy feel */
.tc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

/* Trail stats row — shows region at a glance */
.ft-trail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-6);
    padding: var(--tc-space-5) var(--tc-space-6);
    background: rgba(255,248,238,0.08);
    border: 1px solid rgba(255,248,238,0.15);
    border-radius: var(--tc-radius-xl);
    backdrop-filter: blur(8px);
    margin-top: var(--tc-space-10);
    color: rgba(255,248,238,0.9);
}

.ft-trail-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
}

.ft-trail-stat__value {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    font-weight: 700;
    line-height: 1;
    color: var(--tc-brand-accent-light);
}

.ft-trail-stat__label {
    font-size: var(--tc-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,248,238,0.6);
    font-weight: 600;
}

/* ---- PAGE HERO UPDATES — warmer farm feel ---- */

.tc-page-hero {
    background: linear-gradient(135deg, var(--tc-brand-sand) 0%, #EDE4D0 100%);
    border-bottom: 3px solid var(--tc-brand-primary);
}

[data-theme="dark"] .tc-page-hero {
    background: linear-gradient(135deg, var(--tc-brand-charcoal) 0%, #1C2A10 100%);
}

/* ---- EXPLORE HEADER UPDATED ---- */

.tc-explore__header h1 {
    color: var(--tc-brand-primary-dark);
}

[data-theme="dark"] .tc-explore__header h1 {
    color: var(--tc-brand-accent-light);
}

/* ---- FILTER FOCUS RING — farm green ---- */

.tc-filters__search input:focus,
.tc-filters__select:focus,
.tc-auth-form__input:focus,
.tc-signup-modal__field input:focus {
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(58, 107, 53, 0.18);
}

/* Active filter pills — forest green */
.tc-tag-pill[data-group="sustainability"]:hover,
.tc-tag-pill[data-group="sustainability"].is-active {
    background: #3A6B35;
    border-color: #3A6B35;
}

.tc-tag-pill[data-group="experience"]:hover,
.tc-tag-pill[data-group="experience"].is-active {
    background: #C8963C;
    border-color: #C8963C;
    color: var(--tc-brand-charcoal);
}

/* ---- ABOUT PAGE — farm trail destination section ---- */

.tc-about-destination__divider {
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.55)),
        url('assets/images/about-destination.jpg');
    background-color: var(--tc-brand-primary-dark);
}

/* ---- SCROLLBAR — earthy ---- */

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--tc-bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--tc-brand-primary);
    border-radius: var(--tc-radius-full);
    border: 2px solid var(--tc-bg-secondary);
}
::-webkit-scrollbar-thumb:hover { background: var(--tc-brand-primary-dark); }

/* ---- SELECTION COLOUR ---- */
::selection {
    background: var(--tc-brand-primary);
    color: #FFF8EE;
}

/* ---- ADMIN STAT CARD BORDER — earthy green ---- */
.tc-admin-stat-card {
    border-left-color: var(--tc-brand-primary, #3A6B35);
}
.tc-admin-stat-card .stat-value {
    color: var(--tc-brand-primary, #3A6B35);
}

/* ==========================================================================
   HOME PAGE TEMPLATE — page-template-home.php
   ========================================================================== */

/* ---- FEATURED PRODUCER GRID ---- */

.ft-producer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tc-space-6);
    margin-top: var(--tc-space-10);
}

@media (max-width: 640px) {
    .ft-producer-grid {
        grid-template-columns: 1fr;
        gap: var(--tc-space-4);
    }
}

/* ---- SECTION HEADER ---- */

.ft-section-header {
    text-align: center;
    margin-bottom: var(--tc-space-12);
}

.ft-section-heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
    line-height: 1.05;
}

.ft-section-desc {
    font-size: var(--tc-text-lg);
    color: var(--tc-text-secondary);
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.6;
}

/* ---- SEASONAL SECTION ---- */

.ft-seasonal-section {
    background: var(--tc-brand-sand);
    border-top: 4px solid var(--tc-brand-accent);
    border-bottom: 4px solid var(--tc-brand-accent);
}

[data-theme="dark"] .ft-seasonal-section {
    background: var(--tc-brand-charcoal);
    border-color: var(--tc-brand-primary-dark);
}

.ft-seasonal__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--tc-space-12);
    align-items: center;
}

@media (max-width: 900px) {
    .ft-seasonal__inner {
        grid-template-columns: 1fr;
        gap: var(--tc-space-8);
    }
}

.ft-seasonal__heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
    line-height: 1.2;
}

.ft-seasonal__produce {
    font-size: var(--tc-text-lg);
    font-weight: 700;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-4);
}

/* Harvest calendar in seasonal section */
.ft-seasonal__calendar {
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-6);
    box-shadow: var(--tc-shadow-md);
}

.ft-seasonal__calendar-title {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-5);
}

.ft-harvest-calendar__month--current .ft-harvest-calendar__dot {
    outline: 2px solid var(--tc-brand-accent);
    outline-offset: 2px;
}

.ft-harvest-calendar__month--current .ft-harvest-calendar__month-name {
    color: var(--tc-brand-primary);
    font-weight: 700;
}

.ft-seasonal__calendar-legend {
    display: flex;
    gap: var(--tc-space-4);
    flex-wrap: wrap;
    margin-top: var(--tc-space-4);
    padding-top: var(--tc-space-4);
    border-top: 1px solid var(--tc-border-default);
}

.ft-cal-legend__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs);
    color: var(--tc-text-secondary);
    font-weight: 600;
}

.ft-cal-legend__item::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ft-cal-legend__item--peak::before   { background: var(--tc-brand-accent); }
.ft-cal-legend__item--active::before { background: var(--tc-brand-primary); }
.ft-cal-legend__item--off::before    { background: var(--tc-border-default); }

/* ---- CATEGORY CHIPS ---- */

.ft-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    justify-content: center;
}

.ft-category-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-3) var(--tc-space-5);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-primary);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
    box-shadow: var(--tc-shadow-sm);
}

.ft-category-chip:hover {
    border-color: var(--tc-brand-primary);
    background: var(--tc-brand-primary);
    color: #FFF8EE;
    transform: translateY(-2px);
    box-shadow: var(--tc-shadow-md);
}

.ft-category-chip:hover .ft-category-chip__count {
    background: rgba(255,248,238,0.2);
    color: #FFF8EE;
}

.ft-category-chip__emoji {
    font-size: 1.1rem;
    line-height: 1;
}

.ft-category-chip__count {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--tc-radius-full);
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-tertiary);
    margin-left: 2px;
    transition: all var(--tc-transition-fast);
}

/* ---- HOW IT WORKS ---- */

.ft-how-it-works {
    background: var(--tc-bg-primary);
}

/* ---- HERO ENHANCEMENTS ---- */

/* Give home hero a minimum height that's taller than inner pages */
.ft-home-hero {
    min-height: 92vh;
}

@media (max-width: 768px) {
    .ft-home-hero {
        min-height: 85vh;
    }
}

/* trail stats strip on hero */
.ft-trail-stats {
    max-width: 640px;
}

/* ---- FEATURED SECTION ---- */
.ft-featured-section .tc-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ft-featured-section .tc-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ft-featured-section .tc-card__excerpt {
    flex: 1;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 640px) {
    .ft-section-heading { font-size: var(--tc-text-3xl); }
    .ft-seasonal__heading { font-size: var(--tc-text-2xl); }
    .ft-category-chip { padding: var(--tc-space-2) var(--tc-space-4); font-size: var(--tc-text-xs); }
    .ft-trail-stats { gap: var(--tc-space-4); }
    .ft-trail-stat__value { font-size: var(--tc-text-xl); }
}

/* ==========================================================================
   FOOTER REDESIGN v2.0.0 — ft-footer
   Teal + orange brand, organic swoosh top, stacked brand / nav / bottom layout
   ========================================================================== */

/* ── Remove old ft-footer__social rules (replaced) ── */

.ft-footer {
    background: var(--tc-brand-charcoal);
    color: var(--tc-neutral-300);
    position: relative;
    overflow: hidden;
}

/* Organic swoosh at top of footer */
.ft-footer__swoosh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    z-index: 1;
}

.ft-footer__swoosh svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Decorative teal blob top-right */
.ft-footer::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,107,94,0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative orange blob bottom-left */
.ft-footer::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,120,26,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ft-footer .tc-container {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

/* ── TOP: brand + social ──────────────────────────────────────────────────── */

.ft-footer__top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--tc-space-12);
    align-items: start;
    margin-bottom: var(--tc-space-10);
}

@media (max-width: 768px) {
    .ft-footer__top {
        grid-template-columns: 1fr;
        gap: var(--tc-space-8);
    }
}

.ft-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-3);
    text-decoration: none;
    margin-bottom: var(--tc-space-4);
}

.ft-footer__logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--tc-brand-accent);
    object-fit: cover;
    background: var(--tc-brand-primary);
    flex-shrink: 0;
}

.ft-footer__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.ft-footer__logo-region {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-sm);
    font-weight: 700;
    color: var(--tc-brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ft-footer__logo-trail {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
}

.ft-footer__tagline {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-lg);
    font-weight: 700;
    color: var(--tc-brand-accent-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--tc-space-4);
    max-width: none;
}

.ft-footer__brand-desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-neutral-400);
    line-height: 1.7;
    max-width: 44ch;
    margin-bottom: var(--tc-space-3);
}

.ft-footer__supported {
    font-size: var(--tc-text-xs);
    color: var(--tc-neutral-500);
    max-width: none;
}

.ft-footer__operator-link {
    color: var(--tc-brand-accent);
    font-weight: 600;
    transition: color var(--tc-transition-fast);
}

.ft-footer__operator-link:hover { color: var(--tc-brand-accent-light); }

/* Social block */
.ft-footer__social-block {
    min-width: 180px;
}

.ft-footer__social-heading {
    font-size: var(--tc-text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tc-brand-accent);
    margin-bottom: var(--tc-space-4);
    max-width: none;
}

.ft-footer__social-row {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
}

.ft-footer__social-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-3) var(--tc-space-4);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tc-radius-md);
    color: var(--tc-neutral-300);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    transition: all var(--tc-transition-fast);
    text-decoration: none;
    min-width: 160px;
}

.ft-footer__social-btn:hover {
    background: var(--tc-brand-accent);
    border-color: var(--tc-brand-accent);
    color: white;
    transform: translateX(4px);
}

/* ── DIVIDER ─────────────────────────────────────────────────────────────── */

.ft-footer__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,107,94,0.5) 20%, rgba(232,120,26,0.4) 50%, rgba(0,107,94,0.5) 80%, transparent);
    margin-bottom: var(--tc-space-10);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-footer__divider-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tc-brand-accent);
    box-shadow: 0 0 12px rgba(232,120,26,0.6);
}

/* ── NAV GRID ────────────────────────────────────────────────────────────── */

.ft-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tc-space-8);
    margin-bottom: var(--tc-space-10);
}

@media (max-width: 768px) {
    .ft-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: var(--tc-space-6);
    }
}

@media (max-width: 480px) {
    .ft-footer__nav {
        grid-template-columns: 1fr;
    }
}

.ft-footer__nav-heading {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: var(--tc-space-5);
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
}

.ft-footer__nav-heading svg {
    color: var(--tc-brand-accent);
    flex-shrink: 0;
}

.ft-footer__nav-col nav {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
}

.ft-footer__nav-link {
    font-size: var(--tc-text-sm);
    color: var(--tc-neutral-400);
    transition: all var(--tc-transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ft-footer__nav-link:hover {
    color: white;
    transform: translateX(3px);
}

/* CTA link gets orange colour */
.ft-footer__nav-link--cta {
    color: var(--tc-brand-accent-light);
    font-weight: 700;
}

.ft-footer__nav-link--cta:hover {
    color: var(--tc-brand-accent-light);
}

/* ── BOTTOM BAR ─────────────────────────────────────────────────────────── */

.ft-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--tc-space-6);
}

.ft-footer__acknowledgement {
    font-size: var(--tc-text-xs);
    color: var(--tc-neutral-500);
    line-height: 1.6;
    margin-bottom: var(--tc-space-4);
    font-style: italic;
    max-width: 80ch;
}

.ft-footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
}

.ft-footer__copyright {
    font-size: var(--tc-text-xs);
    color: var(--tc-neutral-500);
    max-width: none;
}

.ft-footer__copyright span { opacity: 0.7; }

.ft-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    font-size: var(--tc-text-xs);
    color: var(--tc-neutral-500);
}

.ft-footer__bottom-link {
    color: var(--tc-neutral-500);
    text-decoration: none;
    transition: color var(--tc-transition-fast);
}

.ft-footer__bottom-link:hover { color: var(--tc-brand-accent); }

/* Remove old footer utility rules that conflict */
.tc-footer.ft-footer .tc-footer__grid,
.tc-footer.ft-footer .ft-footer__social,
.tc-footer.ft-footer .ft-footer__social-text,
.tc-footer.ft-footer .ft-footer__social-links,
.tc-footer.ft-footer .tc-footer__bottom,
.tc-footer.ft-footer .tc-footer__bottom-row,
.tc-footer.ft-footer .tc-footer__acknowledgement {
    all: unset;
    display: none;
}

/* ==========================================================================
   HEADER LOGO — two-line stacked treatment matching concept image
   ========================================================================== */

.tc-header__logo-region {
    display: block;
    font-family: var(--tc-font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--tc-brand-accent);
    line-height: 1;
    margin-bottom: 1px;
}

.tc-header__logo-trail {
    display: block;
    font-family: var(--tc-font-display);
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tc-text-primary);
    line-height: 1;
    transition: color var(--tc-transition-fast);
}

[data-theme="dark"] .tc-header__logo-trail { color: white; }

.tc-header__logo:hover .tc-header__logo-trail { color: var(--tc-brand-primary); }

/* Scrolled state: logo stays readable */
.tc-header.is-scrolled .tc-header__logo-trail { color: var(--tc-text-primary); }

/* ── Hero region label (smaller, above the big FARM TRAILS) ── */
.ft-hero__region {
    display: block;
    font-family: var(--tc-font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tc-brand-accent-light);
    margin-bottom: 0.1em;
    line-height: 1;
}


/* ==========================================================================
   MEMBERSHIP PAGE — page-template-membership.php
   ========================================================================== */

.ft-membership-hero {
    background: linear-gradient(135deg, var(--tc-brand-primary-dark), var(--tc-brand-primary));
    color: white;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.ft-membership-hero h1,
.ft-membership-hero .tc-about-overline {
    color: white;
}

.ft-membership-hero .tc-about-overline { color: var(--tc-brand-accent-light); }

.ft-membership-hero .tc-page-hero__desc {
    color: rgba(255,255,255,0.8);
    font-size: var(--tc-text-lg);
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.6;
}

.ft-membership-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tc-space-6);
    margin-bottom: var(--tc-space-10);
}

@media (max-width: 900px) { .ft-membership-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ft-membership-pillars { grid-template-columns: 1fr; } }

.ft-membership-pillar {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-6);
    text-align: center;
    transition: box-shadow var(--tc-transition-fast), transform var(--tc-transition-fast);
}

.ft-membership-pillar:hover {
    box-shadow: var(--tc-shadow-lg);
    transform: translateY(-3px);
}

.ft-membership-pillar__icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: var(--tc-space-3);
}

.ft-membership-pillar__title {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-base);
    font-weight: 700;
    margin-bottom: var(--tc-space-2);
}

.ft-membership-pillar__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    max-width: none;
}

/* FAQ accordion */
.ft-faq-item {
    border-bottom: 1px solid var(--tc-border-default);
    padding-block: var(--tc-space-5);
}

.ft-faq-item:first-of-type { border-top: 1px solid var(--tc-border-default); }

.ft-faq-item__q {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-base);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--tc-space-4);
    color: var(--tc-text-primary);
}

.ft-faq-item__q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--tc-brand-accent);
    flex-shrink: 0;
    transition: transform var(--tc-transition-fast);
}

.ft-faq-item[open] .ft-faq-item__q::after {
    content: '−';
}

.ft-faq-item__a {
    padding-top: var(--tc-space-4);
    color: var(--tc-text-secondary);
    line-height: 1.7;
    max-width: 70ch;
}

/* ==========================================================================
   SEASONAL GUIDE PAGE — page-template-seasonal.php
   ========================================================================== */

.ft-seasonal-guide-hero {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.ft-season-selector {
    display: flex;
    gap: var(--tc-space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--tc-space-8);
}

.ft-season-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-2) var(--tc-space-5);
    border-radius: var(--tc-radius-full);
    border: 2px solid var(--tc-border-default);
    font-size: var(--tc-text-sm);
    font-weight: 700;
    color: var(--tc-text-secondary);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
    background: var(--tc-bg-elevated);
}

.ft-season-tab:hover {
    border-color: var(--tab-colour, var(--tc-brand-primary));
    color: var(--tab-colour, var(--tc-brand-primary));
}

.ft-season-tab--active {
    background: var(--tab-colour, var(--tc-brand-primary));
    border-color: var(--tab-colour, var(--tc-brand-primary));
    color: white;
}

.ft-season-tab__emoji { font-size: 1.1rem; }

.ft-season-months {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-3);
    max-width: none;
}

.ft-season-heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-5xl);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
}

.ft-season-heading em {
    color: var(--tc-brand-accent);
    font-style: italic;
}

.ft-season-heading__emoji {
    display: inline-block;
    margin-right: var(--tc-space-2);
    font-style: normal;
}

/* Produce grid */
.ft-produce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--tc-space-5);
    margin-top: var(--tc-space-10);
}

@media (max-width: 640px) { .ft-produce-grid { grid-template-columns: 1fr 1fr; gap: var(--tc-space-4); } }
@media (max-width: 400px) { .ft-produce-grid { grid-template-columns: 1fr; } }

.ft-produce-card {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-top: 3px solid var(--season-colour, var(--tc-brand-accent));
    border-radius: var(--tc-radius-lg);
    padding: var(--tc-space-5);
    transition: box-shadow var(--tc-transition-fast), transform var(--tc-transition-fast);
}

.ft-produce-card:hover {
    box-shadow: var(--tc-shadow-md);
    transform: translateY(-2px);
}

.ft-produce-card__emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: var(--tc-space-3);
}

.ft-produce-card__name {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-base);
    font-weight: 800;
    margin-bottom: var(--tc-space-2);
    color: var(--tc-text-primary);
}

.ft-produce-card__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    max-width: none;
}

/* Tips section */
.ft-tips-heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    font-weight: 800;
    margin-bottom: var(--tc-space-6);
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
}

.ft-tips-list { display: flex; flex-direction: column; gap: var(--tc-space-5); }

.ft-tip-item {
    display: flex;
    gap: var(--tc-space-4);
    align-items: flex-start;
}

.ft-tip-item__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.ft-tip-item p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    max-width: 70ch;
}

/* Season switcher */
.ft-season-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tc-space-5);
}

@media (max-width: 640px) { .ft-season-switcher { grid-template-columns: 1fr; } }

.ft-season-switch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-6);
    background: var(--tc-bg-elevated);
    border: 2px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    text-decoration: none;
    text-align: center;
    transition: all var(--tc-transition-fast);
}

.ft-season-switch-card:hover {
    border-color: var(--card-colour, var(--tc-brand-primary));
    transform: translateY(-3px);
    box-shadow: var(--tc-shadow-md);
}

.ft-season-switch-card__emoji { font-size: 2.5rem; }
.ft-season-switch-card__label {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tc-text-primary);
}
.ft-season-switch-card__months {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
    max-width: none;
}

/* ==========================================================================
   SHOP PAGE — page-template-shop.php
   ========================================================================== */

.ft-shop-hero {
    background: linear-gradient(135deg, var(--tc-brand-charcoal) 0%, var(--tc-brand-primary-dark) 100%);
    color: white;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.ft-shop-hero h1 { color: white; }
.ft-shop-hero .tc-about-overline { color: var(--tc-brand-accent-light); }
.ft-shop-hero .tc-page-hero__desc { color: rgba(255,255,255,0.75); max-width: 55ch; margin-inline: auto; }

.ft-shop-notice {
    display: flex;
    align-items: center;
    gap: var(--tc-space-6);
    background: var(--tc-bg-secondary);
    border: 2px solid var(--tc-brand-accent);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-8);
    margin-bottom: var(--tc-space-10);
}

.ft-shop-notice__icon { font-size: 3rem; flex-shrink: 0; }
.ft-shop-notice h2 { font-size: var(--tc-text-2xl); margin-bottom: var(--tc-space-2); }
.ft-shop-notice p { color: var(--tc-text-secondary); max-width: 55ch; }

.ft-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tc-space-6);
}

@media (max-width: 640px) { .ft-product-grid { grid-template-columns: 1fr; } }

.ft-product-card {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-7);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow var(--tc-transition-fast), transform var(--tc-transition-fast);
}

.ft-product-card:hover {
    box-shadow: var(--tc-shadow-lg);
    transform: translateY(-3px);
}

.ft-product-card__tag {
    position: absolute;
    top: var(--tc-space-4);
    right: var(--tc-space-4);
    font-size: var(--tc-text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    padding: 3px 10px;
    border-radius: var(--tc-radius-full);
}

.ft-product-card__emoji {
    font-size: 3rem;
    margin-bottom: var(--tc-space-4);
    line-height: 1;
}

.ft-product-card__name {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-lg);
    font-weight: 800;
    margin-bottom: var(--tc-space-3);
    color: var(--tc-text-primary);
}

.ft-product-card__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    flex: 1;
    max-width: none;
    margin-bottom: var(--tc-space-5);
}

.ft-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    margin-top: auto;
}

.ft-product-card__price {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    color: var(--tc-brand-primary);
}

.ft-product-card__cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shop notify form */
.ft-shop-notify { padding-block: clamp(3rem, 6vw, 5rem); }

.ft-shop-form {
    display: flex;
    gap: var(--tc-space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--tc-space-4);
}

.ft-shop-form__input {
    padding: var(--tc-space-3) var(--tc-space-5);
    border: 2px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-base);
    font-family: var(--tc-font-body);
    background: var(--tc-bg-primary);
    color: var(--tc-text-primary);
    min-width: 260px;
    transition: border-color var(--tc-transition-fast);
}

.ft-shop-form__input:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
}

.ft-shop-form__fine {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
    margin-inline: auto;
    max-width: none;
    margin-top: var(--tc-space-2);
}
