/* Phase 6 shared shell — draft pages only until promote.
   Brand: production Dunleavy blues/slate. Header: slate logo bar + sticky blue nav. */

:root {
    --circle-blue: #2c5282;
    --header-start: #64748b;
    --header-end: #334155;
    --accent-teal: #38bdf8;
    --charcoal: #334155;
    --ink: #1e293b;
    --slate: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --white: #ffffff;
    --brand: var(--circle-blue);
    --brand-deep: #1a365d;
    --radius: 12px;
    --max: 1680px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Push footer to bottom on short pages (contact, thank-you) */
body > footer {
    margin-top: auto;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.test-banner {
    position: relative;
    z-index: 1001;
    background: #1a2336;
    color: #c8d4e8;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}
.test-banner a { color: #8ec5f0; }
.test-banner strong { color: #e2e8f0; }

.brand-bar {
    background: linear-gradient(135deg, var(--header-start) 0%, var(--header-end) 100%);
    border-bottom: 5px solid var(--circle-blue);
}
.brand-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.35rem;
}
.brand-bar .logo img {
    width: 150px;
    height: auto;
    max-width: 28vw;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}
.brand-titles h1,
.brand-titles .site-name {
    font-size: clamp(1.45rem, 3.5vw, 2.15rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.brand-titles p {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.site-nav {
    background: var(--circle-blue);
    position: sticky;
    /* Nudge sticky up + pad so subpixel gaps don’t flash white above the bar while scrolling */
    top: -1px;
    padding-top: 1px;
    z-index: 1001;
    /* Shadow only downward — full-blur shadows can paint a hairline at the top sticky edge */
    box-shadow: 0 10px 18px -8px rgba(15, 23, 42, 0.22);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
/* Solid blue strip above the bar (covers compositor gaps on iOS/Android scroll) */
.site-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 3px;
    background: var(--circle-blue);
    pointer-events: none;
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: 56px;
    display: flex;
    align-items: center;
    position: relative;
}
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}
.nav-links li {
    flex: 1 1 auto;
    text-align: center;
    min-width: 4.5rem;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    padding: 0.65rem 0.75rem;
    display: inline-block;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    opacity: 0.92;
}
.nav-links a:hover {
    color: var(--white);
    opacity: 1;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.45);
}
/* Current page: same color as other links; underline only */
.nav-links a.is-active {
    color: var(--white);
    opacity: 1;
    font-weight: 600;
    border-bottom-color: var(--white);
}
/* Contact uses same style as other nav items (no special pill color) */
.nav-links .nav-cta,
.nav-links .nav-cta:hover {
    background: transparent;
    border-radius: 0;
    margin-left: 0;
    color: var(--white);
}
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--white);
    position: absolute;
    left: 10px;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 4rem 0; }
.section.band { background: var(--surface); }
/* Section headings: centered site-wide for consistent marketing pages */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--circle-blue);
    margin-bottom: 0.85rem;
}
.section-title {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--ink);
}
.section-lead {
    color: var(--slate);
    font-size: 1.08rem;
    max-width: 44rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}
/* Page H1 only (e.g. Projects hub) — space without filler copy */
.page-intro {
    text-align: center;
    margin-bottom: 2.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
}
.page-intro .section-title {
    margin-bottom: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--circle-blue); color: var(--white); }
.btn-primary:hover { background: var(--charcoal); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--circle-blue); color: var(--circle-blue); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Work cards — cap width so ultrawide pages don’t stretch cards wall-to-wall */
.work-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem; /* ~1152px — comfortable card pair; page can still be wider */
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 800px) {
    .work-list { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.work-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    text-decoration: none;
    background: var(--white);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    color: inherit;
}
.work-card.is-static { cursor: default; }
.work-card:not(.is-static):hover {
    border-color: #c5d0e4;
    box-shadow: 0 24px 60px rgba(12, 18, 34, 0.08);
    transform: translateY(-3px);
}
.work-visual {
    position: relative;
    height: 220px;
    flex-shrink: 0;
    background: var(--charcoal);
    overflow: hidden;
}
.work-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.work-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.15) 55%, transparent 100%);
    pointer-events: none;
}
.work-visual-label {
    position: absolute;
    z-index: 1;
    left: 1.25rem;
    bottom: 1.15rem;
    right: 1.25rem;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 1.35rem;
    color: rgba(255,255,255,0.95);
    letter-spacing: -0.02em;
}
.work-body {
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.work-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.65rem;
}
.work-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}
.work-body p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
    flex: 1;
    line-height: 1.6;
}
.work-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
    margin-top: auto;
}
.work-link.muted { color: var(--muted); }
.work-link::after { content: " →"; }
.work-card.is-static .work-link::after { content: ""; }

