/* =================================================================
   Ari Vivekanandarajah, specialist profile page
   Style: editorial classic meets modern magazine punch
   ================================================================= */

:root {
    --cream:        #F6EFDD;
    --cream-2:      #EFE6CE;
    --paper-edge:   #D9CDA8;
    --ink:          #0B1A24;
    --ink-2:        #16283A;
    --ink-soft:     #1A1A1A;
    --gold:         #B68A3C;
    --gold-light:   #D9B45C;
    --burgundy:     #8B2E2E;
    --orange:       #E85D2F;
    --orange-deep:  #C8431B;
    --green:        #46B646;
    --rule:         rgba(11,26,36,0.18);
    --rule-dark:    rgba(246,239,221,0.22);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============ Typography ============ */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.display { font-family: 'Bebas Neue', 'Anton', 'Impact', sans-serif; letter-spacing: 0.02em; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
p { font-size: 1.02rem; line-height: 1.75; opacity: 0.92; margin-bottom: 16px; }
.lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.55; opacity: 0.92; max-width: 720px; }
strong { font-weight: 600; }

/* ============ Top mini-nav ============ */
.top-nav {
    position: absolute; top: 0; left: 0; right: 0; z-index: 50;
    padding: 24px 36px;
    display: flex; align-items: center; justify-content: flex-end;
    color: var(--cream);
}
.top-nav-brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: inherit;
}
.top-nav-brand img { height: 30px; }
.top-nav-brand-text {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.95rem; opacity: 0.75; letter-spacing: 0.5px;
}
.top-nav-social { display: flex; gap: 8px; }
.top-nav-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(246,239,221,0.25);
    display: inline-flex; align-items: center; justify-content: center;
    color: inherit; transition: all 0.25s ease;
}
.top-nav-social a:hover {
    background: var(--cream); color: var(--ink);
    border-color: var(--cream);
}
.top-nav-social svg { width: 16px; height: 16px; }

/* ============ Hero ============ */
.hero {
    background:
        radial-gradient(circle at 78% 60%, rgba(232,93,47,0.10) 0%, transparent 50%),
        radial-gradient(circle at 18% 90%, rgba(70,182,70,0.06) 0%, transparent 50%),
        linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink) 100%);
    color: var(--cream);
    min-height: 100vh;
    position: relative;
    padding: 110px 40px 80px;
    overflow: hidden;
}
.hero::before {
    /* Vertical text running up the left margin */
    content: 'AVAILABLE FOR HIRE   ·   SPECIALIST   ·   DIRECT';
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    white-space: nowrap;
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 0.66rem; letter-spacing: 6px;
    color: var(--orange); opacity: 0.85;
}
.hero::after {
    /* Faint editorial frame */
    content: ''; position: absolute; inset: 28px;
    border: 1px solid rgba(246,239,221,0.12); pointer-events: none;
}
.hero-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 60px; align-items: center;
    position: relative; z-index: 2; min-height: calc(100vh - 190px);
}
.hero-content { position: relative; }

.hero-issue {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 28px;
}
.hero-issue::before, .hero-issue::after {
    content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.5;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.92; margin-bottom: 6px;
}
.hero-name em { font-style: italic; font-weight: 500; color: var(--orange); }
.hero-surname {
    display: block;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 400; letter-spacing: 0.04em;
    color: var(--cream); opacity: 0.88; line-height: 1; margin-top: 6px;
}

.hero-tagline {
    margin: 28px 0 22px;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    opacity: 0.85;
}
.hero-tagline-label {
    font-family: 'Inter', sans-serif; font-style: normal;
    font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-light); font-weight: 700;
}
#heroTagline {
    border-bottom: 1.5px solid var(--orange); padding-bottom: 2px;
    transition: opacity 0.4s ease;
}

.hero-accent {
    max-width: 540px; font-size: 1.05rem; line-height: 1.7;
    opacity: 0.90; margin-bottom: 36px;
}

.hero-cta-row {
    display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px;
}
.hero-meta {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.9rem; opacity: 0.55; letter-spacing: 1px;
    display: flex; align-items: center; gap: 16px;
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

/* Hero photo treatment */
.hero-photo-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 480px; margin-left: auto; width: 100%;
}
.hero-photo {
    position: absolute; inset: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.45),
        0 0 0 1px rgba(246,239,221,0.10);
}
.hero-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
    display: block;
}
.hero-photo-corner-top, .hero-photo-corner-bot {
    position: absolute;
    width: 50px; height: 50px;
    border-color: var(--orange);
    z-index: 3; pointer-events: none;
}
.hero-photo-corner-top {
    top: -10px; right: -10px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
}
.hero-photo-corner-bot {
    bottom: -10px; left: -10px;
    border-bottom: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
}
.hero-photo-tag {
    position: absolute; bottom: 18px; left: -18px;
    background: var(--orange); color: white;
    padding: 8px 16px;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.95rem; letter-spacing: 3px;
    z-index: 4;
    box-shadow: 0 6px 18px rgba(232,93,47,0.4);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px;
    transition: all 0.28s cubic-bezier(0.22,1,0.36,1);
    border: none; cursor: pointer; font-family: inherit;
    white-space: nowrap;
}
.btn-primary {
    background: var(--orange); color: white;
    box-shadow: 0 6px 22px rgba(232,93,47,0.40);
}
.btn-primary:hover {
    transform: translateY(-2px); background: var(--orange-deep);
    box-shadow: 0 10px 30px rgba(232,93,47,0.55);
}
.btn-secondary {
    background: transparent; color: var(--cream);
    border: 1.5px solid rgba(246,239,221,0.45);
}
.btn-secondary:hover {
    border-color: var(--cream); background: rgba(246,239,221,0.06);
}
.btn-ink-outline {
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-ink-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-cream-outline {
    background: transparent; color: var(--cream);
    border: 1.5px solid rgba(246,239,221,0.45);
}
.btn-cream-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn svg { width: 14px; height: 14px; }

/* ============ Section base ============ */
.section { padding: 110px 40px; position: relative; overflow: hidden; }
.section--paper { background: var(--cream); color: var(--ink); }
.section--ink {
    background:
        radial-gradient(circle at 78% 18%, rgba(232,93,47,0.07) 0%, transparent 50%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--cream);
}
.section--orange {
    background: var(--orange); color: var(--cream);
    position: relative;
}
.section-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }

