/* Homepage redesign (r1): refined dark look.
   Loaded last on index.html, after the inline styles, quote.css, theme.css and mono.css.
   Everything is scoped to body.v2, so removing that class (or this <link>) restores the previous design.
   The chosen-track views (steps carousel, comparison table, quote builder) keep their existing styles. */

body.v2 {
    --h-bg: #060608;
    --h-surface: #0d0d11;
    --h-surface-2: #14141a;
    --h-line: rgba(255, 255, 255, 0.09);
    --h-line-strong: rgba(255, 255, 255, 0.2);
    --h-ink: #f3f4f6;
    --h-body: #a8afbb;     /* 8.9:1 on --h-bg */
    --h-muted: #868e9c;    /* 6.0:1 on --h-bg */
    --h-radius: 14px;
    --h-max: 76rem;
    --h-gutter: clamp(1.25rem, 4vw, 2.5rem);
    --h-section-y: clamp(4.5rem, 9vw, 7.5rem);
    background: var(--h-bg);
    color: var(--h-body);
}

/* Free scrolling: sections size to their content instead of snapping one screen at a time */
html:has(body.v2) { scroll-snap-type: none; }
body.v2 :is(.hero, .approach, .built, .cta-band, footer) { scroll-snap-align: none !important; scroll-snap-stop: normal !important; }
body.v2 #canvas-background { opacity: 0.5; }

body.v2 :is(.built, .cta-band, footer) > .container,
body.pg-home .hero .container {
    max-width: var(--h-max);
    padding-left: var(--h-gutter);
    padding-right: var(--h-gutter);
}

/* ── Type ── */
body.v2 :is(.hero h1, .method-ask-heading h2, .built h2, .cta-band h2) {
    font-family: var(--font-display);
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    color: var(--h-ink) !important;
    -webkit-text-fill-color: var(--h-ink) !important;
    padding-bottom: 0;
    text-wrap: balance;
}
body.v2 :is(.method-ask-heading h2, .built h2, .cta-band h2) {
    font-size: clamp(2rem, 4.2vw, 3.25rem) !important;
    line-height: 1.06 !important;
    margin: 0;
}
body.v2 .section-eyebrow,
body.v2 .h-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    font-family: var(--font-code);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-muted) !important;
}
body.v2 .section-eyebrow::before,
body.v2 .h-eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: var(--h-line-strong);
}

/* ── Buttons ── */
body.v2 .h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.5rem;
    padding: 0.9rem 1.6rem;
    border: 1px solid var(--h-line-strong);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--h-ink);
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
body.v2 .h-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.45); }
body.v2 .h-btn--primary { background: var(--h-ink); border-color: var(--h-ink); color: #060608; }
body.v2 .h-btn--primary:hover { background: #ffffff; border-color: #ffffff; transform: translateY(-1px); }
body.v2 .h-btn-arrow { transition: transform 0.2s ease; }
body.v2 .h-btn:hover .h-btn-arrow { transform: translateX(4px); }
body.v2 .h-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* ── Header ── */
body.v2 header.is-scrolled {
    background: rgba(6, 6, 8, 0.8);
    border-bottom-color: var(--h-line) !important;
    box-shadow: none;
}

/* ── Hero ── */
body.pg-home .hero {
    display: block;
    min-height: 0;
    padding: clamp(2.5rem, 6vw, 5rem) 0 0;
    overflow: hidden;
}
body.pg-home .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 30%, black 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 70% at 78% 30%, black 10%, transparent 72%);
}
body.pg-home .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}
@media (min-width: 980px) {
    body.pg-home .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
}
body.pg-home .hero-copy { margin: 0; }
body.pg-home .hero h1 {
    max-width: 13ch;
    margin: 0 0 1.5rem;
    font-size: clamp(2.6rem, 6.2vw, 4.75rem) !important;
    line-height: 1 !important;
}
body.pg-home .hero-lead {
    max-width: 30rem;
    margin: 0 0 2.25rem;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--h-body) !important;
    text-shadow: none;
}
body.pg-home .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
@media (max-width: 520px) {
    body.pg-home .hero-actions .h-btn { width: 100%; }
}

