/*
Theme Name:        Layerly Base
Theme URI:         https://layerly.io
Author:            Layerly
Author URI:        https://layerly.io
Description:       Layerly Base Theme — the v1.0 reference implementation of the Layerly Conventions Framework. Fork this theme per client; do not edit in place. Requires the Layerly Bridge plugin for runtime helpers and admin chat.
Version:           1.0.0
Requires at least: 6.0
Requires PHP:      8.0
Layerly Bridge:    >=4.7.0
Layerly Conventions: v1.0
Text Domain:       layerly-base
License:           Proprietary
Tags:              layerly, layerly-v1
*/

/* ════════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS — numbered (variable per site) + functional aliases.
   Override values per site. Add --color-N or --font-N as the design needs.
   ════════════════════════════════════════════════════════════════════ */
:root {
    /* Numbered colors — count varies per site. Document in LAYERLY.md. */
    --color-1: #6366F1;   /* Default brand primary (override per site) */
    --color-2: #1E293B;   /* Default brand secondary */
    --color-3: #F8FAFC;   /* Default page background */
    --color-4: #FFFFFF;   /* Default surface */
    --color-5: rgba(0,0,0,.08);
    --color-6: #0EA5E9;   /* Default brand accent */
    --color-7: #FACC15;   /* Default brand highlight */

    /* Functional color aliases — fixed vocabulary, mapped per site. */
    --color-primary:    var(--color-1);
    --color-text:       var(--color-2);
    --color-text-muted: rgba(30,41,59,.65);
    --color-bg:         var(--color-3);
    --color-surface:    var(--color-4);
    --color-border:     var(--color-5);
    --color-success:    #059669;
    --color-error:      #DC2626;
    --color-warning:    #F59E0B;
    --color-accent:     var(--color-6);
    --color-highlight:  var(--color-7);

    /* Numbered fonts — add --font-N as needed. */
    --font-1: system-ui, -apple-system, sans-serif;
    --font-2: system-ui, -apple-system, sans-serif;
    --font-3: system-ui, -apple-system, sans-serif;   /* subheading / accent */

    /* Functional font aliases — fixed vocabulary. */
    --font-display:    var(--font-1);
    --font-subheading: var(--font-3);
    --font-body:       var(--font-2);

    /* Spacing scale — t-shirt sized, 8-pt grid. */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  40px;
    --space-xxl: 80px;

    /* Type scale — t-shirt sized. */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-md: 16px;
    --text-lg: 20px;
    --text-xl: 28px;
    --text-h3: 32px;
    --text-h2: 44px;
    --text-h1: 64px;

    /* Font weights — t-shirt sized. */
    --weight-reg:  400;
    --weight-med:  500;
    --weight-bold: 700;

    /* Radii. */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    /* Shadows. */
    --sh-sm: 0 1px 2px rgba(0,0,0,.08);
    --sh-md: 0 4px 12px rgba(0,0,0,.12);
    --sh-lg: 0 12px 32px rgba(0,0,0,.18);

    /* Layout. */
    --container-max: 1200px;

    /* Breakpoints (reference only — used in @media). */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
}

/* ════════════════════════════════════════════════════════════════════
   2. RESET + ROOT
   ════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size:   var(--text-md);
    color:       var(--color-text);
    background:  var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img, picture, svg, video, canvas {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: 1.15;
    margin: 0 0 var(--space-md);
    color: var(--color-text);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-weight: var(--weight-med); }
h6 { font-size: var(--text-md); font-weight: var(--weight-med); text-transform: uppercase; letter-spacing: .05em; }

.eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* Responsive type scale */
@media (max-width: 768px) {
    :root {
        --text-h1: 40px;
        --text-h2: 32px;
        --text-h3: 24px;
    }
}

/* ════════════════════════════════════════════════════════════════════
   4. LAYOUT PRIMITIVES
   ════════════════════════════════════════════════════════════════════ */
.wrap {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

@media (min-width: 768px) {
    .wrap { padding-inline: var(--space-lg); }
}

/* Base section — every page section uses this anatomy.
   Sets up the position, background, overlay, decoration, divider hooks. */
.section {
    position: relative;
    padding-block: var(--space-xxl);
    overflow: hidden;  /* keep decorations/dividers contained */
}

/* Section background variants — emitted by layerly_section_classes() */
.section--bg-color {
    background-color: var(--section-bg-color, transparent);
}
.section--bg-image {
    background-image: var(--section-bg-image);
    background-size: cover;
    background-position: center;
}
.section--bg-gradient {
    background-image: var(--section-bg-gradient);
}

/* Color overlay on backgrounds (for legibility over images) */
.section--with-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--section-overlay-color, transparent);
    opacity: var(--section-overlay-opacity, 0);
    pointer-events: none;
    z-index: 1;
}
.section--with-overlay > * { position: relative; z-index: 2; }

/* Decoration slot — pseudo-element for background design accents */
.section--decorated::before {
    content: '';
    position: absolute;
    pointer-events: none;
    background-color: var(--decoration-color, var(--color-1));
    opacity: var(--decoration-opacity, .15);
    z-index: 0;
}
/* Default decoration: a circle */
.section--decorated::before {
    width: 240px;
    height: 240px;
    border-radius: 50%;
}
.section--decorated[style*="--decoration-size: sm"]::before { width: 120px; height: 120px; }
.section--decorated[style*="--decoration-size: md"]::before { width: 240px; height: 240px; }
.section--decorated[style*="--decoration-size: lg"]::before { width: 360px; height: 360px; }
.section--decorated[style*="--decoration-size: xl"]::before { width: 480px; height: 480px; }

.section--decorated[style*="--decoration-position: top-left"]::before     { top: -60px; left: -60px; }
.section--decorated[style*="--decoration-position: top-right"]::before    { top: -60px; right: -60px; }
.section--decorated[style*="--decoration-position: bottom-left"]::before  { bottom: -60px; left: -60px; }
.section--decorated[style*="--decoration-position: bottom-right"]::before { bottom: -60px; right: -60px; }
.section--decorated[style*="--decoration-position: center"]::before {
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Section dividers — emitted on the section element. SVGs live in assets/dividers/. */
.section[class*="section--divider-top-"] {
    /* Top divider rendered via ::before override below — sections with both
       a decoration AND a divider need careful ordering. v1 keeps it simple. */
}

/* Section header — used by every section that has a heading area */
.section-head {
    margin-bottom: var(--space-xl);
}
.section-head--center { text-align: center; }
.section-head--center .section-head__inner { max-width: 720px; margin-inline: auto; }

/* ════════════════════════════════════════════════════════════════════
   5. BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: inherit;
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--color-primary);
    color: var(--color-surface);
}
.btn--primary:hover { filter: brightness(.92); }

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-text); }

.btn--link {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
    border: none;
}

/* ════════════════════════════════════════════════════════════════════
   6. SHAPE UTILITIES (used by layerly_image's `shape` arg)
   Each emits a `.shape-*` class.
   ════════════════════════════════════════════════════════════════════ */
.shape-square      { border-radius: 0; }
.shape-rounded-sm  { border-radius: var(--radius-sm); }
.shape-rounded-md  { border-radius: var(--radius-md); }
.shape-rounded-lg  { border-radius: var(--radius-lg); }
.shape-circle      { border-radius: 9999px; aspect-ratio: 1; object-fit: cover; }
.shape-arch        { border-radius: 9999px 9999px 0 0; }
.shape-tilt        { transform: rotate(-3deg); }
/* Custom shapes (e.g. blob, squiggle) — drop SVG into assets/shapes/ and
   add .shape-<name> using mask-image: url(/wp-content/themes/<slug>/assets/shapes/<name>.svg) */

/* ════════════════════════════════════════════════════════════════════
   7. ICONS
   ════════════════════════════════════════════════════════════════════ */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    color: currentColor;
}
.icon svg { width: 100%; height: 100%; fill: currentColor; }
.icon--sm { font-size: var(--text-sm); }
.icon--md { font-size: var(--text-md); }
.icon--lg { font-size: var(--text-lg); }
.icon--xl { font-size: var(--text-xl); }
.icon--missing {
    width: 1em; height: 1em;
    background: var(--color-border);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* ════════════════════════════════════════════════════════════════════
   8. ACCESSIBILITY
   ════════════════════════════════════════════════════════════════════ */
.screen-reader-text,
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-text);
    color: var(--color-surface);
    padding: var(--space-sm) var(--space-md);
    z-index: 999999;
}
.skip-link:focus { left: var(--space-md); top: var(--space-md); }

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ════════════════════════════════════════════════════════════════════
   9. COMPONENT STYLES — each component owns its own block, scoped by BEM.
   New families append below as the catalog grows.
   ════════════════════════════════════════════════════════════════════ */

/* ── Section header (used inside other sections) ── */
.section-head__heading { margin-bottom: var(--space-md); }
.section-head__sub {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0;
}
.section-head--center .section-head__sub { margin-inline: auto; }

/* ── Site header (template-parts/headers/standard.php) ── */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}
.site-header--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--sh-sm);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: var(--space-md);
}
.site-header__logo img { max-height: 48px; width: auto; }
.site-header__logo-text { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); text-decoration: none; }
.site-header__nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-header__nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; gap: var(--space-lg);
}
.site-header__nav-list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--weight-med);
}
.site-header__nav-list a:hover { color: var(--color-primary); }
.site-header__menu-toggle {
    display: none;
    background: transparent; border: none; padding: var(--space-sm); cursor: pointer; color: var(--color-text);
}

@media (max-width: 767px) {
    .site-header__menu-toggle { display: inline-flex; }
    .site-header__nav {
        position: fixed;
        inset: 60px 0 0 0;
        background: var(--color-surface);
        padding: var(--space-lg);
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform .25s ease-out;
        z-index: 99;
    }
    .site-header__nav.is-open { transform: translateX(0); }
    .site-header__nav-list { flex-direction: column; gap: var(--space-md); }
}

/* ── Site footer (template-parts/footers/multi-column.php) ── */
.site-footer {
    background: var(--color-2);
    color: var(--color-surface);
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { opacity: .85; }
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    padding-block: var(--space-xxl);
}
.site-footer__tagline { color: rgba(255,255,255,.7); margin-top: var(--space-md); }
.site-footer__social { list-style: none; padding: 0; display: flex; gap: var(--space-md); margin-top: var(--space-md); }
.site-footer__social a { display: inline-flex; }
.site-footer__nav-list { list-style: none; padding: 0; display: grid; gap: var(--space-sm); }
.site-footer__column-heading { font-size: var(--text-md); margin-bottom: var(--space-md); color: var(--color-surface); }
.site-footer__contact p { margin-bottom: var(--space-sm); }
.site-footer__bar {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: var(--space-md);
    font-size: var(--text-sm);
    color: rgba(255,255,255,.7);
}
.site-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.site-footer__legal-list { list-style: none; padding: 0; display: flex; gap: var(--space-md); margin: 0; }

@media (max-width: 767px) {
    .site-footer__inner { grid-template-columns: 1fr; }
}

/* ── Hero (template-parts/heroes/centered.php) ── */
.hero { padding-block: var(--space-xxl); }
.hero__inner { text-align: center; max-width: 800px; margin-inline: auto; }
.hero__eyebrow { margin-bottom: var(--space-sm); }
.hero__title { margin-bottom: var(--space-md); }
.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}
.hero__ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}
.hero__ctas:not(:last-child) { margin-bottom: var(--space-xl); }
.hero__media { margin-top: var(--space-xl); }
.hero__media img { display: block; margin-inline: auto; }