/* Forms */
.form-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem 1.75rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(44, 82, 130, 0.35);
    border-color: var(--circle-blue);
}
.form-group .help-text {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.form-card .btn { width: 100%; margin-top: 0.5rem; }

/* About — mission, pillars, principles, photo + bio */
/* Mission section: label, then full statement only (no bridge sentence) */
.mission-statement {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

/* About — logo section: title centered; blurb left-aligned in centered column */
.about-logo-lead {
    text-align: left;
    max-width: 42rem;
}
/* About — logo section */
.about-logo {
    margin: 0.5rem auto 0;
    max-width: 14rem;
    text-align: center;
}
.about-logo img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.12));
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 720px) {
    .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.pillar-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
}
.section.band .pillar-card {
    background: var(--white);
}
.pillar-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 0.6rem;
}
.pillar-card p {
    color: var(--slate);
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
@media (min-width: 640px) {
    .principles-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
    .principles-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.principle-card {
    background: var(--white);
    padding: 1.75rem 1.5rem;
}
.principle-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ink);
}
.principle-card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/*
  COMPARE: founder layout
  - Mobile: photo above, then centered name + bio column
  - Desktop: name + paragraphs share one centered column (same center as page);
    photo sits in the left gutter and stays sticky while you scroll the bio
*/
.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: min(100%, 90rem);
    margin: 0 auto;
}
.founder-photo-wrap {
    width: 100%;
    max-width: 220px;
    margin: 0 0 1.5rem;
    order: 0;
}
.founder-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    display: block;
}
.founder-copy {
    width: 100%;
    /* Match the wider reading width you liked (~pass 1), not the skinny 42rem */
    max-width: 56rem;
    margin: 0 auto;
}
.founder-head {
    text-align: center;
    margin-bottom: 1.75rem;
    width: 100%;
}
.founder-head .section-title {
    margin-bottom: 0.4rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.founder-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand);
    margin: 0;
    text-align: center;
}
.founder-text {
    width: 100%;
    text-align: left;
}
.founder-text p {
    color: var(--slate);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}
.founder-text p:last-child {
    margin-bottom: 0;
}
@media (min-width: 1100px) {
    .founder {
        display: grid;
        /*
          Symmetric gutters so the bio column stays page-centered.
          Middle track is wide again (was 42rem — felt shrunk vs earlier compare).
        */
        grid-template-columns: 1fr minmax(40rem, 56rem) 1fr;
        column-gap: 2.5rem;
        align-items: start;
        max-width: min(100%, 90rem);
    }
    .founder-photo-wrap {
        grid-column: 1;
        justify-self: end;
        max-width: 240px;
        width: 100%;
        margin: 0;
        position: sticky;
        top: 5.5rem;
        order: unset;
    }
    .founder-copy {
        grid-column: 2;
        max-width: none;
        width: 100%;
        margin: 0;
    }
}

/* Tools inventory page */
.tools-page-group {
    margin-bottom: 2.25rem;
}
.tools-page-group:last-child { margin-bottom: 0; }
.tools-page-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.85rem;
}
.tools-page-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.tools-page-list .tool {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
}

