/*
Theme Name: The Agncy Media
Theme URI: https://theagncymedia.com
Author: The Agncy Media
Description: Precise. Bold. Unignorable. Brand site for The Agncy Media.
Version: 4.2.1
License: GNU General Public License v2 or later
Text Domain: theagncy
*/

/* ===========================
   Brand System
   Per Brand Guidelines v1.0 (2026):
   - Brand Black #090909 default canvas
   - Brand Crimson #BB1D01 only accent
   - Bodoni Moda Italic = display
   - SF Pro / Inter = body
   - No gradients. No drop shadows. No additional colors.
   =========================== */
:root {
    --brand-black: #090909;
    --brand-crimson: #BB1D01;
    --brand-white: #FFFFFF;

    --charcoal:   #1C1C1C;
    --dark-gray:  #2A2A2A;
    --mid-gray:   #555555;
    --light-gray: #888888;
    --pale-gray:  #BBBBBB;
    --off-white:  #F0F0F0;

    --color-bg:      var(--brand-black);
    --color-surface: var(--charcoal);
    --color-line:    var(--dark-gray);
    --color-text:    var(--pale-gray);
    --color-heading: var(--brand-white);
    --color-accent:  var(--brand-crimson);

    --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --container-max: 1280px;
    --measure:       720px;

    --pad-section-y: 140px;
    --pad-x:         5%;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    background: var(--color-bg);
    /* Smooth in-page anchor scrolling (#book, #pricing, etc.) */
    scroll-behavior: smooth;
    /* Don't scroll under the sticky header when jumping to an anchor. */
    scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ===========================
   Scroll-Reveal Animations
   Pre-hides .reveal elements until JS marks them .is-revealed.
   GPU-accelerated (opacity + transform). Respects reduced-motion.
   =========================== */
.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Side-enter variants for two-column layouts (optional — add by hand) */
.reveal-left {
    opacity: 0;
    transform: translate3d(-24px, 0, 0);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translate3d(24px, 0, 0);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-revealed,
.reveal-right.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--color-heading); text-decoration: none; }
a:hover { color: var(--color-accent); }

::selection { background: var(--color-accent); color: var(--brand-white); }

/*
   Per brand kit type scale:
   - H1 / DISPLAY = Bodoni Moda 800 Italic (cinematic, editorial)
   - H2 / H3 / H4 = Inter Bold (clear, UI-grade, readable at small sizes)
*/
h1 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2, h3, h4 {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

/* Selective editorial accent: use .h-display to opt h2/h3 INTO Bodoni Italic
   when you want the cinematic feel on a big chapter-style title. */
.h-display {
    font-family: var(--font-display) !important;
    font-style: italic !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

/* Caption / kicker pattern: SF Pro uppercase tracked */
.kicker {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 28px;
}

.kicker--muted { color: var(--light-gray); }

.rule {
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    border: 0;
    margin: 0;
}

/* ===========================
   Buttons
   Sharp, decisive — no rounded pills.
   =========================== */
.btn,
.btn-primary,
.btn-secondary {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 36px;
    border: 1px solid;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}

.btn,
.btn-primary {
    background: var(--color-accent);
    color: var(--brand-white);
    border-color: var(--color-accent);
}

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

.btn-secondary {
    background: transparent;
    color: var(--brand-white);
    border-color: var(--brand-white);
}

.btn-secondary:hover {
    background: var(--brand-white);
    color: var(--brand-black);
}

.btn--ghost {
    background: transparent;
    color: var(--pale-gray);
    border-color: var(--dark-gray);
}

.btn--ghost:hover {
    background: var(--brand-white);
    color: var(--brand-black);
    border-color: var(--brand-white);
}

/* ===========================
   Site Header
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    /* Must be above .mobile-drawer (z:1000) so the hamburger remains
       tappable while the drawer is open. The header's bg blurs the
       drawer behind it so it still reads cleanly. */
    z-index: 1100;
    background: rgba(9, 9, 9, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px var(--pad-x);
}

.site-header__brand .custom-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Stacked wordmark in the nav bar */
.site-header__mark {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s var(--ease);
}

.site-header__mark:hover { opacity: 0.85; }

.site-header__mark img {
    display: block;
    height: 44px;
    width: auto;
}

.site-header__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-white);
    letter-spacing: -0.01em;
}

/* CSS-rendered wordmark: The AGNCY Media (Bodoni Italic, crimson middle word) */
.site-header__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.32em;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--brand-white);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    transition: opacity 0.2s var(--ease);
}

