/* Ammati — Satin & Glass design system (load after /tech-base.css) */

:root {
    /* Align with original DH Tech / Ammati palette (tech-base.css) */
    --sg-bg: #F7F7F5;
    --sg-ink: #1A1A1A;
    --sg-muted: #555555;
    --sg-dim: #888888;
    --sg-border: #E0E0DE;
    --sg-glass: rgba(255, 255, 255, 0.78);
    --sg-glass-border: rgba(255, 255, 255, 0.9);
    --sg-shadow: 0 12px 48px -12px rgba(17, 17, 17, 0.08);
    --sg-shadow-hover: 0 20px 56px -16px rgba(17, 17, 17, 0.12);
    --yellow: #FFE500;
    --yellow-bg: #FFFDE6;
    --teal: #0891B2;
    --blue: #0077DD;
    --mint: #00A85A;
    --pillar-ai-bg: var(--yellow-bg);
    --pillar-ai-accent: #1A1A1A;
    --pillar-ai-soft: var(--yellow);
    --pillar-build-bg: rgba(8, 145, 178, 0.1);
    --pillar-build: var(--teal);
    --pillar-build-soft: var(--blue);
    --radius: 14px;
    --radius-sm: 10px;
    --photo-filter: saturate(1.05) contrast(1.02);
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--sg-bg);
    color: var(--sg-ink);
    font-family: var(--sans);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 92% 8%, rgba(255, 229, 0, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 4% 92%, rgba(8, 145, 178, 0.12) 0%, transparent 52%),
        radial-gradient(ellipse 45% 40% at 48% 45%, rgba(0, 119, 221, 0.06) 0%, transparent 50%);
    animation: sgGlowDrift 22s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(26, 29, 32, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 29, 32, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

@keyframes sgGlowDrift {
    0% { filter: hue-rotate(0deg); transform: scale(1); }
    100% { filter: hue-rotate(8deg); transform: scale(1.03); }
}

/* Hide brutalist marquee on marketing pages when using soft band */
.marquee-band { display: none; }

.soft-band {
    text-align: center;
    padding: 0.85rem 1rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sg-dim);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* ── Glass card mixin ────────────────────────── */
.glass {
    background: var(--sg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sg-glass-border);
    box-shadow: var(--sg-shadow);
}

/* Win over legacy per-page `nav { }` blocks on tool pages */
nav.ammati-nav {
    position: sticky !important;
    top: 0.75rem !important;
    height: 52px !important;
    padding: 0 1.25rem !important;
    margin: 0.5rem clamp(0.75rem, 3vw, 2rem) 0 !important;
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 24px rgba(26, 29, 32, 0.06) !important;
    color: var(--sg-ink) !important;
}

nav.ammati-nav .nav-logo {
    font-family: var(--sans) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: var(--sg-ink) !important;
    text-transform: none !important;
}

nav.ammati-nav .nav-link--home {
    font-weight: 700 !important;
    color: var(--sg-ink) !important;
}

nav.ammati-nav .nav-link--home[aria-current="page"] {
    color: var(--teal) !important;
}

nav.ammati-nav .nav-link {
    font-family: var(--sans) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: var(--sg-muted) !important;
    padding: 0.45rem 0.85rem !important;
    height: auto !important;
    border-radius: 999px !important;
}

nav.ammati-nav .nav-link:hover {
    color: var(--sg-ink) !important;
    background: rgba(26, 29, 32, 0.05) !important;
}

nav.ammati-nav .nav-link.creative {
    background: var(--yellow) !important;
    color: var(--sg-ink) !important;
    border: 1px solid rgba(17, 17, 17, 0.08) !important;
}

nav.ammati-nav .nav-toggle {
    color: var(--sg-ink) !important;
    border: 1px solid var(--sg-border) !important;
    text-transform: none !important;
}

footer.ammati-footer {
    background: linear-gradient(180deg, transparent, rgba(240, 247, 255, 0.5)) !important;
    border-top: 1px solid var(--sg-border) !important;
    color: var(--sg-dim) !important;
}

footer.ammati-footer .footer-a {
    font-family: var(--sans) !important;
    text-transform: none !important;
    color: var(--sg-muted) !important;
}

footer.ammati-footer .footer-a:hover { color: var(--pillar-build) !important; }

/* ── Nav (floating frosted) ──────────────────── */
.ammati-nav {
    position: sticky;
    top: 0.75rem;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.5rem clamp(0.75rem, 3vw, 2rem) 0;
    padding: 0 1.25rem;
    height: 52px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(26, 29, 32, 0.06);
    color: var(--sg-ink);
}

.ammati-nav .nav-logo {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--sg-ink);
    text-decoration: none;
}

