/* ==============================================================
   Inglima Food - Main Stylesheet
   Premium coming-soon landing page.
   ============================================================== */


/* ==============================================================
   1. CUSTOM PROPERTIES (Design Tokens)
   All brand colours, fonts, and shared values in one place.
   ============================================================== */

:root {
    /* Colours */
    --bg-primary:    #0c0c0c;
    --bg-elevated:   #141414;
    --text-primary:  #f5f0e8;
    --text-muted:    rgba(245, 240, 232, 0.55);
    --gold-accent:   #d4a853;
    --gold-hover:    #c49a48;
    --gold-subtle:   rgba(212, 168, 83, 0.25);
    --deep-red:      #8b1a1a;
    --map-land:      #1a1a1a;
    --map-border:    #2a2a2a;

    /* Typography */
    --font-display:  'Playfair Display', 'Georgia', serif;
    --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
    --fw-black:      900;
    --fw-semibold:   600;
    --fw-regular:    400;

    /* Spacing */
    --section-pad:   clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 4rem);

    /* Transitions */
    --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition:    0.4s var(--ease-smooth);
}


/* ==============================================================
   2. RESET & BASE
   Minimal reset; let the browser defaults work where sensible.
   ============================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus-visible {
    color: var(--gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==============================================================
   3. TYPOGRAPHY
   Heading hierarchy using the display serif.
   ============================================================== */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    line-height: 1.15;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.4rem, 5.5vw, 5.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

p {
    max-width: 38em;
}


/* ==============================================================
   4. GRAIN TEXTURE OVERLAY
   Adds analog depth to the dark background via a fixed
   pseudo-element with a subtle noise pattern.
   ============================================================== */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}


/* ==============================================================
   5. LAYOUT: SITE HEADER
   Fixed header with logo and minimal navigation.
   ============================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
    background: linear-gradient(to bottom, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0));
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    pointer-events: auto;
}

.header-logo-link {
    display: block;
    flex-shrink: 0;
}

.header-logo {
    width: clamp(120px, 15vw, 180px);
    height: auto;
}

.header-nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.header-nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    transition: color var(--transition);
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--gold-accent);
}


/* ==============================================================
   6. LAYOUT: HERO SECTION
   Full-viewport height with looping background video,
   dark overlay, and vertically centered content.
   ============================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Video wrapper: covers the entire hero, sits behind content */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay on top of the video for readability */
.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.7);
    z-index: 1;
}

/* Hero content floats above the video + overlay */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--section-pad);
}

.hero-logo {
    width: min(320px, 55vw);
    height: auto;
    margin-bottom: 2.5rem;
}

.hero-headline {
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    letter-spacing: 0.04em;
    max-width: 32em;
}

/* Smooth crossfade when switching video sources */
.hero-video.fading {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-video:not(.fading) {
    opacity: 1;
    transition: opacity 0.6s ease;
}


/* ==============================================================
   7. GOLD SEPARATOR
   Thin decorative horizontal rule between sections.
   ============================================================== */

.gold-separator {
    border: none;
    height: 1px;
    background: var(--gold-subtle);
    max-width: 600px;
    margin: 0 auto;
}


/* ==============================================================
   8. LAYOUT: MAP SECTION
   Interactive Leaflet map with CartoDB dark tiles.
   ============================================================== */

.map-section {
    padding: var(--section-pad);
    text-align: center;
}

.map-section-title {
    margin-bottom: 0.75rem;
}

.map-section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
}

.map-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Leaflet map element */
#europe-map {
    width: 100%;
    height: 480px;
    background: var(--bg-primary);
    border: 1px solid rgba(245, 240, 232, 0.08);
}


/* ==============================================================
   9. LEAFLET OVERRIDES
   Custom styling for Leaflet popups and controls to match
   the dark premium brand aesthetic.
   ============================================================== */

/* Hide default Leaflet attribution bar styling */
.leaflet-control-attribution {
    background: rgba(12, 12, 12, 0.7) !important;
    color: var(--text-muted) !important;
    font-size: 0.65rem !important;
}

.leaflet-control-attribution a {
    color: var(--text-muted) !important;
}