/* Footer — same on every draft page */
footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3.5rem 0 2.5rem;
    margin-top: 0;
    width: 100%;
    /* Extra edge when footer sits under the slate callout */
    border-top: 1px solid rgba(56, 189, 248, 0.22);
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-brand strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.footer-brand p {
    font-size: 0.9rem;
    max-width: none;
    line-height: 1.5;
    color: #cbd5e1;
    white-space: nowrap;
}
@media (max-width: 520px) {
    .footer-brand p {
        white-space: normal;
    }
}
.footer-contact {
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: right;
}
.footer-contact a {
    color: var(--accent-teal);
    text-decoration: none;
}
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.35rem;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}
.footer-bottom .footer-note {
    color: #64748b;
}
@media (max-width: 820px) {
    .footer-contact { text-align: left; }
    .footer-grid { gap: 1.5rem; }
}

@media (max-width: 820px) {
    .brand-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.9rem;
    }
    .brand-bar .logo img { width: 120px; max-width: 40vw; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--brand-deep);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem 1rem;
        box-shadow: 0 16px 40px rgba(12,18,34,0.2);
        justify-content: flex-start;
        gap: 0;
    }
    .nav-links.is-open { display: flex; }
    .nav-links li {
        flex: none;
        text-align: left;
        min-width: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links a {
        display: block;
        padding: 0.9rem 0.35rem;
        text-align: left;
        border-bottom: none;
    }
    .nav-links a.is-active {
        border-bottom: none;
        border-left: 3px solid var(--white);
        padding-left: 0.65rem;
    }
    .nav-links .nav-cta { margin: 0; text-align: left; }
    .section { padding: 3.25rem 0; }
}

