/* ==========================================================================
   Standard Legal Steps — shared stylesheet
   Used by: index.html, about.html, services.html, contact.html,
            newsletter.html, unsubscribe.html, terms.html, privacy.html
   ========================================================================== */

/* ------------------------------  1. Tokens ------------------------------ */
:root {
    --oxford: #2e1065;
    --oxford-deep: #1c0a40;
    --oxford-soft: #3b1780;
    --cobalt: #db2777;
    --cobalt-dark: #b81a62;
    --platinum: #fef3c7;
    --slate: #3f3f46;
    --slate-soft: #57534e;
    --slate-mute: #78716c;
    --light: #fff7ed;
    --line: #f0e4d3;
    --line-soft: #f6ecdd;
    --white: #ffffff;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --red: #dc2626;
    --red-soft: #fee2e2;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --shadow-sm: 0 1px 2px rgba(46, 16, 101, .04), 0 10px 26px -16px rgba(46, 16, 101, .22);
    --shadow: 0 26px 60px -28px rgba(46, 16, 101, .32);
    --shadow-lg: 0 40px 90px -40px rgba(46, 16, 101, .45);

    --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;

    --nav-h: 74px;
    --max: 1180px;
}

/* ------------------------------  2. Reset ------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--oxford);
    line-height: 1.14;
    letter-spacing: -.012em;
    margin: 0 0 .55em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--oxford); }
em { font-style: italic; }

::selection { background: var(--cobalt); color: #fff; }

:focus-visible {
    outline: 2px solid var(--cobalt);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--oxford); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--cobalt); }

/* -------------------------  3. Layout helpers --------------------------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow { max-width: 840px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--cream { background: var(--platinum); }
.section--dark { background: var(--oxford); color: rgba(255, 255, 255, .78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.split--wide { grid-template-columns: 1.4fr 1fr; align-items: start; }

.stack > * + * { margin-top: 16px; }

/* Pattern overlay used on dark bands */
.pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(254, 243, 199, .22) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    pointer-events: none;
}

.watermark {
    position: absolute;
    color: var(--platinum);
    opacity: .06;
    pointer-events: none;
    z-index: 0;
}

/* -------------------------  4. Type utilities --------------------------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin-bottom: 14px;
}
.kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.section-head--center .kicker::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.section--dark .kicker { color: var(--platinum); }
.kicker--plain::before { display: none; }

.lead {
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--slate-soft);
    max-width: 66ch;
}
.section--dark .lead { color: rgba(254, 243, 199, .78); }

.text-center { text-align: center; }
.muted { color: var(--slate-mute); }
.tiny { font-size: .8rem; }
.italic { font-style: italic; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    font-family: inherit;
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--oxford);
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, color .25s ease,
                border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--oxford); color: #fff; box-shadow: 0 18px 34px -20px rgba(46, 16, 101, .9); }
.btn--primary:hover { background: var(--cobalt); box-shadow: 0 20px 40px -18px rgba(219, 39, 119, .75); }

.btn--accent { background: var(--cobalt); color: #fff; box-shadow: 0 18px 36px -16px rgba(219, 39, 119, .7); }
.btn--accent:hover { background: var(--cobalt-dark); }

.btn--outline { border-color: var(--oxford); color: var(--oxford); }
.btn--outline:hover { background: var(--oxford); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--oxford); border-color: #fff; }

.btn--light { background: #fff; color: var(--oxford); }
.btn--light:hover { background: var(--platinum); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: .66rem; letter-spacing: .15em; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cobalt);
    transition: gap .25s ease, color .25s ease;
}
.link-arrow:hover { gap: 14px; color: var(--oxford); }
.link-arrow .icon { width: 1em; height: 1em; }

/* Inline icon */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------------------------  5. Navigation ----------------------------- */
.nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: var(--max);
    z-index: 80;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: -4px 14px 40px -18px rgba(46, 16, 101, .38);
    transition: box-shadow .3s ease, top .3s ease;
}
.nav.is-stuck { box-shadow: -4px 18px 46px -16px rgba(46, 16, 101, .5); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px 10px 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--oxford);
    white-space: nowrap;
}
.brand .icon { width: 27px; height: 27px; color: var(--cobalt); stroke-width: 1.5; }
.brand span { line-height: 1.1; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-links > li { position: relative; }

.nav-links > li > a:not(.btn),
.nav-links > li > .nav-parent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    border: 0;
    border-radius: 999px;
    background: none;
    font-family: inherit;
    font-size: .71rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--slate);
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}
.nav-links > li > a:not(.btn):hover,
.nav-links > li > .nav-parent:hover { color: var(--cobalt); background: var(--light); }
.nav-links > li > a.is-active:not(.btn) { color: var(--cobalt); background: var(--light); }
.nav-parent .icon { width: 14px; height: 14px; transition: transform .25s ease; }
.nav-parent[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 268px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.dropdown--wide { min-width: 320px; }
.nav-links > li:hover > .dropdown,
.nav-links > li:focus-within > .dropdown,
.nav-links > li.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: .87rem;
    color: var(--slate-soft);
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
.dropdown a:hover { background: var(--light); color: var(--oxford); padding-left: 18px; }
.dropdown .drop-label {
    padding: 10px 14px 4px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #a8a29e;
}
.dropdown hr { border: 0; border-top: 1px solid var(--line-soft); margin: 8px 6px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--light);
    color: var(--oxford);
    cursor: pointer;
    transition: background-color .2s ease;
}
.nav-toggle:hover { background: var(--platinum); }
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }
.nav.is-open .nav-toggle .icon-menu { display: none; }