/* Zoom controls */
.leaflet-control-zoom a {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border-color: rgba(245, 240, 232, 0.1) !important;
}

.leaflet-control-zoom a:hover {
    background: #1e1e1e !important;
}

/* Custom popup styling */
.leaflet-popup-content-wrapper {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--gold-subtle);
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-tip {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--gold-subtle);
    border-top: none;
    border-right: none;
}

.leaflet-popup-close-button {
    color: var(--text-muted) !important;
}

.leaflet-popup-close-button:hover {
    color: var(--text-primary) !important;
}

.leaflet-popup-content {
    margin: 0.875rem 1.25rem !important;
    font-family: var(--font-body);
}

/* Popup inner content */
.map-popup-title {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.map-popup-status {
    font-size: 0.8rem;
    color: var(--gold-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.map-popup-link {
    font-size: 0.8rem;
    color: var(--gold-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
}

.map-popup-link:hover {
    text-decoration: underline;
}

/* Gold pulsing marker (CSS animation on custom divIcon) */
.gold-marker {
    position: relative;
}

.gold-marker-dot {
    width: 14px;
    height: 14px;
    background: var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.6);
}

.gold-marker-pulse {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: markerPulse 2.5s ease-out infinite;
}

@keyframes markerPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.5);
    }
}


/* ==============================================================
   11. LAYOUT: EMAIL CAPTURE FORM
   "Notify me" form in the subscribe section.
   ============================================================== */

.subscribe-section {
    padding: var(--section-pad);
    text-align: center;
}

.subscribe-title {
    margin-bottom: 0.5rem;
}

.subscribe-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 0;
}