/* Scroll reveal (shared) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .work-card:hover { transform: none; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Process (About page) */
.process-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: step;
    margin-top: 0.5rem;
}
@media (min-width: 900px) {
    .process-track { grid-template-columns: repeat(5, 1fr); }
}
.process-step {
    padding: 1.75rem 1.25rem 1.75rem 0;
    border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
    .process-step {
        padding: 2rem 1.5rem 0 0;
        border-top: 0;
        border-left: 1px solid var(--line);
    }
    .process-step:first-child { border-left: 0; padding-left: 0; }
}
.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 1.35rem;
    color: var(--brand);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.process-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.process-step p {
    color: var(--slate);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Dark callout band — page-end closer ONLY (before footer).
   Rule: one per main page; never mid-content. Same recipe every time:
   label "Next step" · one blockquote · one short line · Contact + secondary.
   Exception: Contact page has no closer (the form is the action).
   Alias: .approach-band kept for older markup. */
.callout-band,
.approach-band {
    background: linear-gradient(135deg, var(--header-start) 0%, var(--header-end) 55%, #1e293b 100%);
    color: var(--white);
    /*
      FIXED height on EVERY page (one token).
      Sized for: label + one headline + one support line + ONE button row.
      Keep callout buttons nowrap (see .callout-actions) so the band stays short.
      Raise --callout-band-height once if ALL pages need more room.
    */
    --callout-band-height: 18rem;
    box-sizing: border-box;
    flex: 0 0 var(--callout-band-height);
    flex-grow: 0;
    flex-shrink: 0;
    height: var(--callout-band-height) !important;
    min-height: var(--callout-band-height) !important;
    max-height: var(--callout-band-height) !important;
    padding: 2rem 1.25rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Separate slate callout from navy footer (they blend on the dark edge) */
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.callout-band > .wrap,
.approach-band > .wrap {
    width: 100%;
}
@media (max-width: 640px) {
    .callout-band,
    .approach-band {
        --callout-band-height: 20rem;
        flex-basis: var(--callout-band-height);
        padding: 1.75rem 1rem;
    }
}
.callout-band::before,
.approach-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(44, 82, 130, 0.55), transparent 55%);
    pointer-events: none;
}
.callout-inner,
.approach-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.callout-band.center .callout-inner,
.callout-band.center .approach-inner {
    margin: 0 auto;
    text-align: center;
    max-width: 36rem;
}
.callout-band.center p,
.approach-band.center p {
    margin-left: auto;
    margin-right: auto;
}
.callout-band .section-label,
.approach-band .section-label { color: var(--accent-teal); }
.callout-band blockquote,
.approach-band blockquote {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: var(--white);
}
.callout-band p,
.approach-band p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 36rem;
    line-height: 1.7;
}
.callout-band p + p,
.approach-band p + p { margin-top: 0.85rem; }
.callout-band .callout-actions,
.approach-band .callout-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}
/* Compact pills so 3–4 actions stay on one row (avoids tall band) */
.callout-band .callout-actions .btn,
.approach-band .callout-actions .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    white-space: nowrap;
    flex: 0 0 auto;
}
@media (max-width: 720px) {
    .callout-band .callout-actions,
    .approach-band .callout-actions {
        flex-wrap: wrap; /* phones only — prefer shorter labels if wrapping looks crowded */
        gap: 0.45rem;
    }
    .callout-band .callout-actions .btn,
    .approach-band .callout-actions .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.82rem;
    }
}
/* Buttons on dark band */
.callout-band .btn-primary,
.approach-band .btn-primary {
    background: var(--white);
    color: var(--ink-soft, #0f172a);
    border-color: var(--white);
}
.callout-band .btn-primary:hover,
.approach-band .btn-primary:hover {
    background: #e2e8f0;
    color: var(--ink-soft, #0f172a);
}
.callout-band .btn-outline,
.approach-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: transparent;
}
.callout-band .btn-outline:hover,
.approach-band .btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* —— Screenshot lightbox (click-to-expand) —— */
.visual-zoom {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: inherit;
}
.visual-zoom:focus-visible {
    outline: 2px solid var(--circle-blue, #2c5282);
    outline-offset: 3px;
}
.visual-zoom img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}
.visual-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--muted, #64748b);
    margin-top: 0.35rem;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox-inner {
    position: relative;
    max-width: min(1600px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.lightbox-inner img {
    max-width: 100%;
    max-height: min(88vh, 1200px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #0f172a;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.lightbox-caption {
    color: #e2e8f0;
    font-size: 0.95rem;
    text-align: center;
    max-width: 40rem;
    line-height: 1.45;
}
.lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #1e293b;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.lightbox-close:hover { background: #334155; }
body.lightbox-open { overflow: hidden; }

/* Home deliver grid (if needed without full inline) */
.band-surface { background: var(--surface); }
.deliver-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
@media (min-width: 720px) {
    .deliver-grid { grid-template-columns: 1fr 1fr; }
}
.deliver-item {
    background: var(--white);
    padding: 2.25rem 2rem;
}
.deliver-item .num {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-bottom: 0.85rem;
    line-height: 1;
}
.deliver-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.deliver-item p {
    color: var(--slate);
    font-size: 0.97rem;
}

/* Testimonials — shared defaults (page may override). Neutral charcoal, not client brand colors. */
.testimonial-card {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2rem 2rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--charcoal);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: none;
    text-align: left;
}
.testimonial-kicker {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}
.testimonial-card blockquote {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}
.testimonial-card blockquote p {
    color: var(--slate);
    font-size: 1.05rem;
    max-width: none;
    text-align: left;
    margin: 0;
}
.testimonial-card blockquote p + p { margin-top: 0.85rem; }
.testimonial-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}
.testimonial-attribution .name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}
.testimonial-attribution .role {
    font-size: 0.95rem;
    color: var(--slate);
    font-weight: 500;
}
.testimonial-attribution .org {
    font-size: 0.88rem;
    color: var(--muted);
}
.final-cta {
    text-align: center;
    padding: 4.5rem 0;
    border-top: 1px solid var(--line);
}
.final-cta h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.final-cta p {
    color: var(--slate);
    max-width: 32rem;
    margin: 0 auto 1.75rem;
}

/* Project architecture: Mermaid flowchart on the same dark band as old .arch ASCII */
.arch-flow {
    background: #0f172a;
    color: #cbd5e1;
    border-radius: var(--radius, 12px);
    padding: 1.35rem 1rem 1.1rem;
    margin: 1.25rem auto 0;
    max-width: 52rem;
    overflow-x: auto;
    text-align: center;
}
.arch-flow .mermaid {
    margin: 0 auto;
    background: transparent;
    color: #cbd5e1;
    text-align: center;
}
.arch-flow .mermaid svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