.nav-cta { flex: none; }

/* Mobile-only CTA inside the nav panel (revealed under 960px) */
.nav-mobile-cta { display: none; }

/* ------------------------------  6. Hero -------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 150px 0 100px;
    background:
        radial-gradient(1000px 620px at 78% -12%, rgba(219, 39, 119, .34), transparent 62%),
        radial-gradient(760px 520px at 8% 108%, rgba(59, 23, 128, .85), transparent 65%),
        linear-gradient(165deg, var(--oxford) 0%, var(--oxford-deep) 58%, var(--oxford) 100%);
    color: #fff;
}
.hero .pattern { opacity: .28; }

.hero .container { position: relative; z-index: 2; }

.hero-card {
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(32px, 5.4vw, 68px) clamp(24px, 4.6vw, 64px);
    text-align: center;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-xl);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 5.1vw, 4rem);
    line-height: 1.06;
    letter-spacing: -.02em;
    margin-bottom: .38em;
}
.hero h1 em { color: #ff6fae; font-weight: 500; font-style: italic; }
.hero p {
    max-width: 62ch;
    margin: 0 auto 34px;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.85;
    color: rgba(254, 243, 199, .82);
}

.eyebrow-rule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
    color: var(--platinum);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    white-space: nowrap;
}
.eyebrow-rule span { width: 44px; height: 1px; background: rgba(254, 243, 199, .5); flex: none; }

@media (max-width: 520px) {
    .eyebrow-rule { font-size: .58rem; letter-spacing: .18em; gap: 10px; }
    .eyebrow-rule span { width: 22px; }
}

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 158px 0 84px;
    background:
        radial-gradient(760px 420px at 84% 0%, rgba(219, 39, 119, .32), transparent 60%),
        linear-gradient(160deg, var(--oxford), var(--oxford-deep));
    color: #fff;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .35em; max-width: 22ch; }
.page-hero p {
    max-width: 62ch;
    color: rgba(254, 243, 199, .8);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}
.page-hero .eyebrow-rule { margin-bottom: 18px; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(254, 243, 199, .62);
}
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: #fff; }

/* ------------------------------  7. Cards ------------------------------- */
.card {
    position: relative;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f2ddc4; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: .94rem; line-height: 1.8; color: var(--slate-soft); }
