/* ==========================================================
   CALIFORNIA OLIVE FESTIVAL
   Shared Website Stylesheet

   File:
   /style.css

   Intended use:
   - Privacy Policy
   - Terms of Use
   - SMS Terms
   - Contact pages
   - Registration pages
   - General festival website pages

   Version: 1.0
   ========================================================== */


/* ==========================================================
   1. DESIGN VARIABLES
   ========================================================== */

:root {
    /* Primary olive palette */
    --olive-950: #252b1e;
    --olive-900: #303824;
    --olive-800: #3f4930;
    --olive-700: #53603d;
    --olive-600: #68774b;
    --olive-500: #7f8f5d;
    --olive-400: #9eac7b;
    --olive-300: #bcc6a0;
    --olive-200: #d8dfc8;
    --olive-100: #edf0e5;
    --olive-50: #f6f7f2;

    /* Wine and harvest accents */
    --wine-900: #4a2024;
    --wine-800: #5f292f;
    --wine-700: #77353c;
    --wine-600: #8e454b;
    --wine-100: #f1e4e4;

    --gold-700: #987537;
    --gold-600: #ac8743;
    --gold-500: #bf9b58;
    --gold-400: #cfb276;
    --gold-200: #e6d5ad;
    --gold-100: #f3ead5;

    /* Warm neutrals */
    --cream-50: #fcfaf5;
    --cream-100: #f7f3e9;
    --cream-200: #eee7d8;
    --cream-300: #e1d7c5;

    --stone-900: #272923;
    --stone-800: #373a32;
    --stone-700: #4d5048;
    --stone-600: #666960;
    --stone-500: #7d8077;
    --stone-400: #9a9c94;
    --stone-300: #b8bab3;
    --stone-200: #d5d6d0;
    --stone-100: #e9e9e5;
    --stone-50: #f5f5f2;

    /* Semantic colors */
    --page-background: var(--cream-100);
    --surface: #ffffff;
    --surface-soft: var(--cream-50);
    --surface-olive: var(--olive-50);

    --text-primary: var(--stone-900);
    --text-secondary: var(--stone-600);
    --text-light: #ffffff;

    --heading-color: var(--olive-900);
    --link-color: var(--olive-700);
    --link-hover: var(--wine-700);

    --border-light: rgba(63, 73, 48, 0.14);
    --border-medium: rgba(63, 73, 48, 0.28);

    --focus-color: rgba(104, 119, 75, 0.32);

    /* Typography */
    --font-display:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    --font-body:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    --font-label:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    /* Layout */
    --site-width: 1280px;
    --content-width: 860px;
    --reading-width: 760px;
    --nav-height: 78px;

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

    /* Corners and shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 22px;

    --shadow-soft:
        0 10px 35px rgba(37, 43, 30, 0.08);

    --shadow-medium:
        0 18px 55px rgba(37, 43, 30, 0.13);

    /* Animation */
    --transition-fast: 160ms ease;
    --transition-standard: 260ms ease;
}


/* ==========================================================
   2. RESET AND GLOBAL BASE
   ========================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            var(--cream-50) 0%,
            var(--cream-100) 45%,
            var(--cream-200) 100%
        );
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--link-color);
    text-decoration-color: rgba(83, 96, 61, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast);
}

a:hover {
    color: var(--link-hover);
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 3px;
}

::selection {
    background: var(--olive-200);
    color: var(--olive-950);
}


/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--heading-color);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.16;
}

h1 {
    margin-bottom: var(--space-6);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h2 {
    margin-bottom: var(--space-5);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    margin-bottom: var(--space-4);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

h4 {
    margin-bottom: var(--space-3);
    font-size: 1.2rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--space-5);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    color: var(--stone-900);
    font-weight: 650;
}

small {
    font-size: 0.875rem;
}

.lead {
    color: var(--stone-700);
    font-family: var(--font-display);
    font-size: clamp(1.18rem, 2vw, 1.48rem);
    line-height: 1.6;
}

.eyebrow {
    display: inline-block;
    margin-bottom: var(--space-4);
    color: var(--olive-700);
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.text-muted {
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ==========================================================
   4. GENERAL LAYOUT
   ========================================================== */

