/* ============================================================================
   AETHER OBSERVATORY - Luxury Cosmic Editorial
   WCAG 2.1 Level AA · Section 508 compliant
   All text contrasts verified on palette below.
   ============================================================================ */

/* ---------- TOKENS ---------- */
:root {
    /* Cosmic palette - every pair validated for WCAG AA */
    --c-ink: #07091A;
    /* primary background */
    --c-ink-2: #0F1230;
    /* secondary surface */
    --c-surface: #161A3A;
    /* card surface */
    --c-surface-hi: #1D2249;
    /* card hover */
    --c-line: rgba(237, 230, 211, 0.14);
    --c-line-strong: rgba(237, 230, 211, 0.28);

    /* Foregrounds on --c-ink (all verified ≥4.5:1 normal, ≥3:1 large) */
    --c-text: #F5F1E3;
    /* 17.9:1 primary body */
    --c-text-2: #CFC8B4;
    /* 12.7:1 secondary */
    --c-text-3: #9A9380;
    /* 6.2:1 muted (still passes AA normal) */

    /* Accents */
    --c-gold: #E6B665;
    /* 10.2:1 - primary accent */
    --c-gold-hi: #F3CC8A;
    /* 12.4:1 - hover */
    --c-gold-deep: #B7863A;
    /* 5.7:1 - subdued accent */
    --c-nebula: #9AB4F2;
    /* 9.1:1 - secondary accent */
    --c-success: #7BD8B3;
    /* 10.5:1 */
    --c-danger: #FF8F85;
    /* 7.2:1 - error */
    --c-focus: #FFD98A;
    /* 13:1 - focus ring */

    /* Button ink (for gold bg) */
    --c-on-gold: #07091A;
    /* 10.2:1 on gold */

    /* Typography */
    --ff-serif: 'Playfair Display', 'Iowan Old Style', 'Georgia', serif;
    --ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Rhythm */
    --maxw: 1200px;
    --pad-x: clamp(20px, 5vw, 48px);
    --radius: 4px;
    --radius-lg: 10px;

    /* Motion */
    --t-fast: 150ms;
    --t-mid: 280ms;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .starfield,
    .shooting-star {
        display: none !important;
    }
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-ink);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font: inherit;
    color: inherit;
}

a {
    color: var(--c-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--c-gold-hi);
    text-decoration-thickness: 2px;
}

/* ---------- A11Y UTILITIES ---------- */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link - visible on focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--c-gold);
    color: var(--c-on-gold);
    padding: 14px 22px;
    font-weight: 600;
    z-index: 1000;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
    top: 12px;
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
}

/* Global focus ring - 3px, ≥3:1 contrast on every surface */
:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Remove browser default for elements we style */
:focus:not(:focus-visible) {
    outline: none;
}

/* ---------- STARFIELD (decorative, aria-hidden, pausable) ---------- */
.starfield {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.starfield::before,
.starfield::after {
    content: "";
    position: absolute;
    inset: -50%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(245, 241, 227, .9) 50%, transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(245, 241, 227, .8) 50%, transparent),
        radial-gradient(2px 2px at 40% 80%, rgba(230, 182, 101, .7) 50%, transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(245, 241, 227, .6) 50%, transparent),
        radial-gradient(1px 1px at 10% 60%, rgba(154, 180, 242, .7) 50%, transparent),
        radial-gradient(1.5px 1.5px at 90% 40%, rgba(245, 241, 227, .7) 50%, transparent),
        radial-gradient(1px 1px at 33% 15%, rgba(245, 241, 227, .5) 50%, transparent),
        radial-gradient(1px 1px at 70% 90%, rgba(245, 241, 227, .6) 50%, transparent),
        radial-gradient(1px 1px at 15% 85%, rgba(230, 182, 101, .5) 50%, transparent),
        radial-gradient(2px 2px at 85% 10%, rgba(245, 241, 227, .5) 50%, transparent);
    background-size: 400px 400px;
    animation: twinkle 8s ease-in-out infinite;
}

.starfield::after {
    background-size: 250px 250px;
    animation-delay: -4s;
    animation-duration: 12s;
    opacity: 0.6;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.85;
    }
}

body.motion-paused .starfield::before,
body.motion-paused .starfield::after {
    animation-play-state: paused;
}

