/**
 * SF Bay Signs - Main Stylesheet
 * 
 * File structure:
 * 1. CSS Variables / Design Tokens
 * 2. Reset / Base Styles
 * 3. Typography
 * 4. Layout
 * 5. Components
 * 6. Navigation System
 * 7. Utilities
 */

/* ==========================================================================
   1. CSS Variables / Design Tokens
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #0066cc;
    --color-secondary: #333333;
    --color-accent: #ff6600;
    --color-background: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;

    /* Header/Nav (high-contrast theme) */
    --nav-bg: #ffffff;
    --nav-fg: #000000;
    --nav-panel-bg: #000000;
    --nav-panel-fg: #ffffff;
    --nav-border: #000000;
    --nav-radius: 12.5px;
    --nav-shadow: 0 18px 40px rgba(0,0,0,0.22);
    
    /* Typography */
    --font-family-primary: "HK Grotesk", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-heading: var(--font-family-primary);
    
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

/* ==========================================================================
   Webfonts
   ========================================================================== */

@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-light-italic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-medium-italic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-semibold-italic.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-bold-italic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-extrabold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HK Grotesk";
    src: url("/fonts/hk-grotesk/hk-grotesk-black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. Reset / Base Styles
   ========================================================================== */

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

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

main {
    min-height: calc(100vh - var(--header-height) - 200px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 3.6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

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

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: max(1.25rem, 5vw) max(1.25rem, 5vw) 0.75rem;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(1rem, 3vw, 2.25rem);
    margin: 0 0 1.25rem;
    max-width: none;
}

.footer-container {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-mark {
    position: relative;
    width: min(15.5rem, 22vw);
    height: min(15.5rem, 22vw);
    border-radius: 999px;
    background: #000;
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    justify-self: start;
    align-self: start;
    margin: 0.75rem 1.25rem 1.25rem 0;
    animation: footerMarkBob 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.footer-mark-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: min(5.6rem, 8.5vw);
    line-height: 1;
    letter-spacing: 0;
}

.footer-mark-face--a {
    animation: footerMarkFaceA 4s steps(1, end) infinite;
}

.footer-mark-face--b {
    opacity: 0;
    animation: footerMarkFaceB 4s steps(1, end) infinite;
}

@keyframes footerMarkBob {
    0%, 74% { transform: translateY(0) scale(1); }
    78% { transform: translateY(-2px) scale(1.08); }
    86% { transform: translateY(-1px) scale(1.03); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes footerMarkFaceA {
    0%, 74% { opacity: 1; }
    78%, 86% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes footerMarkFaceB {
    0%, 74% { opacity: 0; }
    78%, 86% { opacity: 1; }
    100% { opacity: 0; }
}

.footer-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    color: #fff;
}

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

.footer-section li {
    margin-bottom: 0.35rem;
}

.footer-section a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition-fast), transform var(--transition-fast), text-decoration-color var(--transition-fast);
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transform: translateX(1px);
}

.footer-section a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 6px;
    padding: 0.1rem 0.25rem;
    margin: -0.1rem -0.25rem;
}

.footer-about p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.footer-about .footer-contact-link {
    color: inherit;
    text-transform: none;
    letter-spacing: 0;
    font-weight: inherit;
    font-size: inherit;
    display: inline;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.45);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-about .footer-contact-link:hover {
    color: #fff;
    text-decoration-color: #fff;
    transform: none;
}

.footer-about .footer-contact-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 6px;
    padding: 0.05rem 0.2rem;
    margin: -0.05rem -0.2rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.65rem;
}

.footer-about .footer-social-link {
    color: rgba(255,255,255,0.82);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.45);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-about .footer-social-link:hover {
    color: #fff;
    text-decoration-color: #fff;
    transform: none;
}

.footer-about .footer-social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 6px;
    padding: 0.05rem 0.2rem;
    margin: -0.05rem -0.2rem;
}

.footer-bottom {
    max-width: none;
    margin: 1.25rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* Desktop: 3 columns (content) */
@media (min-width: 769px) {
    .footer-container {
        grid-template-columns: 1.25fr 1fr 1.15fr;
        gap: 1.5rem;
    }

    .footer-locations ul {
        columns: 2;
        column-gap: 1.25rem;
    }

    .footer-locations li {
        break-inside: avoid;
    }
}

/* Tablet: 2 columns */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-mark,
    .footer-logo {
        justify-self: center;
    }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.home {
    --bg: #fff;
    --text: #111;
    --accent: #000;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;
    --max: 90rem;

    color: var(--text);
}

.home .product-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.5rem 0 3rem;
}

.home .about-section {
    margin-bottom: 3rem;
}

.home .about-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .about-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.25s;
}

.home .about-card:hover {
    transform: translateY(-4px);
}

.home .about-card p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

/* Hero */
.home .hero-section-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: center;
}

.home .hero-top-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.home .hero-profile-photo-card {
    width: 381.6px;
    height: 381.6px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card-bg);
    padding: 5px;
    flex-shrink: 0;
    border: 2px solid #000;
    transition: transform 0.25s;
}

.home .hero-profile-photo-card:hover {
    transform: translateY(-4px);
}

.home .hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.home .hero-business-info-card {
    flex-grow: 1;
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s;
}

.home .hero-business-info-card:hover {
    transform: translateY(-4px);
}

.home .hero-business-banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: calc(var(--r) - 8px);
    margin-bottom: 1rem;
}

.home .hero-blurb {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1.5rem;
}

.home .hero-blurb p {
    margin: 0;
}

.home .hero-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .home .hero-top-container {
        flex-direction: column;
        align-items: center;
    }

    .home .hero-profile-photo-card {
        margin-bottom: 1rem;
        width: 225px;
        height: 225px;
    }

    .home .hero-business-info-card {
        width: 100%;
        align-items: center;
    }

    .home .hero-blurb {
        text-align: center;
    }

    .home .hero-cta-buttons {
        justify-content: center;
    }
}

/* Trusted by + stats */
.home .trusted-by-heading {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home .trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.home .trust-logo {
    width: 160px;
    height: 120px;
    background: #fff;
    border-radius: calc(var(--r) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s;
}

.home .trust-logo:hover {
    transform: translateY(-4px);
}

.home .trust-logo img {
    max-width: 80%;
    max-height: 80%;
    width: 160px;
    height: 120px;
    object-fit: contain;
}

.home .trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.home .trust-indicator {
    flex: 1 1 150px;
    max-width: 225px;
    padding: 1.1rem;
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    margin: 0.5rem;
    transition: transform 0.25s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 95px;
}

.home .trust-indicator:hover {
    transform: translateY(-4px);
}

.home .trust-indicator h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .trust-indicator p {
    font-size: 0.75rem;
    color: #444;
    margin: 0;
}

.home .founder-message {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.home .founder-message p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Product cards */
.home .category {
    margin-bottom: 3.5rem;
}

.home .category h2 {
    font-size: 1.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .product-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 600px));
    justify-content: center;
    margin: 0 auto;
}

.home .card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s;
    height: 100%;
}

.home .card:hover {
    transform: translateY(-4px);
}

.home .card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.55rem;
    background: var(--accent);
    border-top-left-radius: var(--r);
    border-bottom-left-radius: var(--r);
}

.home .card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #fff;
    overflow: hidden;
}

.home .card-img picture,
.home .card-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.home .card-img img {
    object-fit: cover;
}

.home .card-body {
    padding: 1.1rem 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home .card-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .card-text {
    font-size: 0.92rem;
    color: #444;
    margin: 0;
    flex: 1;
}

.home .card-cta-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #007bff;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .card-cta-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .home .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* Info cards */
.home .info-card {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    transition: transform 0.25s;
}

.home .info-card:hover {
    transform: translateY(-4px);
}

.home .info-card::before {
    display: none;
}

.home .info-card__img {
    flex: 0 0 auto;
    overflow: hidden;
    background: #eee;
    min-width: 200px;
}

.home .info-card__img picture,
.home .info-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home .info-card__body {
    flex: 1 1 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.home .info-card__body h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .info-card__body p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
}

.home .dual-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20%;
    margin-bottom: 2rem;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.home .dual-service-grid .info-card__body {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .home .info-card {
        flex-direction: column;
    }

    .home .info-card__img {
        width: 100%;
        min-width: 0;
    }

    .home .info-card__body {
        text-align: left;
        padding: 1rem;
    }

    .home .dual-service-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1.5rem;
    }
}

/* Process */
.home .process-columns-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.home .process-column-title {
    text-align: center;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.08em;
    min-height: 3.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.home .process-column-content-box {
    background: #000;
    border-radius: var(--r);
    padding: 13px 10px;
    margin-bottom: 1.5rem;
}

.home .process-step-card {
    min-height: 350px;
    height: auto;
}

.home .process-step-card .info-card__body {
    justify-content: flex-start;
}

.home .process-section .info-card__img {
    aspect-ratio: 4 / 3;
}

.home .process-section .info-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 1.5rem;
}

.home .process-column-content-box .process-step-card:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .home .process-columns-container {
        grid-template-columns: 1fr;
    }

    .home .process-column-title {
        min-height: 0;
    }

    .home .process-column-content-box {
        margin-bottom: 2rem;
    }
}