.site-header__wordmark:hover {
    color: var(--brand-white);
    opacity: 0.85;
}

.site-header__wordmark .is-accent {
    color: var(--color-accent);
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-header__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.site-header__menu a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pale-gray);
    transition: color 0.2s var(--ease);
}

.site-header__menu a:hover {
    color: var(--brand-white);
}

.site-header__menu .menu-item-has-children { position: relative; }

.site-header__menu .menu-item-has-children > a::after {
    content: ' +';
    color: var(--color-accent);
    font-weight: 700;
}

.site-header__menu .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: -24px;
    background: var(--brand-black);
    border: 1px solid var(--color-line);
    padding: 12px 0;
    min-width: 260px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s var(--ease);
}

.site-header__menu .menu-item-has-children:hover > .sub-menu,
.site-header__menu .menu-item-has-children:focus-within > .sub-menu,
.site-header__menu .menu-item-has-children.is-locked > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__menu .menu-item-has-children > a {
    cursor: pointer; /* signals it's clickable, not a navigation link */
}

.site-header__menu .menu-item-has-children.is-locked > a::after {
    content: ' \2212'; /* minus sign — indicates "click to close" */
}

.site-header__menu .sub-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 0.78rem;
    white-space: nowrap;
    color: var(--pale-gray);
}

.site-header__menu .sub-menu a:hover {
    background: var(--charcoal);
    color: var(--brand-white);
}

.site-header__cta {
    display: inline-block;
    background: var(--color-accent);
    color: var(--brand-white);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    transition: all 0.25s var(--ease);
}

.site-header__cta:hover {
    background: transparent;
    color: var(--color-accent);
}

.site-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.site-header__toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--brand-white);
}

/* ===========================
   Hero
   =========================== */
.hero {
    background: var(--brand-black);
    color: var(--brand-white);
    padding: 160px var(--pad-x) 120px;
    border-bottom: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--brand-white);
    margin-bottom: 32px;
    max-width: 18ch;
}

.hero h1 em {
    color: var(--color-accent);
    font-style: italic;
}

/* Modifier: entire hero headline in crimson (used on Premium Videography) */
.hero h1.hero__title--accent,
.hero h1.hero__title--accent em {
    color: var(--color-accent);
}

.hero p {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    color: var(--pale-gray);
    max-width: 56ch;
    margin-bottom: 56px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.hero-features span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pale-gray);
    padding: 10px 18px;
    border: 1px solid var(--dark-gray);
    background: var(--charcoal);
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Background "A" mark — subtle, matches brand kit cover page */
.hero::after {
    content: 'A';
    position: absolute;
    right: -5%;
    bottom: -30%;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 60vw;
    line-height: 1;
    color: var(--charcoal);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* ===========================
   Section primitive
   =========================== */
.section {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--brand-black);
    border-bottom: 1px solid var(--color-line);
}

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

.section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section__head {
    margin-bottom: 70px;
    max-width: var(--measure);
}

.section__head h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    color: var(--brand-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.section__head p {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 60ch;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===========================
   Services Grid
   =========================== */
.services {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--brand-black);
    border-bottom: 1px solid var(--color-line);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.service-card {
    background: var(--brand-black);
    padding: 56px 40px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    position: relative;
    transition: background 0.3s var(--ease);
}

.service-card:hover {
    background: var(--charcoal);
}

.service-card__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-accent);
    margin-bottom: 28px;
    display: block;
}

.service-card h3 {
    font-size: 1.9rem;
    color: var(--brand-white);
    margin-bottom: 18px;
}

.service-card p {
    font-size: 1rem;
    color: var(--pale-gray);
    margin-bottom: 32px;
    line-height: 1.7;
    min-height: 80px;
}

.service-card__link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-white);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 4px;
    transition: color 0.2s var(--ease);
}

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

/* ===========================
   The Belief System (homepage)
   =========================== */
.beliefs {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--charcoal);
    border-bottom: 1px solid var(--color-line);
}

.beliefs__intro {
    max-width: var(--container-max);
    margin: 0 auto 60px;
    text-align: center;
}

.beliefs__intro h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.beliefs__intro p {
    color: var(--pale-gray);
    font-size: 1.1rem;
    max-width: 56ch;
    margin: 0 auto;
}

.beliefs-list {
    list-style: none;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.belief {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 32px;
    background: var(--charcoal);
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    transition: background 0.25s var(--ease);
}

.belief:hover {
    background: var(--brand-black);
}

.belief__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-accent);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.belief p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--brand-white);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .beliefs-list {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .belief {
        border-right: 0;
        grid-template-columns: 56px 1fr;
        padding: 22px 8px;
    }

    .belief__num { font-size: 1.2rem; }
    .belief p { font-size: 0.96rem; }
}