/* ── Intro split (template-parts/intro-splits/image-left.php) ── */
.intro-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}
/* If there's no media slot rendered, collapse to one column */
.intro-split__inner:has(> .intro-split__content:only-child) {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
}
.intro-split--image-right .intro-split__inner > .intro-split__media:first-child { order: 2; }
.intro-split__media img { width: 100%; height: auto; }
.intro-split__title { margin-bottom: var(--space-md); }
.intro-split__cta { margin-top: var(--space-lg); }

@media (max-width: 767px) {
    .intro-split__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ── Service grid — cards ── */
.service-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.service-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform .15s, box-shadow .15s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.service-card__link { display: block; text-decoration: none; color: inherit; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__image { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: var(--space-lg); }
.service-card__title { margin-bottom: var(--space-sm); font-size: var(--text-xl); }
.service-card__excerpt { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.service-card__more { color: var(--color-primary); font-weight: var(--weight-bold); font-size: var(--text-sm); }

/* ── Generic CPT loop (cpt-loop/grid) — any custom post type ── */
.cpt-loop { background: var(--cpt-loop-bg, var(--color-bg)); }
.cpt-loop__list {
    display: grid;
    grid-template-columns: repeat(var(--cpt-loop-cols, 3), 1fr);
    gap: var(--cpt-loop-gap, var(--space-lg));
}
@media (max-width: 900px) { .cpt-loop__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cpt-loop__list { grid-template-columns: 1fr; } }
.cpt-loop__card {
    background: var(--cpt-loop-card-bg, var(--color-surface));
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform .15s, box-shadow .15s;
}
.cpt-loop__card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.cpt-loop__link { display: block; text-decoration: none; color: inherit; }
.cpt-loop__media { aspect-ratio: 4 / 3; overflow: hidden; }
.cpt-loop__image { width: 100%; height: 100%; object-fit: cover; }
.cpt-loop__body { padding: var(--space-lg); }
.cpt-loop__title { margin-bottom: var(--space-sm); font-size: var(--text-xl); }
.cpt-loop__excerpt { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.cpt-loop__more { color: var(--color-primary); font-weight: var(--weight-bold); font-size: var(--text-sm); }

/* ── Radio group field ── */
.field--radio .field__radios { display: flex; flex-direction: column; gap: var(--space-sm); }
.field--radio .field__radio { display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; }

/* ── Testimonial — single large ── */
.testimonial-large__figure {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}
.testimonial-large__rating { font-size: var(--text-xl); color: var(--color-warning); margin-bottom: var(--space-md); letter-spacing: .1em; }
.testimonial-large__quote {
    font-size: var(--text-xl);
    font-family: var(--font-display);
    line-height: 1.35;
    margin: 0 0 var(--space-xl);
    quotes: '"' '"';
}
.testimonial-large__quote::before { content: open-quote; }
.testimonial-large__quote::after  { content: close-quote; }
.testimonial-large__author { display: inline-flex; align-items: center; gap: var(--space-md); }
.testimonial-large__photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-large__author-text { text-align: left; }
.testimonial-large__name { display: block; font-weight: var(--weight-bold); }
.testimonial-large__role { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ── CTA banner ── */
.cta-banner {
    background: var(--color-primary);
    color: var(--color-surface);
}
.cta-banner .cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-block: var(--space-xl);
    flex-wrap: wrap;
}
.cta-banner__heading { color: var(--color-surface); margin: 0 0 var(--space-sm); }
.cta-banner__body { margin: 0; opacity: .9; max-width: 560px; }
.cta-banner__ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.cta-banner .btn--primary {
    background: var(--color-surface);
    color: var(--color-primary);
}
.cta-banner .btn--ghost { border-color: var(--color-surface); color: var(--color-surface); }

@media (max-width: 767px) {
    .cta-banner .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Trust bar ── */
.trust-bar { padding-block: var(--space-xl); }
.trust-bar__heading {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}
.trust-bar__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}
.trust-bar__item { opacity: .75; transition: opacity .2s; }
.trust-bar__item:hover { opacity: 1; }
.trust-bar__logo { max-height: 40px; width: auto; filter: grayscale(1); }
.trust-bar__item:hover .trust-bar__logo { filter: grayscale(0); }
.trust-bar__label { color: var(--color-text-muted); font-weight: var(--weight-med); }

/* ── Reveal-on-scroll ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════════
   M4 APPENDIX — new variants, families, dividers, eyebrow-with-lines
   ════════════════════════════════════════════════════════════════════ */

/* ── Section dividers (wave / slant / curve) ──
   Templates add `section--divider-top-<shape>` and/or
   `section--divider-bottom-<shape>` via layerly_section_classes(). The SVG
   is masked using --divider-fill from the section's background so the
   divider blends into whatever sits behind it. */
.section[class*="section--divider-top-"]    { padding-top:    calc(var(--space-xxl) + 60px); }
.section[class*="section--divider-bottom-"] { padding-bottom: calc(var(--space-xxl) + 60px); }

.section[class*="section--divider-top-"]::after,
.section[class*="section--divider-bottom-"]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1;
    pointer-events: none;
    background-color: var(--color-surface);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
}
.section[class*="section--divider-top-"]::after    { top: 0;    transform: scaleY(-1); }
.section[class*="section--divider-bottom-"]::before { bottom: 0; }

/* Note: divider colour defaults to --color-surface; override per-section by
   setting --color-divider on the section element. */
.section[class*="section--divider-"][style*="--color-divider"]::after,
.section[class*="section--divider-"][style*="--color-divider"]::before {
    background-color: var(--color-divider);
}

.section--divider-top-wave::after,    .section--divider-bottom-wave::before    { -webkit-mask-image: url(/wp-content/themes/layerly-base/assets/dividers/wave.svg);  mask-image: url(/wp-content/themes/layerly-base/assets/dividers/wave.svg); }
.section--divider-top-slant::after,   .section--divider-bottom-slant::before   { -webkit-mask-image: url(/wp-content/themes/layerly-base/assets/dividers/slant.svg); mask-image: url(/wp-content/themes/layerly-base/assets/dividers/slant.svg); }
.section--divider-top-curve::after,   .section--divider-bottom-curve::before   { -webkit-mask-image: url(/wp-content/themes/layerly-base/assets/dividers/curve.svg); mask-image: url(/wp-content/themes/layerly-base/assets/dividers/curve.svg); }

/* ── Hero — split variant ── */
.hero__inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}
.hero--image-left .hero__inner--split > .hero__media   { order: 1; }
.hero--image-left .hero__inner--split > .hero__content { order: 2; }
.hero--split .hero__title    { font-size: var(--text-xxl); line-height: 1.1; margin-bottom: var(--space-md); }
.hero--split .hero__subtitle { font-size: var(--text-lg); color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.hero--split .hero__ctas     { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.hero--split .hero__media img { width: 100%; height: auto; display: block; }

@media (max-width: 880px) {
    .hero__inner--split { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hero--image-left .hero__inner--split > .hero__media,
    .hero--image-left .hero__inner--split > .hero__content { order: initial; }
}

/* ── Section head — left variant + with-line-side eyebrow ── */
.section-head--left              { text-align: left; }
.section-head--left .section-head__inner { max-width: none; margin-inline: 0; }

.eyebrow--with-lines {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    justify-content: center;
}
.eyebrow--with-lines .eyebrow__line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
    max-width: 80px;
}
.eyebrow--with-lines .eyebrow__label { white-space: nowrap; }

/* ── Testimonials — carousel variant ── */
.testimonial-carousel { padding-block: var(--space-xxl); }
.tcarousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-md);
}
.tcarousel__track {
    grid-column: 2;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.tcarousel__track::-webkit-scrollbar { display: none; }
.tcarousel__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: var(--space-xl);
    text-align: center;
    box-sizing: border-box;
}
.tcarousel__rating { color: var(--color-accent, var(--color-primary)); letter-spacing: 2px; margin-bottom: var(--space-md); }
.tcarousel__quote {
    font-size: var(--text-lg);
    line-height: 1.5;
    margin: 0 0 var(--space-lg);
    max-width: 720px;
    margin-inline: auto;
}
.tcarousel__author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
}
.tcarousel__photo img { width: 56px; height: 56px; }
.tcarousel__author-text { display: flex; flex-direction: column; }
.tcarousel__name { font-weight: var(--weight-bold); }
.tcarousel__role { color: var(--color-text-muted); font-size: var(--text-sm); }

.tcarousel__nav {
    grid-row: 1;
    appearance: none;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.tcarousel__nav:hover  { background: var(--color-bg-alt); }
.tcarousel__nav:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.tcarousel__nav--prev { grid-column: 1; }
.tcarousel__nav--next { grid-column: 3; }

.tcarousel__dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}
.tcarousel__dot, .carousel__dot {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: background-color .15s, transform .15s;
}
.tcarousel__dot.is-active, .carousel__dot.is-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 720px) {
    .tcarousel { grid-template-columns: 1fr; }
    .tcarousel__nav { display: none; }
    .tcarousel__track { grid-column: 1; }
}

/* ── Disclosures — accordion ── */
.accordion { border-top: 1px solid var(--color-border); }
.accordion__item {
    border-bottom: 1px solid var(--color-border);
}
.accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    cursor: pointer;
    list-style: none;
    font-weight: var(--weight-bold);
    font-size: var(--text-md);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.accordion__question { flex: 1; }
.accordion__icon {
    color: var(--color-text-muted);
    transition: transform .25s ease;
    display: inline-flex;
}
.accordion__item[open] > .accordion__summary .accordion__icon { transform: rotate(180deg); }
.accordion__answer {
    padding: 0 0 var(--space-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ── Team — grid ── */
.team__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
.team__member {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: center;
  text-align: left;
}
.team__photo { margin-bottom: 0; }

.team__photo { margin-bottom: var(--space-md); }
.team__photo-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 9999px;
}
.team__name { margin: 0 0 var(--space-xs); font-size: var(--text-lg); }
.team__role { color: var(--color-text-muted); margin: 0 0 var(--space-md); }
.team__bio  { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0 0 var(--space-md); }
.team__social {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: var(--space-sm);
}
.team__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    color: var(--color-text-muted);
    transition: color .15s, background-color .15s;
}
.team__social a:hover { color: var(--color-primary); background: var(--color-bg-alt); }

/* ── Process steps — numbered ── */
.process-steps__list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    counter-reset: layerly-step;
}
.process-steps__item {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: left;
}
.process-steps__number {
    font-size: var(--text-xxl);
    line-height: 1;
    font-weight: var(--weight-bold);
    color: var(--color-primary);
    opacity: .35;
    margin-bottom: var(--space-md);
}
.process-steps__icon { color: var(--color-primary); margin-bottom: var(--space-md); font-size: 32px; }
.process-steps__title { margin: 0 0 var(--space-sm); font-size: var(--text-lg); }
.process-steps__desc  { margin: 0; color: var(--color-text-muted); line-height: 1.6; }

/* ── Feature blocks — alternating ── */
.feature-blocks__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
}
.feature-blocks__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}
.feature-blocks__row--image-right > .feature-blocks__media   { order: 2; }
.feature-blocks__row--image-right > .feature-blocks__content { order: 1; }
.feature-blocks__media img { width: 100%; height: auto; display: block; }
.feature-blocks__title { margin: 0 0 var(--space-md); font-size: var(--text-xl); }
.feature-blocks__body  { color: var(--color-text-muted); line-height: 1.65; }
.feature-blocks__body p:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
    .feature-blocks__row,
    .feature-blocks__row--image-right { grid-template-columns: 1fr; }
    .feature-blocks__row > *,
    .feature-blocks__row--image-right > * { order: initial; }
}

/* ── Site footer — minimal ── */
.site-footer--minimal { padding-block: var(--space-lg); border-top: 1px solid var(--color-border); }
.site-footer--minimal .site-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.site-footer--minimal .site-footer__minimal-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.site-footer--minimal .site-footer__copyright { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.site-footer--minimal .site-footer__legal-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: var(--space-md);
}
.site-footer--minimal .site-footer__legal-list a {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    text-decoration: none;
}
.site-footer--minimal .site-footer__legal-list a:hover { color: var(--color-text); }