/* Motion pause control - always keyboard accessible */
.motion-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    background: var(--c-ink-2);
    color: var(--c-text);
    border: 1px solid var(--c-line-strong);
    border-radius: 999px;
    padding: 10px 16px 10px 14px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.motion-toggle:hover {
    background: var(--c-surface);
}

.motion-toggle svg {
    width: 16px;
    height: 16px;
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

main {
    position: relative;
    z-index: 1;
}

/* ---------- HEADER / TOP NAV ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 9, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}

.site-header.is-scrolled {
    background: rgba(7, 9, 26, 0.96);
    border-bottom-color: var(--c-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.brand:hover {
    color: var(--c-gold-hi);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--c-gold-hi), var(--c-gold-deep) 70%, transparent 72%);
    box-shadow: 0 0 18px rgba(230, 182, 101, 0.55);
    flex: none;
}

.brand em {
    font-style: italic;
    color: var(--c-gold);
    font-weight: 500;
}

/* Primary nav */
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.primary-nav a {
    display: inline-block;
    padding: 12px 16px;
    min-height: 44px;
    color: var(--c-text-2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-radius: var(--radius);
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
    position: relative;
}

.primary-nav a:hover {
    color: var(--c-text);
    background: rgba(245, 241, 227, 0.04);
}

.primary-nav a[aria-current="page"] {
    color: var(--c-gold);
}

.primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--c-line-strong);
    color: var(--c-text);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.nav-toggle:hover {
    background: var(--c-surface);
}

@media (max-width: 880px) {
    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--c-ink-2);
        border-bottom: 1px solid var(--c-line);
        padding: 8px 0 16px;
        display: none;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        padding: 0 var(--pad-x);
        gap: 2px;
    }

    .primary-nav a {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
    }

    .primary-nav a[aria-current="page"]::after {
        left: 16px;
        right: auto;
        width: 20px;
    }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: clamp(80px, 14vw, 160px) 0 clamp(64px, 10vw, 120px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(230, 182, 101, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(154, 180, 242, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--c-gold);
}

.hero h1 {
    font-family: var(--ff-serif);
    font-size: clamp(40px, 6.5vw, 84px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    max-width: 18ch;
    color: var(--c-text);
}

.hero h1 em {
    font-style: italic;
    color: var(--c-gold);
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.6;
    color: var(--c-text-2);
    max-width: 58ch;
    margin: 0 0 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    min-height: 48px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--c-gold);
    color: var(--c-on-gold);
    box-shadow: 0 6px 20px rgba(230, 182, 101, 0.25);
}

.btn-primary:hover {
    background: var(--c-gold-hi);
    color: var(--c-on-gold);
    box-shadow: 0 8px 28px rgba(230, 182, 101, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-line-strong);
}

.btn-secondary:hover {
    background: rgba(245, 241, 227, 0.06);
    border-color: var(--c-text-3);
    color: var(--c-text);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: clamp(72px, 10vw, 128px) 0;
    position: relative;
}

.section-alt {
    background: var(--c-ink-2);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 16px;
}

h2 {
    font-family: var(--ff-serif);
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    color: var(--c-text);
}

h2 em {
    font-style: italic;
    color: var(--c-gold);
    font-weight: 400;
}

.section-lede {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
    color: var(--c-text-2);
    margin: 0;
}

h3 {
    font-family: var(--ff-serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--c-text);
}

p {
    margin: 0 0 16px;
}

/* ---------- GRIDS ---------- */
.grid {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---------- CARDS ---------- */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
    position: relative;
}

a.card,
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.card:hover,
.card.is-interactive:hover {
    background: var(--c-surface-hi);
    border-color: var(--c-gold-deep);
    transform: translateY(-3px);
    text-decoration: none;
}

a.card:hover h3,
.card.is-interactive:hover h3 {
    color: var(--c-gold-hi);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 182, 101, 0.2), rgba(230, 182, 101, 0.06));
    border: 1px solid var(--c-gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    margin-bottom: 20px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
    font-size: 13px;
    color: var(--c-text-3);
}

.card-meta strong {
    color: var(--c-text-2);
    font-weight: 600;
}

/* ---------- TRUST STRIP ---------- */
.trust {
    padding: 40px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-ink-2);
}

.trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-text-3);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--c-gold);
}

