/* ============================================================
   PROVERBIDIOM LABS — styles.css

   EDIT GUIDE:
   ┌─────────────────────────────────────────────────────────┐
   │  Colors   → update CSS variables in :root below         │
   │  Fonts    → update --font-display / --font-body here    │
   │             AND update the Google Fonts URL in HTML     │
   │  Spacing  → adjust --space-* variables in :root         │
   │  Width    → adjust --max-width in :root                 │
   └─────────────────────────────────────────────────────────┘
   ============================================================ */


/* ============================================================
   CSS CUSTOM PROPERTIES (Design tokens)
   ============================================================ */
:root {
    /* EDIT: Brand colors */
    --color-bg:           #F8F7FA;   /* faint lavender-white — main background */
    --color-bg-alt:       #F0EDF6;   /* slightly deeper — alternate sections */
    --color-text:         #1A1820;   /* near-black with a touch of purple */
    --color-text-muted:   #4E4A5A;   /* purple-tinted muted text — darkened for WCAG AA contrast */
    --color-accent:       #5B3E9A;   /* deep purple — primary accent */
    --color-accent-hover: #4A3282;   /* darker purple for hover states */
    --color-gold:         #C49A42;   /* warm gold — service numbers, CTAs */
    --color-border:       #DDD8E8;   /* purple-tinted border */
    --color-white:        #FFFFFF;
    --color-error:        #C0392B;   /* form validation error */
    --color-success-bg:   #F0EBF8;
    --color-success-text: #3B1F6E;
    --color-success-border: #C4A8E8;
    --color-error-bg:     #FDEEEE;
    --color-error-text:   #8B1A1A;
    --color-error-border: #F0B8B8;

    /* EDIT: Typography
       Update Google Fonts URL in <head> of index.html if you change these */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', system-ui, -apple-system, sans-serif;

    /* Spacing scale (based on 4px grid) */
    --space-1:  0.25rem;   /*  4px */
    --space-2:  0.5rem;    /*  8px */
    --space-3:  0.75rem;   /* 12px */
    --space-4:  1rem;      /* 16px */
    --space-5:  1.25rem;   /* 20px */
    --space-6:  1.5rem;    /* 24px */
    --space-8:  2rem;      /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */

    /* EDIT: Layout */
    --max-width:     1100px;
    --border-radius: 3px;

    /* Transitions */
    --transition:      200ms ease;
    --transition-slow: 500ms ease;

    /* Fixed header height */
    --header-height: 68px;
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 19px; /* EDIT: Base font size — scales all rem units */
    /* scroll-behavior: smooth removed — JS smooth scroll handles this with header offset */
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75; /* increased for readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Skip navigation link (ADA) ────────────────────────────
   Hidden off-screen until focused by keyboard — required for
   screen readers and keyboard-only users.
   ------------------------------------------------------------ */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 10000;
    padding: var(--space-3) var(--space-6);
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-white);
    outline-offset: -4px;
}

/* ── Focus-visible ring ─────────────────────────────────────
   Visible keyboard focus indicator for all interactive elements.
   Uses :focus-visible so mouse users don't see the ring.
   ------------------------------------------------------------ */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--border-radius);
}

/* Remove default outline since we're providing our own */
:focus:not(:focus-visible) {
    outline: none;
}

/* ── Grain texture overlay ──────────────────────────────────
   A subtle SVG noise layer sits over the entire page,
   giving the warm background a faint paper-like texture.
   EDIT: Adjust opacity (0.025–0.06) to taste.
   ------------------------------------------------------------ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.035;
    mix-blend-mode: multiply;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

textarea {
    resize: vertical;
}


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

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

.section-header {
    margin-bottom: var(--space-16);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: var(--space-3);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    max-width: 480px;
    font-weight: 300;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.8rem 1.75rem;
    border-radius: var(--border-radius);
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 1.5px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-text);
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background-color: var(--color-bg);
    border-bottom: 1px solid transparent;
    transition:
        border-color var(--transition),
        background-color var(--transition);
}

/* Added by script.js when the page is scrolled */
.site-header.scrolled {
    border-bottom-color: var(--color-border);
    background-color: rgba(248, 247, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

/* Business name / logo */
.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--color-accent);
}

/* Desktop nav links */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-left: auto;
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
    transition: color var(--transition);
    /* 44px min touch target (WCAG 2.5.5) */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-1);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--color-text);
}

.nav-desktop a.active {
    font-weight: 500;
}

.nav-cta {
    margin-left: var(--space-4);
}


/* ============================================================
   HAMBURGER MENU BUTTON
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: var(--space-2);
    margin-left: auto;
    width: 44px;  /* WCAG 2.5.5 minimum touch target */
    height: 44px; /* WCAG 2.5.5 minimum touch target */
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--color-text);
    transition:
        transform var(--transition),
        opacity var(--transition);
    transform-origin: center;
}

/* X state — toggled by script.js */
.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background-color: var(--color-bg);
    z-index: 99;
    padding: var(--space-12) var(--space-8);
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-6);
    transition: color var(--transition);
    line-height: 1.2;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.mobile-nav-cta {
    margin-top: var(--space-4);
    align-self: flex-start;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-8);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Video background — fills hero, sits behind text */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* EDIT: opacity controls how vivid the video is (0 = invisible, 1 = full) */
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

