/* ============================================
   SEIFERT CONSULTING — LANDING PAGE
   Section-specific layouts that extend the
   design system (tokens.css + ds.css).
   ============================================ */

/* ---------- Hero portrait card ---------- */
.hero-portrait-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
@media (max-width: 900px) {
    .hero-portrait-card { max-width: 420px; }
}
.dark .hero-portrait-card { background: var(--card); }
.hero-portrait-card .photo {
    width: 100%;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background: var(--secondary);
}
.hero-portrait-card .photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
}
.hero-portrait-card .meta {
    padding: 1.75rem 1.75rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
}
.hero-portrait-card .meta::before {
    content: '';
    position: absolute;
    top: 1.75rem; bottom: 1.5rem;
    right: 0;
    width: 2px;
    background: var(--accent);
}
.hero-portrait-card .name {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}
.hero-portrait-card .role {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.hero-portrait-card .contact {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--foreground-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.005em;
}
.hero-portrait-card .contact a { color: var(--foreground); }
.hero-portrait-card .contact a:hover { color: var(--primary); }

/* ---------- Offers: numbered hairline cards ---------- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .offers-grid { grid-template-columns: 1fr; } }

.offer-card {
    position: relative;
    padding: 2.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
}
.offer-card:hover { border-color: var(--border-strong); }
.offer-card .num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    color: var(--highlight);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    display: block;
}
.offer-card .label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}
.offer-card .title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 1rem;
}
.offer-card .body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--foreground-muted);
    margin: 0;
}

/* ---------- About ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.about-portrait {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media (max-width: 900px) {
    .about-portrait { position: static; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 700px) {
    .about-body .display { font-size: 1.625rem; }
    .about-body p { font-size: 1rem; line-height: 1.65; }
}
.about-portrait .frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--secondary);
    aspect-ratio: 4 / 5;
}
.about-portrait .frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
.about-portrait .caption {
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.about-portrait .caption .name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    letter-spacing: -0.005em;
}
.about-portrait .caption .role {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.about-body .display {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 3.5vw, 2.875rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--foreground);
    margin: 0 0 2.5rem;
    max-width: 22ch;
}
.about-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    color: var(--foreground-muted);
    max-width: 62ch;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body a {
    color: var(--foreground);
    border-bottom: 1px solid var(--border-strong);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.about-body a:hover {
    color: var(--highlight);
    border-bottom-color: var(--highlight);
}

/* ---------- Comms Centre layout (magazine spread) ---------- */
.cc-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cc-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--foreground);
    margin: 0;
    max-width: 18ch;
}

.cc-pullquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--foreground);
    padding: 0.25rem 0 0.25rem 2rem;
    border-left: 2px solid var(--highlight);
    margin: 0;
    max-width: 56ch;
}

.cc-spread {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
    align-items: start;
}
.cc-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--foreground-muted);
    margin: 0 0 1.5rem;
    max-width: none;
}
.cc-body p:last-child { margin: 0; }

/* Editorial manifest: numbered with Cormorant italic numerals on a top hairline */
.cc-manifest {
    border-top: 1px solid var(--border);
    padding-top: 1.75rem;
    position: sticky;
    top: 7rem;
}
.cc-manifest ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    counter-reset: manifest;
}
.cc-manifest li {
    counter-increment: manifest;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: baseline;
    gap: 1rem;
    font-size: 1rem;
    color: var(--foreground);
    letter-spacing: -0.005em;
}
.cc-manifest li::before {
    content: "0" counter(manifest);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--highlight);
    letter-spacing: -0.01em;
    line-height: 1;
}

@media (max-width: 900px) {
    .cc-spread { grid-template-columns: 1fr; gap: 3rem; }
    .cc-manifest { position: static; }
}
@media (max-width: 700px) {
    .cc-title { font-size: clamp(1.875rem, 7vw, 2.25rem); }
    .cc-pullquote { font-size: 1.25rem; padding: 0.25rem 0 0.25rem 1.25rem; }
    .cc-body p { font-size: 1rem; line-height: 1.65; }
    .cc-manifest li { grid-template-columns: 28px 1fr; gap: 0.75rem; font-size: 0.9375rem; }
    .cc-manifest li::before { font-size: 1rem; }
}

