/* ==========================================================================
   HOTSTRING STUDIO — Site Stylesheet
   South Seattle, WA · Build · Repair · Record
   --------------------------------------------------------------------------
   1.  Tokens & reset
   2.  Base typography
   3.  Layout primitives
   4.  Navigation (top bar + mobile overlay)
   5.  Logo banner (homepage shop-sign)
   6.  Hero (homepage + page heros share the system)
   7.  Shipping bar
   8.  Section primitives (labels, headings, dividers)
   9.  Homepage — What We Do (proof cards + summary)
   10. Service detail pages (build / repair / record)
   11. Rates
   12. Reviews
   13. Contact
   14. Footer
   15. Reveal animation utility
   ========================================================================== */


/* ------------------------------------------------------------------
   1. Tokens & reset
   ------------------------------------------------------------------ */

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

:root {
    /* Surfaces, from darkest to slightly lifted */
    --bg:      #080808;
    --surface: #0f0f0f;
    --card:    #131313;
    --faint:   #1a1a1a;
    --border:  #1c1c1c;
    --border2: #242424;

    /* Brand red */
    --red:     #E53935;
    --red2:    #c62828;

    /* Foreground */
    --text:    #efefef;
    --dim:     #aaaaaa;
    --dim2:    #888888;
    --muted:   #9a9a9a;   /* lifted from #555 — readable contrast for all mono labels/meta */

    /* Type */
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --mono:    'IBM Plex Mono', monospace;
    --body:    'Barlow', sans-serif;

    /* Layout */
    --wrap:    1100px;
    --gutter:  2rem;
    --nav-h:   60px;

    /* Motion & depth — modern refresh 2026 */
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);   /* smooth spring-out */
    --ease-out:    cubic-bezier(0.33, 1, 0.68, 1);
    --ring:        0 0 0 3px rgba(229, 57, 53, 0.28);
    --glow:        0 0 28px rgba(229, 57, 53, 0.22);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03), 0 22px 48px -28px rgba(0, 0, 0, 0.85);
}

html { scroll-behavior: smooth; overflow-x: clip; }   /* clip (not hidden) so position:sticky still works */

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


/* ------------------------------------------------------------------
   2. Base typography
   ------------------------------------------------------------------ */

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-weight: 300;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Subtle film grain — sits above everything but ignores pointer events */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
}

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

::selection { background: var(--red); color: #080808; }


/* ------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------ */

.section-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: var(--wrap);
    margin: 0 auto;
}


/* ------------------------------------------------------------------
   4. Navigation
   ------------------------------------------------------------------ */

nav.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(8, 8, 8, 0.62);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 var(--gutter);
}

/* Hamburger anchored to the left */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 3;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Inline desktop link strip, centered between the hamburger and the logo */
.top-page-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.42rem;
    max-width: min(760px, calc(100vw - 210px));
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 2;
}
.top-page-links::-webkit-scrollbar { display: none; }

.top-page-links a {
    flex: 0 0 auto;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #eeeeee;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 8, 8, 0.76);
    padding: 0.48rem 0.62rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.top-page-links a:hover,
.top-page-links a:focus-visible {
    color: var(--red);
    border-color: rgba(229, 57, 53, 0.62);
    background: rgba(229, 57, 53, 0.08);
    transform: translateY(-1px);
}

/* Active page indicator */
.top-page-links a[aria-current="page"] {
    color: var(--red);
    border-color: rgba(229, 57, 53, 0.62);
    background: rgba(229, 57, 53, 0.10);
}

/* Logo on the right */
.nav-logo {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: block;
}
.nav-logo img {
    height: 34px;
    filter: none;
}

@media (max-width: 980px) {
    .nav-inner { padding: 0 1rem; }
    .top-page-links {
        max-width: calc(100vw - 145px);
    }
    .top-page-links a {
        font-size: 8px;
        letter-spacing: 0.14em;
        padding: 0.42rem 0.5rem;
    }
    .nav-logo { right: 1rem; }
    .nav-logo img { height: 30px; }
}

@media (max-width: 640px) {
    .nav-logo { display: none; }
    .top-page-links {
        max-width: calc(100vw - 78px);
    }
    .top-page-links a {
        font-size: 7.5px;
        padding: 0.38rem 0.46rem;
    }
}

/* Full-screen mobile menu overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(8, 8, 8, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-overlay a {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.8rem, 9vw, 6rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.05;
    padding: 0.15em 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
    transition: color 0.2s;
}
.menu-overlay a:last-of-type { border-bottom: none; }
.menu-overlay a:hover,
.menu-overlay a[aria-current="page"] { color: var(--red); }

.menu-loc {
    margin-top: 2.5rem;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--muted);
    text-transform: uppercase;
}


/* ------------------------------------------------------------------
   5. Logo banner — home page shop-sign moment
   ------------------------------------------------------------------ */

.logo-banner {
    width: 100%;
    background: #000;
    border-bottom: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem var(--gutter);
    position: relative;
    overflow: hidden;
    margin-top: var(--nav-h);
}
.logo-banner::before {
    display: none;   /* grid removed — clean black panel behind the logo */
}
.logo-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.logo-banner-inner img {
    filter: none;
    max-width: min(640px, 85vw);
    width: 100%;
    height: auto;
}
.logo-banner-sub {
    font-family: var(--mono);
    font-size: clamp(10px, 1.35vw, 12px);
    letter-spacing: 0.03em;
    line-height: 1.7;
    color: var(--muted);
    text-transform: none;
    max-width: 58ch;
    margin: 0.4rem auto 0;
    text-align: center;
    text-wrap: balance;
}


/* ------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------
   Two flavors:
     #hero.hero--home    : the big "Build. Repair. Record." landing
     #hero.hero--page    : a slimmer version for subpages, same vocabulary
   Both share the grid background, scope canvas, and red top stripe.
   ------------------------------------------------------------------ */

#hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero--home {
    min-height: 100vh;
    padding-top: 0;        /* sits directly below the logo-banner */
}

.hero--page {
    min-height: 52vh;
    padding-top: var(--nav-h);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--faint) 1px, transparent 1px),
        linear-gradient(90deg, var(--faint) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 80%);
    z-index: 0;
}

.hero-scope {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
    mix-blend-mode: screen;
    mask-image: radial-gradient(ellipse 96% 88% at 50% 48%, black 28%, transparent 84%);
}

.hero-stripe {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 40%, var(--red) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
    text-align: center;   /* center eyebrow + CTA under the logo */
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.35em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.7s 0.2s forwards;
}

/* Homepage hero title — three big lines */
.hero--home .hero-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(4.5rem, 15vw, 13rem);
    line-height: 0.88;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: slideUp 0.7s 0.35s forwards;
    /* The block is fit-content (= width of the widest line, /RECORD) and centered
       under the logo, so the bottom word stays symmetrical with it. Lines are
       left-aligned inside the block, so every word starts at the same x and the
       red slashes stack into a clean column. */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.hero--home .hero-title a {
    color: var(--text);
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}
.hero--home .hero-title a:nth-child(2) { color: var(--red); }
.hero--home .hero-title a:hover { color: var(--red); transform: translateX(0.04em); }
.hero--home .hero-title a:nth-child(2):hover { color: var(--text); }

/* Subpage hero title — single word */
.hero--page .hero-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(3.5rem, 11vw, 8rem);
    line-height: 0.88;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: slideUp 0.7s 0.35s forwards;
}
.hero--page .hero-title .accent { color: var(--red); }

.hero-sub {
    font-family: var(--mono);
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    letter-spacing: 0.3em;
    color: var(--dim);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 0.7s 0.5s forwards;
}
.hero-sub a {
    color: var(--dim);
    transition: color 0.2s;
    position: relative;
}
.hero-sub a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.hero-sub a:hover { color: var(--red); }
.hero-sub a:hover::after { transform: scaleX(1); }
.hero-sub .dot { color: var(--muted); margin: 0 0.5em; }