.card--flush { padding: 0; overflow: hidden; }
.card--dark { background: var(--oxford); border-color: rgba(255, 255, 255, .12); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .72); }

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-link .link-arrow { margin-top: auto; padding-top: 18px; }

/* Icon badge */
.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(219, 39, 119, .09);
    color: var(--cobalt);
}
.badge-icon .icon { width: 24px; height: 24px; }
.badge-icon--round { border-radius: 999px; }
.badge-icon--solid { background: var(--cobalt); color: #fff; }
.badge-icon--light { background: rgba(254, 243, 199, .14); color: var(--platinum); }

/* Stats */
.stat { text-align: left; }
.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1;
    color: var(--oxford);
    margin-bottom: 10px;
}
.stat-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--slate-mute);
}
.section--dark .stat-num { color: #fff; }
.section--dark .stat-label { color: rgba(254, 243, 199, .6); }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.stat-strip .stat + .stat { border-left: 1px solid var(--line-soft); padding-left: 28px; }

/* Practice area block */
.svc {
    position: relative;
    padding: 4px 0 4px 30px;
    border-left: 2px solid rgba(219, 39, 119, .35);
    transition: border-color .3s ease;
}
.svc:hover { border-color: var(--cobalt); }
.svc h3 { margin-bottom: .4em; }
.svc p { font-size: .95rem; line-height: 1.85; color: var(--slate-soft); }
.svc .svc-icon {
    position: absolute;
    left: -17px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--cobalt);
}
.svc .svc-icon .icon { width: 16px; height: 16px; }

/* Checklist */
.checklist { display: grid; gap: 14px; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .94rem;
    line-height: 1.7;
    color: var(--slate-soft);
}
.checklist .icon {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    color: var(--cobalt);
    stroke-width: 2.4;
}
.section--dark .checklist li { color: rgba(255, 255, 255, .76); }
.section--dark .checklist .icon { color: var(--platinum); }

/* Numbered steps */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step {
    position: relative;
    padding-left: 62px;
    counter-increment: step;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -2px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cobalt);
}
.step h3 { font-size: 1.25rem; margin-bottom: .3em; }
.step p { font-size: .93rem; color: var(--slate-soft); margin: 0; }

/* Timeline (about / why) */
.timeline { position: relative; }
.timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 19px;
    width: 2px;
    background: rgba(254, 243, 199, .25);
}
.timeline-item { position: relative; padding: 0 0 34px 58px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--cobalt);
    color: #fff;
    border: 4px solid var(--oxford);
}
.timeline-dot .icon { width: 15px; height: 15px; }
.timeline-item h4 { color: #fff; font-size: 1.35rem; margin-bottom: .25em; }
.timeline-item p { font-size: .9rem; line-height: 1.8; color: rgba(254, 243, 199, .72); margin: 0; }

/* Info rows (contact card) */
.info-row { display: flex; align-items: flex-start; gap: 18px; }
.info-row + .info-row { margin-top: 26px; }
.info-row .badge-icon {
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}
.info-row .badge-icon .icon { width: 20px; height: 20px; }
.info-row h5 {
    font-family: var(--font-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 4px;
}
.info-row p { font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 0; }
.info-row a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.info-card .badge-icon { width: 44px; height: 44px; margin: 0; border-radius: 999px; flex: none; }
.info-card .badge-icon .icon { width: 19px; height: 19px; }
.info-card h4 {
    font-family: var(--font-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--slate-mute);
    margin: 0 0 5px;
}
.info-card p, .info-card a { font-size: .9rem; color: var(--slate-soft); margin: 0; line-height: 1.6; }
.info-card a:hover { color: var(--cobalt); }

/* Feature / quote blocks */
.pullquote {
    position: relative;
    padding: 34px 34px 34px 66px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--cobalt);
    border-radius: var(--radius);
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--slate);
}
.pullquote::before {
    content: "\201C";
    position: absolute;
    left: 20px;
    top: 12px;
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--cobalt);
    opacity: .35;
}