/* ===========================
   Our Way vs Old Way
   =========================== */
.versus {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--charcoal);
    border-bottom: 1px solid var(--color-line);
}

.versus__intro {
    max-width: var(--measure);
    margin: 0 auto 70px;
    text-align: center;
}

.versus__intro h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.versus__intro p {
    color: var(--pale-gray);
    font-size: 1.1rem;
}

.versus-table {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

.versus-table thead th {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-line);
}

.versus-table thead th.is-us {
    background: var(--color-accent);
    color: var(--brand-white);
}

.versus-table thead th.is-them {
    background: var(--dark-gray);
    color: var(--light-gray);
}

.versus-table td {
    padding: 22px 24px;
    border-bottom: 1px solid var(--color-line);
    font-size: 1rem;
    vertical-align: top;
    width: 50%;
}

.versus-table td.is-us {
    color: var(--brand-white);
    font-weight: 500;
}

.versus-table td.is-them {
    color: var(--light-gray);
    text-decoration: line-through;
    text-decoration-color: var(--mid-gray);
}

/* ===========================
   Portfolio Teaser
   =========================== */
.portfolio-teaser {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--brand-black);
    border-bottom: 1px solid var(--color-line);
}

.portfolio-teaser__head {
    max-width: var(--measure);
    margin: 0 auto 70px;
    text-align: center;
}

.portfolio-teaser h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.portfolio-teaser__head p {
    color: var(--pale-gray);
    font-size: 1.1rem;
}

.video-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    max-width: var(--container-max);
    margin: 0 auto 60px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--charcoal);
    border: 1px solid var(--color-line);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Vertical (9:16) embeds — YouTube Shorts. Centered, width-capped so a
   portrait video doesn't blow up into a giant column on desktop. */
.video-showcase--vertical {
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    justify-content: center;
}
.video-container--vertical {
    padding-bottom: 177.78%; /* 9:16 */
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

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

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: var(--pad-section-y) var(--pad-x);
    background: var(--brand-black);
    text-align: center;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    position: relative;
}

.cta__inner {
    max-width: var(--measure);
    margin: 0 auto;
}

.cta h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: var(--brand-white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.cta h2 em {
    color: var(--color-accent);
    font-style: italic;
}

.cta p {
    font-size: 1.15rem;
    color: var(--pale-gray);
    margin-bottom: 48px;
}

/* ===========================
   Calendar Embed
   =========================== */
.calendar-embed {
    padding: 0;
    background: var(--brand-black);
}

.calendar-embed iframe {
    display: block;
    width: 100%;
    min-height: 820px;
    border: none;
    background: var(--brand-black);
}

/* ===========================
   Site Footer
   =========================== */
.site-footer {
    background: var(--brand-black);
    color: var(--pale-gray);
    border-top: 1px solid var(--color-line);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px var(--pad-x) 50px;
}

.site-footer__brand .custom-logo {
    max-height: 44px;
    width: auto;
    margin-bottom: 24px;
}

.site-footer__mark {
    display: inline-block;
    margin-bottom: 28px;
    transition: opacity 0.2s var(--ease);
}

.site-footer__mark:hover { opacity: 0.85; }

.site-footer__mark img {
    display: block;
    height: auto;
    width: 180px;
    max-width: 100%;
}

.site-footer__wordmark {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-white);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.site-footer__tagline {
    font-size: 1rem;
    color: var(--light-gray);
    max-width: 32ch;
    line-height: 1.6;
}

.site-footer__col h4 {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    letter-spacing: 0.25em;
}

.site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col li {
    margin-bottom: 14px;
}

.site-footer__col a {
    color: var(--pale-gray);
    font-size: 0.95rem;
    transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
    color: var(--brand-white);
}

.site-footer__social {
    margin-top: 28px !important;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer__social li { margin: 0 !important; }

.site-footer__social a {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--dark-gray);
    transition: all 0.2s var(--ease);
}

.site-footer__social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.site-footer__legal {
    border-top: 1px solid var(--color-line);
    padding: 24px var(--pad-x);
    text-align: center;
}

.site-footer__legal p {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid-gray);
}

.site-footer__legal a {
    color: var(--pale-gray);
    transition: color 0.2s var(--ease);
}

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

/* ===========================
   Testimonials Page
   =========================== */
.featured-quote {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0 0;
}

.featured-quote .kicker {
    margin-bottom: 32px;
}