.ammati-nav .nav-links {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.15rem;
}

.ammati-nav .nav-link {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--sg-muted);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    height: auto;
    transition: color 0.2s, background 0.2s;
}

.ammati-nav .nav-link:hover {
    color: var(--sg-ink);
    background: rgba(26, 29, 32, 0.05);
}

.ammati-nav .nav-link.creative {
    background: var(--yellow);
    color: var(--sg-ink);
    font-weight: 700;
    margin-left: 0.25rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.ammati-nav .nav-link.creative:hover {
    background: #fff;
}

.nav-toggle {
    display: none;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--sg-border);
    color: var(--sg-ink);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
}

/* ── Attention polish ─────────────────────────── */
.attention-ribbon {
    max-width: none;
    margin: 0.9rem auto 0;
    padding: 0 clamp(0.75rem, 3vw, 1.25rem);
}

.attention-ribbon__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    box-shadow: 0 18px 48px -26px rgba(17, 17, 17, 0.7);
}

.attention-ribbon__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 650;
}

.attention-ribbon__copy::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 5px rgba(255, 229, 0, 0.18);
}

.attention-ribbon__link {
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.attention-ribbon__link:hover { color: #fff; }

.ammati-nav {
    isolation: isolate;
}

.ammati-nav::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 229, 0, 0.65), rgba(8, 145, 178, 0.5), rgba(255, 255, 255, 0.8));
    opacity: 0.55;
    filter: blur(8px);
}

.ammati-nav .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ammati-nav .nav-logo::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background:
        linear-gradient(135deg, var(--yellow) 0 48%, transparent 48%),
        linear-gradient(135deg, transparent 52%, var(--teal) 52% 100%);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 8px 20px -12px rgba(17, 17, 17, 0.8);
}

.hero-split {
    position: relative;
}

.hero-split::after {
    content: '';
    position: absolute;
    right: clamp(1rem, 6vw, 5rem);
    top: 12%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 229, 0, 0.32), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 1.35rem;
    max-width: 520px;
}

.hero-proof__item {
    padding: 0.75rem;
    border: 1px solid var(--sg-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px -22px rgba(17, 17, 17, 0.35);
}

.hero-proof__item strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--sg-ink);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-proof__item span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--sg-muted);
}

.landing-proof {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.landing-proof__panel {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--sg-glass-border);
    box-shadow: var(--sg-shadow);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.landing-proof__panel--dark {
    background: #111;
    color: #fff;
    border-color: rgba(17, 17, 17, 0.15);
}

.landing-proof__eyebrow {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.landing-proof__panel--dark .landing-proof__eyebrow {
    color: var(--yellow);
}

.landing-proof__title {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.landing-proof__text {
    color: var(--sg-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.landing-proof__panel--dark .landing-proof__text {
    color: rgba(255, 255, 255, 0.72);
}

.landing-proof__list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.landing-proof__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sg-muted);
    font-size: 0.9rem;
}

.landing-proof__list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
}

.landing-proof__panel--dark .landing-proof__list li {
    color: rgba(255, 255, 255, 0.78);
}

.landing-proof__metric {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.landing-proof__metric:last-child { border-bottom: none; }

.landing-proof__metric strong {
    color: var(--yellow);
}

/* ── Footer ──────────────────────────────────── */
.ammati-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    background: linear-gradient(180deg, transparent, rgba(255, 253, 230, 0.6));
    border-top: 1px solid var(--sg-border);
    color: var(--sg-dim);
}

.ammati-footer .footer-copy {
    flex: 1 0 100%;
    width: 100%;
    margin: 0.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--sg-border);
    text-align: center;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sg-dim);
    line-height: 1.5;
}

.ammati-footer .footer-copy a {
    color: var(--sg-ink);
    font-weight: 600;
    text-decoration: none;
}

.ammati-footer .footer-copy a:hover {
    color: var(--pillar-build);
}

.ammati-footer .footer-id {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
}