/* ---------- STATS ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px;
    background: var(--c-line);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat {
    background: var(--c-ink-2);
    padding: 36px 28px;
    text-align: center;
}

.stat-n {
    font-family: var(--ff-serif);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 500;
    line-height: 1;
    color: var(--c-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-text-3);
}

/* ---------- EVENTS TIMELINE ---------- */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(var(--c-gold-deep), transparent);
}

.tl-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--c-gold);
    box-shadow: 0 0 0 4px var(--c-ink), 0 0 12px rgba(230, 182, 101, .4);
}

.tl-date {
    font-family: var(--ff-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tl-cat {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(230, 182, 101, 0.12);
    border: 1px solid var(--c-gold-deep);
    border-radius: 999px;
    color: var(--c-gold-hi);
    font-size: 11px;
    letter-spacing: 1.5px;
}

.tl-title {
    margin-bottom: 8px;
}

.tl-desc {
    color: var(--c-text-2);
    max-width: 60ch;
    margin: 0;
}

.tl-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--c-text-3);
}

.tl-stats strong {
    color: var(--c-text-2);
    font-weight: 600;
}

/* Filter chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    min-height: 44px;
    background: transparent;
    color: var(--c-text-2);
    border: 1px solid var(--c-line-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}

.chip:hover {
    color: var(--c-text);
    border-color: var(--c-text-3);
}

.chip[aria-pressed="true"] {
    background: var(--c-gold);
    color: var(--c-on-gold);
    border-color: var(--c-gold);
}

/* ---------- TESTIMONIALS ---------- */
.testimonial {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--c-gold);
    margin-bottom: 16px;
}

.stars svg {
    width: 16px;
    height: 16px;
}

.testimonial blockquote {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--c-text);
    font-style: italic;
    flex: 1;
}

.testimonial blockquote::before {
    content: "\201C";
    color: var(--c-gold);
    font-size: 28px;
    font-family: var(--ff-serif);
    margin-right: 4px;
}

.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
    font-style: normal;
}

.testimonial figcaption strong {
    color: var(--c-text);
    font-weight: 600;
}

.testimonial figcaption span {
    color: var(--c-text-3);
    font-size: 13px;
}

/* ---------- CTA BANNER ---------- */
.cta {
    padding: clamp(72px, 10vw, 120px) 0;
    background:
        radial-gradient(ellipse 80% 100% at 50% 50%, rgba(230, 182, 101, 0.14), transparent 60%),
        var(--c-ink-2);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    text-align: center;
}

.cta h2 {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    max-width: 60ch;
    margin: 0 auto 32px;
    color: var(--c-text-2);
    font-size: 18px;
}

.cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- SUBPAGE HERO ---------- */
.subhero {
    padding: clamp(96px, 12vw, 140px) 0 clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--c-line);
    position: relative;
    overflow: hidden;
}

.subhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 40%, rgba(230, 182, 101, 0.1), transparent 60%);
    z-index: 0;
}

.subhero>.container {
    position: relative;
    z-index: 1;
}

.subhero h1 {
    font-family: var(--ff-serif);
    font-size: clamp(36px, 5.5vw, 68px);
    line-height: 1.1;
    font-weight: 500;
    margin: 0 0 20px;
    color: var(--c-text);
    max-width: 20ch;
}

.subhero h1 em {
    font-style: italic;
    color: var(--c-gold);
    font-weight: 400;
}

.subhero-lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--c-text-2);
    max-width: 58ch;
    line-height: 1.65;
    margin: 0;
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-text-3);
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li+li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--c-gold-deep);
    border-radius: 50%;
    display: inline-block;
}

.breadcrumb a {
    color: var(--c-text-2);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--c-gold-hi);
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: var(--c-gold);
}

/* ---------- SPLIT (2-col text + visual) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

@media (max-width: 820px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.plate {
    aspect-ratio: 4/5;
    background: var(--c-surface);
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.plate svg {
    width: 88%;
    height: 88%;
}

/* ---------- EQUIPMENT TABLE ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
}

.table-wrap table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 15px;
}

.table-wrap caption {
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--c-text);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    caption-side: top;
}

.table-wrap th,
.table-wrap td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--c-line);
    vertical-align: top;
}

.table-wrap thead th {
    background: var(--c-ink-2);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-text-3);
    font-weight: 600;
}

.table-wrap tbody th {
    color: var(--c-text);
    font-weight: 600;
}

.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
    border-bottom: 0;
}

.table-wrap tbody tr:hover {
    background: rgba(245, 241, 227, 0.02);
}

.num {
    font-variant-numeric: tabular-nums;
}

/* ---------- FORMS ---------- */
.form-grid {
    display: grid;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 8px;
}