.hero-cta {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #080808;
    background: var(--red);
    padding: 14px 32px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    animation: slideUp 0.7s 0.65s forwards;
}
.hero-cta:hover { background: var(--red2); transform: translateY(-2px); }

.hero-corner {
    position: absolute;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 1;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-align: right;
    line-height: 1.9;
    text-transform: uppercase;
}
@media (max-width: 700px) {
    .hero-corner { display: none; }
}


/* ------------------------------------------------------------------
   7. Shipping bar
   ------------------------------------------------------------------ */

#shipping {
    background: #0c0c0c;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
#shipping::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--red);
}

.shipping-bar {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter) 0 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 80px;
}
.shipping-bar-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.shipping-bar-eyebrow {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.35em;
    color: var(--red);
    text-transform: uppercase;
    white-space: nowrap;
}
.shipping-bar-offer {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.shipping-bar-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}
.shipping-bar-title em {
    font-style: normal;
    color: var(--red);
}
.shipping-bar-sub {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
}
.shipping-bar-cta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #080808;
    background: var(--red);
    padding: 12px 28px;
    white-space: nowrap;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background 0.2s, transform 0.2s;
}
.shipping-bar-cta:hover {
    background: var(--red2);
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .shipping-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem var(--gutter) 1.5rem 3.5rem;
        min-height: auto;
        gap: 1.25rem;
    }
    .shipping-bar-left {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ------------------------------------------------------------------
   8. Section primitives
   ------------------------------------------------------------------ */

.label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.35em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}


/* ------------------------------------------------------------------
   9. Homepage — What We Do
   ------------------------------------------------------------------ */

#what-we-do {
    padding: 100px 0;
    background: var(--surface);
}

.what-we-do-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}
.what-we-do-copy {
    border-left: 3px solid var(--red);
    padding-left: 1.5rem;
}
.what-we-do-copy p {
    font-size: 1rem;
    line-height: 1.8;
    color: #999;
    padding-top: 0.5rem;
}
.what-we-do-copy strong {
    color: var(--text);
    font-weight: 500;
}
.what-we-do-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}
.what-we-do-link {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
    border: 1px solid var(--border2);
    background: rgba(19, 19, 19, 0.72);
    padding: 0.68rem 0.92rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.what-we-do-link:hover,
.what-we-do-link:focus-visible {
    color: var(--red);
    border-color: rgba(229, 57, 53, 0.45);
    background: rgba(229, 57, 53, 0.055);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .what-we-do-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .what-we-do-copy { padding-left: 1.25rem; }
}

/* Proof cards — photo tiles linking to Build / Repair / Record */
.services-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.proof-card {
    position: relative;
    min-height: 280px;
    border: 1px solid var(--border);
    background: var(--card);
    overflow: hidden;
}
.proof-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.04);
    transition: transform 0.6s ease, filter 0.3s ease;
}
.proof-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.14) 44%, rgba(0,0,0,0.78) 100%),
        linear-gradient(140deg, rgba(229,57,53,0.18) 0%, rgba(229,57,53,0) 36%);
    pointer-events: none;
    z-index: 1;
}
.linked-photo {
    display: block;
    height: 100%;
    position: relative;
}
.linked-photo:hover img,
.linked-photo:focus-visible img {
    transform: scale(1.03);
    filter: contrast(1.08) brightness(1.04);
}
.linked-photo:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

.proof-link {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1rem;
    z-index: 2;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(239, 239, 239, 0.96);
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
    transition: color 0.2s, transform 0.25s, letter-spacing 0.25s;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.linked-photo:hover .proof-link,
.linked-photo:focus-visible .proof-link {
    color: var(--red);
    transform: translateY(-2px);
    letter-spacing: 0.06em;
}

/* Record tile crop adjustment */
.proof-card .record-photo-fit {
    object-position: 38% center;
    background: #050505;
}

/* Summary service cards (text-only) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.service-card {
    background: var(--card);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
    color: inherit;
}
.service-card:hover { background: #191919; }
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--red);
    transition: height 0.35s ease;
}
.service-card:hover::before { height: 100%; }

.service-num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.service-title {
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #777;
}

@media (max-width: 900px) {
    .services-proof { grid-template-columns: 1fr; }
    .proof-card { min-height: 240px; }
}


/* ------------------------------------------------------------------
   10. Service detail pages (build / repair / record)
   ------------------------------------------------------------------ */

.category-section {
    padding: 100px 0;
    background: var(--bg);
}
.category-section:nth-of-type(even) { background: var(--surface); }

.category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 4rem;
    align-items: center;
}
.category-layout-flip { grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr); }

.category-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #aaa;
    max-width: 680px;
    margin-bottom: 2rem;
}

/* Category specs strip — mono key/value rows */
.category-specs {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    margin: 0 0 2.5rem 0;
    background: #0b0b0b;
}
.spec-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    color: var(--red);
    text-transform: uppercase;
}
.spec-val {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--dim);
}

/* Detail cards (numbered, two-up or three-up grid) */
.category-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.category-detail-card {
    background: var(--card);
    padding: 1.5rem;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
}
.category-detail-card:hover { background: #191919; }
.category-detail-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--red);
    transition: height 0.35s ease;
}
.category-detail-card:hover::before { height: 100%; }
.category-detail-card span.num {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    color: var(--muted);
    margin-bottom: 1rem;
}
.category-detail-card h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.55rem;
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.category-detail-card p {
    color: #888;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Photo frame on category pages */
.category-media {
    position: relative;
    aspect-ratio: 4 / 5;
    padding: 14px;
    background: linear-gradient(180deg, #111 0%, #0b0b0b 100%);
    border: 1px solid var(--border2);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    isolation: isolate;
}
.category-media::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 2;
}
.category-media::after {
    content: '';
    position: absolute;
    inset: 14px;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.08) 42%, rgba(0,0,0,0.40) 100%),
        linear-gradient(115deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 38%);
    pointer-events: none;
    z-index: 1;
}
.category-media img {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02) brightness(0.94);
    transition: transform 0.6s ease, filter 0.35s ease;
}
.category-media:hover img {
    transform: scale(1.03);
    filter: saturate(0.96) contrast(1.04) brightness(0.96);
}
.category-media-caption {
    position: absolute;
    left: 2rem;
    bottom: 1.9rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    background: rgba(7, 7, 7, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #c9c9c9;
}
.category-media-caption::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
}

@media (max-width: 900px) {
    .category-layout,
    .category-layout-flip { grid-template-columns: 1fr; gap: 3rem; }
    .category-layout-flip .category-media { order: 2; }
    .category-layout-flip .category-copy { order: 1; }
    .category-media { aspect-ratio: 4 / 3; }
    .category-media img,
    .category-media::before,
    .category-media::after { inset: 10px; }
    .category-media img {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    .spec-row { grid-template-columns: 110px 1fr; }
}
@media (max-width: 650px) {
    .category-list-grid { grid-template-columns: 1fr; }
    .category-detail-card { min-height: auto; }
    .spec-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* "Related" footer block on detail pages — cross-link the other services */
.related-services {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.related-services .label {
    margin-bottom: 1rem;
}
.related-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.related-card {
    background: var(--card);
    padding: 1.5rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.25s;
    color: inherit;
}
.related-card:hover { background: #191919; }
.related-card-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.related-card-arrow {
    color: var(--red);
    font-family: var(--mono);
    font-size: 1.1rem;
}
@media (max-width: 600px) {
    .related-services-grid { grid-template-columns: 1fr; }
}


/* ------------------------------------------------------------------
   11. Rates
   ------------------------------------------------------------------ */

#rates {
    padding: 100px 0;
    background: var(--bg);
}
.rates-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}
.rates-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #999;
    padding-top: 0.5rem;
}
.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.rate-card {
    background: var(--card);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 240px;
}
.rate-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.rate-card:hover::before { transform: scaleX(1); }

.rate-card-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.rate-card-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.rate-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}
.rate-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.rate-service {
    color: var(--dim);
    font-size: 0.92rem;
    line-height: 1.5;
}
.rate-price {
    font-family: var(--mono);
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.rate-note {
    margin-top: 2rem;
    border-left: 4px solid var(--red);
    background: #0c0c0c;
    padding: 1.25rem 1.5rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--dim2);
}
.rate-note strong {
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 800px) {
    .rates-intro,
    .rates-grid { grid-template-columns: 1fr; }
    .rates-intro { gap: 2rem; }
    .rate-row { grid-template-columns: 1fr; gap: 0.35rem; }
}