.ammati-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.ammati-footer .footer-a {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sg-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.ammati-footer .footer-a:hover { color: var(--pillar-build); }

/* ── Pillar tags ─────────────────────────────── */
.pillar-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.pillar-tag--ai {
    background: var(--yellow-bg);
    color: var(--sg-ink);
    border: 1px solid rgba(255, 229, 0, 0.5);
}

.pillar-tag--build {
    background: var(--pillar-build-bg);
    color: var(--teal);
    border: 1px solid rgba(8, 145, 178, 0.25);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn--ai {
    background: var(--yellow);
    color: var(--sg-ink);
    box-shadow: 0 4px 16px rgba(255, 229, 0, 0.35);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.btn--ai:hover { box-shadow: 0 8px 24px rgba(255, 229, 0, 0.45); background: #fff; }

.btn--build {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.btn--build:hover { box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4); background: #067a96; }

.btn--ghost {
    background: rgba(255, 255, 255, 0.9);
    color: var(--sg-ink);
    border: 1px solid var(--sg-border);
    box-shadow: var(--sg-shadow);
}

.btn--ghost:hover { background: #fff; }

/* ── Sections ────────────────────────────────── */
.page-wrap {
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 1;
}

.section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    border-top: none;
}

.section--flush { padding-top: 0; }

.section-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sg-dim);
    margin-bottom: 0.65rem;
    display: block;
}

.section-title {
    font-family: var(--sans);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: none;
    color: var(--sg-ink);
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.section-body {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sg-muted);
    max-width: 54ch;
}

.section-body--wide { max-width: 72ch; }

/* ── Full-width section bands (sitewide rhythm) ─ */
.sg-band {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.25rem) 0;
    border-top: 1px solid rgba(224, 224, 222, 0.9);
}

.sg-band--flush-top {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    border-top: none;
}

.sg-band--hero {
    background: rgba(255, 255, 255, 0.42);
    border-top: none;
    border-bottom: 1px solid var(--sg-border);
    padding-top: clamp(0.5rem, 2vw, 1rem);
}

.sg-band--paper {
    background: rgba(255, 255, 255, 0.62);
}

.sg-band--warm {
    background: linear-gradient(180deg, rgba(255, 253, 230, 0.92) 0%, rgba(255, 253, 230, 0.45) 100%);
    border-top-color: rgba(255, 229, 0, 0.28);
}

.sg-band--cool {
    background: linear-gradient(180deg, rgba(236, 254, 255, 0.88) 0%, rgba(236, 254, 255, 0.38) 100%);
    border-top-color: rgba(8, 145, 178, 0.22);
}

.sg-band--mist {
    background: linear-gradient(180deg, #eceef0 0%, rgba(236, 238, 240, 0.45) 100%);
    border-top-color: rgba(26, 26, 26, 0.08);
}

.sg-band--ink {
    background: linear-gradient(128deg, #1a1a1a 0%, #242428 48%, #1a2830 100%);
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #f4f4f2;
}

.sg-band--ink .section-title,
.sg-band--ink .section-label,
.sg-band--ink .section-body,
.sg-band--ink h3 { color: #f4f4f2; }

.sg-band--ink .section-label { color: rgba(255, 255, 255, 0.55); }

.sg-band--ink .section-body { color: rgba(255, 255, 255, 0.78); }

.sg-band--ink .built-around__panel {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.sg-band--ink .built-around__panel p { color: rgba(255, 255, 255, 0.75); }

.sg-band--ink .service-chip {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sg-band__rule {
    display: block;
    width: min(5rem, 18vw);
    height: 3px;
    border-radius: 999px;
    margin: 0 0 1.15rem;
    background: linear-gradient(90deg, var(--yellow), var(--teal));
}

.sg-band .section {
    padding-top: 0;
    padding-bottom: 0;
}

.section.page-wrap,
.sg-band .section.page-wrap {
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.sg-band .pillar-duo {
    padding: 0 clamp(1rem, 4vw, 2rem);
    margin: 0 auto;
}

.sg-band .case-deep {
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
}

/* Built around you — open-ended services */
.built-around {
    margin-top: 1.5rem;
}

.built-around__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.service-chip {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sg-ink);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.04);
}

.built-around__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.built-around__panel {
    padding: 1.5rem 1.35rem;
    background: var(--sg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
}

.built-around__panel h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.built-around__panel p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 1rem;
}

.built-around__panel .btn { margin-top: 0.25rem; }

@media (max-width: 768px) {
    .built-around__grid { grid-template-columns: 1fr; }
}

/* ── Hero ────────────────────────────────────── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
    border-bottom: none;
    max-width: none;
    margin: 0 clamp(0.75rem, 3vw, 2rem);
}

.hero-split__title {
    font-family: var(--sans);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--sg-ink);
}

.hero-split__title .outline {
    color: var(--sg-muted);
    -webkit-text-stroke: 0;
    font-weight: 700;
}

.hero-split__title .highlight {
    background: none;
    padding: 0;
    color: var(--teal);
}

.hero-split__lead {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin: 1.25rem 0 1.75rem;
    max-width: 42ch;
}

.hero-split__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-split__visual {
    position: relative;
}

.mark { display: none; }

/* ── Photos ──────────────────────────────────── */
.photo-block {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--sg-glass-border);
    box-shadow: var(--sg-shadow);
}

.photo-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: var(--photo-filter);
}

.labs-backline {
    max-width: 820px;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 4vw, 3rem) 0;
    font-family: var(--mono);
    font-size: 0.72rem;
    line-height: 1.7;
    color: var(--sg-dim);
}

.labs-backline a {
    color: var(--sg-ink);
    font-weight: 700;
}

.photo-block__sticker {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--sg-ink);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--sg-glass-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ── Frames ──────────────────────────────────── */
.browser-frame {
    background: var(--sg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
    overflow: hidden;
}

.browser-frame__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid var(--sg-border);
}

.browser-frame__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E2E8F0;
}

.browser-frame__dot:nth-child(1) { background: #FCA5A5; }
.browser-frame__dot:nth-child(2) { background: #FDE68A; }
.browser-frame__dot:nth-child(3) { background: #86EFAC; }

.browser-frame__body img,
.browser-frame__body svg {
    width: 100%;
    height: auto;
    display: block;
}

.phone-frame {
    max-width: 240px;
    margin: 0 auto;
    border: none;
    border-radius: 32px;
    padding: 10px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    box-shadow: var(--sg-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.phone-frame__screen {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--sg-border);
}

.phone-frame__screen img,
.phone-frame__screen svg {
    width: 100%;
    display: block;
}

/* ── Pillars ─────────────────────────────────── */
.pillar-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
    max-width: none;
    margin: 0 clamp(0.75rem, 3vw, 2rem);
}

.pillar-card {
    border-radius: var(--radius);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 1.5rem;
    align-items: end;
    min-height: 200px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sg-shadow-hover);
}

.pillar-card--ai {
    background: linear-gradient(145deg, var(--yellow-bg), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 229, 0, 0.35);
    box-shadow: var(--sg-shadow);
}

.pillar-card--build {
    background: linear-gradient(145deg, rgba(8, 145, 178, 0.06), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(8, 145, 178, 0.2);
    box-shadow: var(--sg-shadow);
}

.pillar-card h3 {
    font-family: var(--sans);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0.5rem;
    color: var(--sg-ink);
}

.pillar-card p {
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 1.1rem;
}

.pillar-card__thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--sg-glass-border);
    aspect-ratio: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pillar-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--photo-filter);
}

/* ── Case cards ──────────────────────────────── */
.case-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.case-card {
    background: var(--sg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sg-shadow);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sg-shadow-hover);
}

.case-card__shot {
    aspect-ratio: 16/10;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--sg-border);
    overflow: hidden;
}