.featured-quote__body {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1.35;
    color: var(--brand-white);
    margin: 0 0 36px;
    letter-spacing: -0.01em;
    padding: 0 8px;
    border-left: 0;
}

.featured-quote__attr {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.featured-quote__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-white);
    letter-spacing: 0.02em;
}

.featured-quote__business {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--pale-gray);
}

.featured-quote__result {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 8px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.testimonial {
    background: var(--brand-black);
    padding: 36px 32px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial blockquote {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--brand-white);
    margin: 0;
    padding: 0;
    border-left: 0;
    font-style: normal;
    font-weight: 400;
}

.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--color-line);
    padding-top: 18px;
    margin-top: auto;
}

.testimonial__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--brand-white);
}

.testimonial__business {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--pale-gray);
}

.testimonial__result {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 6px;
}

@media (max-width: 968px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .testimonial { border-right: 0; }
}

/* ===========================
   Pricing Page
   Always fluid: never causes horizontal page scroll, prices reflow.
   =========================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

/* Modifier: 2-card grid, centered (used on Premium Videography) */
.pricing-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
}

/* Modifier: 4-card 2x2 grid (Real Estate, Weddings, Social content) */
.pricing-grid--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
}

.price-card {
    background: var(--brand-black);
    padding: 48px 32px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    min-width: 0; /* allow children to shrink below their content width */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-card--featured {
    background: var(--charcoal);
    border-top: 2px solid var(--color-accent);
    margin-top: -1px;
}

.price-card h3 {
    font-size: 1.4rem;
    color: var(--brand-white);
    margin: 0;
}

.price-card__price {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 4px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.price-card__price span {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--light-gray);
    letter-spacing: 0;
}

.price-card__pitch {
    color: var(--pale-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.price-card__list {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    border-top: 1px solid var(--color-line);
}

.price-card__list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
    color: var(--pale-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    gap: 12px;
    word-break: break-word;
}

.price-card__list li::before {
    content: '→';
    color: var(--color-accent);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    flex-shrink: 0;
}

.price-card .btn-primary,
.price-card .btn-secondary {
    margin-top: auto;
    text-align: center;
    padding: 14px 24px; /* tighter so they fit narrow cards */
    font-size: 0.85rem;
}

/* Stack 3 → 2 cards on tablet, 2 → 1 on phone */
@media (max-width: 1100px) {
    .pricing-grid,
    .pricing-grid--2col,
    .pricing-grid--2x2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* The featured (middle) card keeps its top accent visible */
    .price-card--featured { margin-top: 0; }
}

@media (max-width: 680px) {
    .pricing-grid,
    .pricing-grid--2col,
    .pricing-grid--2x2 {
        grid-template-columns: minmax(0, 1fr);
        border-left: 0;
    }

    .price-card {
        border-right: 0;
        padding: 40px 28px;
    }
}

/* ===========================
   GoHighLevel Form Embed
   Container for the inline iframe contact form. The form_embed.js
   script auto-sizes the iframe height once it loads; min-height
   prevents layout jump while the embed initializes.
   =========================== */
.ghl-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: var(--brand-black);
}

.ghl-form-wrap iframe {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: var(--brand-black);
}

/* ===========================
   Contact Form (legacy HTML form — now unused; iframe replaces it)
   =========================== */
.contact-form {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field > span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pale-gray);
}

.contact-form__field > span em {
    font-style: normal;
    color: var(--mid-gray);
    letter-spacing: 0.1em;
    text-transform: none;
    font-weight: 400;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--brand-white);
    background: var(--brand-black);
    border: 1px solid var(--color-line);
    padding: 16px 18px;
    width: 100%;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form__field input::placeholder,
.contact-form__field select option[value=""] {
    color: var(--mid-gray);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--charcoal);
}

.contact-form__field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23BB1D01' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
    padding-right: 44px;
}

.contact-form__submit {
    align-self: flex-start;
    margin-top: 8px;
    cursor: pointer;
}

.contact-form__note {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-top: 4px;
}

.contact-form__note a {
    color: var(--pale-gray);
    border-bottom: 1px solid var(--color-accent);
}