/* ------------------------------------------------------------------
   12. Reviews
   ------------------------------------------------------------------ */

#reviews {
    padding: 100px 0;
    background: var(--bg);
}
.reviews-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}
.reviews-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #999;
    padding-top: 0.5rem;
}
.review-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.review-list {
    background: var(--card);
    padding: 1.5rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.review-post {
    border: 1px solid var(--border);
    background: #0c0c0c;
    padding: 1rem 1.1rem;
    position: relative;
    overflow: hidden;
}
.review-post::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--red);
    opacity: 0.85;
}
.review-post-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
.review-post-name {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.review-post-meta {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.35rem;
}
.review-stars {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--red);
    white-space: nowrap;
}
.review-post-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--dim);
    white-space: pre-wrap;
}
.review-empty,
.review-status {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.7;
    border: 1px dashed var(--border2);
    padding: 1rem;
    background: #0b0b0b;
}

.review-form-panel {
    background: var(--card);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.review-form-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
}
.review-form-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.review-form-note {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #777;
    margin-bottom: 1.25rem;
}
.review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.review-form button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Star-rating input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
    margin-top: 0.4rem;
}
.rating-input input { display: none; }
.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--border2);
    transition: color 0.15s;
    line-height: 1;
}
.rating-input label::before { content: '★'; }
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: var(--red); }

@media (max-width: 850px) {
    .reviews-intro,
    .review-board { grid-template-columns: 1fr; }
    .reviews-intro { gap: 2rem; }
    .review-list { min-height: auto; }
}


/* ------------------------------------------------------------------
   13. Contact
   ------------------------------------------------------------------ */

#contact {
    padding: 100px 0;
    background: var(--surface);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}
.contact-left {
    display: flex;
    flex-direction: column;
}
.contact-left > p:not(.label) {
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--dim2);
}
.contact-poster-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.06em;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(3rem, 5.7vw, 4.55rem);
    line-height: 0.84;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}
.contact-poster-headline span { display: block; color: var(--text); }
.contact-poster-headline .accent { color: var(--red); }

.contact-links {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}
.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
    color: var(--text);
}
.contact-link:first-child { border-top: 1px solid var(--border); }
.contact-link:hover { color: var(--red); }
.contact-link-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-link-val {
    font-size: 0.9rem;
    font-weight: 500;
}
.contact-arrow {
    color: var(--red);
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-field label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #d2d2d2;            /* was --muted (#555, low contrast) — now ~12:1 on dark */
    text-transform: uppercase;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8f8f8f;            /* readable secondary text, not the old faint gray */
    opacity: 1;                /* Firefox dims placeholders by default */
}
.form-field input,
.form-field textarea,
.form-field select {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-family: var(--body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--red); }
.form-field textarea {
    resize: vertical;
    min-height: 120px;
}
.form-submit {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #080808;
    background: var(--red);
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background 0.2s;
    width: 100%;
}
.form-submit:hover { background: var(--red2); }

/* Contact form status / reassurance line */
.form-status {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.7;
    text-transform: uppercase;
    color: #9a9a9a;
    border: 1px dashed var(--border2);
    background: #0b0b0b;
    padding: 0.75rem 0.9rem;
}
.form-status.is-success {
    color: #d3ecd3;
    border-style: solid;
    border-color: rgba(120, 200, 120, 0.45);
    background: rgba(46, 104, 46, 0.14);
}
.form-status.is-error {
    color: #f3ccca;
    border-style: solid;
    border-color: rgba(229, 57, 53, 0.55);
    background: rgba(229, 57, 53, 0.12);
}

@media (max-width: 700px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-poster-headline {
        font-size: clamp(3.2rem, 15vw, 5.2rem);
    }
}


/* ------------------------------------------------------------------
   14. Home closing block (replacement for the duplicated contact form)
   ------------------------------------------------------------------ */

.cta-block {
    padding: 90px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--faint) 1px, transparent 1px),
        linear-gradient(90deg, var(--faint) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    opacity: 0.7;
    pointer-events: none;
}
.cta-inner {
    position: relative;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}
.cta-inner .label {
    margin-bottom: 1rem;
}
.cta-inner h2 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.cta-inner h2 .accent { color: var(--red); }
.cta-inner p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dim);
    max-width: 540px;
    margin: 0 auto 2.2rem;
}
.cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-actions .hero-cta {
    animation: none;
    opacity: 1;
}
.cta-actions .what-we-do-link {
    padding: 14px 22px;
}


/* ------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------ */

footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo img {
    height: 28px;
    filter: none;
    opacity: 0.6;
}
.footer-copy {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
}
.footer-slogan {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}
.footer-slogan a {
    color: inherit;
    transition: color 0.2s;
}
.footer-slogan a:hover { color: var(--red); }
.footer-slogan .sep {
    display: inline-block;
    margin: 0 0.4em;
}


/* ------------------------------------------------------------------
   16. Reveal animation utility
   ------------------------------------------------------------------
   Progressive enhancement: content is visible by default. JS adds the
   `js` class to <html>, which arms the hidden state. Without JS (or
   before JS runs), content shows immediately — never invisible.
   ------------------------------------------------------------------ */

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

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal {
    opacity: 0;
    transform: translateY(30px);
}
html.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-eyebrow,
    .hero--home .hero-title,
    .hero--page .hero-title,
    .hero-sub,
    .hero-cta {
        animation: none;
        opacity: 1;
    }
}

/* Skip-to-content for keyboard nav */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: var(--red);
    color: #080808;
    padding: 0.5rem 1rem;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 1000;
}
.skip-link:focus { left: 1rem; }


/* Clean unified version tweaks */
.clean-services-grid .service-card { min-height: 180px; display: flex; flex-direction: column; justify-content: center; }
.clean-services-grid .service-title { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 0; }
.clean-list-grid .category-detail-card { min-height: 150px; }
.clean-list-grid .category-detail-card h3 { margin-bottom: 0; }
.compact-intro { margin-bottom: 2.5rem; }
#reviews-preview { padding: 90px 0; background: var(--bg); }
.review-list-preview { max-width: 760px; min-height: 120px; }
.review-list-preview .review-post:nth-child(n+3) { display: none; }
@media (max-width: 700px) { .clean-services-grid .service-card { min-height: 140px; } }


/* Full-width signal wave + simplified homepage sections */
#hero .hero-scope,
#heroScopeCanvas.hero-scope {
    inset: 0 auto 0 50%;
    width: 100%;            /* was 100vw — avoids scrollbar-width horizontal overflow */
    height: 100%;
    transform: translateX(-50%);
    opacity: 0.92;
    mask-image: none;
}
.services-headline {
    margin-bottom: 2.5rem;
}
.services-headline .section-heading,
#reviews-preview .section-heading {
    margin-bottom: 0;
}
#services .services-proof {
    margin-bottom: 0;
}
@media (max-width: 800px) {
    #services .services-proof {
        grid-template-columns: 1fr;
    }
}