/* Honeypot field - hidden from humans, visible to bots */
.subscribe-form .hnpt {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

.subscribe-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.subscribe-message.success {
    color: var(--gold-accent);
}

.subscribe-message.error {
    color: #e05555;
}


/* ==============================================================
   12. COMPONENTS: INPUTS & BUTTONS
   Shared form element styling across all pages.
   ============================================================== */

input[type="text"],
input[type="email"],
textarea,
select {
    background: transparent;
    border: 1px solid rgba(245, 240, 232, 0.18);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.875rem 1.25rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-gold {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.875rem 2rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-gold:hover,
.btn-gold:focus-visible {
    background: var(--gold-hover);
    color: var(--bg-primary);
}

.btn-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ==============================================================
   13. LAYOUT: SITE FOOTER
   Minimal footer with gold separator.
   ============================================================== */

.site-footer {
    padding: 0 clamp(1.5rem, 5vw, 4rem) 2.5rem;
}

.footer-separator {
    height: 1px;
    background: var(--gold-subtle);
    margin-bottom: 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-email a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-email a:hover {
    color: var(--gold-accent);
}


/* ==============================================================
   14. PAGE: MALTA
   Full-bleed photo hero with gradient overlays,
   cropped to focus on the storefront signage.
   ============================================================== */

.malta-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Photo hero: full-width container with fixed aspect ratio,
   cropped via object-fit to show the signage area */
.malta-photo-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

/* Crop the photo to center on the signage + entrance,
   cutting the excess sky and pavement */
.malta-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

/* Gradient overlay: dark fade at top (blends with header),
   stronger dark fade at bottom (blends into page background) */
.malta-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(12, 12, 12, 1) 0%,
            rgba(12, 12, 12, 0.95) 10%,
            rgba(12, 12, 12, 0.7) 20%,
            rgba(12, 12, 12, 0.2) 35%,
            rgba(12, 12, 12, 0.05) 50%,
            rgba(12, 12, 12, 0.4) 75%,
            rgba(12, 12, 12, 1) 100%
        );
    pointer-events: none;
}

/* Text positioned at the bottom of the photo, above the fade */
.malta-photo-text {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.malta-page .malta-headline {
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.malta-tagline {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--gold-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Body section below the photo */
.malta-body {
    padding: 3rem var(--section-pad) 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.malta-info {
    max-width: 32em;
    margin-bottom: 2.5rem;
}

.malta-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* Action buttons row */
.malta-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Outline variant button */
.btn-outline {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: var(--gold-accent);
    color: var(--bg-primary);
}


/* ==============================================================
   15. PAGE: CONTACT FORM
   Contact / inquiry form styling.
   ============================================================== */

.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
    padding: var(--section-pad);
    padding-top: 8rem;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    max-width: 30em;
}

.contact-form {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    gap: 1.25rem;
}

.form-row > * {
    flex: 1;
}

.contact-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.4em;
}

.contact-message.success {
    color: var(--gold-accent);
}

.contact-message.error {
    color: #e05555;
}

/* Contact honeypot */
.contact-form .hnpt {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}


/* ==============================================================
   16. PAGE: 404
   Not-found page styling.
   ============================================================== */

.section-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: var(--section-pad);
    text-align: center;
}

.headline-404 {
    margin-bottom: 1rem;
}

.text-404 {
    color: var(--text-muted);
    margin-bottom: 2rem;
}


/* ==============================================================
   17. ANIMATIONS: SCROLL REVEAL
   Elements with .fade-rise start hidden and animate in
   when they enter the viewport (triggered by JS).
   ============================================================== */

.fade-rise {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth),
                transform 0.8s var(--ease-smooth);
}

.fade-rise.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for sequential elements */
.fade-rise-delay-1 { transition-delay: 0.15s; }
.fade-rise-delay-2 { transition-delay: 0.3s; }
.fade-rise-delay-3 { transition-delay: 0.45s; }
.fade-rise-delay-4 { transition-delay: 0.6s; }


/* ==============================================================
   18. RESPONSIVE: TABLET (max-width: 768px)
   ============================================================== */

@media (max-width: 768px) {
    .header-nav {
        gap: 1rem;
    }

    .header-nav a {
        font-size: 0.78rem;
    }

    .hero-logo {
        width: min(240px, 60vw);
    }

    .subscribe-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .subscribe-form .btn-gold {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .malta-photo-hero {
        height: 65vh;
        min-height: 400px;
    }

    .malta-photo-text {
        bottom: 2rem;
    }

    .malta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .malta-actions .btn-gold,
    .malta-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
}


/* ==============================================================
   19. RESPONSIVE: MOBILE (max-width: 480px)
   ============================================================== */

@media (max-width: 480px) {
    .header-inner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-logo {
        width: min(200px, 70vw);
    }

    .hero {
        padding-top: 6rem;
    }

    /* Smaller map on mobile */
    #europe-map {
        height: 320px;
    }

    .malta-photo-hero {
        height: 55vh;
        min-height: 350px;
    }
}


/* ==============================================================
   20. PAGE: LOCALE (Reusable Template)
   Full restaurant / food-boutique location page.
   Sections: hero, info, map, menu, gallery, reviews, contact.
   ============================================================== */

/* --- Page wrapper --- */
.locale-page {
    display: flex;
    flex-direction: column;
}

.locale-breadcrumbs {
    margin-bottom: 1rem;
}

.locale-breadcrumbs-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    list-style: none;
    background: rgba(12, 12, 12, 0.4);
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.locale-breadcrumbs-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.locale-breadcrumbs-list li + li::before {
    content: '/';
    opacity: 0.4;
}

.locale-breadcrumbs-list a {
    color: var(--text-primary);
    text-decoration: none;
}

/* --- Shared section headings --- */
.locale-section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.locale-section-title--left {
    text-align: left;
}

.locale-section-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 42rem;
}

.locale-section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 1.25rem;
    color: var(--gold-accent);
    letter-spacing: 0.04em;
}


/* ----------------------------------------
   20a. LOCALE HERO
   ---------------------------------------- */

.locale-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 550px;
    max-height: 920px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.locale-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.locale-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12, 12, 12, 1)    0%,
        rgba(12, 12, 12, 0.55) 18%,
        rgba(12, 12, 12, 0.08) 40%,
        rgba(12, 12, 12, 0.25) 65%,
        rgba(12, 12, 12, 0.85) 85%,
        rgba(12, 12, 12, 1)    100%
    );
    pointer-events: none;
    z-index: 1;
}

.locale-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem 3.5rem;
    max-width: 680px;
}