/* Wide identity banner — acts as the secondary CTA */
.cc-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    text-decoration: none;
    overflow: hidden;
    transition: background-color var(--transition-normal);
    margin-top: 1rem;
}
.cc-banner:hover { background-color: #000033; }
.cc-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 50%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(235,84,54,0.22) 0%, transparent 60%);
    pointer-events: none;
}
.cc-banner > * { position: relative; }
.cc-banner-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: block;
    flex-shrink: 0;
}
.cc-banner-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}
.cc-banner-mark {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--accent-foreground);
}
.cc-banner-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 1.2;
    color: var(--accent-foreground);
    letter-spacing: -0.015em;
    margin: 0;
}
.cc-banner-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--highlight);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
}
.cc-banner-arrow .url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.01em;
}
.cc-banner-arrow svg { transition: transform var(--transition-normal); }
.cc-banner:hover .cc-banner-arrow svg { transform: translate(3px, -3px); }

/* ---------- Comms Centre identity banner ---------- */
@media (max-width: 700px) {
    .cc-banner {
        grid-template-columns: auto 1fr;
        padding: 1.5rem;
        gap: 1.125rem;
    }
    .cc-banner-arrow {
        grid-column: 1 / -1;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255,255,255,0.15);
        justify-content: space-between;
        width: 100%;
    }
    .cc-banner-icon { width: 48px; height: 48px; border-radius: 12px; }
    .cc-banner-tagline { font-size: 1.25rem; }
    .cc-banner-mark { font-size: 0.9375rem; }
}
@media (max-width: 380px) {
    .cc-banner { padding: 1.25rem; }
    .cc-banner-arrow .url { display: none; }
}

/* (Legacy cc-text / cc-cta styles removed — magazine-spread layout above supersedes them.) */

/* ---------- Standards ("What I don't do") ---------- */
.standards-layout {
    max-width: 56ch;
    margin: 0 auto;
    text-align: left;
}
.standards-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 3rem;
    color: var(--foreground);
    text-align: center;
}
.standards-layout p {
    font-size: 1.1875rem;
    line-height: 1.6;
    margin: 0 0 1.75rem;
    color: var(--foreground);
}
.standards-layout p.lead {
    color: var(--foreground-muted);
}
.standards-layout p.close {
    color: var(--foreground);
    font-weight: 500;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
}

/* ---------- Testimonials ---------- */
.testimonials-intro {
    text-align: center;
    max-width: 56ch;
    margin: 0 auto 4rem;
}
.testimonials-intro .display {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 3rem;
    color: var(--foreground);
}
.testimonials-intro p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--foreground-muted);
    margin: 0 auto;
    max-width: 52ch;
}

.portfolio-form-wrap {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem 2rem;
    max-width: 560px;
    margin: 0 auto 5rem;
}
.portfolio-form-wrap h3 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
    color: var(--muted-foreground);
}
.portfolio-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.portfolio-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--foreground);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.portfolio-form input[type="email"]:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.portfolio-microcopy {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

/* On narrow viewports the input + button squash side-by-side and the
   button text wraps to three lines. Stack vertically and give the
   button full width — matches the newsletter-form pattern. */
@media (max-width: 600px) {
    .portfolio-form-wrap { padding: 1.75rem 1.5rem 1.5rem; }
    .portfolio-form { flex-direction: column; gap: 0.625rem; }
    .portfolio-form button { width: 100%; white-space: nowrap; }
}

/* Testimonials — counter-scrolling marquee */
.tstm-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tstm-row {
    overflow: hidden;
    padding: 0.5rem 0;
}
.tstm-row + .tstm-row { margin-top: 1.5rem; }
.tstm-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}
.tstm-row--left .tstm-track {
    animation: tstm-scroll-left 80s linear infinite;
}
.tstm-row--right .tstm-track {
    animation: tstm-scroll-right 65s linear infinite;
}
.tstm-marquee:hover .tstm-track {
    animation-play-state: paused;
}