/* Section eyebrow with issue number */
.section-eyebrow {
    display: flex; align-items: center; gap: 16px;
    font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 28px;
}
.section--ink .section-eyebrow { color: var(--gold-light); }
.section--orange .section-eyebrow { color: var(--ink); }
.section-eyebrow-num {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 2.2rem; letter-spacing: 0; line-height: 1;
    color: var(--orange);
}
.section--ink .section-eyebrow-num { color: var(--orange); }
.section--orange .section-eyebrow-num { color: var(--cream); }
.section-eyebrow::after {
    content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.30; max-width: 200px;
}

.section-headline { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 18px; }
.section-headline em { font-style: italic; color: var(--orange); }
.section--ink .section-headline em { color: var(--gold-light); }
.section--orange .section-headline em { color: var(--ink); }

/* ============ Stats band ============ */
.stat-band {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--orange);
    border-bottom: 1px solid var(--rule);
    margin-top: 44px;
}
.stat-band-item {
    padding: 32px 22px; text-align: center;
    border-right: 1px solid var(--rule);
}
.stat-band-item:last-child { border-right: none; }
.stat-band-num {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1; margin-bottom: 8px; color: var(--ink);
    letter-spacing: 0.02em;
}
.stat-band-num em {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    color: var(--orange); font-weight: 500;
}
.stat-band-label {
    font-size: 0.8rem; opacity: 0.7; line-height: 1.4;
    max-width: 200px; margin: 0 auto;
}

/* ============ Service pills (query-string anchors) ============ */
.service-pills {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
    justify-content: center;
}
.service-pill {
    padding: 11px 22px; border-radius: 50px;
    border: 1.5px solid var(--rule);
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', sans-serif; font-weight: 600;
    font-size: 0.88rem; letter-spacing: 0.3px;
    text-decoration: none; cursor: pointer;
    transition: all 0.25s ease;
}
.service-pill:hover {
    border-color: var(--orange); color: var(--orange);
}
.service-pill.active {
    background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.service-pill.active:hover { background: var(--orange); border-color: var(--orange); color: white; }

/* ============ About / Story ============ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px;
    align-items: start; margin-top: 32px;
}
.about-portrait {
    position: relative;
    aspect-ratio: 4 / 5; max-width: 360px;
    border-radius: 4px; overflow: hidden;
    box-shadow: 0 18px 50px rgba(11,26,36,0.18);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-portrait::before {
    content: 'EST. 2003'; position: absolute; bottom: 18px; left: 18px;
    background: var(--ink); color: var(--cream);
    padding: 6px 14px;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.85rem; letter-spacing: 3px;
    z-index: 2;
}
.about-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 18px; }
.about-text .drop-cap::first-letter {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 4.6rem; font-weight: 700; float: left; line-height: 0.85;
    padding: 6px 12px 0 0; color: var(--orange);
}
.about-quote {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45;
    padding: 24px 0 24px 32px;
    border-left: 4px solid var(--orange);
    margin: 28px 0;
}

/* ============ Case study carousel ============ */
.case-carousel { margin-top: 44px; }
.case-carousel-stage {
    position: relative;
    display: flex; align-items: stretch; gap: 12px;
}
.case-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: rgba(11,26,36,0.03);
    border: 1px solid var(--rule);
    box-shadow: 0 14px 36px rgba(11,26,36,0.10);
}
.case-slide {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    padding: 28px;
    align-items: start;
    /* Initially hidden, current one revealed via .is-current */
    position: absolute; inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.case-slide.is-current {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.case-slide[hidden] { display: none !important; }

/* ----- Slide visual (screenshot or metric panel) ----- */
.case-slide-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(11,26,36,0.20);
    background: white;
    box-shadow: 0 10px 26px rgba(11,26,36,0.12);
    min-height: 280px;
}
.case-slide-frame.is-screenshot { background: white; }
.case-slide-frame.is-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    background: white;
}
.case-slide-chrome {
    display: flex; gap: 6px;
    padding: 8px 12px;
    background: rgba(11,26,36,0.04);
    border-bottom: 1px solid rgba(11,26,36,0.08);
}
.case-slide-chrome-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(11,26,36,0.22);
}
.case-slide-chrome-dot:nth-child(1) { background: #FF5F57; }
.case-slide-chrome-dot:nth-child(2) { background: #FEBC2E; }
.case-slide-chrome-dot:nth-child(3) { background: #28C840; }

/* Metric-only visual (no screenshot) */
.case-slide-frame.is-metric {
    background:
        radial-gradient(circle at 28% 22%, rgba(232,93,47,0.16) 0%, transparent 55%),
        radial-gradient(circle at 78% 82%, rgba(0,169,186,0.14) 0%, transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    border-color: rgba(246,239,221,0.22);
    color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    min-height: 280px;
}
.case-slide-frame.is-metric::before {
    content: ''; position: absolute; top: -1px; left: 28px; right: 28px; height: 3px;
    background: var(--orange);
}
.case-slide-hero {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 28px;
    text-align: center;
}
.case-slide-hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem; letter-spacing: 2.4px; text-transform: uppercase;
    color: rgba(246,239,221,0.65);
    font-weight: 700;
}
.case-slide-hero-value {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 0.95; letter-spacing: 0.02em;
    color: var(--gold-light);
}
.case-slide-hero-sub {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.04rem; opacity: 0.78;
}

/* ----- Slide body (brand, hook, metrics) ----- */
.case-slide-body {
    display: flex; flex-direction: column; gap: 14px;
    align-self: stretch;
}
.case-slide-badge {
    display: inline-block;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--orange);
    align-self: flex-start;
}
.case-slide-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-weight: 600;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
    color: var(--ink);
}
.case-slide-hook {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.08rem; line-height: 1.5;
    opacity: 0.88;
    margin: 0;
}
.case-slide-metrics {
    margin-top: 6px;
    border-top: 1px solid var(--rule);
    display: flex; flex-direction: column;
}
.csm-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 12px; align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(11,26,36,0.10);
}
.csm-row:last-child { border-bottom: none; }
.csm-row:first-child {
    border-left: 3px solid var(--burgundy);
    padding-left: 12px;
    margin-left: -3px;
    background: linear-gradient(90deg, rgba(139,46,46,0.05) 0%, transparent 80%);
}
.csm-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem; letter-spacing: 1.6px; text-transform: uppercase;
    font-weight: 700;
    color: rgba(11,26,36,0.55);
}
.csm-value {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 1.22rem; letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 1.05;
}
.csm-row:first-child .csm-value {
    color: var(--burgundy);
    font-size: 1.45rem;
}
.csm-sub {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.82rem; opacity: 0.7;
    white-space: nowrap;
}