/* Hero visual: short recordings of real projects in a browser frame, in full colour */
body.pg-home .hero-work { min-width: 0; }
body.pg-home .hero-frame {
    position: relative;
    border: 1px solid var(--h-line-strong);
    border-radius: var(--h-radius);
    background: var(--h-surface);
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.025);
}
body.pg-home .hero-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.25rem;
    padding: 0 0.9rem;
    border-bottom: 1px solid var(--h-line);
    background: var(--h-surface-2);
}
body.pg-home .hero-frame-bar i { flex: 0 0 auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
body.pg-home .hero-frame-url {
    margin-left: 0.75rem;
    overflow: hidden;
    font-family: var(--font-code);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--h-muted);
}
body.pg-home .hero-video-wrap {
    position: relative;
    inset: auto;   /* the old layout offset this box; it now sits flush in the frame */
    width: auto;
    transform: none;
    perspective: none;
}
body.mono.v2.pg-home .hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    opacity: 1;
    filter: none !important;   /* mono.css greys media; the work keeps its colour */
    -webkit-mask-image: none;
    mask-image: none;
    background: #0b0b10;
}
body.pg-home .hero-3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: none !important; }
body.pg-home .hero-3d[hidden] { display: none; }
/* Title card shown between projects: the frame dissolves to the next project's name and address */
body.pg-home .hero-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem;
    background: radial-gradient(ellipse 80% 80% at 50% 45%, #15151c 0%, #0a0a0e 70%);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.38s ease;
}
body.pg-home .hero-card.is-on { opacity: 1; }
body.pg-home .hero-card-kind { font-family: var(--font-code); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--h-muted); }
body.pg-home .hero-card-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--h-ink); }
body.pg-home .hero-card-url { font-family: var(--font-code); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--h-body); }
body.pg-home .hero-card :is(.hero-card-kind, .hero-card-name, .hero-card-url) { transform: translateY(6px); transition: transform 0.5s ease; }
body.pg-home .hero-card.is-on :is(.hero-card-kind, .hero-card-name, .hero-card-url) { transform: none; }
@media (prefers-reduced-motion: reduce) { body.pg-home .hero-card, body.pg-home .hero-card * { transition: none; } }
body.pg-home .hero-work-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.75rem; margin-top: 1rem; }
body.pg-home .hero-work-tab {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    padding: 0 0 0.25rem;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: var(--h-muted);
    cursor: pointer;
}
body.pg-home .hero-work-bar { display: block; height: 2px; margin-bottom: 0.55rem; background: var(--h-line-strong); }
body.pg-home .hero-work-bar i { display: block; width: 0; height: 100%; background: var(--h-ink); transition: width 0.25s linear; }
body.pg-home .hero-work-kind { font-family: var(--font-code); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
body.pg-home .hero-work-name {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--h-body);
    transition: color 0.2s ease;
}
body.pg-home .hero-work-tab:is(:hover, .is-active) .hero-work-name { color: var(--h-ink); }
body.pg-home .hero-work-tab:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
@media (max-width: 520px) {
    body.pg-home .hero-work-tabs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
    body.pg-home .hero-work-kind { font-size: 0.62rem; }
    body.pg-home .hero-work-name { font-size: 0.9rem; }
}

body.pg-home .hero-work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--h-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--h-line-strong);
    padding-bottom: 0.15rem;
    transition: border-color 0.2s ease;
}
body.pg-home .hero-work-link:hover { border-bottom-color: var(--h-ink); }
body.pg-home .hero-work-link > span[aria-hidden] { transition: transform 0.2s ease; }
body.pg-home .hero-work-link:hover > span[aria-hidden] { transform: translateX(4px); }
body.pg-home .hero-work-link:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }

/* Offer strip: the four things we sell, with prices */
body.pg-home .h-offers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(3rem, 6vw, 5rem) 0 0;
    border-top: 1px solid var(--h-line);
}
body.pg-home .h-offer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.75rem 1.5rem 2.25rem 0;
}
body.pg-home .h-offer + .h-offer { padding-left: 1.5rem; border-left: 1px solid var(--h-line); }
body.pg-home .h-offer dt {
    font-family: var(--font-code);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--h-muted);
}
body.pg-home .h-offer-price {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--h-ink);
}
body.pg-home .h-offer-price small { font-size: 0.6em; font-weight: 600; letter-spacing: 0; color: var(--h-body); }
body.pg-home .h-offer-note { font-size: 0.95rem; line-height: 1.45; color: var(--h-body); }
@media (max-width: 899px) {
    body.pg-home .h-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.pg-home .h-offer { padding: 1.4rem 1rem 1.4rem 0; }
    body.pg-home .h-offer:nth-child(odd) { padding-left: 0; border-left: 0; }
    body.pg-home .h-offer:nth-child(even) { padding-left: 1rem; padding-right: 0; }
    body.pg-home .h-offer:nth-child(n + 3) { border-top: 1px solid var(--h-line); }
}
@media (max-width: 420px) {
    body.pg-home .h-offers { grid-template-columns: minmax(0, 1fr); }
    body.pg-home .h-offer, body.pg-home .h-offer:nth-child(even) { padding: 1.1rem 0; border-left: 0; }
    body.pg-home .h-offer + .h-offer { border-top: 1px solid var(--h-line); }
}

/* ── How it works: the two choice cards (before a track is chosen) ── */
body.v2 .approach {
    background: transparent;
    border-color: var(--h-line);
}
body.v2 .approach .fx-sparks,
body.v2 .cta-band .fx-sparks,
body.v2 .approach > .fx-grid,
body.v2 .cta-band > .fx-grid { display: none; }
body.v2 .approach:not(.is-collapsed) {
    min-height: 0;
    display: block;
    padding: var(--h-section-y) 0;
}
body.v2 .approach:not(.is-collapsed) .method-ask {
    width: auto;
    max-width: var(--h-max);
    margin: 0 auto;
    padding: 0 var(--h-gutter);
}
body.v2 .method-ask-sub {
    margin: 1rem 0 0;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--h-body);
}
body.v2 .approach:not(.is-collapsed) .method-choices { gap: 1.25rem; margin-top: 2.75rem; }
body.v2 .approach:not(.is-collapsed) .method-choice {
    gap: 0;
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-radius);
    background: var(--h-surface) !important;
    color: var(--h-body);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
body.v2 .approach:not(.is-collapsed) .method-choice:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: var(--h-surface-2) !important;
    transform: translateY(-2px);
}
body.v2 .approach:not(.is-collapsed) .method-choice-title {
    padding-right: 3rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--h-ink);
}
body.v2 .approach:not(.is-collapsed) .method-choice-check {
    top: clamp(1.5rem, 2.6vw, 2.25rem);
    right: clamp(1.5rem, 2.6vw, 2.25rem);
    width: 1.6rem;
    height: 1.6rem;
    border-width: 1px;
    border-color: var(--h-line-strong);
}
body.v2 .approach:not(.is-collapsed) .method-choice-list {
    gap: 0;
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--h-line);
}
body.v2 .approach:not(.is-collapsed) .method-choice-item {
    padding: 0.85rem 0 0.85rem 1.75rem;
    border-bottom: 1px solid var(--h-line);
    font-size: 1.02rem;
    line-height: 1.45;
    color: var(--h-body);
}
body.v2 .approach:not(.is-collapsed) .method-choice-item::before {
    left: 0.15rem;
    top: 1.15rem;
    width: 0.7rem;
    height: 0.4rem;
    border-radius: 0;
    border-left: 1.5px solid var(--h-ink);
    border-bottom: 1.5px solid var(--h-ink);
    background: none !important;
    transform: rotate(-45deg);
}
body.v2 .method-choice-go {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--h-ink);
}
body.v2 .method-choice-go span { transition: transform 0.2s ease; }
body.v2 .method-choice:hover .method-choice-go span { transform: translateX(4px); }
body.v2 .approach.is-collapsed .method-choice-go { display: none; }

/* Chosen track: keep the "Building: … Change" pill clear of the track heading */
body.v2 .approach.is-collapsed .method-track-heading { margin-top: 1.75rem; }