/* ════════════════════════════════════════════════════════════════════
   COMPONENT LIBRARY (P1) — nav · footer · form · fields
   Structure/behavior LOCKED. Per-site look = override the --knobs below.
   ════════════════════════════════════════════════════════════════════ */

/* ── Component: nav/primary ── */
.nav {
    --nav-bg: var(--color-surface);
    --nav-fg: var(--color-text);
    --nav-height: 72px;
    --nav-link-weight: var(--weight-med);
    --nav-link-hover: var(--color-primary);
    --nav-gap: var(--space-lg);
    background: var(--nav-bg);
    color: var(--nav-fg);
}
[data-nav-sticky] { position: sticky; top: 0; z-index: 1000; transition: box-shadow .2s; }
[data-nav-sticky].is-scrolled { box-shadow: var(--sh-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--nav-gap); min-height: var(--nav-height); }
.nav__logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.nav__logo-img { width: 150px; height: auto; max-height: none; }
.nav__logo-text { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-lg); color: inherit; }
.nav__menu { display: flex; align-items: center; gap: var(--nav-gap); }
.nav__list { display: flex; align-items: center; gap: var(--nav-gap); list-style: none; margin: 0; padding: 0; }
.nav__list a { color: inherit; text-decoration: none; font-weight: var(--nav-link-weight); font-family: var(--font-accent); font-size: 17px; }
.nav__list a:hover { color: var(--nav-link-hover); }
.nav__cta { white-space: nowrap; }

/* ── Chrome behavior — LOCKED, attribute-driven ───────────────────────────
   Works on nav/primary AND any bespoke header/footer that uses the data hooks.
   Design the LOOK on your own classes / the --mobile-menu-* vars; the BEHAVIOR
   (full-screen drawer, hamburger→X, body-lock) comes from here — never rebuilt.
   Hooks: [data-mobile-menu-toggle] (the hamburger button, 3 <span> bars),
   [data-mobile-menu] (the drawer), [data-nav-sticky] (above). */
[data-mobile-menu-toggle] { display: none; position: relative; z-index: 1002; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
[data-mobile-menu-toggle] > span { display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
[data-mobile-menu-toggle][aria-expanded="true"] > span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
[data-mobile-menu-toggle][aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
[data-mobile-menu-toggle][aria-expanded="true"] > span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 768px) {
    [data-mobile-menu-toggle] { display: inline-flex; }
    [data-mobile-menu] {
        position: fixed; inset: 0; z-index: 1001;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: var(--space-lg); padding: var(--space-xxl) var(--space-lg);
        /* Solid brand fallback — NOT --nav-bg, which is often transparent on a
           transparent-over-hero header and would make the whole drawer invisible. */
        background: var(--mobile-menu-bg, var(--color-1));
        color: var(--mobile-menu-fg, var(--color-surface));
        transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
    }
    [data-mobile-menu].is-open { transform: translateX(0); }
    [data-mobile-menu] ul { flex-direction: column; align-items: center; gap: var(--space-md); width: 100%; margin: 0; padding: 0; list-style: none; }
    [data-mobile-menu] a { font-size: var(--text-lg); color: var(--mobile-menu-fg, var(--color-surface)); }
    body.mobile-menu-open { overflow: hidden; }
    /* When the drawer is open the hamburger→X sits OVER the drawer — force it to the
       drawer's fg so it's always visible even if the header's own color is dark/transparent. */
    [data-mobile-menu-toggle][aria-expanded="true"] { color: var(--mobile-menu-fg, var(--color-surface)); }
}

/* ── WP admin-bar offset — LOCKED. The 32px admin bar (46px ≤782px) is fixed to the
   viewport top and only shown to logged-in users. WordPress shifts NORMAL-flow content
   for it, but NOT position:sticky/fixed/absolute headers — so a sticky or transparent-
   over-hero header renders UNDER the bar unless we offset it. Applies to the standard
   sticky hook AND to a bespoke overlay header that carries [data-nav-overlay] or
   .site-header--overlay (set that on a header positioned absolute over the hero). ── */
body.admin-bar [data-nav-sticky],
body.admin-bar [data-nav-overlay],
body.admin-bar .site-header--overlay { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar [data-nav-sticky],
  body.admin-bar [data-nav-overlay],
  body.admin-bar .site-header--overlay { top: 46px; }
}

/* ── Standard copyright line (footer.php, every site — themeable) ── */
.layerly-copyright { background: var(--footer-copyright-bg, var(--color-2)); color: var(--footer-copyright-fg, var(--color-surface)); text-align: center; padding: var(--space-md) var(--space-lg); font-size: var(--text-sm); }
.layerly-copyright__line { margin: 0; }
.layerly-copyright__sep { opacity: .5; margin: 0 .35em; }
.layerly-copyright a { color: inherit; text-decoration: underline; }

/* ── Component: footers/columns ── */
.footer {
    --footer-bg: var(--color-2);
    --footer-fg: var(--color-surface);
    --footer-heading: var(--color-surface);
    --footer-link: rgba(255,255,255,.7);
    --footer-link-hover: var(--color-surface);
    --footer-pad-y: var(--space-xxl);
    --footer-cols: 4;
    background: var(--footer-bg);
    color: var(--footer-fg);
}
.footer__inner {
    display: grid; gap: var(--space-xl);
    grid-template-columns: 1.4fr repeat(var(--footer-cols), 1fr);
    padding-block: var(--footer-pad-y);
}
.footer__logo { display: inline-flex; text-decoration: none; color: inherit; }
.footer__logo-img { max-height: 44px; width: auto; }
.footer__logo-text { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-lg); }
.footer__tagline { color: var(--footer-link); margin-top: var(--space-md); max-width: 32ch; }
.footer__columns { display: contents; }
.footer__col-heading { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--footer-heading); margin-bottom: var(--space-md); }
.footer__col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.footer__col-list a, .footer__legal-list a { color: var(--footer-link); text-decoration: none; }
.footer__col-list a:hover, .footer__legal-list a:hover { color: var(--footer-link-hover); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); }
.footer__legal-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; padding-block: var(--space-lg); }
.footer__copyright { margin: 0; color: var(--footer-link); font-size: var(--text-sm); }
.footer__legal-list { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); }
@media (max-width: 768px) {
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer__inner { grid-template-columns: 1fr; }
}

/* ── Component: forms/contact + field primitives ── */
.form {
    --form-gap: var(--space-md);
    --form-cols: 2;
    --field-bg: var(--color-surface);
    --field-fg: var(--color-text);
    --field-border: var(--color-border);
    --field-radius: var(--radius-md);
    --field-pad: var(--space-md);
    --field-focus: var(--color-primary);
    --label-color: var(--color-text);
}
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fields { display: grid; grid-template-columns: repeat(var(--form-cols), 1fr); gap: var(--form-gap); }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: var(--space-xs); }
.field__label { font-size: var(--text-sm); font-weight: var(--weight-med); color: var(--label-color); }
.field__req { color: var(--color-error); }
.field__input {
    width: 100%; box-sizing: border-box;
    background: var(--field-bg); color: var(--field-fg);
    border: 1px solid var(--field-border); border-radius: var(--field-radius);
    padding: var(--field-pad); font: inherit; font-size: var(--text-md);
    transition: border-color .15s, box-shadow .15s;
}
.field__input:focus-visible { outline: none; border-color: var(--field-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--field-focus) 25%, transparent); }
.field__textarea { resize: vertical; min-height: 120px; }
.field--checkbox .field__check { flex-direction: row; align-items: center; gap: var(--space-sm); cursor: pointer; }
.field__checkbox { width: 18px; height: 18px; accent-color: var(--field-focus); }
.form__submit { margin-top: var(--form-gap); }
.form__status { margin-top: var(--space-sm); font-size: var(--text-sm); min-height: 1.2em; }
.form__status.is-error { color: var(--color-error); }
.form__status.is-success { color: var(--color-success); }
@media (max-width: 600px) {
    .form__fields { grid-template-columns: 1fr; }
}

/* ── Component: heroes/full-bg (knob-driven) ── */
.hero--full-bg {
    --hero-bg: var(--color-1);
    --hero-fg: var(--color-surface);
    --hero-overlay: rgba(0,0,0,.45);
    --hero-min-h: 80vh;
    --hero-pad-y: var(--space-xxl);
    --hero-align: left;
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--hero-min-h);
    padding-block: var(--hero-pad-y);
    background: var(--hero-bg);
    color: var(--hero-fg);
    overflow: hidden;
}
.hero--full-bg .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--full-bg .hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero--full-bg .hero__overlay { position: absolute; inset: 0; z-index: 1; background: var(--hero-overlay); pointer-events: none; }
.hero--full-bg .hero__inner { position: relative; z-index: 2; text-align: var(--hero-align); width: 100%; }
.hero--full-bg .hero__title { color: var(--hero-fg); font-size: var(--text-h1); margin-bottom: var(--space-md); }
.hero--full-bg .hero__subtitle { color: var(--hero-fg); font-size: var(--text-lg); opacity: .92; max-width: 56ch; margin-bottom: var(--space-xl); }
.hero--full-bg .hero__eyebrow { color: var(--hero-fg); }
.hero--full-bg .hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); }
/* Center alignment: set --hero-align:center; the inner is centered + content too. */
.hero--full-bg[style*="--hero-align: center"] .hero__inner { margin-inline: auto; }
.hero--full-bg[style*="--hero-align: center"] .hero__subtitle { margin-inline: auto; }
.hero--full-bg[style*="--hero-align: center"] .hero__ctas { justify-content: center; }
@media (max-width: 768px) {
    .hero--full-bg { --hero-min-h: 60vh; }
    .hero--full-bg .hero__title { font-size: var(--text-h2); }
}


/* Layerly — RemVentures design tokens (colors/fonts) + brand pass on eyebrow/section-head to match the Figma 'section title' accent+line pattern used across the page — 2026-07-21 21:19:29 */
:root {
    /* Colors — exact, design-derived (RemVentures) — new brand blue palette */
    --color-1: #0074D9; /* primary blue — CTAs, key links */
    --color-2: #E4E8F0; /* off-white/silver — light bg/text */
    --color-3: #FFFFFF;
    --color-4: #04101F; /* deep navy — headers, hero backgrounds */
    --color-5: #7EC9FF; /* light blue glow — muted text on dark, gradients */
    --color-6: #FFFFFF; /* white — body text on dark, cards */
    --color-7: #020307; /* near-black — footers, deep sections */
    --color-8: #15A4FF; /* electric blue — icons, secondary CTAs */

    --color-text: #04101F;
    --color-bg: #FFFFFF;
    --color-surface: #E4E8F0;
    --color-primary: #0074D9;
    --color-primary-hover: #005AA8; /* darker blue, button hover */
    --color-text-muted: rgba(4,16,31,.65);
    --color-border: rgba(4,16,31,.12);

    --font-1: 'Cabin', sans-serif;
    --font-2: 'Montserrat', sans-serif;
    --font-3: 'Fraunces', serif;
    --font-4: 'Barlow Condensed', sans-serif;
    --accent-tracking: 2px;
    --font-display: var(--font-2);
    --font-body: var(--font-1);
    --font-accent: var(--font-4);   /* pin 120 — trying Gruppo; revert = var(--font-3) */
}

/* RemVentures brand pass — headings use Unbounded 600 (design uses 600, not 700) */
h1, h2, h3, h4 { font-weight: 600; }