/* ----- Navigation ----- */
.case-nav {
    flex-shrink: 0;
    width: 48px;
    border: 1px solid var(--rule);
    background: var(--cream);
    color: var(--ink);
    border-radius: 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.case-nav:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}
.case-nav:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    background: var(--cream); border-color: var(--rule); color: var(--ink);
}

.case-carousel-foot {
    margin-top: 22px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.case-counter {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.82rem; letter-spacing: 2px;
    color: var(--ink); opacity: 0.55;
}
.case-dots {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.case-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(11,26,36,0.20);
    border: none; padding: 0; cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.case-dot:hover { background: rgba(11,26,36,0.45); }
.case-dot.is-current {
    background: var(--orange);
    transform: scale(1.18);
}
.case-carousel-note {
    margin-top: 14px;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.92rem; opacity: 0.62;
    text-align: center;
}

@media (max-width: 900px) {
    .case-slide { grid-template-columns: 1fr; padding: 20px; }
    .case-slide-frame { min-height: 0; }
    .case-nav { width: 40px; }
}
@media (max-width: 600px) {
    .case-carousel-stage { gap: 6px; }
    .case-nav { width: 36px; }
    .case-slide { padding: 16px; gap: 18px; }
    .case-slide-frame.is-metric { min-height: 220px; }
    .case-slide-hero-value { font-size: 3rem; }
    .csm-row { grid-template-columns: 1fr auto; }
    .csm-sub { display: none; }
}

/* ============ Compact case list (for "see all") ============ */
.case-list {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 0; margin-top: 36px;
    border-top: 1px solid var(--rule);
}
.case-list-item {
    padding: 20px 4px; border-bottom: 1px solid var(--rule);
    display: grid; grid-template-columns: 1fr auto; gap: 16px;
    align-items: center;
    transition: padding-left 0.25s ease;
}
.case-list-item:hover { padding-left: 16px; }
.case-list-name {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.1rem; font-weight: 600;
}
.case-list-tags {
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    opacity: 0.6; font-weight: 600;
}

/* ============ Website portfolio: auto-scrolling carousel ============ */
.portfolio-track-wrap {
    position: relative;
    margin-top: 44px;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    padding: 12px 0;
}
.portfolio-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollPortfolio 80s linear infinite;
}
.portfolio-track:hover, .portfolio-track.paused { animation-play-state: paused; }
@keyframes scrollPortfolio {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.portfolio-card {
    flex: 0 0 380px;
    width: 380px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(246,239,221,0.10);
    background: var(--cream);
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.45);
    border-color: var(--orange);
}
.portfolio-card-chrome {
    background: rgba(11,26,36,0.08);
    padding: 9px 14px;
    border-bottom: 1px solid rgba(11,26,36,0.10);
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.portfolio-card-dots {
    display: flex; gap: 6px; flex-shrink: 0;
}
.portfolio-card-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.portfolio-card-dots span:nth-child(1) { background: #FF5F56; }
.portfolio-card-dots span:nth-child(2) { background: #FFBD2E; }
.portfolio-card-dots span:nth-child(3) { background: #28C940; }
.portfolio-card-url {
    flex: 1;
    background: rgba(11,26,36,0.08);
    border-radius: 4px;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(11,26,36,0.55);
    letter-spacing: 0.2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.portfolio-card-body {
    flex: 1;
    padding: 28px 30px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
    background: linear-gradient(135deg, var(--card-from, #F6EFDD) 0%, var(--card-to, #D9CDA8) 100%);
    color: var(--ink);
}
.portfolio-card-name {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 2rem; font-weight: 600;
    line-height: 1; color: var(--ink);
    max-width: 80%;
}
.portfolio-card-tag {
    display: inline-block; width: fit-content;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.74rem; letter-spacing: 2.5px;
    color: var(--ink);
    padding: 4px 12px;
    background: rgba(11,26,36,0.10);
    border-radius: 50px;
    align-self: flex-start;
}
.portfolio-card-arrow {
    position: absolute; bottom: 20px; right: 24px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--ink); color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.portfolio-card:hover .portfolio-card-arrow {
    background: var(--orange);
    transform: rotate(-45deg);
}
.portfolio-card-arrow svg { width: 16px; height: 16px; }

/* Card colour variants - cycled by JS so the strip feels alive */
.portfolio-card.tone-cream    { --card-from:#F6EFDD; --card-to:#D9CDA8; }
.portfolio-card.tone-orange   { --card-from:#FCD5C2; --card-to:#E85D2F; }
.portfolio-card.tone-cyan     { --card-from:#C8E8EE; --card-to:#00A9BA; }
.portfolio-card.tone-burgundy { --card-from:#E6BFBF; --card-to:#8B2E2E; }
.portfolio-card.tone-green    { --card-from:#C9E8C9; --card-to:#46B646; }
.portfolio-card.tone-gold     { --card-from:#F0DBA8; --card-to:#B68A3C; }
.portfolio-card.tone-ink      { --card-from:#42596B; --card-to:#0B1A24; color: var(--cream); }
.portfolio-card.tone-ink .portfolio-card-name,
.portfolio-card.tone-ink .portfolio-card-tag { color: var(--cream); }
.portfolio-card.tone-ink .portfolio-card-tag { background: rgba(246,239,221,0.15); }
.portfolio-card.tone-ink .portfolio-card-arrow { background: var(--orange); color: white; }

.portfolio-controls {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 18px;
}
.portfolio-toggle {
    background: transparent;
    color: var(--cream); opacity: 0.7;
    border: 1px solid rgba(246,239,221,0.30);
    padding: 8px 14px;
    border-radius: 50px;
    font-family: inherit; font-size: 0.78rem; letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.portfolio-toggle:hover { border-color: var(--orange); color: var(--orange); opacity: 1; }
.portfolio-toggle svg { width: 12px; height: 12px; }

@media (max-width: 768px) {
    .portfolio-card { flex: 0 0 300px; width: 300px; height: 210px; }
    .portfolio-card-name { font-size: 1.55rem; }
    .portfolio-card-body { padding: 22px 22px; }
}

/* ============ Video testimonials: auto-scrolling landscape strip ============ */
.video-strip-wrap {
    position: relative;
    margin-top: 44px;
    /* Edge-to-edge bleed so the strip scrolls through the full viewport */
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    padding: 4px 0;
}
.video-strip {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scrollVideoStrip 38s linear infinite;
}
.video-strip:hover, .video-strip.paused { animation-play-state: paused; }
@keyframes scrollVideoStrip {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.video-strip-item {
    flex: 0 0 auto;
    width: 360px; height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ink);
    border: 1px solid rgba(246,239,221,0.10);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.video-strip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0,0,0,0.45);
    border-color: var(--orange);
}
.video-strip-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;  /* favour the face area when cropping portrait video */
    pointer-events: none;
    display: block;
}
.video-strip-item-num {
    position: absolute; top: 12px; left: 12px;
    background: var(--orange); color: white;
    padding: 4px 11px;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.78rem; letter-spacing: 2.5px;
    z-index: 3;
}
.video-strip-item-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(232,93,47,0.92);
    color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.40);
    transition: transform 0.25s ease, background 0.25s ease;
    z-index: 3;
    pointer-events: none;
}
.video-strip-item:hover .video-strip-item-play {
    transform: translate(-50%, -50%) scale(1.10);
    background: var(--orange);
}
.video-strip-item-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-strip-item-tint {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,26,36,0.15) 0%, rgba(11,26,36,0.55) 100%);
    z-index: 2;
    transition: opacity 0.25s ease;
}
.video-strip-item:hover .video-strip-item-tint { opacity: 0.6; }

.video-strip-controls {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 22px;
}
.video-strip-toggle {
    background: transparent;
    color: var(--cream); opacity: 0.7;
    border: 1px solid rgba(246,239,221,0.30);
    padding: 8px 14px;
    border-radius: 50px;
    font-family: inherit; font-size: 0.78rem; letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 8px;
}
.video-strip-toggle:hover { border-color: var(--orange); color: var(--orange); opacity: 1; }
.video-strip-toggle svg { width: 12px; height: 12px; }

/* Lightbox modal */
.video-modal {
    position: fixed; inset: 0;
    background: rgba(5, 10, 18, 0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 80px 60px;
    animation: fadeIn 0.3s ease;
}
.video-modal.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.video-modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 86vh;
    display: flex; align-items: center; justify-content: center;
}
.video-modal video {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 6px;
    background: black;
    display: block;
    box-shadow: 0 24px 70px rgba(0,0,0,0.65);
}
.video-modal-close {
    position: absolute; top: -56px; right: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(246,239,221,0.10);
    border: 1px solid rgba(246,239,221,0.30);
    color: var(--cream);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
}
.video-modal-close:hover { background: var(--orange); border-color: var(--orange); color: white; }
.video-modal-nav {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(232,93,47,0.92);
    color: white;
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.40);
    transition: all 0.2s ease;
    z-index: 2;
    font-family: inherit;
}
.video-modal-nav:hover { background: var(--orange-deep); transform: translateY(-50%) scale(1.06); }
.video-modal-prev { left: -76px; }
.video-modal-next { right: -76px; }
.video-modal-counter {
    position: absolute; bottom: -42px; left: 50%; transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    color: var(--cream); opacity: 0.7;
    font-size: 0.92rem; letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 880px) {
    .video-modal { padding: 60px 18px; }
    .video-modal-close { top: -48px; }
    .video-modal-nav { width: 42px; height: 42px; }
    .video-modal-prev { left: 6px; }
    .video-modal-next { right: 6px; }
}
@media (max-width: 540px) {
    .video-strip-item { width: 260px; height: 160px; }
    .video-strip-item-play { width: 48px; height: 48px; }
}

/* ============ OLD video carousel styles (kept hidden for safety) ============ */
.video-carousel-wrap {
    position: relative;
    margin-top: 44px;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    padding-left: calc((100vw - 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
    display: none;  /* superseded by .video-strip */
}
.video-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 4px 16px;
    scroll-behavior: smooth;
}
.video-carousel::-webkit-scrollbar { display: none; }
.video-card {
    flex: 0 0 300px;
    width: 300px;
    height: 530px;        /* uniform card height across the whole carousel */
    scroll-snap-align: start;
    background: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}
.section--ink .video-card { border-color: rgba(246,239,221,0.18); }
.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(11,26,36,0.15);
    border-color: var(--orange);
}
.video-card video {
    width: 100%; height: 100%;
    display: block;
    background: var(--ink);
    object-fit: contain;   /* preserve aspect, letterbox/pillarbox any orientation */
}
/* video-wide kept for backward compatibility but now identical to vertical */
.video-card.video-wide { flex: 0 0 300px; width: 300px; }

/* Play-button overlay: keeps videos from auto-downloading on page load */
.video-card-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(circle at center, rgba(11,26,36,0.30) 0%, rgba(11,26,36,0.78) 100%);
    cursor: pointer;
    transition: opacity 0.35s ease;
    z-index: 3;
}
.video-card-overlay.hidden { opacity: 0; pointer-events: none; }
.video-play-btn {
    width: 78px; height: 78px;
    border-radius: 50%;
    background: var(--orange); color: white;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(232,93,47,0.45), 0 0 0 6px rgba(232,93,47,0.18);
    transition: all 0.25s ease;
    font-family: inherit;
}
.video-play-btn:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(232,93,47,0.6), 0 0 0 10px rgba(232,93,47,0.22); }
.video-play-btn:active { transform: scale(0.96); }
.video-play-btn svg { width: 30px; height: 30px; margin-left: 3px; /* optical centring for the play triangle */ }
.video-card-overlay-label {
    position: absolute; bottom: 20px; left: 0; right: 0;
    text-align: center;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.95rem; letter-spacing: 3px;
    color: var(--cream); opacity: 0.78;
    pointer-events: none;
}
.video-card-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--orange); color: white;
    padding: 4px 10px;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.78rem; letter-spacing: 2px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(232,93,47,0.35);
}

/* Carousel controls */
.carousel-controls {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 18px;
    margin-top: 22px;
}
.carousel-counter {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.05rem; opacity: 0.78;
    letter-spacing: 0.5px;
    display: inline-flex; align-items: center; gap: 12px;
}
.carousel-counter::before {
    content: ''; width: 40px; height: 1px; background: var(--orange); opacity: 0.7;
}
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--orange); color: white;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(232,93,47,0.35);
    font-family: inherit;
}
.carousel-arrow:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(232,93,47,0.50);
}
.carousel-arrow:active { transform: translateY(0); }
.carousel-arrow:disabled {
    opacity: 0.30; cursor: not-allowed; transform: none;
    box-shadow: 0 2px 6px rgba(232,93,47,0.15);
}
.carousel-arrow svg { width: 16px; height: 16px; }

/* Fade edges to hint at scroll */
.video-carousel-wrap::before,
.video-carousel-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 16px;
    width: 60px; pointer-events: none; z-index: 2;
    transition: opacity 0.3s ease;
}
.video-carousel-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--cream) 0%, transparent 100%);
}
.video-carousel-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--cream) 0%, transparent 100%);
}
.section--ink .video-carousel-wrap::before { background: linear-gradient(90deg, var(--ink) 0%, transparent 100%); }
.section--ink .video-carousel-wrap::after  { background: linear-gradient(-90deg, var(--ink) 0%, transparent 100%); }
.video-carousel-wrap[data-at-start="true"]::before { opacity: 0; }
.video-carousel-wrap[data-at-end="true"]::after  { opacity: 0; }