/* v5: stacked services headline and reviews label-only cleanup */
.stacked-what-we-do,
.stacked-hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.04em;
    line-height: 0.82;
}
.stacked-what-we-do span,
.stacked-hero-title span {
    display: block;
}
.reviews-label-only {
    margin-bottom: 1.5rem;
}
.reviews-label-only .label {
    margin-bottom: 0;
}


/* v6: spacing and proportional logo refinements */
.what-we-do-heading {
    display: block;
    margin-top: 0.35rem;
    letter-spacing: 0.08em;
    line-height: 0.9;
}

#services .services-headline {
    margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

#shipping {
    margin: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.nav-logo img,
.footer-logo img {
    width: auto !important;
    height: 34px;
    max-width: 160px;
    object-fit: contain;
    aspect-ratio: auto;
}

.footer-logo img {
    height: 28px;
    max-width: 120px;
}

.logo-banner-inner img {
    aspect-ratio: auto;
    object-fit: contain;
}

@media (max-width: 980px) {
    .nav-logo img { height: 30px; max-width: 145px; }
}

/* v7: more generous but still balanced homepage spacing */
#shipping {
    margin: clamp(2.75rem, 6vw, 5rem) 0;
}

#services {
    padding: clamp(5.25rem, 9vw, 8rem) 0 clamp(5.5rem, 9vw, 8.25rem);
}

#services .services-headline {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

#services .services-proof {
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

#reviews-preview {
    padding: clamp(5rem, 8vw, 7.25rem) 0;
}

#reviews-preview .reviews-label-only {
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

#contact {
    padding: clamp(5.75rem, 9vw, 8rem) 0;
}

@media (max-width: 700px) {
    #shipping {
        margin: 2.25rem 0 3rem;
    }
    #services,
    #reviews-preview,
    #contact {
        padding-top: 4.25rem;
        padding-bottom: 4.75rem;
    }
    #services .services-headline {
        margin-bottom: 2.75rem;
    }
}


/* Imported single-page section/photo/carousel layout support */
.services-intro{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;margin-bottom:5rem}.services-intro p{font-size:1rem;line-height:1.8;color:#999;padding-top:.5rem}.services-copy{display:flex;flex-direction:column;gap:1.25rem}.services-location-note{border-left:3px solid var(--red);padding-left:1.25rem;color:#aaa}@media(max-width:700px){.services-intro{grid-template-columns:1fr;gap:2rem}}
.media-frame{position:relative;overflow:hidden;border:1px solid var(--border);background:#0b0b0b;isolation:isolate}.media-frame img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.03) contrast(1.04);transform:scale(1.01)}.media-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.16) 48%,rgba(0,0,0,.58) 100%),linear-gradient(120deg,rgba(229,57,53,.12) 0%,rgba(229,57,53,0) 38%);pointer-events:none;z-index:1}.studio-eq-header{margin-bottom:2rem;border:1px solid var(--border);background:linear-gradient(180deg,#0d0d0d 0%,#090909 100%);position:relative;overflow:hidden;box-shadow:0 20px 48px rgba(0,0,0,.20)}.studio-eq-header::before{content:'';position:absolute;inset:0;background-image:linear-gradient(var(--faint) 1px,transparent 1px),linear-gradient(90deg,var(--faint) 1px,transparent 1px);background-size:32px 32px;opacity:.34;pointer-events:none}#vuCanvas{width:100%;height:280px;display:block;position:relative;z-index:1}@media(max-width:700px){#vuCanvas{height:220px}}
.studio-visual{position:relative;aspect-ratio:5/4;padding:14px;background:linear-gradient(180deg,#111 0%,#0b0b0b 100%);border:1px solid var(--border2);box-shadow:0 18px 48px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;overflow:hidden}.studio-visual::before{content:'';position:absolute;inset:14px;border:1px solid rgba(255,255,255,.05);pointer-events:none;z-index:2}.studio-visual::after{content:'';position:absolute;inset:14px;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.08) 42%,rgba(0,0,0,.36) 100%),linear-gradient(115deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,0) 38%);pointer-events:none;z-index:1}.studio-visual img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(.92) contrast(1.02) brightness(.94);transform:scale(1.015);transition:transform .6s ease,filter .35s ease}.studio-visual:hover img{transform:scale(1.03);filter:saturate(.96) contrast(1.04) brightness(.96)}.studio-photo-caption{position:absolute;left:2rem;bottom:1.9rem;z-index:3;display:inline-flex;align-items:center;gap:.75rem;padding:.65rem .9rem;background:rgba(7,7,7,.68);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(8px);font-family:var(--mono);font-size:9px;letter-spacing:.24em;text-transform:uppercase;color:#c9c9c9}.studio-photo-caption::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red);display:inline-block;flex-shrink:0}.studio-carousel{cursor:pointer}.carousel-track,.carousel-slide{position:absolute;inset:14px}.carousel-slide{opacity:0;pointer-events:none;transition:opacity .9s ease}.carousel-slide.active{opacity:1;pointer-events:auto}.studio-carousel-caption{position:absolute;left:2rem;bottom:1.9rem;z-index:4;display:inline-flex;flex-direction:column;gap:.2rem;padding:.7rem .95rem;background:rgba(7,7,7,.68);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(8px);text-transform:uppercase}.studio-carousel-caption span{font-family:var(--mono);font-size:8px;letter-spacing:.24em;color:#8f8f8f}.studio-carousel-caption strong{font-family:var(--mono);font-size:10px;letter-spacing:.18em;color:#d8d8d8;font-weight:500}.studio-carousel-controls{position:absolute;right:2rem;bottom:1.9rem;z-index:5;display:flex;gap:.4rem}.carousel-btn{width:34px;height:34px;border:1px solid rgba(255,255,255,.10);background:rgba(7,7,7,.68);color:var(--text);font-size:1.35rem;line-height:1;cursor:pointer;backdrop-filter:blur(8px);transition:color .2s,border-color .2s,transform .2s}.carousel-btn:hover,.carousel-btn:focus{color:var(--red);border-color:rgba(229,57,53,.45);transform:translateY(-1px)}.studio-carousel-dots{position:absolute;left:50%;bottom:1.15rem;z-index:5;transform:translateX(-50%);display:flex;gap:.45rem}.carousel-dot{width:6px;height:6px;border-radius:50%;border:0;background:rgba(255,255,255,.22);cursor:pointer;padding:0;transition:background .2s,transform .2s}.carousel-dot.active{background:var(--red);transform:scale(1.25)}@media(max-width:700px){.studio-visual{padding:10px}.studio-visual::before,.studio-visual::after{inset:10px}.studio-photo-caption,.studio-carousel-caption{left:1.2rem;bottom:1.1rem;letter-spacing:.18em}.carousel-track,.carousel-slide{inset:10px}.studio-carousel-controls{right:1.2rem;bottom:1.1rem}.studio-carousel-dots{bottom:.65rem}}
.studio-gallery{margin-top:1.25rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.studio-gallery-item{aspect-ratio:4/3}.build-card-media{margin:-3rem -2.5rem 1.6rem;aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--border);position:relative}.build-card-media img{width:100%;height:100%;object-fit:cover;display:block}.build-card-media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.18) 48%,rgba(0,0,0,.62) 100%),linear-gradient(135deg,rgba(229,57,53,.14) 0%,rgba(229,57,53,0) 34%);pointer-events:none}.sidebar-photo{aspect-ratio:1/1;margin-bottom:1px}@media(max-width:700px){.studio-gallery{grid-template-columns:1fr}.build-card-media{margin:-3rem -2rem 1.35rem}}
.category-section .category-detail-card span:not(.num){display:block;font-family:var(--mono);font-size:9px;letter-spacing:.24em;color:var(--muted);margin-bottom:1rem}.category-layout-flip .category-media{order:1}.category-layout-flip .category-copy{order:2}.category-media .studio-visual{min-height:520px}.category-carousel{width:100%}.record-window{border-left:4px solid var(--red);padding-left:2rem}.category-list-grid.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:900px){.category-layout-flip .category-media{order:2}.category-layout-flip .category-copy{order:1}.category-media .studio-visual{min-height:420px}}@media(max-width:650px){.category-list-grid.two-up{grid-template-columns:1fr}.record-window{padding-left:1.25rem}}
.builds-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);margin-top:4rem}.build-card{background:var(--card);padding:3rem 2.5rem;position:relative;overflow:hidden}.build-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--red);transform:scaleX(0);transition:transform .35s ease;transform-origin:left}.build-card:hover::after{transform:scaleX(1)}.build-card-label{font-family:var(--mono);font-size:9px;letter-spacing:.3em;color:var(--muted);text-transform:uppercase;margin-bottom:1rem}.build-card-title{font-family:var(--display);font-weight:800;font-size:2.2rem;text-transform:uppercase;letter-spacing:.03em;line-height:1;margin-bottom:1rem}.build-card p{font-size:.9rem;line-height:1.75;color:#777}@media(max-width:600px){.builds-grid{grid-template-columns:1fr}}
.home-service-statement{display:grid;grid-template-columns:minmax(0,1fr) 4px minmax(0,1fr);gap:3rem;align-items:center;min-height:320px}.home-service-left .section-heading{margin-bottom:0}.home-service-divider{width:4px;align-self:stretch;min-height:160px;background:var(--red)}.home-service-right p{font-family:var(--display);font-size:clamp(2.4rem,6vw,5.2rem);font-weight:800;line-height:.95;letter-spacing:.02em;text-transform:none;color:var(--text)}@media(max-width:760px){.home-service-statement{grid-template-columns:1fr;gap:2rem}.home-service-divider{width:100%;height:4px;min-height:4px}.home-service-right p{font-size:clamp(2rem,13vw,4rem)}}


/* ------------------------------------------------------------------
   Homepage service statement + alternating section tones
   ------------------------------------------------------------------ */
:root {
    --tone-dark: #080808;
    --tone-light: #111111;
    --tone-lift: #151515;
}

main > section {
    position: relative;
}

main > section:nth-of-type(odd):not(.hero--home):not(.home-services-section) {
    background-color: var(--tone-dark);
}

main > section:nth-of-type(even):not(.home-services-section) {
    background-color: var(--tone-light);
}

#shipping {
    background-color: var(--tone-light);
}