/* RemVentures — eyebrow/accent restyle: Fraunces 600 18px orange, sentence case,
   with a short decorative rule beneath (matches the repeated "section title"
   pattern used across the page: heading + accent line + short rule). */
.eyebrow {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-1);
}
.section-head__inner { position: relative; }
.section-head--center .section-head__inner::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-1);
    margin: var(--space-md) auto 0;
}
.section-head__heading { font-size: 44px; line-height: 44px; }


/* Layerly — RemVentures — full component look pass for hero, intro, problem-framing, services, location-split, process-steps, disclosures, cta-banner, nav, footer to match the Figma home page — 2026-07-21 21:24:36 */

/* ════════════════════════ HERO — split-fullbleed ════════════════════════ */
.hero--split-fullbleed { padding-block: 0; }
.hero--split-fullbleed .hero__row { display: flex; align-items: stretch; min-height: clamp(420px, 55vw, 700px); }
.hero--split-fullbleed .hero__panel {
    flex: 0 0 50%; max-width: 50%; box-sizing: border-box;
    background: var(--color-7); color: var(--color-3);
    display: flex; flex-direction: column; justify-content: center;
    gap: var(--space-lg);
    padding-top: clamp(114px, 10vw, 140px);
    padding-bottom: var(--space-xxl);
    padding-right: var(--space-xl);
    padding-left: max(var(--space-lg), calc((100vw - var(--container-max)) / 2 + var(--space-lg)));
}
.hero--split-fullbleed .hero__panel-inner { display: flex; flex-direction: column; gap: var(--space-lg); padding-block: var(--space-lg); max-width: 560px; }
.hero--split-fullbleed .hero__title {
    font-family: var(--font-display); font-size: 64px; line-height: 1.0; font-weight: 600;
    color: var(--color-3); margin: 0;
}
.hero--split-fullbleed .hero__accent {
    font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px;
    color: var(--color-1); margin: 0;
}
.hero--split-fullbleed .hero__ctas { display: flex; justify-content: flex-start; }
.hero--split-fullbleed .hero__media { flex: 0 0 50%; max-width: 50%; margin-top: 0; align-self: stretch; position: relative; }
.hero--split-fullbleed .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
@media (max-width: 880px) {
    .hero--split-fullbleed .hero__row { flex-direction: column; min-height: auto; }
    .hero--split-fullbleed .hero__panel, .hero--split-fullbleed .hero__media { flex: 1 1 auto; max-width: 100%; }
    .hero--split-fullbleed .hero__panel { padding: 114px 24px 60px; }
    .hero--split-fullbleed .hero__title { font-size: 40px; line-height: 1.15; }
    .hero--split-fullbleed .hero__media { min-height: 280px; height: auto; aspect-ratio: 4/3; }
    .hero--split-fullbleed .hero__media img { aspect-ratio: 4/3; }
}

/* ════════════════════════ INTRO — statement-band ════════════════════════ */
.intro--statement-band { background: var(--color-4); padding-block: 120px 0; overflow: visible; }
.intro--statement-band .intro__inner { max-width: 920px; text-align: center; display: flex; flex-direction: column; gap: var(--space-lg); }
.intro--statement-band .intro__lead { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 400; color: var(--color-2); margin: 0; }
.intro--statement-band .intro__heading { font-family: var(--font-display); font-size: 32px; line-height: 35px; font-weight: 600; color: var(--color-6); margin: 0; }
.intro--statement-band .intro__body { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 400; color: var(--color-2); margin: 0; }
.intro--statement-band .intro__bar { background: none; padding: var(--space-sm) var(--space-xxl); text-align: center; margin-top: var(--space-xl); }
.intro--statement-band .intro__bar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-lg) var(--space-xl); }
.intro--statement-band .intro__bar-item { display: flex; align-items: center; gap: var(--space-sm); }
.intro--statement-band .intro__bar-item .icon { color: var(--color-1); flex-shrink: 0; width: 18px; height: 18px; display: inline-flex; }
.intro--statement-band .intro__bar-text { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-3); margin: 0; }
@media (max-width: 768px) {
    .intro--statement-band .intro__bar { padding-inline: var(--space-lg); }
}

/* ════════════════════════ PROBLEM FRAMING — split-callout ════════════════════════ */
.problem-framing--split-callout { background: var(--color-4); padding-block: var(--space-xxl); }
.problem-framing--split-callout .section-head__heading,
.problem-framing--split-callout .section-head__sub { color: var(--color-2); }
.problem-framing__row {
    display: grid; grid-template-columns: 1fr 1fr; max-width: 1200px; margin: var(--space-xl) auto 0;
}
.problem-framing__card {
    background: var(--color-7); color: var(--color-6);
    padding: 80px; box-sizing: border-box; min-height: 600px;
    display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl);
}
.problem-framing__quote { font-family: var(--font-accent); font-size: 20px; font-weight: 600; line-height: 26px; margin: 0; }
.problem-framing__card-heading { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 35px; margin: 0; }
.problem-framing__media { overflow: hidden; }
.problem-framing__media img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; display: block; border-radius: 0; }
.problem-framing__paragraph { max-width: 720px; margin: var(--space-xxl) auto 0; text-align: center; }
.problem-framing__paragraph-heading { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 35px; color: var(--color-6); margin-bottom: var(--space-md); }
.problem-framing__paragraph-body { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-6); margin-bottom: var(--space-lg); }
@media (max-width: 880px) {
    .problem-framing__row { grid-template-columns: 1fr; }
    .problem-framing__card, .problem-framing__media img { min-height: auto; }
}

/* ════════════════════════ SERVICES — icon-cards ════════════════════════ */
.service-grid--icon-cards { background: var(--color-7); color: var(--color-6); }
.service-grid--icon-cards .section-head__heading { color: var(--color-2); }
.service-grid--icon-cards .service-grid__intro {
    max-width: 640px; margin: 0 auto; text-align: center;
    font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-6);
}
.service-grid--icon-cards .service-grid__lead {
    max-width: 760px; margin: 0 auto; text-align: center;
    font-family: var(--font-display); font-size: 24px; line-height: 29px; font-weight: 600; color: var(--color-6);
}
.service-grid--icon-cards .service-grid__list {
    grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); max-width: 1200px; margin-inline: auto;
}
.service-grid--icon-cards .service-card {
    background: transparent; box-shadow: none; border-radius: var(--radius-md); padding: 20px;
    border: 1px solid var(--color-6);
    display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
    transition: border-color .15s;
}
.service-grid--icon-cards .service-card:hover { transform: none; box-shadow: none; border-color: var(--color-1); }
.service-grid--icon-cards .service-card__icon { color: var(--color-1); font-size: 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-grid--icon-cards .service-card__body { padding: 0; }
.service-grid--icon-cards .service-card__icon .icon { width: 1em; height: 1em; }
.service-grid--icon-cards .service-card__icon .icon svg { width: 100%; height: 100%; }
.service-grid--icon-cards .service-card__title { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-2); margin-bottom: 10px; }
.service-grid--icon-cards .service-card__excerpt { font-family: var(--font-body); font-size: 14px; line-height: 18px; color: var(--color-6); margin: 0; }
.service-grid--icon-cards .service-grid__cta { display: flex; width: max-content; margin: var(--space-xl) auto 0; }
@media (max-width: 980px) { .service-grid--icon-cards .service-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid--icon-cards .service-grid__list { grid-template-columns: 1fr; } }

/* ════════════════════════ LOCATION SPLIT — image-badges ════════════════════════ */
.location-split--image-badges { padding-block: 0; }
.location-split__row { display: flex; align-items: stretch; min-height: clamp(420px, 55vw, 700px); }
.location-split__panel {
    flex: 0 0 50%; max-width: 50%; box-sizing: border-box;
    background: var(--color-8); color: var(--color-3);
    display: flex; flex-direction: column; justify-content: center;
    gap: var(--space-lg);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    padding-right: var(--space-xl);
    padding-left: max(var(--space-lg), calc((100vw - var(--container-max)) / 2 + var(--space-lg)));
}
.location-split__panel-inner { display: flex; flex-direction: column; gap: var(--space-md); max-width: 560px; }
.location-split__title { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; color: var(--color-2); margin: 0; }
.location-split__accent { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-6); margin: 0; }
.location-split__body { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: #ffffff; margin: 0; }
.location-split__body--strong { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 400; color: var(--color-6); }
.location-split__media { flex: 0 0 50%; max-width: 50%; position: relative; }
.location-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.location-split__badges { position: absolute; left: var(--space-xl); bottom: var(--space-xl); display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.location-split__badge {
    background: var(--color-4); color: var(--color-3); font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: 4px 16px; border-radius: 9999px;
}
@media (max-width: 880px) {
    .location-split__row { flex-direction: column; min-height: auto; }
    .location-split__panel, .location-split__media { flex: 1 1 auto; max-width: 100%; }
    .location-split__media { min-height: 280px; height: auto; aspect-ratio: 4/3; }
    .location-split__panel { padding: 60px 24px; }
}

/* ════════════════════════ PROCESS STEPS — RemVentures look ════════════════════════ */
.section--process_steps { background: var(--color-4); color: var(--color-6); }
.process-steps--numbered .section-head__heading { color: var(--color-6); }
.process-steps--numbered .process-steps__list {
    display: flex; flex-wrap: wrap; gap: var(--space-xl); justify-content: center; counter-reset: none; max-width: 1200px; margin-inline: auto;
}
.process-steps--numbered .process-steps__item { flex: 1 1 240px; max-width: 270px; background: transparent; border: 0; padding: 0; text-align: left; }
.process-steps--numbered .process-steps__number {
    width: 40px; height: 40px; border-radius: 9999px; background: var(--color-7); color: var(--color-3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 16px; font-weight: 400; opacity: 1; margin-bottom: var(--space-lg);
}
.process-steps--numbered .process-steps__title { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-5); margin: 0; }
.process-steps--numbered .process-steps__desc { display: none; }
.process-steps--numbered .process-steps__cta-wrap { display: flex; justify-content: center; margin-top: var(--space-xxl); }

/* ════════════════════════ FAQS — accordion RemVentures look ════════════════════════ */
.section--disclosures { background: var(--color-4); }
.disclosures--accordion .section-head__heading { color: var(--color-2); }
.disclosures--accordion .wrap { max-width: 900px; }
.disclosures--accordion .accordion { border-top: 0; }
.disclosures--accordion .accordion__item {
    background: var(--color-7); border: 1px solid transparent; border-radius: var(--radius-sm);
    padding: 0 var(--space-xl); margin-bottom: var(--space-md);
}
.disclosures--accordion .accordion__item[open] { background: var(--color-7); border-color: transparent; }
.disclosures--accordion .accordion__summary {
    font-family: var(--font-accent); font-size: 16px; font-weight: 600; color: var(--color-6); padding: var(--space-md) 0;
}
.disclosures--accordion .accordion__item[open] .accordion__summary { font-size: 18px; color: var(--color-6); }
.disclosures--accordion .accordion__answer { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-6); }
.disclosures--accordion .accordion__icon { color: var(--color-5); }

/* ════════════════════════ CTA BANNER — RemVentures look ════════════════════════ */
.cta-banner {
    --cta-bg: var(--color-8);
    --cta-fg: var(--color-6);
    text-align: center;
}
.cta-banner .cta-banner__inner { flex-direction: column; align-items: center; text-align: center; padding-block: var(--space-xxl); gap: var(--space-lg); }
.cta-banner__heading { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; max-width: 760px; }
.cta-banner__body { font-family: var(--font-body); font-size: 16px; line-height: 22px; max-width: 640px; margin-inline: auto; }
.cta-banner__ctas { justify-content: center; }

/* ════════════════════════ NAV + FOOTER — RemVentures brand ════════════════════════ */
.nav {
    --nav-bg: var(--color-4);
    --nav-fg: var(--color-6);
    --nav-height: 70px;
    --nav-link-hover: var(--color-1);
    --nav-gap: var(--space-xl);
    width: min(100% - var(--space-md) * 2, var(--container-max));
    padding-block: var(--space-xs);
    margin-top: 10px;
    margin-inline: auto;
    margin-bottom: -90px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: var(--radius-md);
}
.nav__inner {
    background: transparent;
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-xl);
}
.nav__logo-text { color: var(--color-8); font-size: 24px; }
.nav .nav__list { gap: var(--space-lg); }
/* .nav__cta.btn--primary intentionally left to inherit standard .btn--primary styling (orange, matches site-wide CTAs) */
@media (max-width: 880px) {
    .nav__inner { padding: var(--space-sm) var(--space-md); }
}
.footer { --footer-bg: var(--color-4); --footer-fg: var(--color-5); --footer-heading: var(--color-2); --footer-link: rgba(244,242,242,.7); --footer-link-hover: var(--color-1); }
.layerly-copyright { --footer-copyright-bg: var(--color-4); --footer-copyright-fg: rgba(244,242,242,.55); }