.note {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--platinum);
    font-size: .84rem;
    line-height: 1.7;
    color: var(--slate-soft);
}
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--oxford); }
.note p { margin: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .78rem;
    font-weight: 500;
    color: var(--slate-soft);
    transition: .22s ease;
}
.chip:hover { border-color: var(--cobalt); color: var(--cobalt); transform: translateY(-2px); }
.chip .icon { width: 14px; height: 14px; color: var(--cobalt); }

/* ----------------------------  8. Slider -------------------------------- */
.slider { position: relative; }
.slides { position: relative; min-height: 260px; overflow: hidden; }
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px);
    transition: opacity .6s ease, transform .6s ease, visibility .6s;
    text-align: center;
}
.slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.slide blockquote {
    max-width: 62ch;
    margin: 0 0 26px;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--slate);
}
.slide cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--oxford);
}
.stars { display: flex; gap: 5px; justify-content: center; color: var(--cobalt); margin-bottom: 22px; }
.stars .icon { width: 16px; height: 16px; }
.stars .icon.is-half { opacity: .45; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.slider-dots button {
    width: 34px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e7dcc7;
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease;
}
.slider-dots button[aria-selected="true"] { background: var(--cobalt); width: 46px; }

.slider-arrow {
    position: absolute;
    top: 42%;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--oxford);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: .22s ease;
    z-index: 3;
}
.slider-arrow:hover { background: var(--oxford); color: #fff; }
.slider-arrow--prev { left: -6px; }
.slider-arrow--next { right: -6px; }

/* ------------------------------  9. FAQ --------------------------------- */
.faq {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 4px 24px;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq + .faq { margin-top: 14px; }
.faq[open] { border-color: #f0d7bb; box-shadow: var(--shadow); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oxford);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus { outline: none; }
.faq summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 6px; border-radius: 6px; }
.faq .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--light);
    color: var(--oxford);
    transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.faq .faq-icon .icon { width: 14px; height: 14px; }
.faq[open] .faq-icon { transform: rotate(45deg); background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.faq .faq-body {
    padding: 0 0 22px;
    margin-top: -4px;
    font-size: .93rem;
    line-height: 1.85;
    color: var(--slate-soft);
    border-top: 1px solid var(--line-soft);
    padding-top: 18px;
}

/* -----------------------------  10. Forms ------------------------------- */
.form-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 48px);
    box-shadow: var(--shadow);
}
.form-card--flat { box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { margin-bottom: .3em; }
.form-intro { font-size: .93rem; color: var(--slate-soft); margin-bottom: 30px; }

.form-grid { display: grid; gap: 18px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { display: flex; flex-direction: column; }
.field + .field { margin-top: 0; }
.form > .field + .field { margin-top: 18px; }
.form > .check-row { margin-top: 18px; }

.label {
    display: block;
    margin-bottom: 8px;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--slate);
}
.label .req { color: var(--cobalt); }

.input,
.select,
.textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: .93rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--slate);
    background: var(--light);
    border: 1px solid #f0e2cd;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
.input::placeholder, .textarea::placeholder { color: #a8a29e; }
.input:hover, .select:hover, .textarea:hover { border-color: #e8d5ba; }
.input:focus, .select:focus, .textarea:focus {
    background-color: #fff;
    border-color: var(--cobalt);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, .13);
}
.input[type="date"] { color: var(--slate); }
.input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

.hint { margin-top: 6px; font-size: .76rem; color: var(--slate-mute); }

.field-error {
    display: none;
    margin-top: 6px;
    font-size: .76rem;
    font-weight: 500;
    color: var(--red);
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.field.is-invalid .field-error { display: block; }

/* Checkbox row */
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 18px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.check-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--cobalt);
    cursor: pointer;
    flex: none;
}
.check-row label {
    font-size: .85rem;
    line-height: 1.7;
    color: var(--slate-soft);
    cursor: pointer;
}
.check-row label a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.check-row.is-invalid { border-color: var(--red); }