/* Testimonials */
.home .testimonial-image-placeholder-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
    transition: transform 0.25s;
}

.home .testimonial-image-placeholder-container:hover {
    transform: translateY(-4px);
}

.home .testimonial-main-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.home .testimonial-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s;
}

.home .testimonial-card:hover {
    transform: translateY(-4px);
}

.home .review-content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home .testimonial-card details {
    width: 100%;
}

.home .testimonial-card summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    list-style: none;
    outline: none;
    position: relative;
    padding-bottom: 0.5rem;
}

.home .testimonial-card summary::-webkit-details-marker {
    display: none;
}

.home .testimonial-card summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 3px;
}

.home .summary-main-content {
    flex-grow: 1;
    margin-right: 1rem;
}

.home .summary-main-content .review-short-text {
    font-size: 1rem;
    color: #444;
    margin: 0;
    display: block;
}

.home .details-marker {
    font-size: 1.2em;
    line-height: 1;
    font-weight: bold;
    color: var(--accent);
    flex-shrink: 0;
    padding: 0.1em 0.4em;
    border: 1px solid var(--accent);
    border-radius: 4px;
    min-width: 1.5em;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

.home .testimonial-card summary:hover .details-marker {
    background: var(--accent);
    color: var(--bg);
}

.home .testimonial-card details[open] > summary .details-marker::before {
    content: "−";
}

.home .testimonial-card details:not([open]) > summary .details-marker::before {
    content: "+";
}

.home .review-more-content {
    padding-top: 0.75rem;
    margin-left: 0;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.home .testimonial-static-content .review-text-full {
    font-size: 1rem;
    color: #444;
    margin: 0;
}

.home .testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.home .testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    background: #eee;
}

.home .testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .testimonial-author-info h5 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.25rem;
}

.home .testimonial-author-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.home .testimonial-cta {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ */
.home .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.home .faq-item {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.25s;
}

.home .faq-item:hover {
    transform: translateY(-4px);
}

.home .faq-question {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
}

.home .faq-answer {
    font-size: 0.95rem;
    color: #444;
}

/* CTA */
.home .cta-section {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    transition: transform 0.25s;
    translate: 0 0;
    scale: 1;
    animation: homeCtaBob 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    will-change: transform;
}

.home .cta-section:hover {
    transform: translateY(-4px);
}

@keyframes homeCtaBob {
    0%, 74% { translate: 0 0; scale: 1; }
    78% { translate: 0 -2px; scale: 1.02; }
    86% { translate: 0 -1px; scale: 1.01; }
    100% { translate: 0 0; scale: 1; }
}

.home .cta-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #444;
}

.home .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home .cta-button {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    flex: 0 1 auto;
    text-align: center;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .cta-button-primary {
    background: #000;
    color: #fff;
}

.home .cta-button-primary:hover {
    color: #fff;
}

.home .cta-button-secondary {
    background: #fff;
    color: #000;
    border-color: #000;
}

.home .cta-button-secondary:hover {
    color: #000;
}

.home .cta-note {
    font-size: 0.9rem;
    margin: 1rem 0 0;
    color: #666;
}

/* Sticky CTA (mobile only) */
.home .sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 1rem;
    z-index: 100;
}

.home .sticky-cta-buttons {
    display: flex;
    gap: 0.5rem;
}

.home .sticky-cta-button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .home {
        padding-bottom: 70px;
    }

    .home .sticky-cta {
        display: block;
    }
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-page .full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.gallery-page .gallery-hero img {
    width: 100%;
    height: min(46vw, 420px);
    object-fit: cover;
}

.gallery-page .gallery-intro {
    max-width: 56rem;
    margin: 2rem auto;
    text-align: center;
}

.gallery-page .gallery-intro h1 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-page .gallery-intro p {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.65;
}

.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gallery-page .gallery-thumb {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-page .gallery-thumb:hover,
.gallery-page .gallery-thumb:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.gallery-page .gallery-thumb:focus-visible {
    outline: none;
}

.gallery-page .gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-page .gallery-hero img {
        height: min(58vw, 360px);
    }

    .gallery-page .gallery-intro {
        margin: 1.5rem auto;
        text-align: left;
    }

    .gallery-page .gallery-intro h1 {
        font-size: 1.6rem;
    }

    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: min(5vw, 2rem);
}

.gallery-lightbox.is-open {
    display: flex;
}

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

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 92vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-lightbox-image {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    cursor: zoom-out;
    background: #111;
    box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

.gallery-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.96);
    color: #000;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-lightbox-close:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.gallery-lightbox-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0,0,0,0.85), 0 10px 30px rgba(0,0,0,0.4);
}

/* ==========================================================================
   Notes
   ========================================================================== */

.notes-index-page {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.notes-index-page .notes-breadcrumbs {
    font-size: 0.92rem;
    color: #444;
    margin: 0 0 1.25rem;
}

.notes-index-page .notes-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notes-index-page .notes-breadcrumbs a {
    color: #000;
    text-decoration: none;
}

.notes-index-page .notes-breadcrumbs a:hover,
.notes-index-page .notes-breadcrumbs a:focus {
    text-decoration: underline;
}

.notes-index-page .notes-index-hero {
    text-align: center;
    margin: 0 0 2rem;
}

.notes-index-page .notes-index-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notes-index-page .notes-index-hero p {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.65;
}

.notes-index-page .notes-month {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 2rem 0 0.75rem;
    color: #000;
}

.notes-index-page .notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 14px;
    overflow: hidden;
}

.notes-index-page .notes-item {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-top: 1px solid rgba(0,0,0,0.12);
    background: #fff;
}

.notes-index-page .notes-item:first-child {
    border-top: none;
}

.notes-index-page .notes-date {
    font-size: 0.92rem;
    color: #555;
    white-space: nowrap;
}

.notes-index-page .notes-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
}

.notes-index-page .notes-link:hover,
.notes-index-page .notes-link:focus {
    text-decoration: underline;
}

.notes-index-page .notes-empty {
    color: #444;
    text-align: center;
    margin: 2rem 0 0;
}

@media (max-width: 640px) {
    .notes-index-page .notes-item {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .notes-index-page .notes-date {
        white-space: normal;
    }
}

.note-page {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.note-page .note-breadcrumbs {
    font-size: 0.92rem;
    color: #444;
    margin: 0 0 1.25rem;
}

.note-page .note-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.note-page .note-breadcrumbs a {
    color: #000;
    text-decoration: none;
}

.note-page .note-breadcrumbs a:hover,
.note-page .note-breadcrumbs a:focus {
    text-decoration: underline;
}

.note-page .note-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 1.5rem;
}

.note-page .note-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    color: #444;
    font-size: 0.95rem;
}

.note-page .note-author,
.note-page .note-updated {
    color: #444;
}

.note-page .note-backlink {
    color: #000;
    text-decoration: none;
}

.note-page .note-backlink:hover,
.note-page .note-backlink:focus {
    text-decoration: underline;
}

.note-page .note-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 0.85rem;
    letter-spacing: 0.01em;
    text-transform: none;
}

.note-page .note-dek {
    margin: 0;
    color: #444;
    font-size: 1.08rem;
    line-height: 1.7;
}

.note-page .note-takeaways {
    margin: 1.35rem auto 0;
    padding: 1.25rem 1.4rem;
    background: #fafafa;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.note-page .note-takeaways-heading {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
}

.note-page .note-takeaways-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #222;
}

.note-page .note-takeaways-list li {
    margin: 0.4rem 0;
    line-height: 1.6;
}

.note-page .note-hero {
    margin: 1.75rem 0 0;
}

.note-page .note-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.note-page .note-content {
    max-width: 56rem;
    margin: 2rem auto 0;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.75;
}

.note-page .note-content ul,
.note-page .note-content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.25rem;
}

.note-page .note-content li {
    margin: 0.35rem 0;
}

.note-page .note-content blockquote {
    margin: 1.3rem 0;
    padding: 1rem 1.25rem;
    border-left: 5px solid #000;
    background: #fafafa;
    border-radius: 12px;
}

.note-page .note-content blockquote p:last-child {
    margin-bottom: 0;
}

.note-page .note-content details.note-faq-item {
    margin: 0 0 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fafafa;
}

.note-page .note-content details.note-faq-item[open] {
    background: #fff;
}

.note-page .note-content details.note-faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.note-page .note-content .note-faq-answer {
    margin-top: 0.75rem;
}

.note-page .note-content .note-faq-answer p:last-child {
    margin-bottom: 0;
}

.note-page .note-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.note-page .note-content p {
    margin-bottom: 1.1rem;
}

.note-page .note-footer {
    margin-top: 2.5rem;
}

.note-page .note-cta {
    max-width: 56rem;
    margin: 0 auto;
    background: #000;
    color: #fff;
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.25s;
}

.note-page .note-cta:hover {
    transform: translateY(-4px);
}

.note-page .note-cta h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.note-page .note-cta p {
    margin: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
}