.locale-hero-title {
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.locale-hero-tagline {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--gold-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.locale-hero-address {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.locale-hero-address svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.locale-hero-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.locale-hero-ctas .btn-gold,
.locale-hero-ctas .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

.locale-hero-ctas .btn-gold svg,
.locale-hero-ctas .btn-outline svg {
    flex-shrink: 0;
}


/* ----------------------------------------
   20b. LOCALE INFO (About + Hours)
   ---------------------------------------- */

.locale-info {
    padding: var(--section-pad);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.locale-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.locale-side-stack {
    display: grid;
    gap: 1rem;
}

.locale-about-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.locale-hours-card,
.locale-promo-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(245, 240, 232, 0.08);
    padding: 1.35rem;
}

.locale-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.locale-hours-table td {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.06);
    font-size: 0.9rem;
}

.locale-hours-day {
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

.locale-hours-time {
    text-align: right;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.locale-promo-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.14), rgba(212, 168, 83, 0.05));
    border-color: rgba(212, 168, 83, 0.24);
}

.locale-promo-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(12, 12, 12, 0.35);
    color: var(--gold-accent);
    flex-shrink: 0;
}

.locale-promo-copy {
    min-width: 0;
}

.locale-promo-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: var(--fw-semibold);
}

.locale-promo-title {
    margin: 0;
    font-size: 1.1rem;
}

.locale-promo-time {
    margin: 0.4rem 0 0.5rem;
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

.locale-promo-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}


/* ----------------------------------------
   20c. LOCALE MAP
   ---------------------------------------- */

.locale-map-section {
    padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.locale-map-wrap {
    border: 1px solid rgba(245, 240, 232, 0.08);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

#locale-map {
    width: 100%;
    height: 340px;
    background: var(--bg-primary);
}

.locale-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-accent);
    transition: color var(--transition);
}

.locale-directions-link:hover {
    color: var(--gold-hover);
}


/* ----------------------------------------
   20d. LOCALE MENU (Tabbed categories)
   ---------------------------------------- */

.locale-menu-section {
    padding: var(--section-pad);
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.locale-menu-notice {
    margin: 0 auto 2rem;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-muted);
    border: 1px solid rgba(245, 240, 232, 0.08);
    background: rgba(245, 240, 232, 0.02);
}

.locale-menu-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(245, 240, 232, 0.08);
    background:
        radial-gradient(circle at top right, rgba(212, 168, 83, 0.1), transparent 11rem),
        rgba(245, 240, 232, 0.03);
}

.locale-menu-language-label {
    font-size: 0.76rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.locale-menu-language-switcher {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.locale-menu-language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(245, 240, 232, 0.1);
    background: rgba(12, 12, 12, 0.35);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.locale-menu-language-link:hover,
.locale-menu-language-link:focus-visible {
    color: var(--text-primary);
    border-color: rgba(212, 168, 83, 0.35);
    background: rgba(212, 168, 83, 0.08);
}

.locale-menu-language-link.active {
    color: var(--gold-accent);
    border-color: rgba(212, 168, 83, 0.4);
    background: rgba(212, 168, 83, 0.1);
}

.locale-menu-language-link-flag {
    width: 1.2rem;
    height: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(245, 240, 232, 0.08);
}

.locale-menu-language-link-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.locale-menu-language-link-text {
    display: inline-block;
}

.locale-menu-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
    justify-content: center;
    flex-wrap: wrap;
}

.locale-menu-tabs::-webkit-scrollbar {
    display: none;
}

.locale-menu-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.locale-menu-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.locale-menu-tab:hover {
    color: var(--text-primary);
}

.locale-menu-tab.active {
    color: var(--gold-accent);
}

.locale-menu-tab.active::after {
    transform: scaleX(1);
}

/* Panels */
.locale-menu-panel {
    display: none;
}

.locale-menu-panel.active {
    display: block;
    animation: localeFadeIn 0.35s ease;
}

@keyframes localeFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Individual item */
.locale-menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(245, 240, 232, 0.05);
}

.locale-menu-item:last-child {
    border-bottom: none;
}

.locale-menu-item-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.locale-menu-item-row--no-price {
    gap: 0;
}

.locale-menu-item-name {
    font-weight: var(--fw-semibold);
    font-size: 1rem;
    color: var(--text-primary);
}

.locale-menu-item-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(245, 240, 232, 0.15);
    min-width: 1.5rem;
    margin-bottom: 0.25em;
}