/* Gradient scrim between video and text — ensures readable contrast (ADA)
   Dark on the left (where text lives), fades to transparent on the right */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(18, 15, 26, 0.72) 0%,
        rgba(18, 15, 26, 0.38) 50%,
        rgba(18, 15, 26, 0.00) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Keep hero text above video AND scrim */
.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-6);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-8);
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-headline span {
    text-shadow: 0 2px 22px rgba(196, 154, 66, 0.55);
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: var(--space-10);
    font-weight: 300;
}

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

/* Ghost button override inside hero — solid white over video background */
.hero .btn-ghost {
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero .btn-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
}


/* ============================================================
   WORK / PORTFOLIO
   ============================================================ */
.work-section {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.work-group-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.work-list {
    display: flex;
    flex-direction: column;
}

.work-item {
    border-top: 1px solid var(--color-border);
}

.work-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

/* Live project links */
.work-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-6) 0;
    gap: var(--space-4);
}

/* Container for name + desc + tags */
.work-info {
    flex: 1;
    min-width: 0;
}

/* Classic retro hyperlink blue — intentional old-school touch */
.work-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: var(--space-2);
    color: #0000EE;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.work-link:hover .work-name {
    color: #0000EE;
    text-decoration-thickness: 2px;
}

/* EDIT: Short project description */
.work-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: var(--space-3);
    transition: color var(--transition);
}

.work-link:hover .work-desc {
    color: var(--color-text-muted); /* stays muted on hover */
}

/* Tech / hosting tag pills */
.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

/* EDIT: Individual tag — update text in index.html */
.work-tag {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    background-color: var(--color-border);
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    transition: none; /* tags don't change on hover */
}

.work-arrow {
    font-size: 1rem;
    color: var(--color-text-muted);
    transition:
        transform var(--transition),
        color var(--transition);
    flex-shrink: 0;
    margin-top: 0.2rem; /* align with first line of text */
}

.work-link:hover .work-arrow {
    transform: translateX(5px);
    color: var(--color-accent);
}

/* Coming soon items */
.work-item.coming-soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) 0;
    gap: var(--space-4);
}

.work-item.coming-soon .work-name {
    color: var(--color-text-muted);
    font-style: italic;
    text-decoration: none; /* not a link — remove inherited underline */
}

.work-badge {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--color-border);
    color: var(--color-text-muted);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    flex-shrink: 0;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    padding: var(--space-10) 0;
    border-top: 2px solid var(--color-border);
    transition: border-top-color var(--transition);
}

.service-card:hover {
    border-top-color: var(--color-accent);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: var(--space-5);
    letter-spacing: 0.08em;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.service-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    align-items: start;
}

/* Sticky label on desktop */
.about-left .section-title {
    position: sticky;
    top: calc(var(--header-height) + var(--space-8));
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: var(--space-6);
}

.about-quote {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-text);
    border-left: 2px solid var(--color-accent);
    padding-left: var(--space-6);
    margin-top: var(--space-10);
    line-height: 1.4;
}


/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.contact-form {
    max-width: 680px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-6);
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.required {
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.5;
    transition: border-color var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ABABAB;
}

/* Validation — invalid state added by script.js */
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--color-error);
}

.field-error {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-error);
    margin-top: var(--space-1);
    min-height: 1.25em;
    line-height: 1.4;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.btn-submit {
    padding: 0.9rem 2rem;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Form status messages (shown/hidden by script.js) */
.form-message {
    display: none;
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.form-message.success {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
}

.form-message.error {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border: 1px solid var(--color-error-border);
}

.form-message.visible {
    display: block;
}

.form-message a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Fallback email shown below the form */
.contact-fallback {
    margin-top: var(--space-8);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.contact-fallback a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.contact-fallback a:hover {
    color: var(--color-accent-hover);
}


/* ============================================================
   FOOTER
   EDIT: Background color — #120F1A is deep purple-black.
         Swap for any dark color, e.g. #0D0D0D for neutral black.
   ============================================================ */
.site-footer {
    background-color: #120F1A;
    padding: var(--space-12) 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
}

.footer-email {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.footer-email:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
    display: flex;
    gap: var(--space-6);
    margin-left: auto;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.40);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.25);
    width: 100%;
    margin-top: var(--space-2);
}


/* ============================================================
   SCROLL ANIMATIONS
   Elements with .fade-in start invisible; script.js adds
   .visible when they enter the viewport.
   EDIT: To disable, remove .fade-in classes from index.html
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

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


/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-card {
        padding: var(--space-8) 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

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

    /* Disable sticky on mobile */
    .about-left .section-title {
        position: static;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {

    :root {
        --header-height: 60px;
    }

    .container {
        padding: 0 var(--space-5);
    }

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

    .section-header {
        margin-bottom: var(--space-10);
    }

    /* Hide desktop nav, show hamburger */
    .nav-desktop,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    /* Hero adjustments */
    .hero {
        padding-top: calc(var(--header-height) + var(--space-8));
        padding-bottom: var(--space-8);
        min-height: 85vh;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Form stacks to single column */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer stacks vertically */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-6);
    }

    .footer-nav {
        margin-left: 0;
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .footer-copy {
        margin-top: 0;
    }
}