legend {
    font-family: var(--ff-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 16px;
    padding: 0;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    letter-spacing: 0.3px;
}

label .req {
    color: var(--c-gold);
    margin-left: 4px;
    font-weight: 700;
}

.hint {
    font-size: 13px;
    color: var(--c-text-3);
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    min-height: 48px;
    font: inherit;
    color: var(--c-text);
    background: var(--c-ink);
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius);
    transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23E6B665' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--c-text-3);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
    border-color: var(--c-gold);
    background: var(--c-ink-2);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--c-danger);
    background: rgba(255, 143, 133, 0.06);
}

.field-error {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--c-danger);
    margin: 0;
    font-weight: 500;
}

.field-error.is-visible {
    display: inline-flex;
}

.field-error::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.form-status {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    margin: 0;
    display: none;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: rgba(123, 216, 179, 0.1);
    border: 1px solid var(--c-success);
    color: var(--c-success);
}

.form-status.is-error {
    background: rgba(255, 143, 133, 0.1);
    border: 1px solid var(--c-danger);
    color: var(--c-danger);
}

/* ---------- CONTACT INFO BLOCKS ---------- */
.info-block {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.info-block h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-block p,
.info-block address {
    margin: 0;
    color: var(--c-text-2);
    font-style: normal;
    line-height: 1.7;
}

.info-block a {
    color: var(--c-gold);
}

.hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--c-line);
    color: var(--c-text-2);
}

.hours-list li:last-child {
    border-bottom: 0;
}

.hours-list li span:first-child {
    color: var(--c-text);
    font-weight: 500;
}

/* ---------- MAP PLACEHOLDER ---------- */
.map {
    aspect-ratio: 16/9;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
    padding: 72px 0 32px;
    border-top: 1px solid var(--c-line);
    background: var(--c-ink-2);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 780px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    color: var(--c-text-3);
    margin: 16px 0 0;
    max-width: 40ch;
}

.footer-col h4 {
    font-family: var(--ff-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-text);
    margin: 0 0 18px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--c-text-2);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--c-gold-hi);
    text-decoration: underline;
}

.footer-col address {
    font-style: normal;
    color: var(--c-text-2);
    line-height: 1.8;
}

.footer-col address a {
    color: var(--c-text-2);
}

.footer-base {
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--c-text-3);
}

.footer-base a {
    color: var(--c-text-3);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-base a:hover {
    color: var(--c-gold-hi);
}

/* ---------- REVEAL (respects reduced motion) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- UTIL ---------- */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-lg {
    margin-top: clamp(32px, 4vw, 48px);
}

/* ---------- PRINT ---------- */
@media print {

    .site-header,
    .site-footer,
    .starfield,
    .motion-toggle,
    .skip-link,
    .nav-toggle,
    .cta-actions,
    .hero-actions {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    h1,
    h2,
    h3,
    a {
        color: #000 !important;
    }

    .card,
    .testimonial,
    .info-block,
    .table-wrap {
        border-color: #999 !important;
        background: #fff !important;
    }
}

/* ---------- ADMIN PREVIEW BUTTON (header) ---------- */
.admin-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
    padding: 10px 16px;
    min-height: 44px;
    border: 1px solid var(--c-gold);
    border-radius: 999px;
    background: rgba(230, 182, 101, 0.08);
    color: var(--c-gold);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.admin-preview-btn svg {
    width: 16px;
    height: 16px;
}

.admin-preview-btn:hover,
.admin-preview-btn:focus-visible {
    background: var(--c-gold);
    color: var(--c-on-gold);
    border-color: var(--c-gold);
}

@media (max-width: 880px) {
    .admin-preview-btn {
        margin-left: auto;
        margin-right: 10px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .admin-preview-btn span {
        display: none;
    }

    .admin-preview-btn {
        min-width: 44px;
        justify-content: center;
    }
}

/* ---------- ADMIN PANEL (preview) ---------- */
.preview-banner {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(230, 182, 101, 0.12);
    border-top: 1px solid var(--c-gold);
    border-bottom: 1px solid var(--c-gold);
    backdrop-filter: blur(8px);
    padding: 12px 0;
    color: var(--c-text);
}

.preview-banner .container {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.preview-banner strong {
    color: var(--c-gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
}

.preview-banner p {
    margin: 0;
    color: var(--c-text-2);
    font-size: 14px;
    flex: 1 1 320px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(24px, 4vw, 40px);
    padding: clamp(32px, 4vw, 48px) 0;
    align-items: start;
}

@media (max-width: 880px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

.admin-sidebar {
    position: sticky;
    top: 152px;
    background: var(--c-ink-2);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 20px;
}

.admin-sidebar h2 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-3);
    margin: 0 0 12px;
}

.admin-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 8px;
    color: var(--c-text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.admin-sidebar a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--c-text-3);
}

.admin-sidebar a:hover,
.admin-sidebar a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    color: var(--c-text);
}

.admin-sidebar a.is-active {
    background: rgba(230, 182, 101, 0.1);
    color: var(--c-gold);
}

.admin-sidebar a.is-active svg {
    color: var(--c-gold);
}

.admin-main {
    min-width: 0;
}

.admin-panel {
    background: var(--c-ink-2);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    margin-bottom: 28px;
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
    flex-wrap: wrap;
}

.admin-panel-head h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.4vw, 28px);
}