.site-shell {
    min-height: 100vh;
}

.site-container {
    width: min(calc(100% - 40px), var(--site-width));
    margin-inline: auto;
}

.content-container {
    width: min(calc(100% - 40px), var(--content-width));
    margin-inline: auto;
}

.reading-container {
    width: min(calc(100% - 40px), var(--reading-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--space-20);
}

.section-sm {
    padding-block: var(--space-12);
}

.section-lg {
    padding-block: var(--space-24);
}

.section-white {
    background: var(--surface);
}

.section-cream {
    background: var(--cream-100);
}

.section-olive {
    background: var(--olive-900);
    color: var(--text-light);
}

.section-olive h1,
.section-olive h2,
.section-olive h3,
.section-olive h4 {
    color: var(--text-light);
}

.section-divider {
    width: 88px;
    height: 1px;
    margin: var(--space-8) 0;
    border: 0;
    background: var(--gold-500);
}

.section-divider.centered {
    margin-inline: auto;
}


/* ==========================================================
   5. SITE HEADER AND NAVIGATION
   ========================================================== */

.site-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    background: rgba(252, 250, 245, 0.96);
    backdrop-filter: blur(12px);
}

.site-header.is-sticky {
    position: sticky;
    top: 0;
}

.header-inner {
    display: flex;
    min-height: var(--nav-height);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--olive-900);
    text-decoration: none;
}

.site-brand:hover {
    color: var(--olive-700);
}

.site-logo {
    width: auto;
    max-height: 58px;
}

.site-brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.primary-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    list-style: none;
}

.primary-nav a {
    color: var(--stone-800);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--olive-700);
}


/* ==========================================================
   6. HERO AREAS
   ========================================================== */

.hero {
    position: relative;
    display: grid;
    min-height: 520px;
    align-items: end;
    overflow: hidden;
    background-color: var(--olive-900);
    color: var(--text-light);
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            180deg,
            rgba(31, 36, 23, 0.14) 0%,
            rgba(31, 36, 23, 0.35) 45%,
            rgba(31, 36, 23, 0.84) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--site-width));
    margin-inline: auto;
    padding-block: clamp(4rem, 10vw, 8rem);
}

.hero-content-inner {
    max-width: 760px;
}

.hero h1 {
    color: var(--text-light);
    text-wrap: balance;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.88);
}


/* Legal-page hero */

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) 0;
    border-bottom: 1px solid rgba(191, 155, 88, 0.28);
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(191, 155, 88, 0.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--olive-950) 0%,
            var(--olive-900) 52%,
            var(--olive-800) 100%
        );
    color: var(--text-light);
}

.legal-hero::before {
    position: absolute;
    top: -80px;
    right: -50px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(216, 223, 200, 0.13);
    border-radius: 50%;
    content: "";
}

.legal-hero h1 {
    max-width: 800px;
    margin-bottom: var(--space-4);
    color: var(--text-light);
}

.legal-hero .eyebrow {
    color: var(--gold-400);
}

.legal-hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
}

.legal-meta {
    display: flex;
    margin-top: var(--space-8);
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-8);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.legal-meta strong {
    color: rgba(255, 255, 255, 0.95);
}


/* ==========================================================
   7. LEGAL DOCUMENT LAYOUT
   ========================================================== */