/* ============ Verified reviews wall (floating cards) ============ */
.review-badge {
    position: relative;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(232,93,47,0.10) 0%, transparent 60%),
        rgba(246,239,221,0.04);
    border: 1px solid rgba(246,239,221,0.18);
    border-radius: 16px;
    padding: 32px 36px 30px;
    max-width: 460px;
    margin: 40px auto 0;
    box-shadow: 0 18px 50px rgba(0,0,0,0.30);
}
.review-badge::before {
    content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 72px; height: 3px; background: var(--orange);
}
.review-badge-stars {
    color: var(--orange); font-size: 1.4rem; letter-spacing: 6px;
    line-height: 1;
}
.review-badge-rating {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 3.4rem; line-height: 1;
    margin-top: 10px; color: var(--cream);
    letter-spacing: 0.02em;
}
.review-badge-meta {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1rem; opacity: 0.80; margin-top: 10px;
    letter-spacing: 0.5px;
}
.review-badge-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(246,239,221,0.30);
    color: var(--cream); text-decoration: none;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
    transition: all 0.25s ease;
}
.review-badge-link:hover { border-color: var(--orange); color: var(--orange); }
.review-badge-link svg { width: 14px; height: 14px; }

/* Old masonry grid kept hidden as a safeguard for any legacy script */
.review-grid { display: none; }