.locale-menu-item-price {
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
    color: var(--gold-accent);
    white-space: nowrap;
}

.locale-menu-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.5;
}

.locale-menu-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.38rem 0.45rem;
    margin-top: 0.7rem;
}

.locale-menu-meta-line--nested {
    margin-top: 0.55rem;
}

.locale-menu-meta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.locale-menu-meta-inline-label {
    font-size: 0.76rem;
    line-height: 1.25;
    color: rgba(245, 240, 232, 0.7);
    font-weight: var(--fw-semibold);
}

.locale-menu-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 1.45rem;
    padding: 0.2rem 0.48rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 240, 232, 0.08);
    background: rgba(245, 240, 232, 0.05);
    font-size: 0.64rem;
    line-height: 1.15;
    color: var(--text-primary);
    flex-shrink: 0;
    white-space: nowrap;
}

.locale-menu-chip-icon {
    width: 0.72rem;
    height: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.locale-menu-chip-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.locale-menu-chip-text {
    display: inline-block;
    font-weight: var(--fw-semibold);
}

.locale-menu-chip--beef {
    background: rgba(214, 139, 139, 0.12);
    border-color: rgba(214, 139, 139, 0.24);
    color: #efc7c7;
}

.locale-menu-chip--pork {
    background: rgba(222, 161, 178, 0.14);
    border-color: rgba(222, 161, 178, 0.26);
    color: #f3ccd8;
}

.locale-menu-chip--chicken {
    background: rgba(225, 177, 136, 0.13);
    border-color: rgba(225, 177, 136, 0.26);
    color: #f3d5bc;
}

.locale-menu-chip--turkey {
    background: rgba(204, 182, 151, 0.13);
    border-color: rgba(204, 182, 151, 0.25);
    color: #eadcc8;
}

.locale-menu-chip--fish {
    background: rgba(118, 159, 214, 0.14);
    border-color: rgba(118, 159, 214, 0.28);
    color: #c8dcf7;
}

.locale-menu-chip--milk {
    background: rgba(236, 236, 232, 0.1);
    border-color: rgba(236, 236, 232, 0.22);
    color: #f4f1ea;
}

.locale-menu-chip--eggs {
    background: rgba(231, 211, 137, 0.14);
    border-color: rgba(231, 211, 137, 0.28);
    color: #f3e7b8;
}

.locale-menu-chip--gluten {
    background: rgba(212, 185, 99, 0.15);
    border-color: rgba(212, 185, 99, 0.28);
    color: #f0df9c;
}

.locale-menu-chip--nuts {
    background: rgba(188, 154, 118, 0.14);
    border-color: rgba(188, 154, 118, 0.26);
    color: #e8d0b8;
}

.locale-menu-chip--vegetarian {
    background: rgba(123, 177, 134, 0.14);
    border-color: rgba(123, 177, 134, 0.28);
    color: #cbeccf;
}

.locale-menu-chip--variable {
    background: rgba(167, 157, 201, 0.14);
    border-color: rgba(167, 157, 201, 0.26);
    color: #ddd5f3;
}

.locale-menu-options {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.locale-menu-option {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(245, 240, 232, 0.06);
    background: rgba(245, 240, 232, 0.02);
}

.locale-menu-option-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8rem;
}

.locale-menu-option-row--no-price {
    justify-content: flex-start;
    gap: 0;
}

.locale-menu-option-name {
    font-size: 0.92rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.locale-menu-option-price {
    color: var(--gold-accent);
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}

.locale-menu-option-desc {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.6;
}


/* ----------------------------------------
   20e. LOCALE GALLERY
   ---------------------------------------- */

.locale-gallery-section {
    padding: var(--section-pad);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.locale-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 2rem;
    grid-auto-flow: dense;
}

.locale-gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    min-height: 170px;
}

.locale-gallery-item--square {
    aspect-ratio: 1 / 1;
}

.locale-gallery-item--landscape {
    aspect-ratio: 4 / 3;
}

.locale-gallery-item--portrait {
    aspect-ratio: 3 / 4;
}

.locale-gallery-item--wide {
    aspect-ratio: 16 / 9;
    grid-column: span 2;
}

.locale-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.locale-gallery-item:hover img {
    transform: scale(1.06);
}

.locale-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.locale-gallery-item:hover::after {
    background: rgba(12, 12, 12, 0.18);
}


/* ----------------------------------------
   20f. LOCALE LIGHTBOX
   ---------------------------------------- */

.locale-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.locale-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.locale-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
}