.case-card__shot img,
.case-card__shot svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-card__body {
    padding: 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card__logo {
    display: none;
}

.case-card__outcome {
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--sg-muted);
    flex: 1;
}

.case-card__link {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pillar-build);
    margin-top: 0.75rem;
}

.case-card__link::after {
    content: ' →';
}

.case-card__body strong {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 0.35rem;
}

.hap-gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.85rem;
    align-items: start;
    min-width: 0;
}

.hap-gallery__main,
.hap-gallery__thumb {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
    overflow: hidden;
    margin: 0;
    min-width: 0;
}

.hap-gallery__main {
    align-self: stretch;
}

.hap-gallery__thumbs {
    display: grid;
    gap: 0.85rem;
}

.hap-gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fff;
}

.hap-gallery__main img {
    aspect-ratio: 16 / 10;
}

.hap-gallery__thumb img {
    aspect-ratio: 16 / 9;
}

.hap-gallery__caption {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--sg-muted);
}

/* Tall extension UI screenshots (Profile Shield) */
.hap-gallery--portrait .hap-gallery__main img,
.hap-gallery--portrait .hap-gallery__thumb img {
    aspect-ratio: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: top center;
}

.hap-gallery--portrait .hap-gallery__thumb img {
    max-height: 200px;
}

.case-card__shot--portrait img,
.case-card__shot--phone img {
    object-fit: contain;
    object-position: top center;
    background: #fff;
}

.case-card__shot--phone {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.65rem 0.75rem 0;
}

.bespoke-hero-panel {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
    overflow: hidden;
    padding: 1.25rem;
}

.bespoke-hero-panel__eyebrow {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.bespoke-hero-panel__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.bespoke-hero-panel__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 1rem;
}

.bespoke-hero-panel__list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1.1rem;
}