/* New: 3-column vertical-scroll wall (alive, alternating direction) */
.review-wall {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 56px;
    height: clamp(540px, 70vh, 760px);
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.review-column {
    display: flex; flex-direction: column; gap: 18px;
    will-change: transform;
}
.review-column[data-col="0"] { animation: reviewUp   58s linear infinite; }
.review-column[data-col="1"] { animation: reviewDown 70s linear infinite; }
.review-column[data-col="2"] { animation: reviewUp   82s linear infinite; }
.review-wall:hover .review-column,
.review-wall.paused .review-column { animation-play-state: paused; }
@keyframes reviewUp {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}
@keyframes reviewDown {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}
@media (max-width: 880px) {
    .review-wall { grid-template-columns: 1fr 1fr; height: clamp(480px, 60vh, 640px); }
    .review-column[data-col="2"] { display: none; }  /* drop the 3rd column on tablet */
}
@media (max-width: 540px) {
    .review-wall { grid-template-columns: 1fr; height: 520px; }
    .review-column[data-col="1"] { display: none; }  /* single column on phone */
}

.review-card {
    break-inside: avoid;
    margin-bottom: 18px;
    padding: 22px 24px 20px;
    background: rgba(246,239,221,0.04);
    border: 1px solid rgba(246,239,221,0.10);
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.20);
    transition: all 0.3s ease;
    display: block;
    position: relative;
}
.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232,93,47,0.45);
    box-shadow: 0 14px 38px rgba(0,0,0,0.34);
}
.review-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
    font-weight: 600; font-size: 0.95rem;
    color: var(--cream);
    margin-bottom: 2px;
    line-height: 1.2;
}
.review-job {
    font-size: 0.7rem; opacity: 0.6;
    line-height: 1.35;
    overflow: hidden;
}
.review-stars {
    color: var(--orange);
    font-size: 0.92rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.review-text {
    font-size: 0.88rem; line-height: 1.6;
    opacity: 0.92;
    margin: 0;
    color: var(--cream);
}

/* When a query-string service is active, matching reviews can be
   visually promoted (subtle orange ring) without hiding the rest. */
.review-card[data-promoted="true"] {
    border-color: rgba(232,93,47,0.55);
    box-shadow: 0 8px 26px rgba(232,93,47,0.18), 0 2px 8px rgba(0,0,0,0.20);
}

/* ============ Authored work ============ */
.authored-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
    margin-top: 36px;
}
.authored-card {
    position: relative;
    padding: 38px 36px 32px;
    background: var(--cream);
    border: 1px solid var(--rule);
    border-radius: 6px;
    display: flex; gap: 22px; align-items: flex-start;
    text-decoration: none; color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
}
.section--ink .authored-card { background: rgba(246,239,221,0.04); border-color: var(--rule-dark); }
.authored-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11,26,36,0.12); border-color: var(--orange); }
.authored-card::before {
    content: ''; position: absolute; top: 0; left: 36px; width: 60px; height: 3px;
    background: var(--orange);
}
.authored-cover {
    flex-shrink: 0; width: 90px; height: 120px;
    background:
        radial-gradient(circle at 30% 25%, rgba(70,182,70,0.20) 0%, transparent 50%),
        radial-gradient(circle at 75% 80%, rgba(0,169,186,0.18) 0%, transparent 55%),
        linear-gradient(160deg, #0d2231 0%, #0b1a24 50%, #050b12 100%);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    color: var(--cream);
    text-align: center; padding: 14px 8px;
    box-shadow: 0 8px 22px rgba(11,26,36,0.35);
    border: 1px solid rgba(246,239,221,0.10);
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.72rem; font-weight: 500;
    line-height: 1.2;
}
.authored-content { flex: 1; }
.authored-label {
    font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--orange); font-weight: 700; margin-bottom: 6px;
}
.authored-title {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.4rem; font-weight: 600; line-height: 1.2;
    margin-bottom: 8px;
}
.section--ink .authored-title { color: var(--gold-light); }
.authored-summary { font-size: 0.9rem; line-height: 1.55; opacity: 0.85; margin-bottom: 12px; }
.authored-cta { font-size: 0.78rem; font-weight: 600; color: var(--orange); }