/* Layerly — Fix pass 1 from measure_page: intro/problem-framing section-level gaps, correct section padding-tops, wrap-level rhythm gaps, cta-banner real background+image support, sitewide button font/color fix" — 2026-07-21 21:29:19 */

/* ── Fix pass 1 — measured-fidelity corrections ── */

/* Buttons — sitewide RemVentures look: Unbounded 700, pure white on primary */
.btn { font-family: var(--font-display); font-weight: 700; padding: 10px 30px; line-height: 1.25; }
.btn--primary { color: var(--color-3); }

/* Intro statement band — section itself is the vertical flex/gap container
   (Figma: outer frame padding 120/0/120/0, gap 24 between title-block and bar) */
.intro--statement-band {
    padding-block: 120px;
    display: flex; flex-direction: column; align-items: center; gap: var(--space-lg);
}
.intro--statement-band .intro__bar { margin-top: 0; width: 100%; }

/* Problem framing — section-level gap between header / row / paragraph (Figma gap 40) */
.problem-framing--split-callout { display: flex; flex-direction: column; gap: var(--space-xl); }
.problem-framing__row { margin-top: 0; }
.problem-framing__paragraph { margin-top: 0; }

/* Section padding-top corrections (Figma paddings: services 120/–/80, steps 120/–/40,
   disclosures 120/–/80, cta 120/–/80 — top values differ from the 80px section default) */
.section--services      { padding-top: 120px; }
.section--process_steps { padding-top: 120px; padding-bottom: 120px; }
.section--disclosures   { padding-top: 120px; }
.section--cta_banner    { padding-top: 120px; }

/* Wrap-level vertical rhythm (Figma gap 40 between header/intro/lead/list/cta) */
.service-grid--icon-cards .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.service-grid--icon-cards .section-head { margin-bottom: 0; }
.process-steps--numbered .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.disclosures--accordion .wrap { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-xl); }

/* CTA banner — explicit background (base .cta-banner hardcodes --color-primary;
   override directly) + optional background image + overlay layer */
.cta-banner { background: var(--color-8); color: var(--color-6); position: relative; overflow: hidden; }
.cta-banner__bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner__bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-banner__overlay { position: absolute; inset: 0; z-index: 1; background: var(--color-8); opacity: .82; pointer-events: none; }
.cta-banner .wrap { position: relative; z-index: 2; }
.cta-banner .cta-banner__inner { gap: var(--space-xl); }
.cta-banner .btn--primary { background: var(--color-1); color: var(--color-3); }



/* Layerly — Fix pass 2 — section-level gap (40px) to match Figma outer-frame auto-layout gap for services/steps/disclosures/cta sections — 2026-07-21 21:29:57 */

/* Fix pass 2 — apply the Figma outer-frame gap directly on the section element
   (not just its .wrap child) so the section-level auto-layout gap measures correctly. */
.section--services,
.section--process_steps,
.section--disclosures,
.section--cta_banner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}



/* Layerly — Disable browser scroll-anchoring on the FAQ accordion so toggling never nudges scroll position — 2026-07-21 22:29:43 */
.accordion, .accordion__item { overflow-anchor: none; }


/* Layerly — Style the bespoke cream-card footer to match Figma: dark green band, rounded cream card, teal logo, flat nav row, social circles, centered CTA, legal row — 2026-07-21 22:31:12 */
/* footers/cream-card — RemVentures bespoke footer (Figma node 6067:1526) */
.footer--cream-card {
    --footer-card-bg: var(--color-2);
    --footer-card-fg: var(--color-4);
    background: var(--color-7);
    padding-block: var(--space-xl) var(--space-lg);
}
.footer--cream-card .footer__card {
    background: var(--footer-card-bg);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
.footer--cream-card .footer__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-lg);
}
.footer--cream-card .footer__row .footer__logo {
    justify-self: start;
}
.footer--cream-card .footer__row .footer__nav {
    justify-self: center;
}
.footer--cream-card .footer__row .footer__socials {
    justify-self: end;
}
.footer--cream-card .footer__logo { display: inline-flex; text-decoration: none; }
.footer--cream-card .footer__logo-text {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: 24px;
    color: var(--color-8);
}
.footer--cream-card .footer__nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer--cream-card .footer__nav-list a {
    color: var(--footer-card-fg);
    text-decoration: none;
    font-weight: var(--weight-med);
    font-family: var(--font-accent);
    font-size: 17px;
}
.footer--cream-card .footer__nav-list a:hover { color: var(--color-1); }
.footer--cream-card .footer__socials { display: flex; align-items: center; gap: var(--space-sm); }
.footer--cream-card .footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--color-6);
    color: var(--color-4);
}
.footer--cream-card .footer__social svg { width: 14px; height: 14px; }
.footer--cream-card .footer__social:hover { background: var(--color-1); color: var(--color-3); }
.footer--cream-card .footer__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}
.footer--cream-card .footer__cta-text {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--color-8);
    max-width: 34ch;
    margin: 0;
}
.footer--cream-card .footer__legal { border-top: 1px solid rgba(29,33,40,.12); padding-top: var(--space-md); }
.footer--cream-card .footer__legal .layerly-copyright__line {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}
@media (max-width: 768px) {
    .footer--cream-card .footer__row { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .footer--cream-card .footer__card { padding: var(--space-lg); }
}


/* Layerly — Ensure .wrap max-width resolves to the Figma content width (1200px) — was referencing an undefined custom property — 2026-07-21 22:31:12 */
:root { --container-max: 1200px; }


/* Layerly — footer full cream + dark readable text — 2026-07-22 01:40:43 */
/* Footer -> full cream band + readable dark text (Alexander: whole bg cream, match Figma) */
.footer.footer--cream-card{background:var(--color-4)}
.footer--cream-card .footer__card{background:transparent;box-shadow:none;border:0}
.footer--cream-card .footer__nav a,.footer--cream-card .footer__nav-list a,.footer--cream-card .menu-item>a,.footer--cream-card .footer__cta-text,.footer--cream-card .footer__legal,.footer--cream-card .footer__row,.footer--cream-card .layerly-copyright__line,.footer--cream-card .layerly-copyright__sep,.footer--cream-card .footer__logo-text{color:var(--color-6)}


/* Layerly — footer copyright contrast on cream — 2026-07-22 01:41:48 */
/* copyright credit: readable on cream (override the locked muted slate) */
.footer--cream-card .layerly-copyright__line,.footer--cream-card .layerly-copyright__sep,.footer--cream-card .layerly-copyright__line a{color:var(--color-6) !important}


/* Layerly — responsive section padding (mobile/tablet) — 2026-07-22 03:30:04 */
/* RESPONSIVE SECTION PADDING (Alexander) — fixed 120/80 desktop padding was far too tall on
   small screens (huge empty bands, "super tall" sections). Scale it down on tablet/mobile;
   keep the full-bleed hero/location flush. */
@media (max-width: 768px) {
  .section { padding-block: 60px; }
  .section--hero, .section--location { padding-block: 0; }
  .section--services, .section--process_steps, .section--disclosures, .section--cta_banner, .intro--statement-band { padding-top: 60px; padding-bottom: 48px; }
  .section--process_steps { padding-top: 40px; padding-bottom: 40px; }
  .problem-framing__card { padding: 40px; min-height: 0; }
}
@media (max-width: 480px) {
  .section { padding-block: 44px; }
  .section--hero, .section--location { padding-block: 0; }
  .section--services, .section--process_steps, .section--disclosures, .section--cta_banner, .intro--statement-band { padding-top: 44px; padding-bottom: 40px; }
  .problem-framing__card { padding: 24px; }
}


/* Layerly — validate fluid tokens (clamp) — 2026-07-22 03:42:02 */
:root{
  --space-xl: clamp(28px, 4vw, 40px);
  --space-xxl: clamp(48px, 7vw, 80px);
  --text-h3: clamp(22px, 3vw, 32px);
  --text-h2: clamp(30px, 4vw, 44px);
  --text-h1: clamp(38px, 5.5vw, 64px);
}


/* Layerly — RemVentures: dark orange button hover state instead of brightness filter — 2026-07-22 04:30:30 */
.btn--primary:hover { background: var(--color-primary-hover); filter: none; }
.cta-banner .btn--primary:hover { background: var(--color-primary-hover); color: var(--color-3); filter: none; }


/* Layerly — About page — bespoke section CSS for hero/intro/story/process/cta/contact variants — 2026-07-22 13:45:02 */

/* ════════════════════════ ABOUT PAGE — hero (split-fullbleed-about) ════════════════════════ */
.hero--about .hero__panel {
    padding-top: clamp(114px, 10vw, 140px);
    padding-bottom: var(--space-xxl);
    padding-right: var(--space-xl);
    padding-left: max(var(--space-lg), calc((100vw - var(--container-max)) / 2 + var(--space-lg)));
    justify-content: space-between;
}
.hero--about .hero__panel-inner { max-width: 520px; }
.hero--about .hero__media { position: relative; }
.hero--about .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2,3,7,0) 0%, rgba(2,3,7,.8) 100%);
    pointer-events: none;
}
.hero--about .hero__caption {
    position: absolute;
    z-index: 2;
    left: 80px;
    right: 120px;
    bottom: 80px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    color: var(--color-6);
}
@media (max-width: 880px) {
    .hero--about .hero__panel { padding: 114px 24px 60px; }
    .hero--about .hero__caption { left: 24px; right: 24px; bottom: 24px; font-size: 20px; line-height: 25px; }
}

/* ════════════════════════ ABOUT PAGE — intro (statement-cta) ════════════════════════ */
.intro--statement-cta { padding-top: 120px; padding-bottom: 80px; }
.intro--statement-cta .intro__heading { font-size: 28px; line-height: 34px; font-weight: 600; color: var(--color-6); max-width: 856px; margin-inline: auto; }
.intro--statement-cta .intro__body { font-family: var(--font-body); font-size: 16px; line-height: 22px; font-weight: 400; color: var(--color-2); max-width: 584px; margin-inline: auto; }
.intro--statement-cta .intro__cta-wrap { display: flex; justify-content: center; width: 100%; }
@media (max-width: 768px) {
    .intro--statement-cta { padding-top: 60px; padding-bottom: 48px; }
}