@media (max-width: 640px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Contact Page
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact-card {
    background: var(--brand-black);
    padding: 36px 32px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card .kicker {
    margin-bottom: 4px;
}

.contact-card__value {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    color: var(--brand-white);
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: color 0.2s var(--ease);
    /* Long emails/URLs have no natural word boundary — allow wrapping
       anywhere so they never overflow narrow cards on mobile. */
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
    display: block;
}

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

.contact-card p {
    color: var(--pale-gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-card__social {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-card__social a {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pale-gray);
    padding: 8px 14px;
    border: 1px solid var(--dark-gray);
    transition: all 0.2s var(--ease);
}

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

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .contact-card { border-right: 0; }
}

/* ===========================
   Portfolio Page
   =========================== */
.featured-project {
    margin: 0;
}

.featured-project__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 18px 4px 0;
    border-top: 1px solid var(--color-line);
    margin-top: -1px; /* sits flush with the video container bottom border */
}

.featured-project__category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.featured-project__title {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--pale-gray);
}

.portfolio-blurb {
    max-width: 60ch;
    margin: 50px auto 0;
    text-align: center;
    color: var(--pale-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===========================
   FAQ Section
   Uses native <details>/<summary> for accessibility + no-JS expand.
   =========================== */
.faq-section {
    padding-top: var(--pad-section-y);
    padding-bottom: var(--pad-section-y);
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
}

.faq-item {
    border-bottom: 1px solid var(--color-line);
    padding: 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 28px 48px 28px 0;
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--brand-white);
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary:hover {
    color: var(--color-accent);
}

/* Plus / minus indicator on the right */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--color-accent);
    line-height: 1;
    transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
    content: '\2212'; /* minus */
}

.faq-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pale-gray);
    line-height: 1.7;
    margin: 0 0 28px;
    padding-right: 48px;
    max-width: 70ch;
}

/* ===========================
   Starts-At Pricing Chip
   Inline pricing callout used in service-page heroes.
   =========================== */
.starts-at {
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 40px;
    padding: 14px 22px;
    background: var(--charcoal);
    border-left: 3px solid var(--color-accent);
}

.starts-at__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.starts-at__price {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.starts-at__unit {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--pale-gray);
    margin-left: 2px;
}

/* ===========================
   Service Page (shared)
   =========================== */
.hero--service {
    padding: 140px var(--pad-x) 100px;
}

.hero--service::after {
    /* Smaller, repositioned for service hero */
    font-size: 50vw;
    bottom: -20%;
    right: -10%;
    opacity: 0.5;
}

.hero--service h1 {
    max-width: 17ch;
}

.hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 32px;
}

.hero__breadcrumb a {
    color: var(--light-gray);
    transition: color 0.2s var(--ease);
}

.hero__breadcrumb a:hover { color: var(--brand-white); }

.hero__breadcrumb span { color: var(--color-accent); }

/* Process steps — variant of .laws-list with smaller numerals */
.process-list {
    list-style: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid var(--color-line);
}

.process-step {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-line);
    align-items: baseline;
}

.process-step__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--color-accent);
    line-height: 1;
}

.process-step h3 {
    font-size: 1.6rem;
    color: var(--brand-white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 1rem;
    color: var(--pale-gray);
    line-height: 1.7;
    max-width: 60ch;
}

/* Service deliverables list — bold checkbox-style */
.deliverables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.deliverable {
    background: var(--brand-black);
    padding: 32px 28px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.deliverable__check {
    flex-shrink: 0;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.deliverable p {
    margin: 0;
    color: var(--pale-gray);
    font-size: 0.98rem;
    line-height: 1.6;
}

.deliverable strong {
    color: var(--brand-white);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 968px) {
    .process-step {
        grid-template-columns: 70px 1fr;
        gap: 20px;
        padding: 28px 0;
    }

    .process-step__num { font-size: 1.6rem; }

    .deliverables {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .deliverable { border-right: 0; }
}

/* ===========================
   About Page
   =========================== */
.hero--about {
    padding: 140px var(--pad-x) 100px;
}

.hero--about h1 {
    max-width: 16ch;
}

/* About — "The Person Behind It"
   Photo sits as a visual anchor; the heading layers over its bottom edge
   with a negative top margin. Gradient overlay on the photo so the
   heading reads cleanly against any tone in the image. */
.about-feature {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.about-feature__kicker {
    display: block;
    margin-bottom: 32px;
}

.about-feature__photo {
    position: relative;
    margin: 0 auto;
    max-width: 560px;
    overflow: hidden;
}

.about-feature__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Dark gradient on the bottom 45% of the photo so the overlapping
   heading has consistent contrast regardless of what's in the image. */
.about-feature__photo::after {
    content: '';
    position: absolute;
    inset: 55% 0 0 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(9, 9, 9, 0.4) 40%,
        rgba(9, 9, 9, 0.92) 100%
    );
    pointer-events: none;
}

.about-feature__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    color: var(--brand-white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: -90px auto 0; /* pull the heading up so it overlaps the bottom of the photo */
    padding: 0 24px;
    max-width: 22ch;
    position: relative;
    z-index: 2;
}

.about-feature__prose {
    max-width: 640px;
    margin: 60px auto 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pale-gray);
}

.about-feature__prose p {
    margin-bottom: 1.4em;
}

.about-feature__prose p:last-child {
    margin-bottom: 0;
    color: var(--brand-white);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .about-feature__photo { max-width: 100%; }
    .about-feature__title {
        margin-top: -60px;
        padding: 0 16px;
    }
}

/* Story grid — kicker/title left, prose right */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.story-grid__head h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.story-grid__body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--pale-gray);
}

.story-grid__body p {
    margin-bottom: 1.4em;
}

.story-grid__body p:last-child {
    color: var(--brand-white);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Archetype callout — full-width Tarantino-style chapter card */
.archetype {
    background: var(--brand-black);
    padding: var(--pad-section-y) var(--pad-x);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.archetype__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.archetype__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 14px;
}

.archetype__title {
    font-size: clamp(4rem, 12vw, 9rem);
    color: var(--brand-white);
    line-height: 0.95;
    margin-bottom: 40px;
}

.archetype__copy {
    font-size: 1.2rem;
    color: var(--pale-gray);
    max-width: 60ch;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.archetype__peers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.archetype__peers span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pale-gray);
    padding: 8px 16px;
    border: 1px solid var(--dark-gray);
}

/* Laws list — horizontal: number | title (Bodoni Italic) | description */
.laws-list {
    list-style: none;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid var(--color-line);
}

.law {
    display: grid;
    grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr);
    gap: 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--color-line);
    align-items: baseline;
}