/* When a service is active, promote the matching authored cards
   (e.g. ?ai-agents promotes the AI Agent Playbook to the front
   with an orange ring). */
.authored-card[data-promoted="true"] {
    border-color: var(--orange);
    box-shadow: 0 14px 36px rgba(232,93,47,0.20);
    order: -1;
}
.authored-card[data-promoted="true"]::before {
    height: 4px;
}

/* ============ Contact form ============ */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
    align-items: start; margin-top: 44px;
}
.contact-side .cs-photo {
    width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--orange);
    box-shadow: 0 8px 28px rgba(232,93,47,0.30);
    margin-bottom: 20px;
}
.contact-side .cs-name {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.5rem; font-weight: 600; margin-bottom: 4px;
    color: var(--orange); line-height: 1.2;
}
.contact-side .cs-role {
    font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
    opacity: 0.62; margin-bottom: 14px; font-weight: 600;
}
.contact-side .cs-bio {
    font-size: 0.94rem; opacity: 0.88; line-height: 1.7; margin: 14px 0 18px;
}
.contact-side .cs-social {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.contact-side .cs-social-link {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    font-size: 0.86rem; font-weight: 500;
    padding: 8px 14px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s;
}
.contact-side .cs-social-link:hover { transform: translateY(-1px); }
.contact-side .cs-linkedin {
    color: #4a9eff;
    background: rgba(10,102,194,0.14);
}
.contact-side .cs-linkedin:hover { background: rgba(10,102,194,0.24); }
.contact-side .cs-youtube {
    color: #ff5757;
    background: rgba(255,87,87,0.14);
}
.contact-side .cs-youtube:hover { background: rgba(255,87,87,0.24); }
.contact-side .what-next {
    list-style: none; margin: 0; padding: 22px 0 0;
    border-top: 1px solid rgba(246,239,221,0.14);
}
.contact-side .what-next-label {
    font-size: 0.66rem; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 700; color: var(--orange); margin-bottom: 10px;
}
.contact-side .what-next li {
    padding: 7px 0 7px 24px; position: relative;
    font-size: 0.94rem; line-height: 1.55;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    opacity: 0.92;
}
.contact-side .what-next li::before {
    content: '\00A7'; position: absolute; left: 0; top: 6px;
    color: var(--orange); font-family: 'Cormorant Garamond', serif;
    font-weight: 700; font-style: normal; font-size: 1.05rem;
}

.contact-form {
    background: rgba(246,239,221,0.04);
    border: 1px solid rgba(246,239,221,0.18);
    border-radius: 6px;
    padding: 36px 38px;
    position: relative;
}
.contact-form::before {
    content: ''; position: absolute; top: -1px; left: 32px; right: 32px; height: 3px;
    background: var(--orange);
}
.form-heading {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.45rem; font-weight: 600; color: var(--orange);
    margin-bottom: 6px;
}
.form-sub { font-size: 0.88rem; opacity: 0.75; margin-bottom: 22px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row--single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 600; opacity: 0.75; font-family: 'Inter', sans-serif;
}
.field label .req { color: var(--orange); }
.field input, .field textarea, .field select {
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(246,239,221,0.18);
    border-radius: 4px; padding: 12px 14px;
    color: var(--cream);
    font-family: 'Inter', sans-serif; font-size: 0.96rem;
    transition: border-color 0.25s, background 0.25s;
    min-height: 46px; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246,239,221,0.35); }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--orange); background: rgba(0,0,0,0.32);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: rgba(231,76,60,0.6); }