.note-page .note-cta-button {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.note-page .note-cta-button:hover {
    transform: translateY(-1px);
    background: transparent;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .note-page .note-cta,
    .note-page .note-cta-button {
        transition: none;
    }

    .note-page .note-cta:hover,
    .note-page .note-cta-button:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .note-page .note-header h1 {
        font-size: 1.85rem;
    }

    .note-page .note-cta {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   About Us
   ========================================================================== */

.about-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.about-page .about-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.about-page .about-hero {
    text-align: center;
    margin-bottom: 2.25rem;
}

.about-page .about-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-page .about-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-page .about-section {
    margin: 2.75rem 0;
}

.about-page .about-section > h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-page .about-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-page .about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.about-page .about-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff, var(--shadow);
}

.about-page .about-grid {
    display: grid;
    gap: 1rem;
}

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

.about-page .about-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .about-page .about-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .about-page .about-grid--2,
    .about-page .about-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-page .about-wrap {
        padding: 1.75rem 0 2.5rem;
    }

    .about-page .about-hero {
        text-align: left;
        margin-bottom: 1.75rem;
    }

    .about-page .about-hero h1 {
        font-size: 1.65rem;
    }

    .about-page .about-section > h2 {
        text-align: left;
        font-size: 1.45rem;
    }
}

.about-page .crew-card {
    padding: 0;
    overflow: hidden;
}

.about-page .crew-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-page .crew-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.about-page .crew-card__body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.about-page .crew-card__body p {
    margin: 0;
    color: var(--muted);
}

.about-page .about-note {
    margin: 1.1rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-page .service-card h3,
.about-page .process-card h3,
.about-page .link-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.65rem;
}

.about-page .service-card p,
.about-page .process-card p,
.about-page .link-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.about-page .about-links-inline {
    margin: 1.1rem 0 0;
    text-align: center;
    color: var(--muted);
}

.about-page .about-links-inline a {
    color: #000;
    text-decoration: underline;
}

.about-page .about-links-inline a:hover,
.about-page .about-links-inline a:focus {
    text-decoration: none;
}

.about-page .process-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-page .process-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.about-page .process-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.about-page .about-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.about-page .about-list li {
    margin: 0.5rem 0;
}

.about-page .about-cta h2 {
    text-align: left;
}

.about-page .about-cta p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-page .about-cta-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.about-page .about-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.about-page .about-cta-btn--primary {
    background: #000;
    color: #fff;
}

.about-page .about-cta-btn--primary:hover {
    transform: translateY(-2px);
    background: #111;
    color: #fff;
}

.about-page .about-cta-btn--secondary {
    background: #fff;
    color: #000;
}

.about-page .about-cta-btn--secondary:hover {
    transform: translateY(-2px);
    background: #f2f2f2;
    color: #000;
}

.about-page .about-cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.about-page .link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.about-page .link-card p {
    color: var(--muted);
}

.about-page .link-card:hover {
    color: inherit;
}

/* ==========================================================================
   Installation
   ========================================================================== */

.installation-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.installation-page .installation-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.installation-page .installation-hero {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.installation-page .installation-hero:hover,
.installation-page .installation-hero:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.installation-page .installation-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.installation-page .installation-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    text-align: center;
}

.installation-page .installation-hero-actions {
    margin-top: 1.35rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.installation-page .installation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.installation-page .installation-btn:hover {
    transform: translateY(-2px);
}

.installation-page .installation-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.installation-page .installation-btn--primary {
    background: #000;
    color: #fff;
}

.installation-page .installation-btn--primary:hover {
    background: #111;
    color: #fff;
}

.installation-page .installation-btn--secondary {
    background: #fff;
    color: #000;
}

.installation-page .installation-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

.installation-page .installation-section {
    margin: 2.75rem 0;
}

.installation-page .installation-section > h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.installation-page .installation-center-text {
    margin: 0;
    text-align: center;
    color: var(--muted);
    line-height: 1.65;
}

.installation-page .installation-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.installation-page .installation-card:hover,
.installation-page .installation-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.installation-page a {
    color: #000;
    text-decoration: underline;
}

.installation-page a:hover,
.installation-page a:focus {
    text-decoration: none;
}

.installation-page .installation-info-grid {
    display: grid;
    gap: 1rem;
}

.installation-page .installation-info-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.installation-page .installation-info-card--img-right {
    flex-direction: row-reverse;
}

.installation-page .installation-info-media {
    flex: 0 0 240px;
    background: #eee;
}

.installation-page .installation-info-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.installation-page .installation-info-body {
    flex: 1 1 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.installation-page .installation-info-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.65rem;
}

.installation-page .installation-info-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.installation-page .installation-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.installation-page .installation-option-card {
    padding: 1.5rem;
}

.installation-page .installation-option-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.installation-page .installation-option-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.installation-page .installation-locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.installation-page .installation-location-card {
    display: block;
    padding: 1.25rem 1.25rem 1.35rem;
    text-decoration: none;
    color: inherit;
}

.installation-page .installation-location-card:hover {
    color: inherit;
}

.installation-page .installation-location-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.installation-page .installation-location-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.installation-page .installation-quote-card {
    padding: 1.5rem;
}

.installation-page .installation-quote-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.installation-page .installation-quote-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .installation-page .installation-options-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 700px) {
    .installation-page .installation-info-card,
    .installation-page .installation-info-card--img-right {
        flex-direction: column;
    }

    .installation-page .installation-info-media {
        flex: 0 0 auto;
    }

    .installation-page .installation-info-media img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .installation-page .installation-wrap {
        padding: 1.75rem 0 2.5rem;
    }

    .installation-page .installation-hero h1 {
        font-size: 1.65rem;
        text-align: left;
    }

    .installation-page .installation-lead {
        text-align: left;
    }

    .installation-page .installation-section > h2 {
        text-align: left;
        font-size: 1.45rem;
    }

    .installation-page .installation-center-text {
        text-align: left;
    }

    .installation-page .installation-hero-actions,
    .installation-page .installation-quote-actions {
        justify-content: flex-start;
    }

    .installation-page .installation-locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Products (Template)
   ========================================================================== */

.product-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.product-page .product-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.product-page .product-breadcrumbs {
    margin: 0 0 1.25rem;
}

.product-page .product-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.product-page .product-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.product-page .product-breadcrumbs a:hover,
.product-page .product-breadcrumbs a:focus {
    text-decoration: none;
}

.product-page .product-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.product-page .product-card:hover,
.product-page .product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.product-page .product-gallery:hover,
.product-page .product-gallery:focus-within {
    transform: none;
    box-shadow: var(--shadow);
}

.product-page .product-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

	@media (min-width: 940px) {
	    .product-page .product-hero {
	        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	        grid-template-areas:
	            "gallery story"
	            "answer answer"
	            "cta cta";
	        grid-template-rows: auto auto auto;
	        gap: 1.5rem;
	        align-items: start;
	    }

	   .product-page .product-gallery { grid-area: gallery; }
	   .product-page .product-story { grid-area: story; }
	   .product-page .product-answer { grid-area: answer; }
	   .product-page .product-cta-card { grid-area: cta; }

	    .product-page .product-gallery {
	        align-self: start;
	        aspect-ratio: 1 / 1;
	    }

	   .product-page .product-gallery-placeholder {
	       height: 100%;
	   }

	   /* Story card: independent height from gallery */
	   .product-page .product-story {
	       display: flex;
	       flex-direction: column;
	       align-self: start;
	   }

	   /* When story dropdown is open, card expands independently */
	   .product-page .product-story:has(details[open]) {
	       /* Story expands on its own without affecting gallery */
	   }

	   /* Meta section (title, description, highlights) - takes remaining space */
	   .product-page .product-story-meta {
	       flex: 1 1 auto;
	       min-height: 0;
	       overflow-y: auto;
	       /* Hide scrollbar but allow scroll */
	       scrollbar-width: none;
	       -ms-overflow-style: none;
	   }

	   .product-page .product-story-meta::-webkit-scrollbar {
	       display: none;
	   }

	   /* Story details section (collapsed) - fixed at bottom */
	   .product-page .product-story-details {
	       flex: 0 0 auto;
	       margin-top: auto;
	       border-top: 1px solid rgba(0,0,0,0.12);
	       padding-top: 1rem;
	   }
}

.product-page .product-gallery {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    /* aspect-ratio removed - on desktop, stretches to match story card; on mobile, set via media query */
    min-width: 0;
    min-height: 0;
}

@supports not (aspect-ratio: 1 / 1) {
    .product-page .product-gallery::before {
        content: "";
        display: block;
        padding-top: 75%;
    }
}

.product-page .product-gallery-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02));
}

.product-page .product-gallery-viewport {
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    overflow: hidden;
    height: 100%;
}

.product-page .product-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 100%;
    align-items: stretch;
}

.product-page .product-gallery-track::-webkit-scrollbar {
    display: none;
}

.product-page .product-gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    background: #fff;
    padding: 0.75rem;
    display: grid;
    place-items: center;
    height: 100%;
}

.product-page .product-gallery-link {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: zoom-in;
}

.product-page .product-gallery-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 14px;
}

.product-page .product-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    background: #fff;
    border-radius: 14px;
}

.product-page .product-gallery-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.product-page .product-gallery-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.9);
    background: rgba(255,255,255,0.92);
    color: #000;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-page .product-gallery-btn--prev {
    left: 0.75rem;
}

.product-page .product-gallery-btn--next {
    right: 0.75rem;
}

.product-page .product-gallery-btn:hover {
    transform: translateY(-50%) scale(1.04);
}

.product-page .product-gallery-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    opacity: 1;
}