.bespoke-hero-panel__list li {
    position: relative;
    padding-left: 0.9rem;
    color: var(--sg-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.bespoke-hero-panel__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
}

.bespoke-hero-panel__visual {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--sg-border);
    background: #fff;
}

.bespoke-hero-panel__visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.bespoke-hero-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.bespoke-hero-panel__chips span {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--teal);
    border: 1px solid rgba(8, 145, 178, 0.18);
}

@media (max-width: 900px) {
    .hap-gallery { grid-template-columns: 1fr; }
}

/* ── Case feature page ───────────────────────── */
.case-feature {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
    padding: clamp(2rem, 5vw, 3rem) 0;
    border-top: 1px solid var(--sg-border);
}

.case-feature:first-of-type { border-top: none; }

.case-feature__meta h2 {
    font-family: var(--sans);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: none;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.case-feature__meta dl {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sg-muted);
}

.case-feature__meta dt {
    font-weight: 600;
    color: var(--sg-dim);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 1rem;
}

/* ── Trio, founders, reviews ─────────────────── */
.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.trio-card,
.review-card,
.founder-card,
.faq-list details,
.form-card,
.lab-card,
.step-card {
    background: var(--sg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
}

.trio-card { padding: 1.5rem; }

.trio-card .mark-inline { display: none; }

.trio-card .icon-dot {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.trio-card:nth-child(1) .icon-dot { background: var(--yellow-bg); color: var(--teal); }
.trio-card:nth-child(2) .icon-dot { background: rgba(8, 145, 178, 0.12); color: var(--teal); }
.trio-card:nth-child(3) .icon-dot { background: rgba(0, 119, 221, 0.1); color: var(--blue); }

.trio-card h3 {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0.4rem;
}

.trio-card p {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--sg-muted);
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.founder-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
    padding: 1.35rem;
}

.founder-card__photo {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    background: #f1f5f9;
}

.founder-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--photo-filter);
}

.founder-card h3 {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: none;
}

.founder-card .role {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--sg-dim);
    margin: 0.2rem 0 0.5rem;
}

.founder-card p {
    font-family: var(--sans);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--sg-muted);
}

.reviews-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.review-card { padding: 1.35rem; }

.review-card blockquote {
    font-family: var(--sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 1rem;
    font-style: normal;
}

.review-card figcaption {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--sg-dim);
}

.review-card .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    filter: none;
}

/* ── FAQ ─────────────────────────────────────── */
.faq-list details {
    padding: 1.1rem 1.25rem;
    margin-bottom: 0.65rem;
}

.faq-list summary {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--sg-ink);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list p {
    margin-top: 0.75rem;
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sg-muted);
}

.faq-list a { color: var(--pillar-build); font-weight: 600; }

.page-wrap > .section-title:first-child,
.page-wrap > .section-label:first-child {
    position: relative;
}

.section.page-wrap.swiss-wrap {
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

/* ── Forms ───────────────────────────────────── */
.form-card {
    padding: clamp(1.75rem, 3vw, 2.25rem);
    max-width: 640px;
}

.form-label {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sg-muted);
    margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sg-border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--pillar-build-soft);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-btn {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
    background: #067a96;
}

/* ── Steps ───────────────────────────────────── */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: start;
}

.step-card {
    padding: 1.25rem;
    text-align: center;
}

.step-card__num {
    font-family: var(--sans);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pillar-build);
    background: var(--pillar-build-bg);
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 14px;
    margin: 0 auto 0.75rem;
}

.step-card h4 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    margin: 0.5rem 0;
}

.step-card p {
    font-family: var(--sans);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--sg-muted);
}

.step-connector { display: none; }

/* ── Before / after ──────────────────────────── */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.ba-panel {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--sg-glass-border);
    box-shadow: var(--sg-shadow);
}

.ba-panel__label {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    background: #FEE2E2;
    color: #B91C1C;
}

.ba-panel--after .ba-panel__label {
    background: #D1FAE5;
    color: #047857;
}

.ba-panel__body {
    padding: 1.15rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    line-height: 1.65;
    background: rgba(255, 255, 255, 0.9);
    min-height: 120px;
}

.ba-panel--before .ba-panel__body { color: #B91C1C; }
.ba-panel--after .ba-panel__body { color: var(--sg-muted); }

/* ── Article / legal ─────────────────────────── */
.article-page {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.article-page h1 {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 800;
    text-transform: none;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.article-page p,
.article-page li {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sg-muted);
    margin-bottom: 1rem;
}

.article-page .glass,
.article-page article {
    background: var(--sg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--sg-shadow);
}

/* ── Labs ────────────────────────────────────── */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.lab-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.lab-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sg-shadow-hover);
}