/* ════════════════════════ ABOUT PAGE — about-story (triptych) ════════════════════════ */
.about-story { background: var(--color-4); padding-top: 120px; padding-bottom: 0; }
.about-story .section-head__heading { color: var(--color-2); }
.about-story__intro { max-width: 790px; margin: var(--space-lg) auto 0; text-align: center; display: flex; flex-direction: column; gap: var(--space-md); }
.about-story__lead { font-family: var(--font-display); font-size: 24px; line-height: 29px; font-weight: 600; color: var(--color-6); margin: 0; }
.about-story__sub  { font-family: var(--font-body); font-size: 16px; line-height: 22px; font-weight: 400; color: var(--color-2); margin: 0; }
.about-story__row { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: var(--space-xxl); }
.about-story__panel--photo { overflow: hidden; }
.about-story__panel-img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; display: block; border-radius: 0; }
.about-story__panel--card {
    background: var(--color-7); color: var(--color-6);
    padding: 80px 40px; box-sizing: border-box; min-height: 680px;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    text-align: center; gap: var(--space-lg);
}
.about-story__card-heading { font-family: var(--font-display); font-size: 32px; line-height: 35px; font-weight: 600; color: var(--color-1); margin: 0; max-width: 342px; }
.about-story__card-body { display: flex; flex-direction: column; gap: var(--space-lg); align-items: center; max-width: 360px; }
.about-story__card-lead { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 400; color: var(--color-6); }
.about-story__card-sub  { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 22px; font-weight: 400; color: var(--color-5); }
.about-story__card-cta { background: var(--color-3); color: var(--color-4); border: 1px solid var(--color-5); }
.about-story__card-cta:hover { filter: brightness(.95); }
@media (max-width: 880px) {
    .about-story { padding-top: 60px; }
    .about-story__row { grid-template-columns: 1fr; }
    .about-story__panel-img, .about-story__panel--card { min-height: auto; }
    .about-story__panel--card { padding: 40px 24px; }
}

/* ════════════════════════ ABOUT PAGE — process-steps (plain-quad) ════════════════════════ */
.process-steps--plain-quad { background: var(--color-4); color: var(--color-6); padding-top: 120px; padding-bottom: 40px; }
.process-steps--plain-quad .section-head__heading { color: var(--color-6); }
.process-steps--plain-quad .process-steps__list {
    list-style: none; margin: var(--space-xl) auto 0; padding: 0; counter-reset: none;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xxl); max-width: 1200px;
}
.process-steps--plain-quad .process-steps__item {
    min-height: 200px; background: transparent; border: 0; padding: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); text-align: left;
}
.process-steps--plain-quad .process-steps__title { font-family: var(--font-display); font-size: 32px; line-height: 35px; font-weight: 600; color: var(--color-3); margin: 0; }
.process-steps--plain-quad .process-steps__desc  { display: block; font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-5); margin: 0; }
.process-steps--plain-quad .process-steps__cta-wrap { display: flex; justify-content: center; margin-top: var(--space-xxl); }
@media (max-width: 900px) {
    .process-steps--plain-quad { padding-top: 60px; padding-bottom: 40px; }
    .process-steps--plain-quad .process-steps__list { grid-template-columns: repeat(2, 1fr); }
    .process-steps--plain-quad .process-steps__item { min-height: 0; }
}
@media (max-width: 600px) {
    .process-steps--plain-quad .process-steps__list { grid-template-columns: 1fr; }
}

/* ════════════════════════ ABOUT PAGE — cta (banner-about) ════════════════════════ */
.cta-banner--about { padding-top: 120px; padding-bottom: 80px; }
.cta-banner--about .section-head__heading { color: var(--color-6); }
.cta-banner--about .cta-banner__content { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); max-width: 698px; margin-inline: auto; }
.cta-banner--about .cta-banner__lead { font-family: var(--font-display); font-size: 24px; line-height: 29px; font-weight: 600; color: var(--color-6); margin: 0; }
.cta-banner--about .cta-banner__body { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-3); margin: 0; max-width: 546px; }
@media (max-width: 768px) {
    .cta-banner--about { padding-top: 60px; padding-bottom: 48px; }
}

/* ════════════════════════ ABOUT PAGE — contact (centered-form) ════════════════════════ */
.contact-block { background: var(--color-4); padding-top: 120px; padding-bottom: 80px; }
.contact-block .section-head__heading { color: var(--color-2); }
.contact-block .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); text-align: center; }
.contact-block__intro { font-family: var(--font-accent); font-size: 18px; line-height: 23px; font-weight: 600; color: var(--color-6); max-width: 660px; margin: 0; }
.contact-block__form { width: 100%; max-width: 480px; }
.contact-block__form .form { --form-cols: 1; --field-bg: var(--color-4); --field-fg: var(--color-6); --field-border: var(--color-7); --field-radius: var(--radius-sm); --label-color: var(--color-text-muted); }
.contact-block__form .form__submit { display: flex; width: 100%; }
@media (max-width: 768px) {
    .contact-block { padding-top: 60px; padding-bottom: 48px; }
}



/* Layerly — About page fix pass 1 — section-level gap metadata + location-split text color scoping — 2026-07-22 13:51:47 */

/* ── About page — fix pass 1: measure_page gap deltas (mirrors the Home-page recipe:
   apply the Figma root auto-layout gap directly on the section element) ── */
.about-story { display: flex; flex-direction: column; gap: 24px; }
.process-steps--plain-quad { display: flex; flex-direction: column; gap: 40px; }
.cta-banner--about { display: flex; flex-direction: column; gap: 40px; }
.contact-block { display: flex; flex-direction: column; gap: 40px; }

/* ── About page — location-split body text: About's Figma order is REVERSED vs
   Home's (big/lead paragraph first, small/muted second) but both instances share
   the same location-split markup+classes — scope colors to this page's section id. ── */
.section--about_location .location-split__body { color: var(--color-2); }
.section--about_location .location-split__body--strong { color: var(--color-6); }



/* Layerly — Global horizontal-overflow guard for mobile — 2026-07-22 14:00:12 */

/* ── Global — prevent horizontal overflow (e.g. off-canvas mobile drawer /
   full-bleed panels) from ever creating a page-level horizontal scrollbar ── */
html { max-width: 100%; overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }



/* Layerly — Services page — bespoke section CSS for hero/intro/grid/story/steps/faq/cta-alt variants, matching Figma node 6055:445 — 2026-07-22 14:22:30 */

/* ════════════════════════ SERVICES PAGE — hero (full-bleed-statement) ════════════════════════ */
.hero--full-bleed-statement {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 800px;
    padding: 120px;
    box-sizing: border-box;
}
.hero--full-bleed-statement .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--full-bleed-statement .hero__bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--full-bleed-statement .hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(2,3,7,0) 0%, rgba(2,3,7,.8) 100%);
    pointer-events: none;
}
.hero--full-bleed-statement .hero__statement {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: var(--space-lg);
    text-align: center; max-width: 800px;
}
.hero--full-bleed-statement .hero__title { font-family: var(--font-display); font-size: var(--text-h1); line-height: 1; font-weight: 600; color: var(--color-3); margin: 0; }
.hero--full-bleed-statement .hero__accent { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-1); margin: 0; }
@media (max-width: 768px) {
    .hero--full-bleed-statement { min-height: 520px; padding: 80px 24px; }
    .hero--full-bleed-statement .hero__title { font-size: var(--text-h2); }
}

/* ════════════════════════ SERVICES PAGE — intro (lead-cta) ════════════════════════ */
.intro--lead-cta { background: var(--color-7); padding-block: 120px 80px; }
.intro--lead-cta .intro__inner { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.intro--lead-cta .intro__lead { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-6); margin: 0; }
.intro--lead-cta .intro__statement { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 29px; color: var(--color-2); margin: 0; }
@media (max-width: 768px) { .intro--lead-cta { padding-block: 60px 48px; } }

/* ════════════════════════ SERVICES PAGE — service grid (icon-cards-alt) ════════════════════════ */
/* Reuses .service-grid--icon-cards styling (bg, grid, card look) verbatim.
   Only additions: clickable card link + lead-before-intro copy order. */
.service-grid--icon-cards .service-card__link { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; text-decoration: none; color: inherit; }
.service-grid--icon-cards .service-card:hover .service-card__title { color: var(--color-1); }

/* ════════════════════════ SERVICES PAGE — story split (panel-image) ════════════════════════ */
.story-split--panel-image { padding-block: 0; }
.story-split__row { display: flex; align-items: stretch; }
.story-split__panel {
    flex: 0 0 50%; max-width: 50%; box-sizing: border-box;
    background: var(--color-8); color: var(--color-3);
    display: flex; flex-direction: column; justify-content: space-between;
    gap: var(--space-lg);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    padding-right: var(--space-xl);
    padding-left: max(var(--space-lg), calc((100vw - var(--container-max)) / 2 + var(--space-lg)));
    margin: 0;
}
.story-split__title { display: flex; flex-direction: column; gap: var(--space-lg); }
.story-split__heading { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; color: var(--color-6); margin: 0; }
.story-split__accent { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-1); margin: 0; }
.story-split__rule { display: block; width: 60px; height: 1px; background: var(--color-1); }
.story-split__body { display: flex; flex-direction: column; gap: var(--space-lg); }
.story-split__text { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-3); margin: 0; }
.story-split__text--accent { font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 22px; color: var(--color-3); margin: 0; }
.story-split__highlight { font-family: var(--font-body); font-size: 16px; line-height: 22px; font-weight: 400; color: var(--color-3); margin: 0; }
.story-split__text--muted { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-3); margin: 0; }
.story-split__media { flex: 0 0 50%; max-width: 50%; position: relative; margin: 0; }
.story-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
@media (max-width: 880px) {
    .story-split__row { flex-direction: column; }
    .story-split__panel { flex: 1 1 auto; max-width: 100%; padding: 60px 24px; }
    .story-split__media { min-height: 280px; height: auto; aspect-ratio: 4/3; }
}

/* ════════════════════════ SERVICES PAGE — process steps (numbered-alt) ════════════════════════ */
.section--svc_steps { background: var(--color-4); color: var(--color-6); }
.process-steps--numbered-alt .section-head__heading { color: var(--color-2); }
.process-steps--numbered-alt .process-steps__list--alt {
    list-style: none; margin: var(--space-xl) auto 0; padding: 0 0 var(--space-xl);
    border-bottom: 1px solid var(--color-text-muted);
    display: flex; flex-wrap: wrap; gap: var(--space-xl); justify-content: center;
    counter-reset: none; max-width: 1200px;
}
.process-steps--numbered-alt .process-steps__item { flex: 1 1 240px; max-width: 270px; background: transparent; border: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-lg); text-align: left; }
.process-steps--numbered-alt .process-steps__number {
    width: 40px; height: 40px; border-radius: 9999px; background: var(--color-8); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 16px; font-weight: 400; margin-bottom: 0; opacity: 1;
}
.process-steps--numbered-alt .process-steps__desc-alt { font-family: var(--font-accent); font-size: 18px; font-weight: 600; line-height: 23px; color: var(--color-6); margin: 0; }
.process-steps--numbered-alt .process-steps__cta-wrap { display: flex; justify-content: center; margin-top: var(--space-xl); }

/* ════════════════════════ SERVICES PAGE — FAQs (accordion-alt) ════════════════════════ */
.section--svc_faq { background: var(--color-4); }
.disclosures--accordion-alt .disclosures__closing { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; }
.disclosures--accordion-alt .disclosures__closing-text { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 29px; color: var(--color-2); margin: 0; max-width: 900px; }

/* ════════════════════════ SERVICES PAGE — CTA banner (banner-alt) ════════════════════════ */
.cta-banner--alt .section-head__heading { color: var(--color-6); }
.cta-banner--alt .cta-banner__content { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); max-width: 698px; margin-inline: auto; }
.cta-banner--alt .cta-banner__body { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 29px; color: var(--color-6); margin: 0; max-width: 698px; }

/* ════════════════════════ SERVICES PAGE — section-level Figma gaps + top padding ════════════════════════ */
.section--svc_grid, .section--svc_steps, .section--svc_faq, .section--svc_cta {
    display: flex; flex-direction: column; gap: 40px;
    padding-top: 120px;
}
.intro--lead-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; }