.legal-page {
    padding-block: clamp(3rem, 7vw, 6rem);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.legal-document {
    min-width: 0;
}

.legal-introduction {
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid var(--border-light);
}

.legal-section {
    padding-block: var(--space-10);
    border-bottom: 1px solid var(--border-light);
    scroll-margin-top: calc(var(--nav-height) + 30px);
}

.legal-section:first-child {
    padding-top: 0;
}

.legal-section:last-child {
    border-bottom: 0;
}

.legal-section h2 {
    position: relative;
    padding-top: var(--space-2);
}

.legal-section h2::before {
    display: block;
    width: 46px;
    height: 2px;
    margin-bottom: var(--space-5);
    content: "";
    background: var(--gold-500);
}

.legal-section h3 {
    margin-top: var(--space-8);
}

.legal-section ul,
.legal-section ol {
    margin: var(--space-4) 0 var(--space-6);
    padding-left: 1.35rem;
}

.legal-section li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

.legal-section li::marker {
    color: var(--olive-600);
}

.legal-highlight {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    border-left: 3px solid var(--gold-500);
    background: var(--surface-olive);
}

.legal-highlight p:last-child {
    margin-bottom: 0;
}

.legal-contact-card {
    margin-top: var(--space-8);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.legal-contact-card address {
    font-style: normal;
}


/* ==========================================================
   8. TABLE OF CONTENTS
   ========================================================== */

.legal-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 28px);
}

.table-of-contents {
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
}

.table-of-contents-title {
    margin-bottom: var(--space-4);
    color: var(--olive-900);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.table-of-contents ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: legal-sections;
}

.table-of-contents li {
    counter-increment: legal-sections;
}

.table-of-contents a {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    padding: 0.46rem 0;
    color: var(--stone-700);
    font-size: 0.88rem;
    line-height: 1.35;
    text-decoration: none;
}

.table-of-contents a::before {
    color: var(--gold-700);
    content: counter(legal-sections, decimal-leading-zero);
    font-family: var(--font-display);
}

.table-of-contents a:hover {
    color: var(--olive-800);
}


/* ==========================================================
   9. CARDS AND CONTENT BLOCKS
   ========================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
}

.content-card {
    padding: var(--space-8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.content-card h3 {
    margin-bottom: var(--space-3);
}

.content-card p:last-child {
    margin-bottom: 0;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: var(--radius-xl);
    background: var(--olive-900);
    color: var(--text-light);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    padding: var(--space-8);
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgba(31, 36, 23, 0.86) 100%
        );
}

.feature-card-overlay h2,
.feature-card-overlay h3 {
    color: var(--text-light);
}


/* ==========================================================
   10. BUTTONS AND LINKS
   ========================================================== */

.button,
button.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0.85rem 1.55rem;
    border: 1px solid transparent;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color var(--transition-standard),
        border-color var(--transition-standard),
        color var(--transition-standard),
        transform var(--transition-standard);
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--olive-800);
    color: var(--text-light);
}

.button-primary:hover {
    background: var(--olive-700);
    color: var(--text-light);
}

.button-gold {
    background: var(--gold-500);
    color: var(--olive-950);
}

.button-gold:hover {
    background: var(--gold-400);
    color: var(--olive-950);
}

.button-outline {
    border-color: var(--olive-700);
    background: transparent;
    color: var(--olive-800);
}

.button-outline:hover {
    background: var(--olive-800);
    color: var(--text-light);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link::after {
    content: "→";
    transition: transform var(--transition-fast);
}

.text-link:hover::after {
    transform: translateX(4px);
}


/* ==========================================================
   11. FORMS
   ========================================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--stone-800);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.form-help {
    display: block;
    margin-top: var(--space-2);
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--stone-300);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

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

input:focus,
select:focus,
textarea:focus {
    border-color: var(--olive-600);
    box-shadow: 0 0 0 4px var(--focus-color);
    outline: none;
}

.checkbox-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.checkbox-row input {
    margin-top: 0.35rem;
    accent-color: var(--olive-700);
}

.consent-panel {
    margin-top: var(--space-8);
    padding: var(--space-6);
    border: 1px solid var(--border-medium);
    background: var(--cream-50);
}


/* ==========================================================
   12. TABLES
   ========================================================== */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--olive-50);
    color: var(--olive-900);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

tbody tr:last-child td {
    border-bottom: 0;
}


/* ==========================================================
   13. BREADCRUMBS
   ========================================================== */

.breadcrumbs {
    display: flex;
    margin: 0;
    padding: var(--space-4) 0;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    color: var(--stone-500);
    font-size: 0.82rem;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    margin-left: var(--space-2);
    color: var(--stone-400);
    content: "/";
}

.breadcrumbs a {
    color: var(--stone-600);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--olive-700);
}