.lab-card__img {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-right: 1px solid var(--sg-border);
}

.lab-card__body { padding: 1.15rem; }

.lab-card h3 {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: none;
}

.lab-card p {
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--sg-muted);
    margin-top: 0.35rem;
}

/* ── Product hero ────────────────────────────── */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
    border-bottom: none;
    max-width: none;
    margin: 0 clamp(0.75rem, 3vw, 2rem);
}

.product-hero h1 {
    font-family: var(--sans);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    text-transform: none;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.product-hero__lead {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin: 1rem 0 1.25rem;
}

/* Tool pages: soften injected strips */
.page-wrap[style*="padding"] .browser-frame,
.page-wrap[style*="padding"] .phone-frame {
    margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1000px) {
    .hero-split,
    .pillar-duo,
    .case-strip,
    .case-feature,
    .product-hero,
    .before-after,
    .founders-grid { grid-template-columns: 1fr; }

    .case-strip { grid-template-columns: repeat(2, 1fr); }
    .built-around__grid,
    .trio,
    .reviews-row,
    .steps-row { grid-template-columns: 1fr; }
    .pillar-card { grid-template-columns: 1fr; }
    .founder-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .nav-toggle { display: block; }

    .ammati-nav {
        border-radius: var(--radius);
        margin: 0.5rem 0.75rem 0;
    }

    .ammati-nav .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid var(--sg-glass-border);
        box-shadow: var(--sg-shadow);
        height: auto;
    }

    .ammati-nav .nav-links.is-open { display: flex; }

    .ammati-nav .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        height: auto;
    }

    .case-strip { grid-template-columns: 1fr; }
    .labs-grid { grid-template-columns: 1fr; }
    .lab-card { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ── Swiss grid shell ─────────────────────────── */
.swiss-wrap {
    border-left: 1px solid rgba(224, 224, 222, 0.65);
    border-right: 1px solid rgba(224, 224, 222, 0.65);
    position: relative;
}

.swiss-wrap::before {
    content: none;
}

/* Glint on glass surfaces */
.glass-glint,
.case-card,
.trio-card,
.pillar-card,
.founder-card,
.review-card,
.form-card,
.browser-frame,
.ai-simulator {
    position: relative;
    overflow: hidden;
}

.glass-glint::after,
.case-card::after,
.trio-card::after,
.pillar-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
    transform: translateX(-120%) skewX(-12deg);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.case-card:hover::after,
.trio-card:hover::after,
.pillar-card:hover::after {
    transform: translateX(280%) skewX(-12deg);
}

[data-tilt] {
    transition: box-shadow 0.25s ease;
}

[data-tilt]:hover {
    box-shadow: var(--sg-shadow-hover);
}

/* Visual panels (no stock photos) */
.visual-panel {
    border-radius: var(--radius);
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    border: 1px solid var(--sg-glass-border);
    box-shadow: var(--sg-shadow);
    position: relative;
    overflow: hidden;
}

.visual-panel--ai {
    background: linear-gradient(145deg, var(--yellow-bg) 0%, #fff 100%);
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
}

.visual-panel--build {
    background: linear-gradient(145deg, rgba(8, 145, 178, 0.08) 0%, #fff 100%);
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
}

.visual-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.visual-panel__list li {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sg-muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--sg-border);
}

.visual-panel__list li:last-child { border-bottom: none; }

.visual-panel__list li::before {
    content: '→ ';
    color: var(--teal);
}

.visual-panel__label {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sg-dim);
    background: rgba(255, 255, 255, 0.85);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--sg-border);
}

.avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sg-ink);
    background: linear-gradient(135deg, var(--pillar-build-bg), #fff);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.founder-card__photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sg-muted);
    background: linear-gradient(160deg, #f8fafc, #e2e8f0);
}

.founder-card h3 a {
    color: inherit;
    text-decoration: none;
}

.founder-card h3 a:hover {
    color: var(--pillar-build);
}

/* About page */
.about-page {
    overflow-x: hidden;
}

.about-page .page-wrap {
    width: min(1120px, calc(100% - 2rem));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.about-page .about-intro {
    padding-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.about-page .about-intro__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-page .about-intro a:not(.btn) {
    color: var(--pillar-build);
    font-weight: 600;
}

.about-page .about-intro .btn--build {
    color: #fff;
}

.about-page .about-founders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.about-page .founder-card--profile {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    min-width: 0;
    padding: 1.35rem;
}

.about-page .founder-card--profile .founder-card__photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.15rem;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.about-page .founder-card--profile .founder-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: none;
}

.about-page .founder-card__body {
    min-width: 0;
}

.about-page .founder-card__body .btn {
    margin-top: 0.5rem;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin-top: 1.5rem;
}

.about-pillar {
    padding: 1.35rem;
    background: var(--sg-glass);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
}

.about-pillar h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-pillar p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 0.85rem;
}

.about-pillar__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pillar-build);
    text-decoration: none;
}