@media (max-width: 768px) {
  .section--svc_grid, .section--svc_steps, .section--svc_faq, .section--svc_cta { padding-top: 60px; padding-bottom: 48px; }
  .section--svc_hero, .section--svc_story { padding-block: 0; }
}
@media (max-width: 480px) {
  .section--svc_grid, .section--svc_steps, .section--svc_faq, .section--svc_cta { padding-top: 44px; padding-bottom: 40px; }
}



/* Layerly — Service CPT single template — service-content system (tone palette + pricing/faq/steps/checklist/disclaimer/narrative kinds), hero icon badge, and the cta-banner--service duplicate — 2026-07-22 15:36:43 */

/* ── Service single template (single-service.php) ────────────────── */

/* Hero icon badge (heroes/profile-service) */
.hero--service .hero__icon-badge {
    width: 56px; height: 56px; border-radius: var(--radius-full);
    background: var(--color-1); color: var(--color-3);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-sm);
}
.hero--service .hero__icon-badge .icon { width: 26px; height: 26px; }

/* CTA — service variant (page-scoped duplicate of cta-banner--about's shape) */
.cta-banner--service { padding-top: var(--space-xxl); padding-bottom: var(--space-xxl); }
.cta-banner--service .section-head__heading { color: var(--color-6); }
.cta-banner--service .cta-banner__content { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); max-width: 698px; margin-inline: auto; }
.cta-banner--service .cta-banner__lead { font-family: var(--font-display); font-size: 24px; line-height: 29px; font-weight: 600; color: var(--color-6); margin: 0; }
.cta-banner--service .cta-banner__body { font-family: var(--font-body); font-size: 16px; line-height: 22px; color: var(--color-3); margin: 0; max-width: 546px; }
@media (max-width: 768px) {
    .cta-banner--service { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
}

/* ── service-content — shared shell + tone palette (content-area) ── */
.service-content { padding-block: var(--space-xxl); background: var(--sc-bg, var(--color-bg)); color: var(--sc-fg, var(--color-text)); }
.service-content__inner { max-width: 840px; margin-inline: auto; }
.service-content__heading {
    font-family: var(--font-display); font-weight: var(--weight-bold);
    font-size: var(--text-h3); line-height: 1.15; color: var(--sc-fg, var(--color-text));
    margin: 0 0 var(--space-lg);
}
.service-content__heading--center { text-align: center; }
.service-content__body p { font-family: var(--font-body); line-height: 1.6; color: var(--sc-fg, var(--color-text)); margin: 0 0 var(--space-md); }
.service-content__body p:last-child { margin-bottom: 0; }
.service-content__body strong { font-weight: var(--weight-bold); }

.tone-cream    { --sc-bg: var(--color-2); --sc-fg: var(--color-4); --sc-muted: rgba(29,33,40,.65); --sc-accent: var(--color-8); }
.tone-offwhite { --sc-bg: var(--color-6); --sc-fg: var(--color-4); --sc-muted: rgba(29,33,40,.6);  --sc-accent: var(--color-8); }
.tone-green    { --sc-bg: var(--color-7); --sc-fg: var(--color-6); --sc-muted: rgba(244,242,242,.7); --sc-accent: var(--color-1); }
.tone-teal     { --sc-bg: var(--color-8); --sc-fg: var(--color-6); --sc-muted: rgba(244,242,242,.75); --sc-accent: var(--color-1); }

/* narrative — centered band */
.service-content--narrative-band .service-content__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.service-content--narrative-band .service-content__body { max-width: 760px; }
.service-content--narrative-band .service-content__body p:first-child { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); }
.service-content--narrative-band .service-content__body p:last-child:not(:first-child) { color: var(--sc-muted); font-size: var(--text-md); font-family: var(--font-body); font-weight: var(--weight-reg); }

/* narrative — image split */
.service-content--narrative-split .service-content__inner { max-width: 1160px; }
.service-content--narrative-split .service-content__row { display: flex; align-items: center; gap: var(--space-xxl); }
.service-content--narrative-split.is-media-left .service-content__row { flex-direction: row-reverse; }
.service-content--narrative-split .service-content__col { flex: 1 1 50%; min-width: 0; }
.service-content--narrative-split .service-content__col--media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 880px) {
    .service-content--narrative-split .service-content__row { flex-direction: column; }
    .service-content--narrative-split.is-media-left .service-content__row { flex-direction: column; }
}

/* checklist — grid (icon rows) + cards sub-layouts */
.service-content--checklist .service-content__intro { text-align: center; max-width: 720px; margin: 0 auto var(--space-xl); font-size: var(--text-lg); color: var(--sc-fg); }
.service-content--checklist .service-content__grid { list-style: none; margin: 0; padding: 0; max-width: 1000px; margin-inline: auto; }
.service-content--checklist-grid .service-content__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-xl); }
.service-content--checklist-grid .service-content__item { display: flex; align-items: flex-start; gap: var(--space-sm); }
.service-content--checklist-cards .service-content__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); }
.service-content--checklist-cards .service-content__item {
    display: flex; align-items: flex-start; gap: var(--space-sm);
    background: rgba(0,0,0,.04); border-radius: var(--radius-md); padding: var(--space-lg);
}
.tone-green.service-content--checklist-cards .service-content__item,
.tone-teal.service-content--checklist-cards .service-content__item { background: rgba(255,255,255,.08); }
.service-content__item-icon { flex-shrink: 0; color: var(--sc-accent); margin-top: 3px; }
.service-content__item-text { line-height: 1.5; }
@media (max-width: 700px) {
    .service-content--checklist-grid .service-content__grid { grid-template-columns: 1fr; }
}

/* steps — vertical numbered list (long-form step text) */
.service-content--steps .service-content__list { list-style: none; margin: 0; padding: 0; max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-xl); }
.service-content--steps .service-content__step { display: flex; gap: var(--space-lg); align-items: flex-start; }
.service-content--steps .service-content__num {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-full);
    background: var(--sc-accent); color: var(--color-3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-weight: var(--weight-bold); font-size: var(--text-md);
}
.service-content--steps .service-content__step-title { font-family: var(--font-accent); font-weight: 600; font-size: var(--text-lg); color: var(--sc-fg); margin: 0 0 var(--space-xs); }
.service-content--steps .service-content__step-text { color: var(--sc-fg); margin: 0; line-height: 1.6; }

/* pricing — single callout card + tiered grid */
.service-content--pricing .service-content__card {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    padding: var(--space-xl); max-width: 420px; margin-inline: auto; text-align: center;
}
.service-content--pricing .service-content__amount { font-family: var(--font-display); font-size: var(--text-h2); font-weight: var(--weight-bold); color: var(--color-primary); margin: 0; }
.service-content--pricing .service-content__note { color: var(--color-text-muted); margin: var(--space-sm) 0 0; line-height: 1.5; }
.service-content--pricing .service-content__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); max-width: 1100px; margin-inline: auto; }
.service-content--pricing .service-content__tier { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); text-align: center; }
.service-content--pricing .service-content__tier-name { font-family: var(--font-accent); font-weight: 600; font-size: var(--text-md); color: var(--color-text); margin: 0 0 var(--space-sm); }
.service-content--pricing .service-content__tier-price { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); color: var(--color-primary); margin: 0; }

/* disclaimer — quiet small-print band */
.service-content--disclaimer { padding-block: var(--space-xl); background: var(--color-6); }
.service-content--disclaimer .service-content__inner { max-width: 760px; text-align: center; }
.service-content--disclaimer .service-content__kicker {
    font-family: var(--font-accent); text-transform: uppercase; letter-spacing: .08em;
    font-size: var(--text-xs); color: var(--color-text-muted); margin: 0 0 var(--space-sm);
}
.service-content--disclaimer .service-content__body p { font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }

/* faq (composed via disclosures/accordion override) — heading rendered inline, reuse accordion look */
.service-content--faq .service-content__heading--center { text-align: center; }

@media (max-width: 768px) {
    .service-content { padding-block: var(--space-xl); }
    .service-content--checklist-cards .service-content__grid,
    .service-content--pricing .service-content__tiers { grid-template-columns: 1fr; }
}



/* Layerly — Tighten cta-banner--service's inner gap toward the Figma's 40px (fluid --space-xl clamps up to 40, staying token-based) — 2026-07-22 15:42:54 */
.cta-banner--service .cta-banner__inner { gap: var(--space-xl); }


/* Layerly — Fix mobile white gap above/below full-bleed split heroes (About + Service single) — section padding-block:44px was winning over hero override at &lt;=480px due to source order — 2026-07-23 22:54:44 */
/* Full-bleed split heroes must have zero section padding-block at every breakpoint —
   these panels/images are edge-to-edge and manage their own internal spacing.
   Appended after the global .section mobile rules so it wins on source order. */
.hero--split-fullbleed { padding-block: 0; }
@media (max-width: 768px) {
    .hero--split-fullbleed { padding-block: 0; }
}
@media (max-width: 480px) {
    .hero--split-fullbleed { padding-block: 0; }
}


/* Layerly — Size the new circular footer logo image to 120px wide — 2026-07-27 19:54:29 */
.footer--cream-card .footer__logo-img { width: 150px; max-height: none; height: auto; }


/* Layerly — Make the About page CTA banner eyebrow text white per request — 2026-07-27 20:44:03 */
#about-cta .eyebrow { color: #fff; }


/* Layerly — Hide labels + white input borders on About page contact form — 2026-07-27 20:46:27 */
/* About-page contact form: hide field labels (placeholder-only), white input borders */
#contact .field__label { display: none; }
#contact .field__input,
#contact .field textarea.field__input,
#contact .field select.field__input { border-color: #FFFFFF; }


/* Layerly — Prevent Book a call button in story-split panel from stretching full width — 2026-07-27 22:30:58 */
.story-split__body .btn { align-self: flex-start; }


/* Layerly — Prevent the 'Get in touch' CTA in location-split panel from stretching full width (flex column stretch default) — 2026-07-27 22:34:36 */
.location-split__panel-inner .btn { align-self: flex-start; }


/* Layerly — Support video embeds in service-content narrative-split media column, matching the existing image sizing — 2026-07-28 22:32:40 */
.service-content--narrative-split .service-content__col--media .service-content__video { width: 100%; height: 100%; aspect-ratio: 4/3; overflow: hidden; }
.service-content--narrative-split .service-content__col--media .service-content__video iframe { width: 100%; height: 100%; display: block; border: 0; }


/* Layerly — Spacing above the new in-content CTA button on service narrative-split sections — 2026-07-28 22:38:00 */
.service-content__cta { margin-top: var(--space-md); }


/* Layerly — Style the new inline CTA link added to service-content body text (Book a Banking Advisory Call) — 2026-07-29 16:40:59 */
.service-content__body a.service-content__link {
  font-weight: var(--weight-bold);
  color: var(--sc-fg, var(--color-text));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-content__body a.service-content__link:hover {
  color: var(--color-primary);
}


/* Layerly — Underline the service-content heading per client request, scoped to this specific section instance only — 2026-07-29 16:58:57 */
.postid-16 #main > section.section.section--service_content:nth-child(4) > div.wrap.service-content__inner > h2.service-content__heading {
    text-decoration: underline;
}


/* Layerly — Shift hero image up so full head/forehead is visible instead of being cropped at the top — 2026-07-29 18:43:48 */
#hero .hero__media img.shape-square { object-position: center top; }


/* Layerly — Center the optional CTA button in service-content checklist/narrative sections when used centrally — 2026-07-29 19:39:41 */
.service-content__cta--center { text-align: center; }