/* ── Built by MeceTech ── */
body.v2 .built {
    display: block;
    min-height: 0;
    padding: var(--h-section-y) 0;
    border: 0;
}
body.v2 .built h2 { margin-bottom: 2.75rem; }
body.v2 .built-links { gap: 1.25rem; }
body.v2 .built-card {
    gap: 0;
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-radius);
    background: var(--h-surface) !important;
    color: var(--h-body);
    text-decoration: none;
}
body.v2 .built-card:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: var(--h-surface-2) !important;
}
/* Picture of the live site at the top of each card, in colour, flush with the card edges */
body.v2 .built-shot {
    display: block;
    margin: calc(-1 * clamp(1.5rem, 2.6vw, 2.25rem)) calc(-1 * clamp(1.5rem, 2.6vw, 2.25rem)) clamp(1.25rem, 2.2vw, 1.75rem);
    border-bottom: 1px solid var(--h-line);
    border-radius: calc(var(--h-radius) - 1px) calc(var(--h-radius) - 1px) 0 0;
    overflow: hidden;
    background: var(--h-surface-2);
}
body.mono.v2 .built-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: none !important; transition: transform 0.4s ease; }
body.v2 .built-card:hover .built-shot img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { body.mono.v2 .built-shot img { transition: none; } body.v2 .built-card:hover .built-shot img { transform: none; } }
body.v2 .built-kind { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--h-muted) !important; }
body.v2 .built-name {
    margin-top: 0.85rem;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--h-ink) !important;
}
body.v2 .built-desc { margin-top: 0.6rem; font-size: 1.05rem; line-height: 1.5; color: var(--h-body) !important; }
body.v2 .built-feats {
    gap: 0;
    margin-top: 1.5rem;
    padding: 0;
    border-top: 1px solid var(--h-line);
    font-size: 0.98rem;
    line-height: 1.45;
}
body.v2 .built-feats > span {
    display: block;
    list-style: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--h-line);
    color: var(--h-body);
}
body.v2 .built-impact { margin-top: 1.25rem; font-size: 0.95rem; line-height: 1.5; color: var(--h-muted) !important; }
body.v2 .built-go {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--h-ink) !important;
}
body.v2 .built-card:hover .built-go { text-decoration: none; }
body.v2 .built-go > span[aria-hidden] { transition: transform 0.2s ease; }
body.v2 .built-card:hover .built-go > span[aria-hidden] { transform: translateX(4px); }

/* ── Closing CTA ── */
body.v2 .cta-band {
    display: block !important;
    min-height: 0 !important;
    padding: 0 0 var(--h-section-y) !important;
}
body.v2 .cta-band .cta-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: end;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-radius);
    background: var(--h-surface) !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 55%) !important;
    box-shadow: none !important;
    text-align: left;
}
@media (min-width: 900px) {
    body.v2 .cta-band .cta-band-inner { grid-template-columns: minmax(0, 1.5fr) auto; gap: 3rem; }
}
body.v2 .cta-band-inner::before,
body.v2 .cta-band-inner::after { content: none; }
body.v2 .cta-band h2 { max-width: 18ch; }
body.v2 .cta-band .cta-lede {
    max-width: none;
    margin: 1.1rem 0 0;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
    color: var(--h-body);
}
body.v2 .cta-band-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin: 0; }
@media (max-width: 899px) {
    body.v2 .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 520px) {
    body.v2 .cta-band-actions .h-btn { width: 100%; }
}