.law__num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--color-accent);
    line-height: 1;
}

.law h3 {
    /* Display font for the law title — gives it the editorial weight */
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    color: var(--brand-white);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0;
}

.law p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pale-gray);
    line-height: 1.65;
    margin: 0;
}

/* Tablet: keep horizontal but tighten gaps */
@media (max-width: 1100px) {
    .law {
        grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 32px;
        padding: 32px 0;
    }
    .law__num { font-size: 1.5rem; }
}

/* Phone: stack title above description, number stays inline left */
@media (max-width: 768px) {
    .law {
        grid-template-columns: 50px 1fr;
        gap: 18px;
        padding: 28px 0;
    }
    .law__num {
        font-size: 1.4rem;
        grid-row: span 2;
    }
    .law h3 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }
    .law p {
        font-size: 0.95rem;
        grid-column: 2;
    }
}

/* ICP grid */
.icp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
    max-width: var(--container-max);
    margin: 0 auto;
}

.icp-card {
    background: var(--brand-black);
    padding: 44px 36px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.icp-card .kicker { margin-bottom: 18px; }

.icp-card p {
    font-size: 1rem;
    color: var(--pale-gray);
    line-height: 1.7;
}

/* Areas list */
.areas-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid var(--color-line);
}

.areas-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8px;
    border-bottom: 1px solid var(--color-line);
}

.areas-list__city {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-white);
}

.areas-list__meta {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* Stronger badge style for callouts like "Preferred Vendor" */
.areas-list__meta--accent {
    background: var(--color-accent);
    color: var(--brand-white);
    padding: 6px 12px;
    font-weight: 700;
}

/* ===========================
   Generic Page
   =========================== */
.page-default {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 140px var(--pad-x);
}

.page-default__header h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--brand-white);
    margin-bottom: 48px;
}

.page-default__content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--pale-gray);
}

.page-default__content p { margin-bottom: 1.4em; }

.page-default__content h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-white);
    margin: 2.4em 0 0.7em;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.page-default__content h2:first-child { margin-top: 0; }

.page-default__content h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-white);
    margin: 1.6em 0 0.5em;
    letter-spacing: -0.01em;
}

.page-default__content ul,
.page-default__content ol {
    margin: 0 0 1.4em 1.5em;
}

.page-default__content li {
    margin-bottom: 0.4em;
    line-height: 1.7;
}

.page-default__content strong {
    color: var(--brand-white);
    font-weight: 600;
}

.page-default__content a {
    color: var(--brand-white);
    border-bottom: 1px solid var(--color-accent);
    /* Long emails / URLs wrap cleanly on narrow viewports */
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ===========================
   404
   =========================== */
.error-404 {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px var(--pad-x);
    text-align: center;
    background: var(--brand-black);
}

.error-404__inner { max-width: 640px; }

.error-404__code {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(6rem, 14vw, 11rem);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.error-404 h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brand-white);
    margin-bottom: 20px;
}