/* Layerly — Change eyebrow text color to white in service-cta banner per client request — 2026-07-29 19:42:56 */
#service-cta .eyebrow { color: var(--color-surface); }


/* Layerly — Make story-split accent text white for the first panel only (client request) — 2026-07-30T14:11:53.341Z */
#svc-story > .story-split__row > .story-split__panel:nth-child(1) > .story-split__title:nth-child(1) > .story-split__accent {
  color: #fff;
}


/* Layerly — Set AI Workforce hero image position to center top — 2026-07-30T14:19:22.075Z */
#service-hero .hero__media img.shape-square {
  object-position: center top;
}





/* Layerly —  — 2026-07-30 16:48:17 */

/* ── client comment pin 44 (/services/) ──────────────────────────────────
   The CTA-banner eyebrow rendered #0074D9 on #15A4FF = 1.73:1 — effectively
   invisible, which is what the client reported. He asked for white (2.70:1).
   NOTE: still under WCAG AA 4.5; Deep navy would measure 7.08 — see R2. */
#svc-cta .eyebrow { color: #fff; }

/* ── client comment pin 50 (/services/business-consulting/) ──────────────
   "Can we underline this?" — scoped to THAT heading only; the page has 8
   .service-content__heading elements and a blanket rule would hit all of them. */
.postid-11 #main > section.section--service_content:nth-child(8) h2.service-content__heading {
    text-decoration: underline;
}



/* Layerly —  — 2026-07-30 17:38:53 */

/* ── Accent role: Barlow Condensed Bold + wide tracking ──────────────────
   Replaces Gruppo (2026-07-30). Barlow Condensed ships a REAL 700, so this
   asks for 700 rather than the 400 Gruppo forced — no synthesised bold.
   letter-spacing is deliberately wide; --accent-tracking is the one knob. */
.eyebrow,
.hero--split-fullbleed .hero__accent,
.intro--statement-band .intro__bar-text,
.problem-framing__quote,
.service-grid--icon-cards .service-card__title,
.location-split__accent,
.process-steps--numbered .process-steps__title,
.disclosures--accordion .accordion__summary,
.contact-block__intro,
.hero--full-bleed-statement .hero__accent,
.intro--lead-cta .intro__lead,
.story-split__accent,
.process-steps--numbered-alt .process-steps__desc-alt,
.service-content--steps .service-content__step-title,
.service-content--pricing .service-content__tier-name {
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
}



/* Layerly —  — 2026-07-30 18:40:29 */

/* ── Buttons match the accent role (Alexander, 2026-07-30) ───────────────
   Same face, same weight, same tracking as .eyebrow / .hero__accent.
   text-indent cancels the trailing letter-space after the final glyph, which
   otherwise pushes centred button text visibly off-centre. */
.btn {
    font-family: var(--font-accent);
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
    text-transform: uppercase;
    /* NO text-indent. Measured 2026-07-30: .btn is display:inline-flex, so the
       flex line is already centred and the trailing letter-space costs nothing.
       Indent 0px -> 0px off-centre; 7.5px -> 8px off; 15px -> 15px off. The
       "compensation" was creating the very offset it claimed to fix. */
}



/* Layerly —  — 2026-07-30 19:45:12 */

/* ── Header nav links match the accent role (Alexander, 2026-07-30) ──────
   Same Barlow Condensed Bold + tracking as .eyebrow / .hero__accent / .btn,
   and uppercased. --nav-link-weight is deliberately overridden: the nav was
   the one accent-font consumer still sitting at 500 with no tracking. */
.nav__list a {
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
    text-transform: uppercase;
}



/* Layerly — Dark background for the About page Meet the Team section, matching other dark sections (icon-cards, accordion); text recolored for contrast — 2026-08-04T17:35:15.974Z */
.team--grid {
  background: var(--color-7);
  color: var(--color-6);
}

.team--grid .section-head__heading {
  color: var(--color-2);
}

.team--grid .section-head__sub {
  color: var(--color-6);
}

.team--grid .team__name {
  color: var(--color-6);
}

.team--grid .team__role {
  color: var(--color-5);
}

.team--grid .team__bio {
  color: var(--color-6);
}

.team--grid .team__social a {
  color: var(--color-6);
}

.team--grid .team__social a:hover {
  color: var(--color-1);
  background: rgba(255,255,255,.08);
}


/* Layerly — Stack team member photo above text on mobile instead of squeezing into a 1fr/2fr row — 2026-08-04T17:45:54.241Z */
@media (max-width: 768px) {
  .team__member {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team__photo {
    max-width: 200px;
    margin: 0 auto;
  }
}


/* Layerly — Underline the service-content heading on Legal Protection Plans page only (4th section, 'Why Legal Protection Belongs In Your Strategy') — 2026-08-04T17:47:06.817Z */
.postid-12 #main > section.section--service_content:nth-child(4) h2.service-content__heading {
  text-decoration: underline;
}


/* Layerly —  — 2026-08-04 18:02:28 */

/* ── Recent-posts loop on /about/ (Alexander, 2026-08-04) ────────────────
   The catalog's generic cpt-loop is a light surface card with a shadow and a
   lift on hover — that is not this site. These rules restate the SAME card
   treatment the service grid already uses (transparent card, 1px border,
   accent-font title, border turns accent on hover, no shadow, no lift), so the
   section reads as part of the site rather than a bolt-on. Scoped to
   .section--blog only; the generic component is untouched for other sites. */
.section--blog { background: var(--color-7); color: var(--color-6); }
.section--blog .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.section--blog .section-head { margin-bottom: 0; }
.section--blog .section-head__heading { color: var(--color-2); }

.section--blog .cpt-loop__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin-inline: auto;
    width: 100%;
}
.section--blog .cpt-loop__card {
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--color-6);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color .18s ease;
}
.section--blog .cpt-loop__card:hover { transform: none; box-shadow: none; border-color: var(--color-1); }
.section--blog .cpt-loop__link { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.section--blog .cpt-loop__media { aspect-ratio: 16 / 9; border-radius: var(--radius-md); width: 100%; }
.section--blog .cpt-loop__body { padding: 0; }
.section--blog .cpt-loop__title {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
    line-height: 23px;
    color: var(--color-2);
    margin-bottom: 10px;
}
.section--blog .cpt-loop__card:hover .cpt-loop__title { color: var(--color-1); }
.section--blog .cpt-loop__excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 18px;
    color: var(--color-6);
    margin-bottom: var(--space-sm);
}
/* Matches the button/nav treatment set 2026-07-30: accent face, bold, tracked, uppercase. */
.section--blog .cpt-loop__more {
    font-family: var(--font-accent);
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
    text-transform: uppercase;
    font-size: 14px;
    /* Electric blue, NOT Primary blue. --color-1 (#0074D9) measures 4.42:1 on this
       near-black section — below AA — which is the standing F13/R2 finding. Rather
       than add a new failure, this uses --color-8 (#15A4FF) at 7.64:1, the colour
       the client's own spec assigns to secondary CTAs. The section .eyebrow still
       inherits the site-wide 4.42 rule; that is R2 and is Alexander's call. */
    color: var(--color-8);
}
@media (max-width: 900px) { .section--blog .cpt-loop__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .section--blog .cpt-loop__list { grid-template-columns: 1fr; } }



/* Layerly —  — 2026-08-04 20:44:36 */

/* ── Single blog post (single-post.php) — Alexander, 2026-08-04 ──────────
   Uses the site's own type system rather than the generic fallback's inline
   styles: Montserrat display for the title, Barlow Condensed accent for the
   date/kicker (bold, tracked, uppercase — matching nav and buttons), Cabin for
   body copy at a readable measure. Accent colour is --color-8 (7.64:1 on the
   dark ground), NOT --color-1 which measures 4.42 and is the standing R2/F13
   finding. */

/* Top padding must clear the STICKY header — its bottom edge sits at ~88px
   (--nav-height 70px plus its offset). The stock --space-xxl put the date
   underneath the nav. Measured, not guessed. */
.post-single__head { background: var(--color-7); color: var(--color-6);
    padding-top: calc(var(--nav-height, 70px) + 64px);
    padding-bottom: var(--space-xl); }
.post-single__head-inner { max-width: 760px; margin-inline: auto; text-align: center; }

.post-single__date {
    font-family: var(--font-accent);
    font-weight: 700;
    letter-spacing: var(--accent-tracking);
    text-transform: uppercase;
    font-size: 14px;
    color: var(--color-8);
    margin: 0 0 var(--space-md);
}
.post-single__title {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1.15;
    font-weight: 600;
    color: var(--color-2);
    margin: 0;
}
.post-single__standfirst {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-6);
    max-width: 640px;
    margin: var(--space-lg) auto 0;
}

.post-single__hero { background: var(--color-7); padding-bottom: var(--space-xl); }
.post-single__hero .wrap { max-width: 1000px; }
.post-single__hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.post-single__body { background: var(--color-7); color: var(--color-6); padding-block: var(--space-xl) var(--space-xxl); }
.post-single__measure { max-width: 720px; margin-inline: auto; }

/* Body copy: one measure, one rhythm. */
.post-single__content { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--color-6); }
.post-single__content > * + * { margin-top: var(--space-lg); }
.post-single__content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--color-2);
    margin-top: var(--space-xxl);
}
.post-single__content h2 + p { margin-top: var(--space-md); }
.post-single__content ul { padding-left: 1.15em; }
.post-single__content li + li { margin-top: var(--space-sm); }
.post-single__content li::marker { color: var(--color-8); }
.post-single__content a { color: var(--color-8); text-decoration: underline; text-underline-offset: 3px; }
.post-single__content strong { color: var(--color-2); font-weight: 700; }
/* The closing disclaimer paragraph — quieter, same posture as the service pages. */
.post-single__content em { color: var(--color-5); }
.post-single__content p:last-child em { display: block; font-size: 14px; line-height: 1.6; margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid rgba(255,255,255,.18); }

.post-single__related { padding-block: var(--space-xxl); }

@media (max-width: 700px) {
    .post-single__title { font-size: 32px; }
    .post-single__standfirst { font-size: 17px; }
    .post-single__content { font-size: 16px; }
}



/* Layerly — Underline the closing 'Make Your Next Move With Better Information' heading on the Business Intelligence Reports service page per client request (selector manually verified unique via live HTML inspection; the automatic match-checker doesn't cover single-service CPT URLs) — 2026-08-05T16:44:44.708Z */
.postid-13 #main > section.section.section--service_content:nth-child(9) > div.wrap.service-content__inner > h2.service-content__heading {
  text-decoration: underline;
}


/* Layerly —  — 2026-08-05 17:30:09 */

/* ── Client comment pin 155 (/services/business-intelligence-reports/) ───
   "Underline this" on the closing heading. Scoped to postid-13 AND the
   section's position, so it matches exactly ONE element — the page has 7
   .service-content__heading elements and an unscoped rule would hit them all
   (that is FIX 67, the defect this same site already shipped once). */
.postid-13 #main > section.section--service_content:nth-child(9) h2.service-content__heading {
    text-decoration: underline;
}



/* Layerly — Style the about hero's text panel (heading+body, formerly the separate statement-cta intro) to fit the split-fullbleed dark panel" — 2026-08-05T17:45:49.479Z */
.hero--about .hero__lead {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-3);
  margin: 0;
}

.hero--about .hero__body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-3);
  margin: 0;
  opacity: .85;
}

.hero--about .hero__lead {
  font-size: 26px;
}


/* Layerly — Team section is now the first section on About page, directly below the sticky nav — nav has margin-bottom:-90px (designed to let a hero bleed under it) which now pulls the team heading up under the nav. Add compensating top padding so it's not covered." — 2026-08-06T18:55:17.707Z */
.site-main > .section--team:first-child {
  padding-top: calc(var(--space-xxl) + 90px);
}