.form-foot { margin-top: 20px; font-size: .78rem; color: var(--slate-mute); text-align: center; }
.form-foot a { color: var(--cobalt); }
.form-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------  11. Toast ------------------------------ */
.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(380px, calc(100vw - 40px));
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px -26px rgba(46, 16, 101, .55);
    pointer-events: auto;
    animation: toastIn .38s cubic-bezier(.22, 1, .36, 1) both;
}
.toast.is-leaving { animation: toastOut .3s ease forwards; }
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
}
.toast-icon .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.toast-body { flex: 1; min-width: 0; }
.toast-title {
    margin: 0 0 2px;
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--oxford);
}
.toast-msg { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--slate-soft); }
.toast-close {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #a8a29e;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.toast-close:hover { background: var(--light); color: var(--oxford); }
.toast-close .icon { width: 14px; height: 14px; }

.toast--error { border-left-color: var(--red); }
.toast--error .toast-icon { background: var(--red-soft); color: var(--red); }
.toast--info { border-left-color: var(--cobalt); }
.toast--info .toast-icon { background: #fce7f3; color: var(--cobalt); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
@keyframes toastOut {
    to { opacity: 0; transform: translateX(24px); }
}

/* -----------------------------  12. Footer ------------------------------ */
.footer {
    padding: 72px 0 26px;
    background: var(--oxford);
    color: rgba(255, 255, 255, .7);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about { font-size: .9rem; line-height: 1.8; color: rgba(255, 255, 255, .62); max-width: 34ch; }
.footer h4 {
    margin: 0 0 18px;
    font-family: var(--font-sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
}
.footer-links li + li { margin-top: 11px; }
.footer-links a {
    font-size: .89rem;
    color: rgba(255, 255, 255, .66);
    transition: color .2s ease, padding-left .2s ease;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: .88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .66);
}
.footer-contact li + li { margin-top: 12px; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--cobalt); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------------------------  13. Legal pages --------------------------- */
.legal-shell {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}
.toc {
    position: sticky;
    top: 112px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.toc h2 {
    margin: 0 0 14px;
    font-family: var(--font-sans);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--slate-mute);
}
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
    display: block;
    padding: 7px 10px;
    border-left: 2px solid transparent;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--slate-mute);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.toc a::before {
    content: counter(toc, decimal-leading-zero) "  ";
    font-size: .7rem;
    opacity: .6;
}
.toc a:hover { color: var(--oxford); background: var(--light); }
.toc a.is-active { color: var(--cobalt); border-left-color: var(--cobalt); background: var(--light); font-weight: 500; }

.prose { max-width: 74ch; }
.prose h2 {
    margin: 2.6em 0 .5em;
    padding-top: .2em;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    scroll-margin-top: 120px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .4em; }
.prose p, .prose li {
    font-size: .95rem;
    line-height: 1.9;
    color: var(--slate-soft);
}
.prose p { margin: 0 0 1.2em; }
.prose ul { margin: 0 0 1.3em; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.prose ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--cobalt);
    opacity: .6;
}
.prose a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    font-size: .8rem;
    color: var(--slate-mute);
}

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: 64px clamp(24px, 4vw, 64px);
    background: linear-gradient(140deg, var(--oxford), var(--oxford-deep) 70%);
    border-radius: var(--radius-xl);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p {
    max-width: 56ch;
    margin: 0 auto 30px;
    color: rgba(254, 243, 199, .8);
    font-size: 1rem;
}
.cta-band .btn-row { justify-content: center; }
.cta-band .pattern { opacity: .35; }