.error-404 p {
    color: var(--pale-gray);
    font-size: 1.1rem;
    margin-bottom: 44px;
}

.error-404__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Blog
   =========================== */
.archive-hero {
    background: var(--brand-black);
    padding: 140px var(--pad-x) 80px;
    text-align: center;
    border-bottom: 2px solid var(--color-accent);
}

.archive-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--brand-white);
    margin-bottom: 18px;
}

.archive-hero p {
    color: var(--pale-gray);
    font-size: 1.15rem;
    max-width: var(--measure);
    margin: 0 auto;
}

.archive-list {
    padding: 100px var(--pad-x) 140px;
    max-width: var(--container-max);
    margin: 0 auto;
    background: var(--brand-black);
}

.archive-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.post-card {
    background: var(--brand-black);
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    transition: background 0.3s var(--ease);
}

.post-card:hover { background: var(--charcoal); }

.post-card__link {
    display: block;
    color: inherit;
    padding: 0;
}

.post-card__thumb img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-line);
}

.post-card__body {
    padding: 36px 32px 40px;
}

.post-card__date {
    font-family: var(--font-body);
    color: var(--color-accent);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.post-card__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-white);
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.post-card__excerpt {
    color: var(--pale-gray);
    font-size: 0.98rem;
}

.archive-list__pagination {
    margin-top: 60px;
    text-align: center;
}

.archive-list__pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 4px;
    color: var(--pale-gray);
    border: 1px solid var(--color-line);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s var(--ease);
}

.archive-list__pagination .page-numbers.current,
.archive-list__pagination .page-numbers:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--brand-white);
}

.archive-list__empty {
    text-align: center;
    color: var(--light-gray);
    padding: 80px 0;
}

/* Single post — editorial column */
.post-single {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px var(--pad-x) 140px;
    background: var(--brand-black);
}

.post-single__hero {
    margin: 0 auto 60px;
    max-width: 1100px;
    overflow: hidden;
}

.post-single__hero img {
    width: 100%;
    height: auto;
}

.post-single__header {
    text-align: center;
    margin-bottom: 60px;
}

.post-single__meta {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.post-single__title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--brand-white);
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--pale-gray);
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote { margin-bottom: 1.5em; }

.post-content h2 {
    font-size: 2rem;
    color: var(--brand-white);
    margin: 2em 0 0.7em;
}

.post-content h3 {
    font-size: 1.45rem;
    color: var(--brand-white);
    margin: 1.6em 0 0.5em;
}

.post-content a {
    color: var(--brand-white);
    border-bottom: 1px solid var(--color-accent);
}

.post-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 4px 0 4px 24px;
    color: var(--brand-white);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.4;
}

.post-content img { margin: 1em 0; }

.post-single__footer {
    margin-top: 70px;
    text-align: center;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 968px) {
    :root {
        --pad-section-y: 90px;
    }

    .hero {
        padding: 120px var(--pad-x) 90px;
    }

    .hero h1 { max-width: none; }

    .hero::after {
        font-size: 90vw;
        bottom: -10%;
        right: -20%;
    }

    .services-grid,
    .archive-list__grid {
        grid-template-columns: 1fr;
        border-left: 0;
        border-right: 0;
    }

    .service-card {
        border-right: 0;
    }

    .post-card {
        border-right: 0;
    }

    .video-showcase {
        grid-template-columns: 1fr;
    }

    /* ---------- Hamburger button ---------- */
    .site-header__toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .site-header__toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--brand-white);
        transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
        transform-origin: center;
    }

    /* Hamburger morphs into an X when drawer is open */
    body.nav-open .site-header__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open .site-header__toggle span:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .site-header__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ---------- Hide the desktop nav on mobile ---------- */
    .site-header__nav {
        display: none !important;
    }

    /* NOTE: intentionally NOT locking body scroll. The drawer covers
       the viewport, and overscroll-behavior:contain on the drawer
       prevents gesture leakage. Locking body scroll breaks position:
       sticky on the header, leaving the hamburger un-tappable. */
}

/* ===========================
   Mobile Drawer
   Lives OUTSIDE the sticky header (as a body-level sibling) so iOS Safari
   honors position:fixed against the actual viewport. Hidden on desktop.
   =========================== */
.mobile-drawer {
    display: none;
}