/* ── Footer ── */
body.v2 footer {
    padding: 3rem 0 1.5rem;
    border-top-color: var(--h-line) !important;
    background: transparent;
}
body.v2 footer .fx-grid { display: none; }
body.v2 .footer-strap { justify-content: flex-start; padding-bottom: 2.25rem; margin-bottom: 2.25rem; }
body.v2 .footer-content { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
body.v2 .footer-logo { font-size: 1.35rem; color: var(--h-ink); }
body.v2 .footer-tagline { font-size: 0.95rem; font-style: normal; color: var(--h-muted); }
body.v2 .footer-section h3 {
    margin-bottom: 0.9rem;
    font-family: var(--font-code);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--h-muted) !important;
    -webkit-text-fill-color: var(--h-muted) !important;
}
body.v2 .footer-section :is(p, ul) { font-size: 0.98rem; line-height: 1.9; }
body.v2 .footer-section a { color: var(--h-body); }
body.v2 .footer-section a:hover { color: var(--h-ink); }
body.v2 .footer-bottom { text-align: left; font-size: 0.85rem; color: var(--h-muted); }
@media (max-width: 768px) {
    body.v2 .footer-content { grid-template-columns: minmax(0, 1fr); gap: 2rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    body.v2 :is(.h-btn, .h-btn-arrow, .method-choice, .method-choice-go span, .built-go > span) { transition: none; }
    body.v2 :is(.h-btn--primary, .method-choice):hover { transform: none !important; }
}

/* ═════════ Shared across pages (r2) ═════════ */

/* Primary CTAs: solid light button (theme.css / mono.css read these variables) */
body.mono.v2 {
    --cta-bg: #f3f4f6;
    --cta-bg-hover: #ffffff;
    --cta-border: #f3f4f6;
    --cta-ink: #060608;
    --cta-accent: #060608;
}
/* The flame hover text was made for outline buttons; on solid buttons the text stays dark */
html body.v2 .cta-flame:is(:hover, :focus-visible) :is(.cta-flame-text, .cta-block-arrow, .method-cta-arrow, span[aria-hidden="true"]),
html body.v2 .method-cta-btn:is(:hover, :focus-visible) :is(.cta-flame-text, .method-cta-arrow) {
    background-image: none !important;
    -webkit-text-fill-color: var(--cta-ink) !important;
    color: var(--cta-ink) !important;
    animation: none !important;
}
body.v2 :is(.sv-btn, .btn.btn-primary, .btn.btn-ghost, .submit-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.5rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px !important;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.05rem;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
    text-decoration: none;
}
body.v2 :is(.sv-btn--ghost, .btn.btn-ghost) {
    background: transparent !important;
    border: 1px solid var(--h-line-strong) !important;
    color: var(--h-ink) !important;
    -webkit-text-fill-color: var(--h-ink) !important;
    box-shadow: none !important;
}
body.v2 :is(.sv-btn--ghost, .btn.btn-ghost):hover { background: rgba(255, 255, 255, 0.07) !important; border-color: rgba(255, 255, 255, 0.45) !important; }
body.v2 :is(.cta-block, .sv-cta-block, .method-cta .btn.method-cta-btn) { border-radius: var(--h-radius) !important; }

/* Headings */
body.mono.v2 main :is(h1, h2, h3) {
    color: var(--h-ink) !important;
    -webkit-text-fill-color: var(--h-ink) !important;
}
body.mono.v2 main :is(h1, h2) {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    text-wrap: balance;
}
body.v2:not(.pg-home) main h1 {
    max-width: 18ch;
    margin: 0;
    padding-bottom: 0;
    font-size: clamp(2.4rem, 5.4vw, 4.25rem) !important;
    line-height: 1.02 !important;
}
body.v2:not(.pg-home) main h2 {
    padding-bottom: 0;
    font-size: clamp(2rem, 4.2vw, 3.25rem) !important;
    line-height: 1.06 !important;
}
body.v2 .sv-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-family: var(--font-code);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-muted) !important;
    -webkit-text-fill-color: var(--h-muted) !important;
}
body.v2 .sv-eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--h-line-strong); }

/* Sections: natural height, one rhythm, no decorative sparks */
body.v2 :is(.sv-section, .products, .content-section, .contact-section) {
    min-height: 0 !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}
body.v2 .fx-sparks,
body.v2 .fx-grid:not(.hero-grid),
body.v2 .section-next { display: none !important; }
body.v2:not(.pg-home) main .container,
body.v2 .sv-inner--wide {
    max-width: var(--h-max);
}
body.v2:not(.pg-home) main .container { padding-left: var(--h-gutter); padding-right: var(--h-gutter); }