.locale-lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.locale-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 2;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 0.5rem;
}

.locale-lightbox-close:hover {
    opacity: 1;
}

.locale-lightbox-prev,
.locale-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.locale-lightbox-prev { left: 0.25rem; }
.locale-lightbox-next { right: 0.25rem; }

.locale-lightbox-prev:hover,
.locale-lightbox-next:hover {
    opacity: 1;
}


/* ----------------------------------------
   20g. LOCALE REVIEWS
   ---------------------------------------- */

.locale-reviews-section {
    padding: var(--section-pad);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.locale-reviews-summary {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.locale-rating-number {
    font-family: var(--font-display);
    font-weight: var(--fw-black);
    font-size: clamp(3rem, 6vw, 4.2rem);
    color: var(--text-primary);
    line-height: 1;
}

.locale-rating-stars-wrap {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 4px;
}

.locale-rating-stars-bg {
    color: rgba(245, 240, 232, 0.12);
}

.locale-rating-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--gold-accent);
}

.locale-rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    margin-top: 0.25rem;
}

/* Stars (individual review) */
.locale-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 0.85rem;
}

.locale-stars .star.filled {
    color: var(--gold-accent);
}

.locale-stars .star.empty {
    color: rgba(245, 240, 232, 0.12);
}

/* Review cards */
.locale-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.locale-review-card {
    background: var(--bg-elevated);
    padding: 1.5rem;
    border: 1px solid rgba(245, 240, 232, 0.06);
}

.locale-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.locale-review-name {
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
}

.locale-review-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
}

.locale-review-date {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 0.03em;
}


/* ----------------------------------------
   20h. LOCALE CONTACT & SOCIAL
   ---------------------------------------- */

.locale-contact-section {
    padding: var(--section-pad);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.locale-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.locale-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid rgba(245, 240, 232, 0.06);
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.locale-contact-card:hover {
    border-color: var(--gold-subtle);
    background: rgba(212, 168, 83, 0.03);
}

.locale-contact-card svg {
    color: var(--gold-accent);
}

.locale-contact-card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: var(--fw-semibold);
}

.locale-contact-card-value {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.locale-contact-address {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.locale-contact-address:hover {
    color: var(--gold-accent);
}

.locale-contact-address svg {
    flex-shrink: 0;
    color: var(--gold-accent);
    opacity: 0.7;
}


/* ==============================================================
   21. RESPONSIVE: LOCALE PAGE
   ============================================================== */

@media (min-width: 769px) {
    .locale-info-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .locale-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .locale-gallery-item--wide {
        grid-column: span 2;
    }

    .locale-contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #locale-map {
        height: 420px;
    }
}

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

    .locale-hero-content {
        padding-bottom: 2.5rem;
    }

    .locale-breadcrumbs-list {
        padding: 0.5rem 0.8rem;
    }

    .locale-menu-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .locale-menu-language {
        align-items: flex-start;
    }

    .locale-menu-language-switcher {
        width: 100%;
    }

    .locale-lightbox-prev,
    .locale-lightbox-next {
        font-size: 2.5rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .locale-hero {
        height: 75vh;
        min-height: 420px;
    }

    .locale-hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .locale-hero-ctas .btn-gold,
    .locale-hero-ctas .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .locale-hero-address {
        flex-wrap: wrap;
    }

    .locale-menu-tab {
        padding: 0.6rem 0.9rem;
        font-size: 0.72rem;
    }

    .locale-menu-language-link {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .locale-promo-card {
        grid-template-columns: 1fr;
    }

    .locale-gallery-item--wide {
        grid-column: span 2;
    }

    #locale-map {
        height: 260px;
    }

    .locale-review-card {
        padding: 1.25rem;
    }

.locale-contact-grid {
    grid-template-columns: 1fr;
}
}


/* ==============================================================
   21. PAGE: DESIGN SYSTEM
   Internal reference page for development and brand alignment.
   ============================================================== */

.design-system-page {
    padding: clamp(7rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}

.design-system-shell {
    max-width: 1320px;
    margin: 0 auto;
}

.design-system-hero,
.design-system-section {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(245, 240, 232, 0.08);
    background:
        radial-gradient(circle at top right, rgba(212, 168, 83, 0.12), transparent 28rem),
        linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(12, 12, 12, 0.98));
}

.design-system-hero {
    padding: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.design-system-eyebrow,
.design-system-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-accent);
}