#services.home-services-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(5rem, 8vw, 7.5rem) 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(229,57,53,0.035) 0%, rgba(229,57,53,0) 34%),
        linear-gradient(90deg, #0a0a0a 0%, #101010 50%, #0d0d0d 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#services.home-services-section::before,
#services.home-services-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: min(700px, 52vw) auto;
    opacity: 0.24;
    filter: grayscale(1) saturate(0.75) contrast(1.15) brightness(0.52);
    pointer-events: none;
}

#services.home-services-section::before {
    background-image: linear-gradient(90deg, rgba(8,8,8,0.22), rgba(8,8,8,0.96) 72%), url('assets/single-19-studio-console-and-workstation.webp');
    background-position: left bottom;
}

#services.home-services-section::after {
    z-index: -1;
    background-image: linear-gradient(270deg, rgba(8,8,8,0.18), rgba(8,8,8,0.94) 68%), url('assets/single-03-guitars-in-the-studio.webp');
    background-position: right center;
    opacity: 0.20;
}

#services.home-services-section .section-wrap {
    max-width: min(1520px, 94vw);
}

#services.home-services-section .home-service-statement {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) 4px minmax(320px, 1.05fr);
    gap: clamp(3rem, 6vw, 6.5rem);
    align-items: center;
    min-height: clamp(340px, 34vw, 520px);
    padding: clamp(1.5rem, 3vw, 3rem) 0;
}

#services.home-services-section .home-service-left {
    padding-left: clamp(0rem, 3vw, 2.5rem);
}

#services.home-services-section .home-service-left .label {
    margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
    font-family: var(--mono);
    font-size: clamp(0.78rem, 1.15vw, 1.05rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.36em;
    text-transform: lowercase;
    color: rgba(239,239,239,0.56);
}

#services.home-services-section .home-service-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(5.5rem, 12vw, 12rem);
    font-weight: 700;
    line-height: 0.74;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 12px 36px rgba(0,0,0,0.55);
}

#services.home-services-section .home-service-divider {
    width: 4px;
    min-height: clamp(220px, 28vw, 440px);
    align-self: center;
    background: linear-gradient(180deg, rgba(229,57,53,0), var(--red) 14%, var(--red) 86%, rgba(229,57,53,0));
    box-shadow: 0 0 24px rgba(229,57,53,0.16);
}

#services.home-services-section .home-service-right {
    padding-right: clamp(0rem, 3vw, 2.5rem);
}

#services.home-services-section .home-service-right p {
    max-width: 760px;
    font-family: var(--body);
    font-size: clamp(1.55rem, 2.4vw, 2.65rem);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0.015em;
    text-transform: none;
    color: rgba(239,239,239,0.82);
}

@media (max-width: 860px) {
    #services.home-services-section .home-service-statement {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        min-height: auto;
    }
    #services.home-services-section .home-service-divider {
        width: 100%;
        height: 3px;
        min-height: 3px;
        background: linear-gradient(90deg, rgba(229,57,53,0), var(--red) 16%, var(--red) 84%, rgba(229,57,53,0));
    }
    #services.home-services-section .home-service-title {
        font-size: clamp(4.5rem, 22vw, 8rem);
    }
    #services.home-services-section .home-service-right p {
        font-size: clamp(1.35rem, 6vw, 2.25rem);
    }
}

/* Homepage service-line identities */
.service-identity-grid .service-identity-card {
    min-height: clamp(390px, 40vw, 500px);
}
.service-identity-card .linked-photo {
    overflow: hidden;
}
.service-identity-card::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.22) 30%, rgba(0,0,0,0.9) 100%),
        linear-gradient(145deg, rgba(229,57,53,0.24) 0%, rgba(229,57,53,0.06) 34%, rgba(0,0,0,0) 70%);
}
.identity-copy {
    position: absolute;
    left: clamp(1.15rem, 2vw, 1.8rem);
    right: clamp(1.15rem, 2vw, 1.8rem);
    bottom: clamp(1.15rem, 2vw, 1.8rem);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    pointer-events: none;
}
.identity-kicker {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--red);
    text-transform: uppercase;
}
.service-identity-card .identity-title {
    position: static;
    display: block;
    font-size: clamp(2.7rem, 3.9vw, 4.15rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    max-width: 100%;
    margin: 0;
}
.service-identity-card:hover .identity-title,
.service-identity-card:focus-within .identity-title {
    color: var(--red);
    transform: translateY(-2px);
    letter-spacing: 0.03em;
}
.service-identity-custom .identity-title { max-width: 10.5ch; }
.service-identity-repairs .identity-title { max-width: 8.8ch; }
.service-identity-recordings .identity-title { max-width: 9.4ch; }
@media (max-width: 1000px) {
    .service-identity-card .identity-title {
        font-size: clamp(2.45rem, 5vw, 3.75rem);
    }
}
@media (max-width: 800px) {
    .service-identity-grid .service-identity-card {
        min-height: 360px;
    }
    .service-identity-card .identity-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
        max-width: 100%;
    }
}