.field-error { font-size: 0.74rem; color: #e58a8a; opacity: 0; margin-top: 2px; transition: opacity 0.2s; }
.field.invalid .field-error { opacity: 1; }
.field select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23E85D2F' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px; cursor: pointer;
}

.hp-field {
    position: absolute !important; left: -10000px !important; top: auto !important;
    width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.form-error {
    display: none; margin: 0 0 18px;
    padding: 12px 16px; background: rgba(231,76,60,0.10);
    border: 1px solid rgba(231,76,60,0.35);
    border-left: 3px solid #E74C3C; border-radius: 4px;
    color: #f0a8a0; font-size: 0.9rem; line-height: 1.5;
}
.form-error.show { display: block; }
.form-submit-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid rgba(246,239,221,0.10);
}
.privacy-note {
    font-size: 0.78rem; opacity: 0.6; line-height: 1.5;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    flex: 1; min-width: 180px; max-width: 280px;
}
.form-submit-btn { min-width: 200px; }
.form-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.form-success {
    display: none; text-align: center; padding: 36px 24px;
}
.form-success.show { display: block; }
.form-success .check-icon {
    width: 64px; height: 64px; margin: 0 auto 22px;
    border-radius: 50%; background: rgba(232,93,47,0.18);
    border: 2px solid var(--orange);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
}
.form-success .check-icon svg { width: 32px; height: 32px; }
.form-success h4 {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.7rem; margin-bottom: 12px; color: var(--orange);
}

/* ============ Section divider quote ============ */
.divider-quote {
    background: var(--orange);
    color: var(--cream); padding: 90px 40px;
    text-align: center;
    position: relative; overflow: hidden;
}
.divider-quote-inner { max-width: 920px; margin: 0 auto; position: relative; }
.divider-quote-mark {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 5rem; line-height: 1; opacity: 0.45;
    margin-bottom: -28px;
}
.divider-quote p {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3;
    margin-bottom: 22px; opacity: 0.96;
}
.divider-quote-attr {
    font-family: 'Inter', sans-serif; font-style: normal;
    font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
    opacity: 0.85; font-weight: 600;
}

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Marquee strip ============ */
.marquee {
    background: var(--ink); color: var(--cream);
    padding: 22px 0; overflow: hidden; position: relative;
    border-top: 1px solid rgba(246,239,221,0.10);
    border-bottom: 1px solid rgba(246,239,221,0.10);
}
.marquee-track {
    display: inline-flex; gap: 48px; white-space: nowrap;
    animation: marquee 32s linear infinite;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 1.4rem; letter-spacing: 0.08em;
    color: var(--cream); opacity: 0.85;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-dot { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .case-list { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr 1fr; }
    .authored-grid { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
    .stat-band-item:nth-child(2) { border-right: none; }
    .stat-band-item:nth-child(1), .stat-band-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-photo-wrap { margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-portrait { max-width: 280px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 22px; }
    .top-nav { padding: 20px 22px; }
    .top-nav-brand-text { display: none; }
    .hero { padding: 90px 24px 70px; }
    .hero::before { display: none; }
    .hero::after { inset: 14px; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { width: 100%; }
    .btn { padding: 14px 22px; font-size: 0.9rem; min-height: 48px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .portfolio-card { padding: 20px 18px; min-height: 140px; }
    .portfolio-card-name { font-size: 1.2rem; }
    .video-card { flex: 0 0 250px; width: 250px; height: 440px; }
    .video-card.video-wide { flex: 0 0 250px; width: 250px; }
    .video-play-btn { width: 64px; height: 64px; }
    .video-play-btn svg { width: 26px; height: 26px; }
    .carousel-arrow { width: 42px; height: 42px; }
    .carousel-counter { font-size: 0.95rem; }
    .video-carousel-wrap::before, .video-carousel-wrap::after { width: 30px; }
    .stat-band { grid-template-columns: 1fr; }
    .stat-band-item { border-right: none !important; border-bottom: 1px solid var(--rule); }
    .stat-band-item:last-child { border-bottom: none; }
    .service-pills { gap: 8px; }
    .service-pill { padding: 9px 16px; font-size: 0.82rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-side { text-align: center; }
    .contact-side .cs-photo { margin: 0 auto 18px; }
    .contact-side .what-next { text-align: left; max-width: 380px; margin: 0 auto; }
    .contact-form { padding: 28px 22px; }
    .contact-form::before { left: 22px; right: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 14px; }
    .form-submit-row { flex-direction: column; align-items: stretch; }
    .form-submit-btn { width: 100%; }
    .privacy-note { max-width: 100%; text-align: center; }
    .divider-quote { padding: 60px 22px; }
    .marquee-track { font-size: 1.1rem; gap: 32px; }
    .authored-card { flex-direction: column; gap: 16px; }
    .authored-cover { width: 100px; height: 130px; }
    .section-eyebrow-num { font-size: 1.7rem; }
    .hero-photo-tag { left: 0; }
    .about-portrait { margin: 0 auto; }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 18px 60px; }
    .section { padding: 60px 18px; }
}

/* =================================================================
   v2 additions: hero secondary link, trust bar, offer ladder,
   lead magnet capture, contact scheduler placeholder
   ================================================================= */

/* Screen-reader-only utility (used by the lead magnet email label) */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Hero CTA: primary button stays, secondary becomes a text link */
.hero-secondary-link {
    color: var(--cream);
    opacity: 0.78;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.02rem;
    letter-spacing: 0.3px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(246,239,221,0.30);
    align-self: center;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.hero-secondary-link:hover {
    opacity: 1;
    border-color: var(--orange);
}

/* ============ Trust bar ============ */
.trust-bar {
    background: var(--cream-2);
    border-top: 1px solid var(--paper-edge);
    border-bottom: 1px solid var(--paper-edge);
    padding: 22px 36px;
}
.trust-bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 28px; flex-wrap: wrap;
}
.trust-bar-text {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.02rem;
    color: var(--ink);
    opacity: 0.85;
    flex: 1 1 380px;
}
.trust-bar-text strong { font-weight: 700; font-style: normal; opacity: 1; }
.trust-bar-badges {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    background: var(--cream);
    border: 1px solid var(--paper-edge);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.2px;
}
.trust-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
}
.trust-badge-dot.google  { background: #4285F4; }
.trust-badge-dot.meta    { background: #0668E1; }
.trust-badge-dot.hubspot { background: #FF7A59; }

/* ============ Offer ladder ============ */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 44px;
}
.offer-card {
    background: rgba(246,239,221,0.04);
    border: 1px solid rgba(246,239,221,0.16);
    border-radius: 10px;
    padding: 26px 24px 24px;
    display: flex; flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.offer-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: 0 16px 38px rgba(0,0,0,0.25);
}
.offer-card.is-featured {
    border-color: var(--orange);
    background: linear-gradient(180deg, rgba(232,93,47,0.12) 0%, rgba(246,239,221,0.04) 100%);
    box-shadow: 0 14px 32px rgba(232,93,47,0.20);
}
.offer-card.is-featured::before {
    content: 'Most popular';
    position: absolute; top: -1px; right: 16px;
    background: var(--orange); color: white;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.7rem; letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 0 0 4px 4px;
    text-transform: uppercase;
}
.offer-card-eyebrow {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
}
.offer-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.15;
    color: var(--cream);
}
.offer-card-price {
    display: flex; align-items: baseline; gap: 6px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid rgba(246,239,221,0.16);
    border-bottom: 1px solid rgba(246,239,221,0.16);
}
.offer-card-price-from {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--cream);
}
.offer-card-price-value {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 1.85rem;
    letter-spacing: 0.04em;
    color: var(--gold-light);
    line-height: 1;
}
.offer-card-price-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.88rem;
    opacity: 0.75;
    color: var(--cream);
}
.offer-card-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--cream);
    opacity: 0.88;
    margin: 0;
    flex: 1;
}
.offer-card-cta {
    margin-top: auto;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--orange);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(232,93,47,0.40);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.offer-card-cta:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}