/* Cards: one surface, one hairline, one radius */
body.v2 :is(.sv-card, .sv-blocks li, .sv-faq-list details, .product-card, .pillar-card, .founder-card, .info-card, .contact-form-panel) {
    background: var(--h-surface) !important;
    border: 1px solid var(--h-line) !important;
    border-radius: var(--h-radius) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.v2 :is(a.product-card, a.founder-card):hover {
    background: var(--h-surface-2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
body.v2 :is(.sv-card, .sv-blocks li, .product-card, .pillar-card, .founder-card, .info-card) :is(p, li) { color: var(--h-body); }

/* ── Services ── */
body.v2 .sv-section { padding: var(--h-section-y) var(--h-gutter); border-color: var(--h-line); }
body.pg-services .sv-hero { padding-top: clamp(3rem, 7vw, 5.5rem); }
body.v2 :is(.sv-lead, .sv-sub) { color: var(--h-body); }
body.pg-services .sv-lead { max-width: 38rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; }
body.v2 .sv-card--featured { background: var(--h-surface-2) !important; border-color: var(--h-line-strong) !important; }
body.v2 .sv-steps li { border-top: 1px solid var(--h-line-strong); }
body.v2 .sv-faq-list summary { color: var(--h-ink); }

/* ── Featured products ── */
body.pg-products .products { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--h-section-y); border: 0; }
body.pg-products .products-lede { color: var(--h-body); }
body.pg-products .product-name { color: var(--h-ink); }
body.pg-products .cta-band { border: 0; }

/* ── About ── */
body.pg-about .hero {
    display: block;
    min-height: 0;
    padding: clamp(3rem, 7vw, 5.5rem) 0 var(--h-section-y);
    scroll-snap-align: none;
}
body.v2.pg-about main h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important; line-height: 1.05 !important; margin-bottom: 1.5rem; }
body.pg-about .hero-copy { margin: 0; }
body.pg-about .hero-lead { max-width: 36rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; line-height: 1.55; }
body.pg-about .content-section { padding: var(--h-section-y) 0; border-color: var(--h-line); }
body.pg-about .section-header p:not(.section-eyebrow) { color: var(--h-body); }
body.pg-about .pillar-num { font-family: var(--font-code); color: var(--h-muted); }

/* ── Contact ── */
body.pg-contact .hero {
    display: block;
    min-height: 0;
    padding: clamp(3rem, 7vw, 5.5rem) 0 0;
    text-align: left;
    scroll-snap-align: none;
}
body.pg-contact .hero-inner { display: block; text-align: left; }
body.pg-contact .hero-lead { max-width: 38rem; margin: 1.5rem 0 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; line-height: 1.55; text-align: left; }
body.pg-contact .contact-section { padding: clamp(2.5rem, 5vw, 4rem) 0 var(--h-section-y); }
body.pg-contact main .form-header h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important; line-height: 1.15 !important; }
body.pg-contact .info-card-label {
    font-family: var(--font-code);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--h-muted) !important;
}
body.pg-contact .form-group label { color: var(--h-body); }
body.pg-contact .form-group :is(input, select, textarea) {
    border: 1px solid var(--h-line-strong) !important;
    border-radius: 10px !important;
    background-color: #0a0a0d !important;
    color: var(--h-ink) !important;
}
body.pg-contact .form-group :is(input, select, textarea):focus-visible { border-color: #ffffff !important; outline: 2px solid rgba(255, 255, 255, 0.35); outline-offset: 2px; }
body.pg-contact .submit-button { width: 100%; }
body.pg-contact .product-chip { border-radius: 999px !important; }
/* mono.css greys every span inside .sv-section links; keep solid-button labels dark */
body.mono.v2 :is(.sv-btn--primary, .sv-cta-block, .cta-block, .qf-btn--primary, .btn.btn-primary, .submit-button),
body.mono.v2 .sv-section :is(.sv-btn--primary, .sv-cta-block, .qf-btn--primary) :is(span, b, strong) {
    color: var(--cta-ink) !important;
    -webkit-text-fill-color: var(--cta-ink) !important;
}