/* Homepage card identity refinement */
.service-identity-card .identity-copy {
    gap: 0.5rem;
}
.service-identity-card .identity-title {
    font-size: clamp(2.85rem, 4vw, 4.25rem);
    line-height: 0.9;
    max-width: 100%;
}
.service-identity-custom .identity-title { max-width: 8.4ch; }
.service-identity-repairs .identity-title { max-width: 7.5ch; }
.service-identity-recordings .identity-title { max-width: 8.8ch; }
.identity-subline {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(239, 239, 239, 0.78);
    text-shadow: 0 3px 16px rgba(0,0,0,0.65);
}
@media (max-width: 1000px) {
    .service-identity-card .identity-title {
        font-size: clamp(2.5rem, 5vw, 3.8rem);
    }
}
@media (max-width: 800px) {
    .service-identity-card .identity-copy {
        gap: 0.45rem;
    }
    .service-identity-card .identity-title {
        font-size: clamp(2.45rem, 12vw, 4.2rem);
        max-width: 100%;
    }
    .identity-subline {
        font-size: 8px;
        letter-spacing: 0.18em;
    }
}


/* Bullet-first copy cleanup + bench services section */
.service-bullets {
    margin: 0;
    padding-left: 1.1rem;
    color: #a6a6a6;
    font-size: 0.92rem;
    line-height: 1.7;
}
.service-bullets li::marker { color: var(--red); }
.category-detail-card .service-bullets { margin-top: 0.35rem; }
.bench-services-section { padding: clamp(4rem, 7vw, 7rem) 0; }
.bench-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.bench-services-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.bench-photo {
    position: relative;
    min-height: 390px;
    border: 1px solid var(--border2);
    background: #0b0b0b;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.bench-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0.78) 100%);
    z-index: 1;
    pointer-events: none;
}
.bench-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.95) contrast(1.04) brightness(.94);
    transition: transform .6s ease, filter .3s ease;
}
.bench-photo:hover img,
.bench-photo:focus-visible img { transform: scale(1.03); filter: contrast(1.08) brightness(.98); }
.bench-photo span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #d8d8d8;
}
@media(max-width:900px){
    .bench-services-layout { grid-template-columns: 1fr; }
    .bench-services-media { order: -1; }
}
@media(max-width:650px){
    .bench-services-media { grid-template-columns: 1fr; }
    .bench-photo { min-height: 320px; }
}


/* Service-page rate blocks */
.service-rates-section { padding: clamp(4rem, 7vw, 7rem) 0; }
.service-rates-intro { align-items: flex-end; gap: 1.5rem; }
.service-page-rates-grid { margin-top: 2rem; }
.service-page-rates-grid .rate-card { min-height: auto; }
.mini-rate-link { white-space: nowrap; margin-bottom: .45rem; }
@media(max-width:700px){ .service-rates-intro { align-items: flex-start; } .mini-rate-link { margin-top: 1rem; } }

/* Studio VU canvas restoration */
.studio-eq-header { min-height: 280px; }
#vuCanvas { background: radial-gradient(circle at 50% 50%, rgba(229,57,53,0.08), rgba(8,8,8,0) 56%); }

.rates-grid.single-rate{grid-template-columns:minmax(0,1fr);max-width:760px}.rates-grid.single-rate .rate-card{width:100%}

/* Bench services carousel */
.bench-services-media { display: block; }
.bench-services-carousel { width: 100%; min-height: 520px; aspect-ratio: 4 / 5; }
.bench-services-carousel .carousel-track,
.bench-services-carousel .carousel-slide { inset: 14px; }
.bench-services-carousel img { object-fit: cover; }
@media(max-width:900px){ .bench-services-media { order: -1; } .bench-services-carousel { min-height: 420px; aspect-ratio: 4 / 3; } }
@media(max-width:650px){ .bench-services-carousel { min-height: 340px; } }


/* Full-size section photo lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(10px);
    padding: clamp(1rem, 3vw, 2.5rem);
}
.photo-lightbox.open {
    display: flex;
}
.lightbox-stage {
    position: relative;
    width: min(92vw, 1440px);
    height: min(84vh, 940px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 28px 80px rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.12);
    background: #050505;
}
.lightbox-caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    flex-direction: column;
    gap: .22rem;
    padding: .75rem 1rem;
    background: rgba(7,7,7,.72);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
}
.lightbox-caption span {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .24em;
    color: #8f8f8f;
}
.lightbox-caption strong {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .18em;
    color: #e0e0e0;
    font-weight: 500;
}
.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 10001;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(8,8,8,.78);
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    color: var(--red);
    border-color: rgba(229,57,53,.55);
}
.lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1;
}
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    font-size: 2.25rem;
    line-height: 1;
}
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-dots {
    position: fixed;
    left: 50%;
    bottom: 1.15rem;
    z-index: 10001;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .48rem;
    max-width: min(76vw, 720px);
}
.lightbox-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.24);
    padding: 0;
    cursor: pointer;
}
.lightbox-dot.active {
    background: var(--red);
}
body.lightbox-locked {
    overflow: hidden;
}
@media(max-width:700px) {
    .lightbox-stage {
        width: 94vw;
        height: 78vh;
    }
    .lightbox-nav {
        width: 42px;
        height: 56px;
        font-size: 2rem;
    }
    .lightbox-caption {
        left: .5rem;
        right: .5rem;
        bottom: .5rem;
    }
}


/* Position the Build page carousel below the section header */
.category-build .category-layout {
    align-items: start;
}
.category-build .category-media {
    align-self: start;
    margin-top: clamp(7rem, 10vw, 11rem);
}
@media(max-width:900px){
    .category-build .category-media {
        margin-top: 0;
    }
}


/* Hero content is vertically centered in the 100vh hero (#hero uses
   align-items:center), so the space above and below it stays symmetrical. */

/* Polished cutout logo display fix */
.logo-banner-inner img {
    filter: drop-shadow(0 0 1px rgba(255,255,255,.18));
}
.nav-logo img,
.footer-logo img {
    filter: none;
}


/* ==========================================================================
   MODERN REFRESH — 2026 design pass (refined industrial)
   --------------------------------------------------------------------------
   Polishes motion, depth, focus and inputs without touching the layout,
   the homepage hero, or the oscilloscope. Loaded last so it wins cleanly.
   ========================================================================== */

/* Anchor jumps (#contact) clear the fixed nav */
html { scroll-padding-top: calc(var(--nav-h) + 1rem); }

/* Custom easing on every interactive surface */
.top-page-links a,
.menu-overlay a,
.hero-cta,
.form-submit,
.shipping-bar-cta,
.what-we-do-link,
.service-card,
.category-detail-card,
.rate-card,
.review-post,
.contact-link,
.related-card,
.build-card,
.carousel-btn,
.proof-card,
.nav-logo img {
    transition-timing-function: var(--ease);
    transition-duration: 0.35s;
}

/* --- Buttons: gradient body + glow + light sweep ----------------------- */
.hero-cta,
.form-submit,
.shipping-bar-cta {
    background: linear-gradient(135deg, #f0463f 0%, var(--red) 46%, var(--red2) 100%);
    box-shadow: 0 10px 26px -12px rgba(229, 57, 53, 0.7);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-cta::before,
.form-submit::before,
.shipping-bar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
    transform: translateX(-130%);
    transition: transform 0.6s var(--ease);
}
.hero-cta:hover,
.form-submit:hover,
.shipping-bar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -12px rgba(229, 57, 53, 0.85);
}
.hero-cta:hover::before,
.form-submit:hover::before,
.shipping-bar-cta:hover::before {
    transform: translateX(130%);
}
.hero-cta:active,
.form-submit:active,
.shipping-bar-cta:active { transform: translateY(0); }

/* Red CTA buttons — bolder, more legible labels (IBM Plex Mono 700) */
.hero-cta,
.form-submit,
.shipping-bar-cta { font-weight: 700; }
.hero-cta,
.form-submit { font-size: 12px; }
.shipping-bar-cta { font-size: 11px; }

/* --- Nav links: smoother transitions ----------------------------------- */
.top-page-links a {
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
                background 0.25s var(--ease), transform 0.25s var(--ease);
}