.product-page .product-gallery-btn:disabled {
    opacity: 0;
    cursor: default;
}

.product-page .product-gallery:hover .product-gallery-btn:not(:disabled),
.product-page .product-gallery:focus-within .product-gallery-btn:not(:disabled) {
    opacity: 1;
}

@media (max-width: 768px) {
    .product-page .product-gallery-btn {
        opacity: 1;
    }

    .product-page .product-gallery-btn:disabled {
        opacity: 0.45;
    }
}

.product-page .product-gallery-dots {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(6px);
}

.product-page .product-gallery-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,0.25);
    padding: 0;
    cursor: pointer;
}

.product-page .product-gallery-dot.is-active {
    background: #000;
}

.product-page .product-story h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-page .product-story-body p {
    margin: 0.85rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.product-page .product-story-body p:first-of-type {
    margin-top: 0;
}

@media (max-width: 939px) {
    .product-page .product-gallery,
    .product-page .product-gallery-placeholder {
        aspect-ratio: 4 / 3;
    }

    .product-page .product-story-details {
        margin-top: 1rem;
    }
}

.product-page .product-story-headline {
    display: block;
    margin: 0.35rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #000;
}

.product-page .product-story-byline {
    display: block;
    margin: 0.35rem 0 0.85rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
}

.product-page .product-story-details {
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,.12);
}

.product-page .product-story-details summary {
    list-style: none;
    cursor: pointer;
}

.product-page .product-story-details summary::-webkit-details-marker {
    display: none;
}

.product-page .product-story-details {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.product-page .product-story-summary {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.product-page .product-story-expanded {
    order: 1;
}

.product-page .product-story-summary-text {
    min-width: 0;
    width: 100%;
}

.product-page .product-story-summary .product-mini-heading {
    display: block;
    margin: 0;
}

.product-page .product-story-arrow {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.85);
    background: rgba(255,255,255,0.92);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-page .product-story-details[open] .product-story-arrow {
    transform: rotate(180deg);
}

.product-page .product-story-summary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 14px;
}

.product-page .product-answer > h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-page .product-dek {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.product-page .product-highlights {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    color: var(--muted);
}

.product-page .product-highlights li {
    position: relative;
    padding-left: 1.55rem;
    line-height: 1.55;
}

.product-page .product-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: #000;
}

.product-page .product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-page .product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.product-page .product-btn:hover {
    transform: translateY(-2px);
}

.product-page .product-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.product-page .product-btn--primary {
    background: #000;
    color: #fff;
}

.product-page .product-btn--primary:hover {
    background: #111;
    color: #fff;
}

.product-page .product-btn--secondary {
    background: #fff;
    color: #000;
}

.product-page .product-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

.product-page .product-scope {
    margin: 1.1rem 0 0;
    color: #666;
    line-height: 1.6;
}

.product-page .product-section {
    margin: 2.75rem 0;
}

.product-page .product-section > h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-page .product-mini-heading {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-page .product-muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.product-page .product-answer-lede {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.product-page .product-takeaways {
    margin-top: 1.1rem;
}

.product-page .product-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.product-page .product-list li {
    margin: 0.5rem 0;
    line-height: 1.55;
}

.product-page .product-list--checks {
    list-style: none;
    padding-left: 0;
}

.product-page .product-list--checks li {
    position: relative;
    padding-left: 1.55rem;
}

.product-page .product-list--checks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: #000;
}

.product-page .product-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 900px) {
    .product-page .product-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-page .product-specs {
    margin: 0;
}

.product-page .product-spec-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(0,0,0,.12);
}

.product-page .product-spec-row:first-child {
    border-top: none;
}

.product-page .product-spec-row dt {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
}

.product-page .product-spec-row dd {
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.product-page .product-process {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 980px) {
    .product-page .product-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .product-page .product-process {
        grid-template-columns: 1fr;
    }
}

.product-page .product-process-step {
    padding: 1.25rem;
}

.product-page .product-faq-list {
    margin-top: 1rem;
}

.product-page .product-faq-item {
    border-top: 1px solid rgba(0,0,0,.14);
    padding: 0.9rem 0;
}

.product-page .product-faq-item:first-of-type {
    border-top: none;
}

.product-page .product-faq-summary {
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    list-style: none;
}

.product-page .product-faq-summary::-webkit-details-marker {
    display: none;
}

.product-page .product-faq-summary::after {
    content: '▾';
    float: right;
    transition: transform 0.2s ease;
}

.product-page details[open] > .product-faq-summary::after {
    transform: rotate(180deg);
}

.product-page .product-faq-answer p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

/* Lightbox */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: min(5vw, 2rem);
}

.product-lightbox.is-open {
    display: flex;
}

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

.product-lightbox-dialog {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 92vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.product-lightbox-image {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    cursor: zoom-out;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

.product-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.96);
    color: #000;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-lightbox-close:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.product-lightbox-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0,0,0,0.85), 0 10px 30px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
    .product-page .product-wrap {
        padding: 1.75rem 0 2.5rem;
    }

    .product-page .product-story h1 {
        font-size: 1.65rem;
        text-align: left;
    }

    .product-page .product-section > h2 {
        text-align: left;
        font-size: 1.45rem;
    }

    .product-page .product-answer > h2 {
        text-align: left;
        font-size: 1.45rem;
    }

    .product-page .product-card {
        padding: 1.25rem;
    }

    .product-page .product-actions {
        justify-content: flex-start;
    }

    .product-page .product-story-headline {
        font-size: 1.2rem;
    }
}

/* Related Products */
.product-page .product-related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-page .product-related-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-page .product-related-card:hover,
.product-page .product-related-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    color: var(--text);
}

.product-page .product-related-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.product-page .product-related-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}

.product-page .product-related-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.product-page .product-related-card:hover .product-related-arrow {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .product-page .product-related-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-page .product-related-card {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ==========================================================================
   Locations
   ========================================================================== */

.location-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.location-page .location-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.location-page .location-breadcrumbs {
    margin: 0 0 1.25rem;
}

.location-page .location-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.location-page .location-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.location-page .location-breadcrumbs a:hover,
.location-page .location-breadcrumbs a:focus {
    text-decoration: none;
}

.location-page .location-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.location-page .location-card:hover,
.location-page .location-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.location-page .location-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: center;
}

.location-page .location-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-page .location-hero-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.location-page .location-hero-media {
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
}

.location-page .location-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 11;
}

.location-page .location-section {
    margin: 2.5rem 0;
}

.location-page .location-section > h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-page .location-mini-heading {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-page .location-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.location-page .location-trust-card {
    margin: 0;
}

.location-page .location-trust-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.location-page .location-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.location-page .location-split-card {
    margin: 0;
}

.location-page .location-split-card p {
    margin: 0 0 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

.location-page .location-split-card p:last-child {
    margin-bottom: 0;
}

.location-page .location-split-card strong {
    color: var(--text);
}

.location-page .location-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.location-page .location-list li {
    margin: 0.5rem 0;
    line-height: 1.55;
}

.location-page .location-faq-item {
    border-top: 1px solid rgba(0,0,0,.14);
    padding: 0.9rem 0;
}

.location-page .location-faq-item:first-of-type {
    border-top: none;
}

.location-page .location-faq-summary {
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    list-style: none;
}

.location-page .location-faq-summary::-webkit-details-marker {
    display: none;
}

.location-page .location-faq-summary::after {
    content: "+";
    float: right;
    font-weight: 700;
}

.location-page details[open] > .location-faq-summary::after {
    content: "−";
}

.location-page .location-faq-answer {
    padding-top: 0.75rem;
}

.location-page .location-faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.location-page .location-links {
    margin: 0;
    padding-left: 1.1rem;
}

.location-page .location-links li {
    margin: 0.6rem 0;
}

.location-page .location-links a {
    color: #000;
    text-decoration: underline;
}

.location-page .location-links a:hover,
.location-page .location-links a:focus {
    text-decoration: none;
}

.location-page .location-muted {
    margin: 1.1rem 0 0;
    color: #666;
    line-height: 1.6;
}

.location-page .location-muted a {
    color: #000;
    text-decoration: underline;
}

.location-page .location-muted a:hover,
.location-page .location-muted a:focus {
    text-decoration: none;
}

.location-page .location-cta {
    margin-top: 2.25rem;
    background: #000;
    color: #fff;
    border-radius: calc(var(--r) + 4px);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.26);
}

.location-page .location-cta:hover,
.location-page .location-cta:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.32);
}

.location-page .location-cta-body {
    flex: 1 1 22rem;
}

.location-page .location-cta-body h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-page .location-cta-body p {
    margin: 0.75rem 0 0;
    color: rgba(255,255,255,.84);
    line-height: 1.65;
}

.location-page .location-cta-action {
    flex: 0 0 auto;
}

.location-page .location-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.location-page .location-cta-btn:hover {
    transform: translateY(-2px);
    background: #f2f2f2;
    color: #000;
}

.location-page .location-cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.location-page .location-cta-disclaimer {
    margin: 0.9rem 0 0;
    flex: 1 1 100%;
    font-size: 0.95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.55;
}