/* ==========================================================
   14. FOOTER
   ========================================================== */

.site-footer {
    border-top: 1px solid rgba(216, 223, 200, 0.16);
    background: var(--olive-950);
    color: rgba(255, 255, 255, 0.74);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 0.7fr));
    gap: var(--space-12);
    padding-block: var(--space-16);
}

.footer-brand {
    max-width: 420px;
}

.footer-brand h2,
.footer-brand h3 {
    color: var(--text-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.68);
}

.footer-heading {
    margin-bottom: var(--space-4);
    color: var(--gold-400);
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    padding-block: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: var(--space-4);
    list-style: none;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--text-light);
}


/* ==========================================================
   15. ACCESSIBILITY HELPERS
   ========================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    z-index: 1000;
    padding: 0.8rem 1rem;
    background: var(--olive-950);
    color: var(--text-light);
    text-decoration: none;
}

.skip-link:focus {
    top: var(--space-4);
}

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


/* ==========================================================
   16. UTILITY CLASSES
   ========================================================== */

.margin-0 {
    margin: 0;
}

.margin-top-sm {
    margin-top: var(--space-4);
}

.margin-top-md {
    margin-top: var(--space-8);
}

.margin-top-lg {
    margin-top: var(--space-12);
}

.margin-bottom-sm {
    margin-bottom: var(--space-4);
}

.margin-bottom-md {
    margin-bottom: var(--space-8);
}

.margin-bottom-lg {
    margin-bottom: var(--space-12);
}

.visually-separated {
    border-top: 1px solid var(--border-light);
}

.surface {
    background: var(--surface);
}

.surface-soft {
    background: var(--surface-soft);
}


/* ==========================================================
   17. RESPONSIVE DESIGN
   ========================================================== */

@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .table-of-contents {
        padding: var(--space-5);
    }

    .table-of-contents ol {
        columns: 2;
        column-gap: var(--space-8);
    }

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

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 760px) {
    :root {
        --nav-height: 66px;
    }

    body {
        font-size: 15.5px;
    }

    .site-container,
    .content-container,
    .reading-container,
    .hero-content {
        width: min(calc(100% - 28px), var(--site-width));
    }

    .header-inner {
        min-height: var(--nav-height);
    }

    .site-brand-text {
        font-size: 1.05rem;
    }

    .site-logo {
        max-height: 48px;
    }

    .primary-nav {
        display: none;
    }

    .hero {
        min-height: 440px;
    }

    .legal-hero {
        padding: var(--space-16) 0;
    }

    .legal-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .table-of-contents ol {
        columns: 1;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 480px) {
    .section {
        padding-block: var(--space-12);
    }

    .section-lg {
        padding-block: var(--space-16);
    }

    .legal-section {
        padding-block: var(--space-8);
    }

    .legal-highlight,
    .legal-contact-card,
    .table-of-contents,
    .content-card {
        padding: var(--space-5);
    }

    .button,
    button.button {
        width: 100%;
    }
}


/* ==========================================================
   18. PRINT STYLES FOR LEGAL DOCUMENTS
   ========================================================== */

@media print {
    body {
        background: #ffffff;
        color: #000000;
        font-size: 11pt;
        line-height: 1.5;
    }

    .site-header,
    .site-footer,
    .legal-sidebar,
    .breadcrumbs,
    .button,
    .skip-link {
        display: none !important;
    }

    .legal-hero {
        padding: 0 0 24pt;
        border-bottom: 1px solid #999999;
        background: #ffffff;
        color: #000000;
    }

    .legal-hero h1,
    .legal-hero .lead,
    .legal-hero .eyebrow,
    .legal-meta,
    .legal-meta strong {
        color: #000000;
    }

    .legal-page {
        padding: 24pt 0 0;
    }

    .legal-layout {
        display: block;
    }

    .site-container,
    .content-container,
    .reading-container {
        width: 100%;
        max-width: none;
    }

    .legal-section {
        break-inside: avoid;
    }

    .legal-section h2 {
        break-after: avoid;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        word-break: break-all;
    }
}


/* ==========================================================
   19. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}