/* --- Homepage proof / identity cards: depth + lift --------------------- */
.proof-card {
    box-shadow: var(--shadow-card);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.services-proof .proof-card:hover,
.services-proof .proof-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(229, 57, 53, 0.30);
    box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.9), 0 0 44px -16px rgba(229, 57, 53, 0.35);
}
.proof-card img { transition: transform 0.7s var(--ease), filter 0.4s var(--ease); }

/* --- Grid-packed text cards: clean hover fill + inset ring ------------- */
.service-card:hover,
.category-detail-card:hover,
.build-card:hover { background: #181818; }
.category-detail-card:hover,
.rate-card:hover {
    box-shadow: inset 0 0 0 1px rgba(229, 57, 53, 0.22);
}

/* --- Minimal detail cards (description bullets removed) ----------------- */
.category-detail-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 148px;
}
.category-detail-card h3 {
    margin-bottom: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    transition: color 0.3s var(--ease);
}
.category-detail-card:hover h3 { color: #fff; }

/* --- Forms: modern inputs + focus ring --------------------------------- */
.form-field input,
.form-field textarea,
.form-field select {
    background: #0d0d0d;
    border-color: var(--border2);
    border-radius: 2px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover { border-color: #333; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--red);
    box-shadow: var(--ring);
    background: #101010;
}

/* --- Accessible keyboard focus ----------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* --- Dividers as soft gradient hairlines ------------------------------- */
hr.divider {
    border-top: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border2) 16%, var(--border2) 84%, transparent);
}

/* --- Reveal easing ----------------------------------------------------- */
html.js .reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* --- Custom scrollbar -------------------------------------------------- */
* { scrollbar-width: thin; scrollbar-color: #2a2a2a transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #222;
    border: 2px solid var(--bg);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red2); }

/* --- Honor reduced-motion for the new sweeps & lifts ------------------- */
@media (prefers-reduced-motion: reduce) {
    .hero-cta::before,
    .form-submit::before,
    .shipping-bar-cta::before { display: none; }
    .proof-card,
    .hero-cta,
    .form-submit,
    .shipping-bar-cta { transition: none; }
}


/* ==========================================================================
   RESPONSIVE NAV + MOBILE HERO FIT
   --------------------------------------------------------------------------
   Desktop: taller bar, larger inline links + logo, no hamburger.
   Phones:  hamburger menu only (the full-screen overlay), inline strip hidden.
   ========================================================================== */

/* Keep the homepage hero words on their own single line on phones so
   "Record." never wraps onto a second line under the logo. */
.hero--home .hero-title a { white-space: nowrap; }
@media (max-width: 600px) {
    .hero--home .hero-title { font-size: clamp(3.1rem, 17.5vw, 5.5rem); }
}

/* Phones / small tablets: hamburger only ------------------------------- */
@media (max-width: 959.98px) {
    .top-page-links { display: none; }
    .hamburger { display: flex; }
    .nav-logo { display: block; right: 1rem; }
    .nav-logo img { height: 30px; max-width: 132px; }
}

/* Tablet-landscape + desktop: bigger bar with inline links ------------- */
@media (min-width: 960px) {
    :root { --nav-h: 86px; }
    .hamburger { display: none; }
    .top-page-links {
        max-width: min(840px, calc(100vw - 360px));
        gap: 0.6rem;
    }
    .top-page-links a {
        font-size: 11.5px;
        letter-spacing: 0.2em;
        padding: 0.7rem 1rem;
    }
    .nav-logo { display: block; right: clamp(2rem, 4vw, 3.25rem); }
    .nav-logo img { height: 46px; max-width: 200px; }
}

/* Large desktop: a touch more presence --------------------------------- */
@media (min-width: 1280px) {
    .top-page-links a { font-size: 12px; padding: 0.74rem 1.1rem; }
    .nav-logo img { height: 50px; max-width: 220px; }
}


/* ==========================================================================
   STICKY TOP BAR — the fixed nav gains subtle elevation once you scroll,
   so it reads cleanly over content (transparent/glassy at the very top).
   ========================================================================== */
nav.site-nav {
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
nav.site-nav.is-scrolled {
    background: rgba(8, 8, 8, 0.92);
    box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

/* Nav logo reveal — on the homepage it stays hidden until the big logo banner
   scrolls up behind the nav (app.js toggles .logo-hidden). Subpages have no
   banner, so .logo-hidden is never set and the nav logo shows as normal. */
.nav-logo {
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-nav.logo-hidden .nav-logo {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}


/* ====================================================================
   Detail pass — Instagram, logo subline, simplified photo frames
   ==================================================================== */

/* Footer Instagram icon */
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social:hover,
.footer-social:focus-visible { color: var(--red); transform: translateY(-1px); }
.footer-social svg { display: block; width: 22px; height: 22px; }

/* (The logo-banner subline is now a wrapping tagline sentence — sized in the
   base .logo-banner-sub rule, so no mobile one-line override is needed.) */

/* ── Fun easter-egg: clicking the homepage logo flips the WHOLE SITE to a
   photo-negative palette, remembered across pages (see app.js + the tiny inline
   <head> script on each page). The invert is a fixed, click-through "difference"
   blend layer drawn as a pseudo-element on <html>: it renders the page as its
   exact inverse, and because it's a passive box (not a root `filter`) it inverts
   even the fixed nav and sticky bar WITHOUT disturbing their positioning. Driving
   it from a pseudo-element means one class on <html> inverts everything with no
   JS-built node, so the saved state is applied before first paint — no flash. */
html.is-negative::after {
    content: "";
    position: fixed;
    inset: 0;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none;       /* never intercepts clicks */
    z-index: 2147483646;        /* above everything, so the whole UI inverts */
}
.logo-banner-inner img { cursor: pointer; }   /* hint the big logo is clickable */

/* Hero "command" slash — red leading slash on each homepage hero word
   (/BUILD /REPAIR /RECORD), echoing the // code-comment labels used elsewhere. */
.hero-title .cmd-slash { color: var(--red); }

/* ── "What We Do" hover reveal — on hover, a dark info panel slides up over each
   department photo with a short description + a "Learn more" cue. Pure CSS; the
   panel is pointer-events:none so the whole card stays one clickable link, and it
   only arms on hover-capable devices — on touch the cards just navigate as before. */
.identity-reveal {
    position: absolute;
    inset: 0;
    z-index: 4;                         /* above the photo, the ::after wash, and the resting label */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;          /* content sits low, where the resting label was */
    gap: 0.5rem;
    padding: clamp(1.3rem, 2vw, 1.95rem);
    background: linear-gradient(180deg,
        rgba(8, 8, 9, 0) 0%, rgba(8, 8, 9, 0.5) 26%, rgba(8, 8, 9, 0.9) 58%, rgba(8, 8, 9, 0.97) 100%);
    transform: translateY(101%);        /* parked just below the card, clipped by overflow:hidden */
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.35s var(--ease);
    pointer-events: none;               /* clicks fall through to the card link */
}
.identity-reveal-kicker {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--red);
}
.identity-reveal-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.9rem, 2.6vw, 2.55rem);
    line-height: 0.95;
    color: var(--text);
}
.identity-reveal-rule {
    width: 40px;
    height: 2px;
    background: var(--red);
    margin: 0.15rem 0 0.4rem;
}
.identity-reveal-desc {
    font-family: var(--body);
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.5;
    color: rgba(239, 239, 239, 0.92);
    max-width: 34ch;
}
.identity-reveal-cue {
    margin-top: 0.55rem;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}