@media (max-width: 980px) {
    .location-page .location-trust-grid {
        grid-template-columns: 1fr;
    }

    .location-page .location-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .location-page .location-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .location-page .location-wrap {
        padding: 1.75rem 0 2.5rem;
    }

    .location-page .location-hero h1 {
        font-size: 1.65rem;
    }

    .location-page .location-section > h2 {
        text-align: left;
        font-size: 1.45rem;
    }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.faq-page .faq-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.faq-page .faq-breadcrumbs {
    margin: 0 0 1.25rem;
}

.faq-page .faq-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.faq-page .faq-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.faq-page .faq-breadcrumbs a:hover,
.faq-page .faq-breadcrumbs a:focus {
    text-decoration: none;
}

.faq-page .faq-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.faq-page .faq-card:hover,
.faq-page .faq-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.faq-page .faq-hero {
    text-align: center;
    margin-top: 0;
}

.faq-page .faq-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-page .faq-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-page .faq-card h2 {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0 0 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-page .faq-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.faq-page .faq-timeline-step {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 14px;
    padding: 1rem 0.85rem;
    text-align: center;
}

.faq-page .faq-timeline-day {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.faq-page .faq-timeline-label {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.35;
}

.faq-page .faq-materials {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
}

.faq-page .faq-materials li {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.faq-page .faq-material-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.95rem;
}

.faq-page .faq-material-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.faq-page .faq-checklists {
    text-align: center;
}

.faq-page .faq-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.faq-page .faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-page .faq-btn:hover {
    transform: translateY(-2px);
    background: #f2f2f2;
    color: #000;
}

.faq-page .faq-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.faq-page .faq-btn--inverse {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.faq-page .faq-btn--inverse:hover {
    background: #fff;
    color: #000;
}

.faq-page .faq-cta {
    background: #000;
    color: #fff;
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 0.9rem 1.5rem;
    margin: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.faq-page .faq-cta:hover,
.faq-page .faq-cta:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.faq-page .faq-cta-content {
    min-width: 0;
}

.faq-page .faq-cta-content h2 {
    margin: 0 0 0.25rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-page .faq-cta-content p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
}

.faq-page .faq-cta-action {
    flex: 0 0 auto;
}

.faq-page .faq-list h2 {
    margin-bottom: 1rem;
}

.faq-page .faq-item {
    border-top: 1px solid rgba(0,0,0,0.12);
    padding: 0.9rem 0;
}

.faq-page .faq-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.faq-page .faq-summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.faq-page .faq-summary::marker {
    content: "";
}

.faq-page .faq-summary::-webkit-details-marker {
    display: none;
}

.faq-page .faq-q {
    font-weight: 700;
    margin: 0;
    display: inline;
}

.faq-page .faq-summary::after {
    content: "+";
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    flex: 0 0 auto;
    margin-top: 0.1rem;
}

.faq-page .faq-item[open] .faq-summary::after {
    content: "–";
}

.faq-page .faq-summary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 10px;
}

.faq-page .faq-a {
    padding-top: 0.65rem;
    color: var(--muted);
    line-height: 1.65;
}

.faq-page .faq-a p {
    margin-bottom: 0;
}

.faq-page .faq-a a {
    color: #000;
    text-decoration: underline;
}

.faq-page .faq-a a:hover,
.faq-page .faq-a a:focus {
    text-decoration: none;
}

@media (max-width: 980px) {
    .faq-page .faq-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .faq-page .faq-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-page .faq-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-page .faq-cta-action {
        width: 100%;
    }

    .faq-page .faq-cta-action .faq-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .faq-page .faq-wrap {
        padding: 1.75rem 0 2.5rem;
    }

    .faq-page .faq-hero {
        text-align: left;
    }

    .faq-page .faq-hero h1 {
        font-size: 1.65rem;
    }

    .faq-page .faq-card h2,
    .faq-page .faq-cta-content h2 {
        text-align: left;
        font-size: 1.45rem;
    }

    .faq-page .faq-actions {
        justify-content: flex-start;
    }

    .faq-page .faq-cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ==========================================================================
   6. Navigation System (Header/Nav/Dropdowns)
   ========================================================================== */

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
    top: 0;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 2px solid var(--nav-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    height: 50px;
    width: auto;
    max-width: 220px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wordmark {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    color: #000;
    white-space: nowrap;
}

/* ===== MAIN NAV ===== */
.main-nav {
    display: none; /* Hidden on mobile */
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--nav-fg);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 9px;
    position: relative;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
    background: #000;
    transform: translateY(-1px);
}

.nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.45rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast);
    opacity: 0.9;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 264px;
    width: max-content;
    max-width: min(520px, calc(100vw - 2rem));
    max-height: 400px;
    overflow-y: auto;
    background: var(--nav-panel-bg);
    border: 2px solid var(--nav-border);
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transform-origin: top left;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

/* Mega menu (Signs) */
.dropdown-menu--mega {
    position: fixed;
    top: calc(var(--site-header-offset, var(--header-height)) + 6px);
    left: max(24px, 5vw);
    right: max(24px, 5vw);
    max-height: min(72vh, 620px);
    transform-origin: top center;
    width: auto;
    min-width: 0;
    max-width: none;
}

.dropdown-menu--mega .mega-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu--mega .mega-col {
    min-width: 0;
}

.dropdown-menu--mega .mega-title {
    margin: 0 0 0.65rem;
    padding: 0 0 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dropdown-menu--mega .mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
}

/* Signs dropdown: always-visible scroll slider hint */
#signs-dropdown {
    --scroll-thumb-top: 0px;
    --scroll-thumb-height: 28px;
    padding-right: 1.15rem;
    scrollbar-gutter: stable;
}

#signs-dropdown::before {
    content: '';
    position: absolute;
    top: 0.65rem;
    bottom: 0.65rem;
    right: 0.55rem;
    width: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

#signs-dropdown::after {
    content: '';
    position: absolute;
    right: 0.55rem;
    top: calc(0.65rem + var(--scroll-thumb-top));
    width: 4px;
    height: var(--scroll-thumb-height);
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 18px rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

#signs-dropdown.is-scrollable::before,
#signs-dropdown.is-scrollable::after {
    opacity: 1;
}

/* CSS-only dropdown on hover and focus */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nav-item.dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nav-item.dropdown:hover .dropdown-arrow,
.nav-item.dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-item.dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-item.dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 26px;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--nav-panel-fg);
    white-space: normal;
    border-radius: 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.25;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
    position: relative;
}

/* Smiley follows hover/focus */
.dropdown-item:hover,
.dropdown-item:focus-visible {
    padding-right: 3.1rem;
}

.dropdown-item:hover::after,
.dropdown-item:hover::before,
.dropdown-item:focus-visible::after,
.dropdown-item:focus-visible::before {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #000;
    color: #fff;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0;
    line-height: 1;
}

.dropdown-item:hover::after,
.dropdown-item:focus-visible::after {
    content: ':)';
    animation:
        smileyPop 560ms cubic-bezier(0.34, 1.56, 0.64, 1) 1,
        smileyBaseBlink 560ms ease-out 1;
}

.dropdown-item:hover::before,
.dropdown-item:focus-visible::before {
    content: ';)';
    opacity: 0;
    animation: smileyWinkOverlay 560ms cubic-bezier(0.34, 1.56, 0.64, 1) 1;
}