.design-system-eyebrow::before,
.design-system-kicker::before {
    content: '';
    width: 1.65rem;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.design-system-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
    gap: 1.5rem;
    margin-top: 1.35rem;
    align-items: start;
}

.design-system-hero-copy h1 {
    max-width: 10ch;
    margin-bottom: 1rem;
}

.design-system-lead,
.design-system-section-heading p,
.design-system-token-card p,
.design-system-principle-card p,
.design-system-component-card p,
.design-system-team-card p,
.design-system-template-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.72;
    max-width: 64ch;
}

.design-system-status-panel {
    display: grid;
    gap: 0.9rem;
}

.design-system-status-item {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(212, 168, 83, 0.18);
    background: rgba(245, 240, 232, 0.03);
}

.design-system-status-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.design-system-status-item strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.design-system-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.design-system-jump-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(212, 168, 83, 0.2);
    background: rgba(245, 240, 232, 0.02);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.design-system-jump-nav a:hover,
.design-system-jump-nav a:focus-visible {
    border-color: rgba(212, 168, 83, 0.4);
    background: rgba(212, 168, 83, 0.08);
    color: var(--gold-accent);
}

.design-system-section {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.design-system-section-heading {
    margin-bottom: 1.5rem;
}

.design-system-section-heading h2 {
    margin: 0.85rem 0 0.75rem;
}

.design-system-token-grid,
.design-system-type-grid,
.design-system-principles-grid,
.design-system-team-grid,
.design-system-template-grid {
    display: grid;
    gap: 1rem;
}

.design-system-token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.design-system-token-card,
.design-system-type-card,
.design-system-principle-card,
.design-system-component-card,
.design-system-team-card,
.design-system-template-card,
.design-system-rule-card {
    border: 1px solid rgba(245, 240, 232, 0.08);
    background: rgba(245, 240, 232, 0.02);
}

.design-system-token-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.design-system-swatch {
    width: 100%;
    min-height: 108px;
    background: var(--swatch-color);
    border: 1px solid rgba(245, 240, 232, 0.08);
}

.design-system-token-copy {
    display: grid;
    gap: 0.45rem;
}

.design-system-token-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.65rem;
}

.design-system-token-head h3,
.design-system-principle-card h3,
.design-system-component-card h3,
.design-system-team-card h3,
.design-system-template-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
}

.design-system-token-head code,
.design-system-component-topline code {
    color: var(--gold-accent);
    font-size: 0.76rem;
}

.design-system-token-value {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.design-system-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-type-card,
.design-system-principle-card,
.design-system-component-card,
.design-system-team-card,
.design-system-template-card,
.design-system-rule-card {
    padding: 1.15rem;
}

.design-system-type-display {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    line-height: 1.08;
}

.design-system-type-body {
    font-family: var(--font-body);
    font-size: 1rem;
}

.design-system-type-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.design-system-type-meta {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
}

.design-system-type-meta strong {
    font-size: 0.9rem;
}

.design-system-type-meta span,
.design-system-component-note,
.design-system-template-topline a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.design-system-principles-grid,
.design-system-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-dos-donts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.design-system-rule-card--warning {
    background: linear-gradient(180deg, rgba(139, 26, 26, 0.18), rgba(245, 240, 232, 0.02));
}

.design-system-rule-list {
    margin-top: 1rem;
    padding-left: 1rem;
    color: var(--text-primary);
}

.design-system-rule-list li + li {
    margin-top: 0.7rem;
}

.design-system-component-list {
    display: grid;
    gap: 1rem;
}

.design-system-component-topline,
.design-system-template-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.design-system-component-note {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.design-system-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .design-system-hero-grid,
    .design-system-token-grid,
    .design-system-type-grid,
    .design-system-principles-grid,
    .design-system-team-grid,
    .design-system-template-grid,
    .design-system-dos-donts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .design-system-page {
        padding-top: 6.5rem;
    }

    .design-system-token-card {
        grid-template-columns: 1fr;
    }

    .design-system-swatch {
        min-height: 88px;
    }

    .design-system-jump-nav {
        gap: 0.55rem;
    }

    .design-system-jump-nav a {
        width: 100%;
        justify-content: center;
    }
}


/* ==============================================================
   CAREERS / RECRUITMENT PAGE
   Landing page + 4-step guided application wizard. Re-uses
   .btn-gold, .btn-outline, .form-row and .hnpt from earlier
   sections; only careers-specific layout lives here.
   ============================================================== */

.careers-page {
    max-width: 880px;
    margin: 0 auto;
    padding: var(--section-pad) 1.5rem;
    color: var(--text-primary);
}

.careers-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.careers-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 1.2rem;
}