@media (max-width: 968px) {
    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100vh; /* fallback */
        height: 100dvh;
        z-index: 1000;
        background: #090909;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        transition:
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0s linear 0.4s;
    }

    .mobile-drawer.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        transition:
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0s linear 0s;
    }

    .mobile-drawer__inner {
        min-height: 100%;
        padding:
            calc(110px + env(safe-area-inset-top))
            calc(28px + env(safe-area-inset-right))
            max(60px, env(safe-area-inset-bottom))
            calc(28px + env(safe-area-inset-left));
        display: flex;
        flex-direction: column;
    }

    .mobile-drawer .site-header__menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .mobile-drawer .site-header__menu > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #2a2a2a;
    }

    .mobile-drawer .site-header__menu a {
        display: block;
        padding: 22px 0;
        font-family: var(--font-body);
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #FFFFFF;
        text-decoration: none;
        transition: color 0.2s var(--ease);
    }

    .mobile-drawer .site-header__menu a:hover,
    .mobile-drawer .site-header__menu a:focus {
        color: var(--color-accent);
    }

    /* Plus indicator for dropdown parents */
    .mobile-drawer .site-header__menu .menu-item-has-children > a::after {
        content: ' +';
        color: var(--color-accent);
    }
    .mobile-drawer .site-header__menu .menu-item-has-children.is-expanded > a::after {
        content: ' \2212';
    }

    /* Submenu — hidden by default, expanded on tap (handled by nav.js) */
    .mobile-drawer .site-header__menu .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0 0 8px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease);
    }

    .mobile-drawer .site-header__menu .menu-item-has-children.is-expanded > .sub-menu {
        max-height: 800px;
    }

    .mobile-drawer .site-header__menu .sub-menu a {
        padding: 14px 0;
        font-size: 0.95rem;
        color: #BBBBBB;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    /* Dedicated close button — always available inside the drawer
       regardless of header visibility. Pinned to the top-right with
       safe-area awareness for notch + Dynamic Island. */
    .mobile-drawer__close {
        position: absolute;
        top: calc(24px + env(safe-area-inset-top));
        right: calc(24px + env(safe-area-inset-right));
        width: 48px;
        height: 48px;
        background: transparent;
        border: 1px solid #2a2a2a;
        padding: 0;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
    }

    .mobile-drawer__close:hover,
    .mobile-drawer__close:focus {
        border-color: var(--color-accent);
        background: rgba(187, 29, 1, 0.1);
    }

    .mobile-drawer__close span {
        position: absolute;
        display: block;
        width: 22px;
        height: 2px;
        background: #FFFFFF;
        transform-origin: center;
    }

    .mobile-drawer__close span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-drawer__close span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .mobile-drawer__cta {
        display: inline-block;
        align-self: flex-start;
        margin-top: 36px;
        background: var(--color-accent);
        color: #FFFFFF;
        font-family: var(--font-body);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 16px 32px;
        border: 1px solid var(--color-accent);
        transition: background 0.25s var(--ease), color 0.25s var(--ease);
    }

    .mobile-drawer__cta:hover {
        background: transparent;
        color: var(--color-accent);
    }

    .site-header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header__menu > li {
        border-bottom: 1px solid var(--color-line);
    }

    .site-header__menu a {
        display: block;
        padding: 22px 0;
        font-size: 1rem;
    }

    .site-header__menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        background: transparent;
        padding: 0 0 16px 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease);
    }

    .site-header__menu .menu-item-has-children.is-expanded > .sub-menu {
        max-height: 600px;
    }

    .site-header__menu .sub-menu a {
        padding: 12px 0;
    }

    .site-header__cta {
        margin-top: 24px;
        text-align: center;
    }

    /* Footer */
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding-top: 70px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    /* About: story grid stacks */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .law {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 28px 0;
    }

    .icp-grid {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .icp-card {
        border-right: 0;
    }

    .areas-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .areas-list__city {
        font-size: 1.2rem;
    }

    /* Versus table — stack on mobile */
    .versus-table,
    .versus-table thead,
    .versus-table tbody,
    .versus-table tr,
    .versus-table td,
    .versus-table th {
        display: block;
        width: 100%;
    }

    .versus-table thead { display: none; }

    .versus-table tr {
        margin-bottom: 24px;
        border: 1px solid var(--color-line);
    }

    .versus-table td.is-us {
        background: var(--brand-black);
        border-left: 3px solid var(--color-accent);
    }

    .versus-table td.is-them {
        background: var(--charcoal);
        border-left: 3px solid var(--dark-gray);
    }
}

@media (max-width: 640px) {
    .hero-features span {
        font-size: 0.65rem;
        padding: 8px 14px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card { padding: 44px 28px; }
    .post-card__body { padding: 28px 24px 32px; }
}