/* ---------------------------  14. Reveal anim --------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------  15. Responsive ---------------------------- */
@media (max-width: 1080px) {
    .nav-links > li > a:not(.btn), .nav-links > li > .nav-parent { padding: 10px 9px; font-size: .66rem; letter-spacing: .1em; }
    .brand { font-size: 1.1rem; }
    .split { gap: 42px; }
    .legal-shell { grid-template-columns: 230px minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 960px) {
    .section { padding: 76px 0; }
    .section--tight { padding: 54px 0; }

    /* Mobile navigation */
    .nav-toggle { display: inline-flex; }
    .nav { border-radius: 26px; }
    .nav-inner { padding: 9px 10px 9px 18px; }
    .nav-cta { display: none; }
    .brand { font-size: 1.04rem; }
    .brand .icon { width: 23px; height: 23px; }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }
    .nav.is-open .nav-links { display: flex; }
    .nav-links > li > a:not(.btn),
    .nav-links > li > .nav-parent {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: .74rem;
        letter-spacing: .14em;
    }
    .nav-links > li > a.is-active:not(.btn) { background: var(--light); }
    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        margin: 4px 0 8px;
        padding: 6px;
        border: 0;
        border-radius: 14px;
        background: var(--light);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-links > li.is-open > .dropdown,
    .nav-links > li.is-open:hover > .dropdown,
    .nav-links > li:hover > .dropdown { display: block; transform: none; }
    .nav-links > li:not(.is-open) > .dropdown { display: none; transform: none; }
    .dropdown a { padding: 10px 14px; font-size: .85rem; }
    .dropdown .drop-label { padding: 8px 14px 2px; }
    .dropdown a:hover { padding-left: 14px; background: #fff; }
    .nav-mobile-cta { display: block; margin-top: 8px; }
    .nav-mobile-cta .btn { width: 100%; }

    .split, .split--wide { grid-template-columns: 1fr; gap: 34px; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 28px; }
    .stat-strip .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat-strip .stat:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .legal-shell { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; margin-bottom: 8px; }
    .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
    .page-hero { padding-top: 140px; }
    .slides { min-height: 300px; }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .section { padding: 62px 0; }
    .hero { padding: 132px 0 74px; min-height: auto; }
    .hero-card { border-radius: 26px; }
    .page-hero { padding: 128px 0 62px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr 1fr; padding: 24px; }
    .form-grid--2 { grid-template-columns: 1fr; }
    .btn-row { gap: 12px; }
    .btn { width: 100%; }
    .btn-row .btn, .cards .btn { width: 100%; }
    .link-arrow { width: auto; }
    .card { padding: 26px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .toc ol { grid-template-columns: 1fr; }
    .slides { min-height: 340px; }
    .toast-stack { right: 12px; left: 12px; bottom: 12px; width: auto; }
    .pullquote { padding: 28px 24px 28px 52px; font-size: 1.08rem; }
    .cta-band { padding: 46px 24px; border-radius: 26px; }
    .section-head { margin-bottom: 38px; }
}

/* ---------------------------  16. Accessibility ------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--oxford);
    color: #fff;
    font-size: .8rem;
    transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* -------------------  18. Contact / newsletter layouts ------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: start;
}
.contact-grid--wide-form { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.newsletter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 28px;
    align-items: start;
}

.info-panel {
    position: relative;
    padding: clamp(26px, 3.6vw, 44px);
    background: linear-gradient(150deg, var(--cobalt), var(--cobalt-dark));
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: var(--shadow);
}
.info-panel h2, .info-panel h3 { color: #fff; }
.info-panel p { color: rgba(255, 255, 255, .85); }
.info-panel .badge-icon { background: rgba(255, 255, 255, .14); color: #fff; }

.form-panel {
    position: relative;
    z-index: 2;
    padding: clamp(24px, 3.6vw, 48px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.aside-stack { display: grid; gap: 22px; }

@media (min-width: 961px) {
    .contact-grid .info-panel { margin: 26px 0; }
}
@media (max-width: 960px) {
    .contact-grid,
    .contact-grid--wide-form,
    .newsletter-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .contact-grid .info-panel { margin: 0; }
}

/* ------------------------------  17. Print ------------------------------ */
@media print {
    .nav, .toast-stack, .slider-dots, .toc, .footer, .cta-band, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .page-hero { padding: 0 0 20px; background: #fff; color: #000; }
    .page-hero h1, .page-hero p { color: #000; }
    .section { padding: 16px 0; }
    .js .reveal { opacity: 1; transform: none; }
}