@keyframes smileyPop {
    0% { transform: translateY(-50%) scale(0.55); opacity: 0; }
    60% { transform: translateY(-54%) scale(1.32); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

@keyframes smileyBaseBlink {
    0%, 44% { opacity: 1; }
    48%, 64% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes smileyWinkOverlay {
    0%, 40% { transform: translateY(-50%) scale(0.55); opacity: 0; }
    48%, 64% { transform: translateY(-54%) scale(1.32); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 0; }
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #fff;
    color: #000;
    transform: translateX(2px);
}

.dropdown-item:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ===== CTA BUTTON (Nav specific) ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: 0.75rem;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.65rem;
    border-radius: 9px;
    text-decoration: none;
    color: var(--nav-fg);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.header-social-link:hover,
.header-social-link:focus {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.header-social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.header-cta .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

.header-cta .btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header-cta .btn-primary:hover {
    background: #fff;
    color: #000;
}

.desktop-only {
    display: none;
}

/* ===== MOBILE SHOP BUTTON ===== */
.mobile-shop-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-shop-btn:hover,
.mobile-shop-btn:focus {
    background: #fff;
    color: #000;
    transform: translateY(-1px);
}

.mobile-shop-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

/* ===== SHOP OVERLAY (Mobile) ===== */
.shop-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.shop-overlay.is-open {
    display: block;
}

.overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.overlay-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin-left: auto;
    background: #fff;
    overflow-y: auto;
    padding: 2rem;
    border-left: 2px solid #000;
}

.overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
}

.overlay-close:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.mobile-category {
    margin-bottom: 1.5rem;
}

.mobile-category h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #000;
}

.mobile-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-category a {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.mobile-category a:hover,
.mobile-category a:focus {
    text-decoration: underline;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 2px solid #000;
}

.mobile-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mobile-links a:hover,
.mobile-links a:focus {
    text-decoration: underline;
}

.mobile-cta {
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
   7. Utilities
   ========================================================================== */

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

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .nav-list {
        display: none; /* Mobile uses shop overlay instead */
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 44px;
    }
}

@media (min-width: 769px) {
    .main-nav {
        display: block;
    }
    
    .desktop-only {
        display: block;
    }

    .header-actions.desktop-only {
        display: flex;
    }
    
    .mobile-shop-btn {
        display: none;
    }
    
    .shop-overlay {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .nav-link::after,
    .dropdown-menu,
    .dropdown-item,
    .dropdown-item::before,
    .dropdown-item::after,
    .dropdown-arrow,
    .mobile-shop-btn,
    #signs-dropdown::after {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .home .cta-section,
    .about-page .about-card,
    .about-page .about-cta-btn,
    .faq-page .faq-card,
    .faq-page .faq-cta,
    .installation-page .installation-card,
    .installation-page .installation-hero,
    .installation-page .installation-btn,
    .product-page .product-card,
    .product-page .product-btn,
    .product-page .product-gallery-btn,
    .product-page .product-faq-summary::after,
    .product-lightbox-close,
    .location-page .location-card,
    .location-page .location-cta,
    .location-page .location-cta-btn,
    .gallery-page .gallery-thumb,
    .gallery-lightbox-close,
    .footer-mark,
    .footer-mark-face {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}
.footer-logo {
    display: block;
    text-decoration: none;
    flex: 0 0 auto;
}

.footer-logo img {
    display: block;
    width: min(15.5rem, 22vw);
    height: auto;
    filter: invert(1);
}

.footer-logo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
    border-radius: 10px;
}

/* ==========================================================================
   Start Project Page
   ========================================================================== */

.start-project-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.start-project-page .start-project-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.start-project-page .start-project-breadcrumbs {
    margin: 0 0 1.25rem;
}

.start-project-page .start-project-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.start-project-page .start-project-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.start-project-page .start-project-breadcrumbs a:hover,
.start-project-page .start-project-breadcrumbs a:focus {
    text-decoration: none;
}

.start-project-page .start-project-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.start-project-page .start-project-card:hover,
.start-project-page .start-project-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.start-project-page .start-project-hero {
    text-align: center;
    margin-top: 0;
}

.start-project-page .start-project-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.start-project-page .start-project-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.start-project-page .start-project-form-card h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.start-project-page .start-project-form-intro {
    margin: 0 0 1.5rem;
    color: var(--muted);
}

.start-project-page .start-project-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.start-project-page .start-project-fieldset legend {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0;
}

.start-project-page .start-project-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .start-project-page .start-project-field-row {
        grid-template-columns: 1fr;
    }
}

.start-project-page .start-project-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.start-project-page .start-project-field:last-child {
    margin-bottom: 0;
}

.start-project-page .start-project-field label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.start-project-page .start-project-field .required {
    color: #c00;
}

.start-project-page .start-project-field input,
.start-project-page .start-project-field select,
.start-project-page .start-project-field textarea {
    padding: 0.75rem;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.start-project-page .start-project-field input:focus,
.start-project-page .start-project-field select:focus,
.start-project-page .start-project-field textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.start-project-page .start-project-field textarea {
    resize: vertical;
    min-height: 120px;
}

.start-project-page .start-project-file-upload {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.start-project-page .start-project-file-hint {
    font-size: 0.85rem;
    color: var(--muted);
}

.start-project-page .start-project-field-note {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.start-project-page .start-project-field-note a {
    color: #000;
    text-decoration: underline;
}

.start-project-page .start-project-radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.start-project-page .start-project-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.start-project-page .start-project-radio input {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}

.start-project-page .start-project-actions {
    margin-top: 1.5rem;
}

.start-project-page .start-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.start-project-page .start-project-btn:hover {
    transform: translateY(-2px);
}

.start-project-page .start-project-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #fff;
}

.start-project-page .start-project-btn--primary {
    background: #000;
    color: #fff;
}

.start-project-page .start-project-btn--primary:hover {
    background: #111;
    color: #fff;
}

.start-project-page .start-project-btn--secondary {
    background: #fff;
    color: #000;
}

.start-project-page .start-project-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

.start-project-page .start-project-privacy-note {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.start-project-page .start-project-privacy-note a {
    color: #000;
    text-decoration: underline;
}

.start-project-page .start-project-section {
    margin: 2.5rem 0;
}

.start-project-page .start-project-section > h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.start-project-page .start-project-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .start-project-page .start-project-info-grid {
        grid-template-columns: 1fr;
    }
}

.start-project-page .start-project-info-card {
    text-align: center;
}

.start-project-page .start-project-mini-heading {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.start-project-page .start-project-muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.start-project-page .start-project-contact-alt {
    text-align: center;
}

.start-project-page .start-project-contact-alt h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.start-project-page .start-project-contact-methods {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.start-project-page .start-project-contact-hours {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Flash message alerts */
.start-project-page .start-project-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin: 0 0 1.25rem;
    font-weight: 500;
}

.start-project-page .start-project-alert--error {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.start-project-page .start-project-alert--success {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #166534;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.contact-page .contact-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.contact-page .contact-breadcrumbs {
    margin: 0 0 1.25rem;
}

.contact-page .contact-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.contact-page .contact-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.contact-page .contact-breadcrumbs a:hover,
.contact-page .contact-breadcrumbs a:focus {
    text-decoration: none;
}

.contact-page .contact-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.contact-page .contact-card:hover,
.contact-page .contact-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.contact-page .contact-hero {
    text-align: center;
    margin-top: 0;
}

.contact-page .contact-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-page .contact-section {
    margin: 2.5rem 0;
}

.contact-page .contact-section > h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .contact-page .contact-methods-grid {
        grid-template-columns: 1fr;
    }
}

.contact-page .contact-method-card {
    text-align: center;
}

.contact-page .contact-mini-heading {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-page .contact-muted {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-page .contact-method-link {
    display: inline-block;
    color: #000;
    font-weight: 600;
    text-decoration: underline;
    font-size: 1.05rem;
}

.contact-page .contact-method-link:hover {
    text-decoration: none;
}

.contact-page .contact-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .contact-page .contact-split {
        grid-template-columns: 1fr;
    }
}

.contact-page .contact-hours-card h2,
.contact-page .contact-service-card h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-hours-list {
    margin: 0;
}

.contact-page .contact-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-page .contact-hours-row:first-child {
    border-top: none;
    padding-top: 0;
}

.contact-page .contact-hours-row dt {
    font-weight: 600;
}

.contact-page .contact-hours-row dd {
    margin: 0;
    color: var(--muted);
}

.contact-page .contact-hours-note {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.contact-page .contact-service-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-page .contact-service-list li {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
}

.contact-page .contact-service-list a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-page .contact-service-list a:hover {
    text-decoration: underline;
}

.contact-page .contact-form-card h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-form {
    margin-top: 1.25rem;
}

.contact-page .contact-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .contact-page .contact-field-row {
        grid-template-columns: 1fr;
    }
}

.contact-page .contact-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.contact-page .contact-field label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-page .contact-field .required {
    color: #c00;
}

.contact-page .contact-field input,
.contact-page .contact-field textarea {
    padding: 0.75rem;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.contact-page .contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-page .contact-form-actions {
    margin-top: 1rem;
}

.contact-page .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-page .contact-btn:hover {
    transform: translateY(-2px);
}

.contact-page .contact-btn--primary {
    background: #000;
    color: #fff;
}

.contact-page .contact-btn--primary:hover {
    background: #111;
    color: #fff;
}

.contact-page .contact-form-note {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-page .contact-form-note a {
    color: #000;
    text-decoration: underline;
}

.contact-page .contact-faq-card h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-faq-item {
    border-top: 1px solid rgba(0,0,0,0.12);
    padding: 0.85rem 0;
}

.contact-page .contact-faq-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.contact-page .contact-faq-summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.contact-page .contact-faq-summary::-webkit-details-marker {
    display: none;
}

.contact-page .contact-faq-summary::after {
    content: '+';
    float: right;
    font-weight: 700;
}

.contact-page details[open] > .contact-faq-summary::after {
    content: '−';
}

.contact-page .contact-faq-answer {
    padding-top: 0.65rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-page .contact-faq-answer p {
    margin: 0;
}

.contact-page .contact-faq-answer a {
    color: #000;
    text-decoration: underline;
}

.contact-page .contact-faq-more {
    margin: 1rem 0 0;
    color: var(--muted);
}

.contact-page .contact-faq-more a {
    color: #000;
    text-decoration: underline;
}

.contact-page .contact-cta {
    margin-top: 2rem;
    background: #000;
    color: #fff;
    border-radius: calc(var(--r) + 4px);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.26);
}

.contact-page .contact-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.32);
}

.contact-page .contact-cta-body h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-page .contact-cta-body p {
    margin: 0.5rem 0 0;
    color: rgba(255,255,255,.84);
}

.contact-page .contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-page .contact-cta-btn:hover {
    transform: translateY(-2px);
    background: #f2f2f2;
    color: #000;
}

/* ==========================================================================
   Legal Pages (Terms of Service, Privacy Policy)
   ========================================================================== */

.legal-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.legal-page .legal-wrap {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.legal-page .legal-breadcrumbs {
    margin: 0 0 1.25rem;
}

.legal-page .legal-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.legal-page .legal-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.legal-page .legal-breadcrumbs a:hover,
.legal-page .legal-breadcrumbs a:focus {
    text-decoration: none;
}

.legal-page .legal-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
}

.legal-page .legal-hero {
    text-align: center;
    margin-top: 0;
}

.legal-page .legal-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-page .legal-last-updated {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-page .legal-content {
    background: #fff;
    padding: 2rem;
}

.legal-page .legal-section {
    margin: 2rem 0;
}

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

.legal-page .legal-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #000;
}

.legal-page .legal-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
    color: #000;
}

.legal-page .legal-section p {
    margin: 0.75rem 0;
    color: var(--muted);
    line-height: 1.7;
}

.legal-page .legal-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--muted);
}

.legal-page .legal-list li {
    margin: 0.4rem 0;
    line-height: 1.6;
}

.legal-page .legal-list--numbered {
    list-style: decimal;
}

.legal-page .legal-contact {
    font-style: normal;
    margin: 0.75rem 0;
    color: var(--muted);
    line-height: 1.8;
}

.legal-page .legal-contact a {
    color: #000;
    text-decoration: underline;
}

.legal-page .legal-contact a:hover {
    text-decoration: none;
}

.legal-page .legal-related h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-page .legal-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-page .legal-related-list li {
    margin: 0.4rem 0;
}

.legal-page .legal-related-list a {
    color: #000;
    text-decoration: underline;
}

.legal-page .legal-related-list a:hover {
    text-decoration: none;
}

/* ==========================================================================
   Top 10 Mistakes Page
   ========================================================================== */

.mistakes-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.mistakes-page .mistakes-wrap {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.mistakes-page .mistakes-breadcrumbs {
    margin: 0 0 1.25rem;
}

.mistakes-page .mistakes-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.mistakes-page .mistakes-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.mistakes-page .mistakes-breadcrumbs a:hover,
.mistakes-page .mistakes-breadcrumbs a:focus {
    text-decoration: none;
}

.mistakes-page .mistakes-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.mistakes-page .mistakes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.mistakes-page .mistakes-hero {
    text-align: center;
    margin-top: 0;
}

.mistakes-page .mistakes-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mistakes-page .mistakes-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.mistakes-page .mistakes-list {
    margin: 1.5rem 0;
}

.mistakes-page .mistakes-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.mistakes-page .mistakes-number {
    width: 2.5rem;
    height: 2.5rem;
    background: #000;
    color: #fff;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mistakes-page .mistakes-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.mistakes-page .mistakes-problem,
.mistakes-page .mistakes-solution,
.mistakes-page .mistakes-tip {
    margin: 0.65rem 0;
    color: var(--muted);
    line-height: 1.65;
}

.mistakes-page .mistakes-problem strong,
.mistakes-page .mistakes-solution strong,
.mistakes-page .mistakes-tip strong {
    color: var(--text);
}

.mistakes-page .mistakes-checklist h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.mistakes-page .mistakes-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .mistakes-page .mistakes-checklist-list {
        grid-template-columns: 1fr;
    }
}

.mistakes-page .mistakes-checklist-list li {
    padding: 0.5rem 0;
    color: var(--muted);
}

.mistakes-page .mistakes-cta {
    text-align: center;
}

.mistakes-page .mistakes-cta h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mistakes-page .mistakes-muted {
    margin: 0 0 1rem;
    color: var(--muted);
}

.mistakes-page .mistakes-cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mistakes-page .mistakes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mistakes-page .mistakes-btn:hover {
    transform: translateY(-2px);
}

.mistakes-page .mistakes-btn--primary {
    background: #000;
    color: #fff;
}

.mistakes-page .mistakes-btn--primary:hover {
    background: #111;
    color: #fff;
}

.mistakes-page .mistakes-btn--secondary {
    background: #fff;
    color: #000;
}

.mistakes-page .mistakes-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

/* ==========================================================================
   Site Map Page
   ========================================================================== */

.sitemap-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.sitemap-page .sitemap-wrap {
    max-width: 70rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.sitemap-page .sitemap-breadcrumbs {
    margin: 0 0 1.25rem;
}

.sitemap-page .sitemap-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.sitemap-page .sitemap-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.sitemap-page .sitemap-breadcrumbs a:hover,
.sitemap-page .sitemap-breadcrumbs a:focus {
    text-decoration: none;
}

.sitemap-page .sitemap-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.sitemap-page .sitemap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.sitemap-page .sitemap-hero {
    text-align: center;
    margin-top: 0;
}

.sitemap-page .sitemap-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sitemap-page .sitemap-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.sitemap-page .sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.sitemap-page .sitemap-section {
    margin: 0;
}

.sitemap-page .sitemap-section h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0,0,0,0.12);
}

.sitemap-page .sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-page .sitemap-list li {
    margin: 0.35rem 0;
}

.sitemap-page .sitemap-list a {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.sitemap-page .sitemap-list a:hover {
    text-decoration: underline;
}

.sitemap-page .sitemap-xml-note {
    text-align: center;
    margin-top: 2rem;
}

.sitemap-page .sitemap-muted {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.sitemap-page .sitemap-muted a {
    color: #000;
    text-decoration: underline;
}

/* ==========================================================================
   Artwork Setup Page
   ========================================================================== */

.artwork-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
}

.artwork-page .artwork-wrap {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.25rem 0 3rem;
}

.artwork-page .artwork-breadcrumbs {
    margin: 0 0 1.25rem;
}

.artwork-page .artwork-breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.artwork-page .artwork-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.artwork-page .artwork-breadcrumbs a:hover,
.artwork-page .artwork-breadcrumbs a:focus {
    text-decoration: none;
}

.artwork-page .artwork-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 1.25rem 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.artwork-page .artwork-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.artwork-page .artwork-hero {
    text-align: center;
    margin-top: 0;
}

.artwork-page .artwork-hero h1 {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.artwork-page .artwork-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.artwork-page .artwork-section {
    margin: 2rem 0;
}

.artwork-page .artwork-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.artwork-page .artwork-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
}

.artwork-page .artwork-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 700px) {
    .artwork-page .artwork-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.artwork-page .artwork-quick-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 0.85rem;
    text-align: center;
}

.artwork-page .artwork-quick-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.artwork-page .artwork-quick-value {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
}

.artwork-page .artwork-formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 800px) {
    .artwork-page .artwork-formats-grid {
        grid-template-columns: 1fr;
    }
}

.artwork-page .artwork-format-card {
    position: relative;
}

.artwork-page .artwork-format-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.artwork-page .artwork-format--preferred {
    border-left: 4px solid #22c55e;
}

.artwork-page .artwork-format--acceptable {
    border-left: 4px solid #eab308;
}

.artwork-page .artwork-format--avoid {
    border-left: 4px solid #ef4444;
}

.artwork-page .artwork-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.artwork-page .artwork-list li {
    margin: 0.35rem 0;
    color: var(--muted);
    line-height: 1.5;
}

.artwork-page .artwork-note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

.artwork-page .artwork-note a {
    color: #000;
    text-decoration: underline;
}

.artwork-page .artwork-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.artwork-page .artwork-table {
    width: 100%;
    border-collapse: collapse;
}

.artwork-page .artwork-table th,
.artwork-page .artwork-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.artwork-page .artwork-table th {
    font-weight: 700;
    background: rgba(0,0,0,0.03);
}

.artwork-page .artwork-table td {
    color: var(--muted);
}

.artwork-page .artwork-tip {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    font-size: 0.95rem;
}

.artwork-page .artwork-diagram {
    margin: 1.5rem 0;
    text-align: center;
}

.artwork-page .artwork-diagram-box {
    display: inline-block;
    background: #e5e5e5;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
}

.artwork-page .artwork-diagram-inner {
    background: #f5f5f5;
    padding: 1rem;
    border: 2px dashed #888;
    border-radius: 8px;
    position: relative;
}

.artwork-page .artwork-diagram-safe {
    background: #fff;
    padding: 1.5rem 2rem;
    border: 2px solid #000;
    border-radius: 6px;
}

.artwork-page .diagram-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: absolute;
}

.artwork-page .diagram-label--bleed {
    top: 0.5rem;
    left: 0.5rem;
    color: #666;
}

.artwork-page .diagram-label--cut {
    top: 0.25rem;
    left: 0.25rem;
    color: #888;
}

.artwork-page .diagram-label--safe {
    top: 0.25rem;
    left: 0.5rem;
    color: #000;
}

.artwork-page .diagram-content {
    font-weight: 600;
}

.artwork-page .artwork-checklist {
    text-align: left;
}

.artwork-page .artwork-checklist p {
    margin: 0 0 1rem;
    font-weight: 600;
}

.artwork-page .artwork-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.artwork-page .artwork-checklist-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    color: var(--muted);
}

.artwork-page .artwork-checklist-list input {
    width: 1.1rem;
    height: 1.1rem;
}

.artwork-page .artwork-cta {
    text-align: center;
}

.artwork-page .artwork-cta h2 {
    margin: 0 0 0.5rem;
}

.artwork-page .artwork-cta p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.artwork-page .artwork-cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.artwork-page .artwork-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.artwork-page .artwork-btn:hover {
    transform: translateY(-2px);
}

.artwork-page .artwork-btn--primary {
    background: #000;
    color: #fff;
}

.artwork-page .artwork-btn--primary:hover {
    background: #111;
    color: #fff;
}

.artwork-page .artwork-btn--secondary {
    background: #fff;
    color: #000;
}

.artwork-page .artwork-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

.artwork-page .artwork-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .artwork-page .artwork-help-grid {
        grid-template-columns: 1fr;
    }
}