@keyframes tstm-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes tstm-scroll-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.tstm-card {
    flex: 0 0 380px;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 2rem 2rem 1.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.tstm-card::before {
    content: '';
    position: absolute;
    top: -20%; right: -20%;
    width: 60%; height: 70%;
    background: radial-gradient(ellipse at top right, rgba(235,84,54,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.tstm-card > * { position: relative; }
.tstm-card .glyph {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 3rem;
    line-height: 0.5;
    color: var(--highlight);
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    display: block;
}
.tstm-card .quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.5;
    letter-spacing: -0.005em;
    color: var(--accent-foreground);
    flex: 1;
    margin: 0 0 1.5rem;
}
.tstm-card .author {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.tstm-card .name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    letter-spacing: -0.005em;
}
.tstm-card .role {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
    .tstm-row--left .tstm-track,
    .tstm-row--right .tstm-track {
        animation: none;
    }
}

@media (max-width: 700px) {
    .tstm-card { flex-basis: 280px; padding: 1.5rem; min-height: 220px; }
    .tstm-card .glyph { font-size: 2.25rem; margin-bottom: 1rem; }
    .tstm-card .quote { font-size: 0.9375rem; line-height: 1.45; }
    .tstm-card .name { font-size: 0.75rem; }
    .tstm-card .role { font-size: 0.625rem; }
    .tstm-row + .tstm-row { margin-top: 1rem; }
}

/* ---------- Pillar number override: editorial italic ---------- */
.pillar .pillar-number {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.875rem;
    color: var(--highlight);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* ---------- Final CTA / Booking ---------- */
.cta-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cta-stack .ds-section-label {
    /* Label stays left-aligned like every other section header.
       The rest of the stack (title, intro, meta, embed) remains centered. */
    align-items: flex-start;
    align-self: flex-start;
    text-align: left;
    margin-bottom: 1.75rem;
}
.cta-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--accent-foreground);
    margin: 0 0 1.5rem;
    max-width: 16ch;
}
.cta-intro {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin: 0 0 2.25rem;
    max-width: 52ch;
}
.cta-meta-row {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 9999px;
    margin-bottom: 3rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.88);
}
.cta-meta-row span { display: inline-flex; align-items: baseline; gap: 0.625rem; }
.cta-meta-row strong {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.cta-meta-row .sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.18);
    display: inline-block;
}
.cal-embed--hero {
    width: 100%;
    max-width: 960px;
    min-height: 760px;
    height: 820px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--background);
}
.cal-embed--hero > iframe {
    border-radius: var(--radius-lg);
    width: 100% !important;
    height: 100% !important;
}
.cta-fallback {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin: 1.75rem 0 0;
}
.cta-fallback a {
    color: var(--accent-foreground);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.cta-fallback a:hover {
    color: var(--highlight);
    border-bottom-color: var(--highlight);
}

@media (max-width: 700px) {
    .cta-meta-row {
        flex-direction: column;
        gap: 0.625rem;
        padding: 1rem 1.5rem;
        border-radius: var(--radius);
    }
    .cta-meta-row .sep { display: none; }
    .cal-embed--hero { min-height: 600px; height: 720px; }
    .cta-title { font-size: clamp(2rem, 8vw, 2.5rem); }
    .cta-intro { font-size: 1rem; line-height: 1.65; }
}
@media (max-width: 480px) {
    .cal-embed--hero { min-height: 550px; height: 640px; }
    .cta-stack { padding: 0 0.5rem; }
}

/* Cal.com inline embed wrapper */
.cal-embed {
    width: 100%;
    min-height: 720px;
    height: 780px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--background);
    margin-bottom: 1rem;
}
.cal-embed > iframe {
    border-radius: var(--radius);
    width: 100% !important;
    height: 100% !important;
}