.about-pillar__link:hover {
    text-decoration: underline;
}

/* Contact page */
.contact-page {
    overflow-x: hidden;
}

.contact-page .page-wrap {
    width: min(1120px, calc(100% - 2rem));
    max-width: 1120px;
    padding-left: 0;
    padding-right: 0;
}

.contact-page .contact-intro {
    padding-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.contact-page .sg-band--paper {
    padding-top: clamp(1.5rem, 3vw, 2rem);
}

.contact-page .contact-lead {
    margin-bottom: 1.75rem;
}

.contact-page .contact-lead a {
    color: var(--pillar-build);
    font-weight: 600;
}

.contact-page .contact-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
    min-width: 0;
}

.contact-page .contact-panel__aside {
    grid-column: 1;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.contact-page .contact-panel__form-wrap {
    grid-column: 2;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.contact-page .contact-panel__form.form-card {
    max-width: none;
    width: 100%;
    margin: 0;
}

.work-cta-link {
    margin-top: 1.35rem;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.contact-panel__aside {
    min-width: 0;
}

.contact-panel__title {
    font-family: var(--sans);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--sg-ink);
}

.contact-panel__lead {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 1.25rem;
}

.contact-panel__lead a {
    color: var(--pillar-build);
    font-weight: 600;
}

.contact-profile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.contact-profile-list a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-profile-list a:hover {
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.08);
}

.contact-profile-list__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sg-ink);
}

.contact-profile-list__hint {
    font-size: 0.78rem;
    color: var(--sg-dim);
}

.contact-panel__form {
    max-width: none;
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status--ok {
    background: rgba(0, 168, 90, 0.1);
    border: 1px solid rgba(0, 168, 90, 0.25);
    color: #047857;
}

.form-status--err {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
}

/* Bespoke builds — proof showcases */
.build-proof__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
    list-style: none;
}

.build-proof__list li {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--sg-border);
    color: var(--sg-ink);
}

.build-proof {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    margin-top: 0.5rem;
}

.build-proof__copy h3 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.build-proof__copy p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sg-muted);
    margin-bottom: 0.85rem;
}

.build-proof__visual {
    margin: 0;
    background: var(--sg-glass);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
    overflow: hidden;
}

.build-proof__visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fff;
}

.build-proof__visual figcaption {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--sg-border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sg-muted);
}

.build-proof--pulse {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
}

.build-proof--pulse .build-proof__copy h3,
.build-proof--pulse .build-proof__copy p {
    color: rgba(255, 255, 255, 0.82);
}

.build-proof--pulse .build-proof__copy h3 {
    color: #fff;
}

.build-proof__pulse-demo {
    min-height: 220px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(ellipse 80% 70% at 30% 20%, rgba(255, 0, 255, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 80% 70%, rgba(0, 255, 255, 0.28) 0%, transparent 50%),
        linear-gradient(145deg, #0a0a1a 0%, #1a0a2a 48%, #0891B2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.build-proof__pulse-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #ffe500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.build-proof__pulse-sub {
    margin: 0.65rem 0 0;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .build-proof,
    .build-proof--pulse {
        grid-template-columns: 1fr;
    }

    .build-proof__pulse-demo {
        min-height: 180px;
    }

    .contact-panel,
    .contact-page .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-panel__aside,
    .contact-page .contact-panel__form-wrap {
        grid-column: 1;
    }

    .about-page .about-founders {
        grid-template-columns: 1fr;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }
}

/* ── AI Search Simulator ───────────────────────── */
.ai-simulator {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
    padding: 0;
}

.ai-simulator__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.7);
}

.ai-simulator__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E2E8F0;
}