.careers-sub {
    max-width: 640px;
    margin: 0 auto 2rem;
    color: rgba(245, 240, 232, 0.75);
    font-size: 1.05rem;
    line-height: 1.55;
}

.careers-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    text-align: center;
    margin: 0 0 1.5rem;
}

.careers-role {
    margin-bottom: 4rem;
}

.careers-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.careers-role-col h3 {
    color: var(--gold-accent);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.85rem;
}

.careers-role-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.careers-role-col li {
    position: relative;
    padding-left: 1.25rem;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.5;
}

.careers-role-col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.5rem;
    height: 1px;
    background: var(--gold-accent);
}

/* --- Form wrapper --- */

.careers-form-wrap {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(212, 168, 83, 0.18);
    border-radius: 14px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.careers-form-intro {
    text-align: center;
    color: rgba(245, 240, 232, 0.65);
    margin: 0 0 2rem;
    font-size: 0.95rem;
}

/* --- Wizard progress --- */

.wizard-progress {
    width: 100%;
    height: 4px;
    background: rgba(245, 240, 232, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.wizard-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.wizard-step-label {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.55);
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Wizard steps --- */

.wizard-step {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    gap: 1.25rem;
}

.wizard-step.step-active {
    display: flex;
}

.wizard-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding: 0;
}

/* --- Field groups --- */

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-group label,
.field-group .field-label {
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.careers-form input[type="text"],
.careers-form input[type="email"],
.careers-form input[type="tel"],
.careers-form input[type="date"],
.careers-form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(245, 240, 232, 0.15);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.careers-form input:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
}

.careers-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* --- Radio / checkbox groups --- */

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    padding-top: 0.2rem;
}

.radio-group label,
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(245, 240, 232, 0.15);
    border-radius: 6px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-group label:hover,
.checkbox-group label:hover {
    border-color: rgba(212, 168, 83, 0.5);
}

.radio-group input,
.checkbox-group input {
    accent-color: var(--gold-accent);
}

/* --- File upload --- */

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(212, 168, 83, 0.45);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-btn:hover {
    border-color: var(--gold-accent);
    background: rgba(212, 168, 83, 0.06);
}

.file-upload-cta {
    color: var(--gold-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.file-upload-name {
    color: rgba(245, 240, 232, 0.7);
    font-size: 0.9rem;
    word-break: break-all;
}

/* --- GDPR consent --- */

.gdpr-consent label {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.5;
    cursor: pointer;
}

.gdpr-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--gold-accent);
    flex-shrink: 0;
}

.gdpr-note {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.5;
}

/* --- Wizard navigation --- */

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.wizard-nav .btn-gold,
.wizard-nav .btn-outline {
    flex: 0 1 auto;
    min-width: 140px;
}

.wizard-nav .btn-gold:only-child {
    margin-left: auto;
}

/* --- Honeypot (shared pattern) --- */

.careers-form .hnpt {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* --- Mobile --- */

@media (max-width: 720px) {
    .careers-role-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .careers-form .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .wizard-nav {
        flex-direction: column-reverse;
    }

    .wizard-nav .btn-gold,
    .wizard-nav .btn-outline {
        width: 100%;
    }
}