.service-identity-card .identity-copy { transition: opacity 0.3s var(--ease); }
@media (hover: hover) {
    .service-identity-card:hover .identity-reveal,
    .service-identity-card:focus-within .identity-reveal {
        transform: translateY(0);
        opacity: 1;
    }
    .service-identity-card:hover .identity-copy,
    .service-identity-card:focus-within .identity-copy {
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .identity-reveal { transition: opacity 0.35s ease; transform: none; }  /* fade, no slide */
}
/* Touch devices: app.js toggles .is-revealed on the first tap (the "Learn more"
   link inside is what actually navigates); desktop keeps the hover reveal. */
.service-identity-card.is-revealed .identity-reveal { transform: translateY(0); opacity: 1; }
.service-identity-card.is-revealed .identity-copy { opacity: 0; }
/* "Learn more" is a real link now — only tappable while the panel is open, and
   styled like the prior cue (no underline; red on hover). */
.identity-reveal-cue { pointer-events: none; text-decoration: none; align-self: flex-start; }
.service-identity-card:hover .identity-reveal-cue,
.service-identity-card:focus-within .identity-reveal-cue,
.service-identity-card.is-revealed .identity-reveal-cue { pointer-events: auto; }
.identity-reveal-cue:hover { color: var(--red); }
/* Fill the whole card so the photo (object-fit: cover) covers it again — the
   card→div change for tap-to-reveal had let this collapse to the image height. */
.home-photo-link { position: absolute; inset: 0; display: block; cursor: pointer; }

/* Simplified photo / carousel frame: plain black mat + thin red outline.
   Also flattens the old double frame and removes the forced min-height that
   was cropping photos oddly on phones, so the image's aspect ratio governs. */
.category-media {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    aspect-ratio: auto;
    overflow: visible;
}
.category-media::before,
.category-media::after { display: none; }

.studio-visual,
.studio-visual.media-frame {
    padding: 0;                     /* photo flush -> border identical on every edge */
    background: #000;
    /* 3px triple border, uniform all around: red (inner) -> black -> grey (outer) */
    border: 1px solid var(--red);
    box-shadow:
        0 0 0 1px #000,             /* black ring */
        0 0 0 2px #8a8a8a,          /* grey ring (outermost) */
        0 14px 34px rgba(0, 0, 0, 0.5);
}
.studio-visual::before,
.studio-visual::after,
.media-frame::after { display: none; }      /* drop inner line + photo tints */
.carousel-track,
.carousel-slide { inset: 0; }               /* photo fills edge-to-edge, even on all sides */
/* Make the carousel photo fill its slide exactly. Overrides a stray
   `.category-media img { position:absolute; inset:14px }` rule that was pushing
   the image down + right, leaving a black bar along the top and left edges. */
.studio-visual img,
.media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    transform: none;
}

@media (max-width: 900px) {
    .category-media .studio-visual { min-height: 0; }  /* no forced tall crop */
    .studio-visual { aspect-ratio: 4 / 3; }            /* landscape, fits the photos */
}


/* ==========================================================================
   MOBILE HARDENING — phones (≤600px)
   --------------------------------------------------------------------------
   Fixes the hero "spill over under the logo": the big nowrap title
   (BUILD./REPAIR./RECORD.) is a centered fit-content block, so on narrow
   screens the widest word could run past the gutter and get clipped by
   #hero{overflow:hidden}. Tighter gutters give it the room it needs, and
   max-width:100% keeps every block inside the viewport.
   ========================================================================== */
@media (max-width: 600px) {
    /* Reclaim ~22px of side padding per edge — more room for the hero title
       and roomier content everywhere on phones. */
    :root { --gutter: 1.25rem; }

    /* Belt-and-suspenders: nothing in the hero may push past the screen. */
    .hero-content,
    .hero--home .hero-title { max-width: 100%; }

    /* The logo's shop-sign image was capped at 85vw; with the tighter gutter
       give it the full content width so it never crowds the edges. */
    .logo-banner-inner img { max-width: 100%; }

    /* Shipping bar had a 3.5rem left indent that's too deep on a phone. */
    .shipping-bar { padding-left: var(--gutter); }
}

/* Extra-small phones (≤360px): nudge the hero title down a touch so the
   widest word ("RECORD.") always clears the edges with the real font. */
@media (max-width: 360px) {
    .hero--home .hero-title { font-size: clamp(2.9rem, 16.5vw, 4.6rem); }
}

/* Phones: the big logo banner above the hero eats ~40% of the screen, so a full
   100vh hero pushed the centered title/CTA below the fold. Shrink the hero to the
   space left under the banner so the whole hero is visible on load. */
@media (max-width: 700px) {
    .hero--home {
        min-height: calc(100vh - 21rem);    /* fallback for older browsers */
        min-height: calc(100svh - 21rem);   /* svh = the visible viewport on mobile (taller banner now has the tagline) */
    }
}


/* ====================================================================
   "What We Do" (#services) — studio line-art background panel.
   Subtle, dark, red-tinted, with the top/bottom faded into the page so
   it reads as a panel. Swap assets/whatwedo-bg.webp for the real art.
   ==================================================================== */
#services {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
#services > .section-wrap { position: relative; z-index: 1; }   /* content above the panel */

#services::before {                  /* the background image — parallax-panned on scroll (app.js) */
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -70%;                       /* taller than the section so it can pan vertically */
    height: 240%;
    z-index: 0;
    background: #0b0b0b url('assets/whatwedo-bg.jpg?v=3') center center / cover no-repeat;
    opacity: 0.10;
    /* Neutralize the blue and dim the line-work so it's as faint as the hero grid. */
    filter: grayscale(1) brightness(0.8);
    transform: translate3d(0, var(--whatwedo-shift, 0px), 0);   /* JS pans this top->bottom */
    will-change: transform;
    pointer-events: none;
}
#services::after {                   /* fades the parallax image into the page at top/bottom (non-moving) */
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, var(--tone-light) 0%, transparent 14%, transparent 86%, var(--tone-light) 100%);
    pointer-events: none;
}


/* ====================================================================
   Nav links as schematic component panels — technical double frame +
   corner terminal "pads" (like the screws on a schematic panel).
   Same square shape and size as before; red on hover / active.
   ==================================================================== */
.top-page-links a {
    position: relative;
    border-color: rgba(196, 200, 210, 0.28);                    /* a touch more metallic */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);      /* inner frame line (double-line panel) */
}
.top-page-links a::after {                                      /* four corner terminal pads */
    content: '';
    position: absolute;
    inset: 3px;
    pointer-events: none;
    background:
        radial-gradient(circle 1.5px at 0 0,      rgba(205, 210, 222, 0.6) 60%, transparent 62%),
        radial-gradient(circle 1.5px at 100% 0,   rgba(205, 210, 222, 0.6) 60%, transparent 62%),
        radial-gradient(circle 1.5px at 0 100%,   rgba(205, 210, 222, 0.6) 60%, transparent 62%),
        radial-gradient(circle 1.5px at 100% 100%,rgba(205, 210, 222, 0.6) 60%, transparent 62%);
    transition: background 0.25s var(--ease);
}
.top-page-links a:hover,
.top-page-links a:focus-visible,
.top-page-links a[aria-current="page"] {
    box-shadow: inset 0 0 0 1px rgba(229, 57, 53, 0.30);
}
.top-page-links a:hover::after,
.top-page-links a:focus-visible::after,
.top-page-links a[aria-current="page"]::after {
    background:
        radial-gradient(circle 1.7px at 0 0,      var(--red) 60%, transparent 62%),
        radial-gradient(circle 1.7px at 100% 0,   var(--red) 60%, transparent 62%),
        radial-gradient(circle 1.7px at 0 100%,   var(--red) 60%, transparent 62%),
        radial-gradient(circle 1.7px at 100% 100%,var(--red) 60%, transparent 62%);
}


/* Shipping banner — sticks below the nav once it scrolls up to it, rides along as
   you keep scrolling down, and releases back to its home spot when you scroll up. */
#shipping {
    position: sticky;
    top: var(--nav-h);
    z-index: 100;
}