.artwork-page .artwork-help-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.artwork-page .artwork-help-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.artwork-page .artwork-help-card a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.artwork-page .artwork-help-card a:hover {
    text-decoration: underline;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .start-project-page .start-project-card,
    .start-project-page .start-project-btn,
    .contact-page .contact-card,
    .contact-page .contact-btn,
    .contact-page .contact-cta,
    .contact-page .contact-cta-btn,
    .mistakes-page .mistakes-card,
    .mistakes-page .mistakes-btn,
    .sitemap-page .sitemap-card,
    .artwork-page .artwork-card,
    .artwork-page .artwork-btn {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Error Pages (404, 410)
   ========================================================================== */

.error-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
    text-align: center;
}

.error-page .error-wrap {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Sad mascot for 404 */
.error-page .error-mascot {
    position: relative;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: #000;
    border: 3px solid rgba(0,0,0,0.9);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 2rem;
    animation: errorMascotWobble 3s ease-in-out infinite;
}

.error-page .error-mascot-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 0;
}

.error-page .error-mascot-face--a {
    animation: errorMascotFaceA 3s steps(1, end) infinite;
}

.error-page .error-mascot-face--b {
    opacity: 0;
    animation: errorMascotFaceB 3s steps(1, end) infinite;
}

@keyframes errorMascotWobble {
    0%, 60% { transform: rotate(0deg) scale(1); }
    65% { transform: rotate(-3deg) scale(1.02); }
    70% { transform: rotate(3deg) scale(1.02); }
    75% { transform: rotate(-2deg) scale(1.01); }
    80% { transform: rotate(2deg) scale(1.01); }
    85% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes errorMascotFaceA {
    0%, 60% { opacity: 1; }
    65%, 80% { opacity: 0; }
    85%, 100% { opacity: 1; }
}

@keyframes errorMascotFaceB {
    0%, 60% { opacity: 0; }
    65%, 80% { opacity: 1; }
    85%, 100% { opacity: 0; }
}

.error-page .error-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 0 auto 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.error-page .error-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.error-page .error-code {
    font-size: 6rem;
    font-weight: 900;
    margin: 0 0 0.5rem;
    letter-spacing: 0.05em;
    line-height: 1;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page .error-title {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.error-page .error-message {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 0.75rem;
}

.error-page .error-submessage {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.error-page .error-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.error-page .error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.error-page .error-btn:hover {
    transform: translateY(-2px);
}

.error-page .error-btn--primary {
    background: #000;
    color: #fff;
}

.error-page .error-btn--primary:hover {
    background: #111;
    color: #fff;
}

.error-page .error-btn--secondary {
    background: #fff;
    color: #000;
}

.error-page .error-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

.error-page .error-suggestions {
    border-top: 1px solid rgba(0,0,0,0.12);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.error-page .error-suggestions-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.error-page .error-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-page .error-suggestions-list li a {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    color: #000;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-page .error-suggestions-list li a:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
}

/* Footer winking smiley */
.error-page .error-footer-mark {
    position: relative;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: #000;
    border: 2px solid rgba(0,0,0,0.9);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 2rem auto 0.75rem;
    animation: footerMarkBob 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.error-page .error-mark-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}

.error-page .error-mark-face--a {
    animation: footerMarkFaceA 4s steps(1, end) infinite;
}

.error-page .error-mark-face--b {
    opacity: 0;
    animation: footerMarkFaceB 4s steps(1, end) infinite;
}

.error-page .error-footer-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

@media (max-width: 600px) {
    .error-page .error-wrap {
        padding: 2rem 1rem 3rem;
    }

    .error-page .error-mascot {
        width: 7rem;
        height: 7rem;
    }

    .error-page .error-mascot-face {
        font-size: 2.75rem;
    }

    .error-page .error-code {
        font-size: 4rem;
    }

    .error-page .error-title {
        font-size: 1.35rem;
    }

    .error-page .error-suggestions-list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thankyou-page {
    --bg: #fff;
    --text: #111;
    --muted: #444;
    --card-bg: #fafafa;
    --shadow: 0 4px 14px rgba(0,0,0,.16);
    --r: 18px;

    color: var(--text);
    text-align: center;
}

.thankyou-page .thankyou-wrap {
    max-width: 50rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Celebratory mascot */
.thankyou-page .thankyou-mascot {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    background: #000;
    border: 3px solid rgba(0,0,0,0.9);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    animation: thankyouMascotBounce 2s ease-in-out infinite;
}

.thankyou-page .thankyou-mascot-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 0;
}

.thankyou-page .thankyou-mascot-face--a {
    animation: thankyouMascotFaceA 3s steps(1, end) infinite;
}

.thankyou-page .thankyou-mascot-face--b {
    opacity: 0;
    animation: thankyouMascotFaceB 3s steps(1, end) infinite;
}

@keyframes thankyouMascotBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-8px) scale(1.05); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-4px) scale(1.02); }
}

@keyframes thankyouMascotFaceA {
    0%, 70% { opacity: 1; }
    75%, 90% { opacity: 0; }
    95%, 100% { opacity: 1; }
}

@keyframes thankyouMascotFaceB {
    0%, 70% { opacity: 0; }
    75%, 90% { opacity: 1; }
    95%, 100% { opacity: 0; }
}

.thankyou-page .thankyou-card {
    background: var(--card-bg);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.thankyou-page .thankyou-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.thankyou-page .thankyou-hero {
    background: #000;
    color: #fff;
}

.thankyou-page .thankyou-title {
    font-size: 2.25rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.thankyou-page .thankyou-message {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
    margin: 0;
}

.thankyou-page .thankyou-heading {
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.thankyou-page .thankyou-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thankyou-page .thankyou-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.thankyou-page .thankyou-step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: #000;
    color: #fff;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
}

.thankyou-page .thankyou-step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.thankyou-page .thankyou-step-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.thankyou-page .thankyou-meanwhile-text {
    margin: 0 0 1.25rem;
    color: var(--muted);
}

.thankyou-page .thankyou-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thankyou-page .thankyou-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thankyou-page .thankyou-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.thankyou-page .thankyou-link-emoji {
    font-size: 1.75rem;
}

.thankyou-page .thankyou-link-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.thankyou-page .thankyou-contact-alt {
    text-align: center;
}

.thankyou-page .thankyou-contact-alt p {
    margin: 0 0 0.75rem;
    color: var(--muted);
}

.thankyou-page .thankyou-phone {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.thankyou-page .thankyou-phone:hover {
    text-decoration: underline;
}

.thankyou-page .thankyou-hours {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Footer winking smiley */
.thankyou-page .thankyou-footer-mark {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: #000;
    border: 2px solid rgba(0,0,0,0.9);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 2rem auto 0.75rem;
    animation: footerMarkBob 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.thankyou-page .thankyou-mark-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.75rem;
    line-height: 1;
}

.thankyou-page .thankyou-mark-face--a {
    animation: footerMarkFaceA 4s steps(1, end) infinite;
}

.thankyou-page .thankyou-mark-face--b {
    opacity: 0;
    animation: footerMarkFaceB 4s steps(1, end) infinite;
}

.thankyou-page .thankyou-footer-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1.5rem;
    font-style: italic;
}

.thankyou-page .thankyou-cta {
    margin-top: 1rem;
}

.thankyou-page .thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid #000;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.thankyou-page .thankyou-btn:hover {
    transform: translateY(-2px);
}

.thankyou-page .thankyou-btn--primary {
    background: #000;
    color: #fff;
}

.thankyou-page .thankyou-btn--primary:hover {
    background: #111;
    color: #fff;
}

.thankyou-page .thankyou-btn--secondary {
    background: #fff;
    color: #000;
}

.thankyou-page .thankyou-btn--secondary:hover {
    background: #f2f2f2;
    color: #000;
}

@media (max-width: 768px) {
    .thankyou-page .thankyou-steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .thankyou-page .thankyou-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .thankyou-page .thankyou-wrap {
        padding: 2rem 1rem 3rem;
    }

    .thankyou-page .thankyou-mascot {
        width: 6rem;
        height: 6rem;
    }

    .thankyou-page .thankyou-mascot-face {
        font-size: 2.25rem;
    }

    .thankyou-page .thankyou-title {
        font-size: 1.65rem;
    }

    .thankyou-page .thankyou-links {
        grid-template-columns: 1fr;
    }

    .thankyou-page .thankyou-phone {
        font-size: 1.25rem;
    }
}

/* Reduced motion for error and thank you pages */
@media (prefers-reduced-motion: reduce) {
    .error-page .error-mascot,
    .error-page .error-mascot-face,
    .error-page .error-card,
    .error-page .error-btn,
    .error-page .error-footer-mark,
    .error-page .error-mark-face,
    .thankyou-page .thankyou-mascot,
    .thankyou-page .thankyou-mascot-face,
    .thankyou-page .thankyou-card,
    .thankyou-page .thankyou-link-card,
    .thankyou-page .thankyou-btn,
    .thankyou-page .thankyou-footer-mark,
    .thankyou-page .thankyou-mark-face {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}