.offer-foot {
    margin-top: 28px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.92rem;
    opacity: 0.62;
    color: var(--cream);
}
@media (max-width: 1100px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .offer-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ============ Lead magnet capture ============ */
.lead-magnet {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: center;
    background: var(--cream-2);
    border: 1px solid var(--paper-edge);
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    padding: 36px 40px;
    box-shadow: 0 14px 36px rgba(11,26,36,0.10);
}
.lead-magnet-eyebrow {
    display: inline-block;
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-size: 0.74rem; letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--orange);
}
.lead-magnet-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 10px 0 12px;
}
.lead-magnet-title em {
    color: var(--burgundy);
    font-style: italic;
}
.lead-magnet-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.06rem;
    line-height: 1.55;
    color: var(--ink);
    opacity: 0.88;
    margin: 0;
}
.lead-magnet-form {
    display: flex; flex-direction: column; gap: 12px;
    position: relative;
}
.lead-magnet-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--paper-edge);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--cream);
    color: var(--ink);
}
.lead-magnet-field input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,93,47,0.15);
}
.lead-magnet-btn {
    width: 100%;
    justify-content: center;
}
.lead-magnet-fine {
    margin: 4px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.86rem;
    opacity: 0.65;
    text-align: center;
}
.lead-magnet-success {
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(70,182,70,0.12);
    border: 1px solid rgba(70,182,70,0.40);
    border-radius: 6px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #2a8a2a;
    text-align: center;
}
@media (max-width: 800px) {
    .lead-magnet { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
}

/* ============ Contact scheduler (HubSpot Meetings embed) + divider ============ */
/* The contact-grid is a 2-column grid (side + form). The right column
   now stacks three pieces (scheduler, "or" divider, fallback form),
   so we wrap them in .contact-stack and let the grid see one child. */
.contact-stack {
    display: flex; flex-direction: column;
    min-width: 0;
}
.contact-scheduler {
    display: flex; flex-direction: column;
    padding: 28px;
}
/* The HubSpot embed injects an iframe that sizes itself. Give it a sane
   min-height so the layout doesn't collapse while the script is loading. */
.meetings-iframe-container {
    margin-top: 16px;
    min-height: 640px;
    background: var(--cream);
    border-radius: 8px;
    overflow: hidden;
}
.meetings-iframe-container iframe {
    width: 100% !important;
    border: 0;
    display: block;
}
.contact-form-divider {
    display: flex; align-items: center; gap: 18px;
    margin: 32px 0;
    color: var(--cream); opacity: 0.55;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 0.96rem;
}
.contact-form-divider::before,
.contact-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(246,239,221,0.18);
}

/* Optional-field indicator used on the v2 phone label */
.field-optional {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.84em;
    opacity: 0.55;
    font-weight: 400;
}