.ai-simulator__dot:nth-child(1) { background: #FCA5A5; }
.ai-simulator__dot:nth-child(2) { background: #FDE68A; }
.ai-simulator__dot:nth-child(3) { background: #86EFAC; }

.ai-simulator__title {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--sg-dim);
    letter-spacing: 0.06em;
}

.ai-simulator__tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem 0;
    flex-wrap: wrap;
}

.ai-simulator__tab {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.8);
    color: var(--sg-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ai-simulator__tab.is-active {
    background: rgba(8, 145, 178, 0.12);
    color: var(--teal);
    border-color: rgba(8, 145, 178, 0.3);
}

.ai-simulator__body {
    padding: 1rem;
}

.ai-simulator__log {
    font-family: var(--mono);
    font-size: 0.72rem;
    line-height: 1.65;
    color: var(--sg-muted);
    min-height: 120px;
    max-height: 160px;
    overflow-y: auto;
    padding: 0.75rem;
    background: rgba(248, 250, 252, 0.9);
    border-radius: var(--radius-sm);
    border: 1px solid var(--sg-border);
    margin-bottom: 0.75rem;
}

.ai-simulator__line {
    margin: 0 0 0.35rem;
}

.ai-simulator__result {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--yellow-bg), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(255, 229, 0, 0.5);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-simulator__result.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-simulator__result[hidden] {
    display: none !important;
}

.ai-simulator__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: #047857;
    background: #D1FAE5;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.ai-simulator__rec {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--sg-ink);
    margin-bottom: 0.35rem;
}

.ai-simulator__meta {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--sg-muted);
}

.ai-simulator__run,
.ai-simulator__cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.ai-simulator__foot {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--sg-dim);
    text-align: center;
    padding: 0 1rem 1rem;
}

/* Case study deep layout */
.case-deep {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    border-top: 1px solid var(--sg-border);
}

.case-deep > * {
    min-width: 0;
}

.case-deep:first-of-type { border-top: none; }

.case-deep__story h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
}

.case-deep__block {
    margin-bottom: 1.25rem;
}

.case-deep__block h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sg-dim);
    margin-bottom: 0.4rem;
}

.case-deep__block p,
.case-deep__block li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--sg-muted);
}

.case-deep__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.tech-pill {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--teal);
    border: 1px solid rgba(8, 145, 178, 0.2);
}

@media (max-width: 1000px) {
    .swiss-wrap::before { display: none; }
    .case-deep { grid-template-columns: 1fr; }
    .landing-proof { grid-template-columns: 1fr; }
}

/* ── Cohesion pass components ─────────────────── */
.signal-stack {
    display: grid;
    gap: 0.75rem;
}

.signal-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--sg-glass-border);
    box-shadow: 0 10px 28px -18px rgba(17, 17, 17, 0.25);
}

.signal-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--sg-ink);
    font-weight: 800;
}

.signal-card__title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--sg-ink);
    margin: 0 0 0.1rem;
}

.signal-card__text {
    font-size: 0.78rem;
    color: var(--sg-muted);
    margin: 0;
    line-height: 1.45;
}

.signal-card__status {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.16);
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.proof-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--sg-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--sg-shadow);
}

.proof-rail__item {
    padding: 1.1rem;
    border-right: 1px solid var(--sg-border);
}

.proof-rail__item:last-child { border-right: none; }

.proof-rail__num {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.4rem;
}

.proof-rail__title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--sg-ink);
    margin: 0 0 0.25rem;
}

.proof-rail__body {
    font-size: 0.82rem;
    color: var(--sg-muted);
    line-height: 1.55;
    margin: 0;
}

.mini-dashboard {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--sg-glass-border);
    border-radius: var(--radius);
    box-shadow: var(--sg-shadow);
}

.mini-dashboard__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--sg-border);
    margin-bottom: 0.85rem;
}

.mini-dashboard__title {
    font-weight: 800;
    color: var(--sg-ink);
}

.mini-dashboard__pill {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--sg-ink);
    background: var(--yellow);
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
}

.mini-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mini-dashboard__tile {
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--sg-border);
}

.mini-dashboard__tile strong {
    display: block;
    font-size: 1.4rem;
    color: var(--teal);
    margin-bottom: 0.2rem;
}

.mini-dashboard__tile span {
    font-size: 0.78rem;
    color: var(--sg-muted);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.section-kicker::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--yellow);
}

.section-kicker span {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--sg-dim);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .proof-rail { grid-template-columns: 1fr 1fr; }
    .proof-rail__item:nth-child(2) { border-right: none; }
    .proof-rail__item { border-bottom: 1px solid var(--sg-border); }
    .proof-rail__item:nth-child(3),
    .proof-rail__item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 600px) {
    .proof-rail,
    .mini-dashboard__grid { grid-template-columns: 1fr; }
    .proof-rail__item { border-right: none; }
    .proof-rail__item:nth-child(3) { border-bottom: 1px solid var(--sg-border); }
    .attention-ribbon__inner {
        align-items: flex-start;
        border-radius: var(--radius-sm);
        flex-direction: column;
    }

    .hero-proof { grid-template-columns: 1fr; }
}