/* Booking card */
.booking-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    color: var(--foreground);
}
.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.booking-card-header .label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}
.booking-card-header .duration {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--highlight);
    letter-spacing: -0.005em;
}
.booking-card-title {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--foreground);
    margin: 0 0 0.5rem;
}
.booking-card-sub {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    margin: 0 0 1.75rem;
}
.booking-month {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.booking-month .nav {
    display: flex;
    gap: 0.25rem;
}
.booking-month .nav button {
    width: 28px; height: 28px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}
.booking-month .nav button:hover { border-color: var(--foreground); }
.booking-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.booking-slots .slot {
    text-align: center;
    padding: 0.875rem 0.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.booking-slots .slot:hover:not(.is-taken):not(.is-selected) {
    border-color: var(--foreground);
}
.booking-slots .slot.is-selected {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}
.booking-slots .slot.is-taken {
    color: var(--muted-foreground);
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: var(--border);
}
.booking-card .btn {
    width: 100%;
    margin-top: 0.25rem;
}
.booking-disclaimer {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 5rem 0 2rem;
    margin: 0 1rem 1rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 45%; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(235,84,54,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .brand-col img {
    height: 28px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}
.site-footer .brand-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 36ch;
}
.site-footer .brand-col .tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--accent-foreground);
    margin-bottom: 1rem;
    letter-spacing: -0.005em;
}
.site-footer h4 {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
}
.site-footer ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.88);
    transition: color var(--transition-fast);
}
.site-footer a:hover { color: var(--highlight); }
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}
.footer-bottom p { margin: 0; color: inherit; }
.footer-bottom a {
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer-bottom a:hover {
    color: var(--highlight);
    border-bottom-color: var(--highlight);
}

@media (max-width: 900px) {
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer { padding: 4rem 0 1.5rem; margin: 0 0.5rem 1rem; }
    .site-footer .brand-col img { height: 24px; }
}
@media (max-width: 480px) {
    .site-footer { margin: 0 0 1rem; border-radius: 0; padding: 3rem 0 1.5rem; }
}

/* ---------- Specific tweaks ---------- */

/* Hero specific override: tighten meta layout */
.hero-headline-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* On phones, three button-style CTAs on the first fold (sticky-header
   Book-a-call + hero primary + ghost) feels heavy. Demote the ghost
   to an underlined text link so the primary CTA stays the clear action. */
@media (max-width: 700px) {
    .hero-headline-cta { gap: 1rem; align-items: flex-start; }
    .hero-headline-cta .btn-ghost {
        background: transparent;
        border: none;
        padding: 0.25rem 0;
        border-radius: 0;
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--foreground);
        border-bottom: 1px solid var(--border-strong);
        transition: color var(--transition-fast), border-color var(--transition-fast);
    }
    .hero-headline-cta .btn-ghost:hover {
        color: var(--highlight);
        border-bottom-color: var(--highlight);
    }
}
.hero-aux {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--foreground-muted);
}
.dark .hero-aux { border-top-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.hero-aux .dot {
    width: 6px; height: 6px;
    background: var(--highlight);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Section heading override for landing — left aligned, big */
.landing-section-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--foreground);
    margin: 0 0 1.5rem;
    max-width: 18ch;
}
.landing-section-sub {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--foreground-muted);
    margin: 0;
    max-width: 56ch;
}

/* Section with split header (label-on-left, intro-on-right) */
.section-split-header {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}
@media (max-width: 900px) {
    .section-split-header { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 3.5rem; }
}
@media (max-width: 700px) {
    .section-split-header { margin-bottom: 2.5rem; }
    .landing-section-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }
}

/* Tweak ds-section--dark colours used in landing */
.ds-section--dark .landing-section-title { color: var(--accent-foreground); }
.ds-section--dark .landing-section-sub { color: rgba(255,255,255,0.75); }