.admin-panel-head p {
    margin: 0;
    color: var(--c-text-3);
    font-size: 14px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.admin-kpi {
    background: var(--c-ink);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 18px 20px;
}

.admin-kpi-label {
    color: var(--c-text-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.admin-kpi-value {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--c-gold);
    margin: 0;
}

.admin-kpi-sub {
    color: var(--c-text-3);
    font-size: 13px;
    margin: 4px 0 0;
}

/* Disabled form styling */
.admin-form {
    display: grid;
    gap: 20px;
}

.admin-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .admin-form .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-2);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.admin-form input:disabled,
.admin-form select:disabled,
.admin-form textarea:disabled {
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: var(--c-text-3);
    font-family: inherit;
    font-size: 14px;
    cursor: not-allowed;
    opacity: 1;
    -webkit-text-fill-color: var(--c-text-3);
}

.admin-form textarea:disabled {
    min-height: 96px;
    resize: none;
}

.admin-form .field-note {
    font-size: 12px;
    color: var(--c-text-3);
    margin: 6px 0 0;
    font-style: italic;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--c-text-3);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 1;
}

.admin-btn svg {
    width: 14px;
    height: 14px;
}

.admin-btn-primary {
    border-color: rgba(230, 182, 101, 0.3);
    background: rgba(230, 182, 101, 0.08);
    color: rgba(230, 182, 101, 0.6);
}

.admin-btn[disabled]:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 3px;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table thead th {
    text-align: left;
    padding: 12px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-3);
    border-bottom: 1px solid var(--c-border);
}

.admin-table tbody td,
.admin-table tbody th {
    padding: 14px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-2);
    font-weight: 400;
    text-align: left;
    vertical-align: middle;
}

.admin-table tbody th[scope="row"] {
    color: var(--c-text);
    font-weight: 500;
}

.admin-table tbody tr:last-child td,
.admin-table tbody tr:last-child th {
    border-bottom: 0;
}

.admin-row-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.admin-row-actions .admin-btn {
    padding: 6px 10px;
    min-height: 32px;
    font-size: 12px;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.admin-status.is-published {
    background: rgba(123, 216, 179, 0.1);
    color: var(--c-success);
}

.admin-status.is-draft {
    background: rgba(154, 180, 242, 0.1);
    color: var(--c-nebula);
}

.admin-status.is-scheduled {
    background: rgba(230, 182, 101, 0.12);
    color: var(--c-gold);
}

.admin-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
}

.admin-toggle:last-child {
    border-bottom: 0;
}

.admin-toggle-track {
    width: 42px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    position: relative;
    flex: 0 0 42px;
}

.admin-toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--c-text-3);
    border-radius: 50%;
    transition: left 200ms ease;
}

.admin-toggle.is-on .admin-toggle-track {
    background: rgba(230, 182, 101, 0.25);
}

.admin-toggle.is-on .admin-toggle-track::after {
    left: 21px;
    background: var(--c-gold);
}

.admin-toggle-label {
    flex: 1;
}

.admin-toggle-label strong {
    display: block;
    color: var(--c-text-2);
    font-weight: 500;
    font-size: 14px;
}

.admin-toggle-label span {
    color: var(--c-text-3);
    font-size: 13px;
}