/* Winterbourne Consulting — shared styles
   Palette and type are set once here, so every page stays consistent. */

:root {
    --ink: #0A1A2F;
    /* brand navy, headings */
    --ink-soft: #3E4F60;
    /* body text */
    --ink-mute: #64748B;
    /* captions, footer */
    --river: #11428E;
    /* deep blue rule / links */
    --river-light: #5C7EAE;
    --gold: #C9A44A;
    --gold-deep: #9E7C2B;
    /* gold that passes contrast on white */
    --paper: #F4F7FA;
    --surface: #FFFFFF;
    --line: #DCE4ED;

    --measure: 68ch;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(10, 26, 47, .04), 0 10px 30px rgba(10, 26, 47, .06);

    --step-1: clamp(1.4rem, 1.15rem + .9vw, 1.75rem);
    --step-2: clamp(1.75rem, 1.35rem + 1.5vw, 2.4rem);
    --step-3: clamp(2rem, 1.5rem + 2.2vw, 3rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--river);
    text-underline-offset: .18em;
    text-decoration-thickness: from-font;
}

a:hover {
    color: var(--ink);
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -.005em;
    margin: 0 0 .6rem;
    text-wrap: balance;
}

p {
    margin: 0 0 1.05rem;
}

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

strong,
b {
    color: var(--ink);
    font-weight: 600;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: .7rem 1.1rem;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- header / navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--ink);
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.15rem;
    letter-spacing: .01em;
    white-space: nowrap;
}

.brand img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-toggle {
    margin-left: auto;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0 0 0 auto;
    padding: 0;
}

.nav-list a {
    display: block;
    padding: .5rem .7rem;
    border-radius: 8px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .975rem;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover {
    color: var(--ink);
    background: #EEF3F8;
}

.nav-list a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: var(--gold);
    border-radius: 8px 8px 0 0;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-list {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: .6rem 0 .25rem;
        border-top: 1px solid var(--line);
    }

    .nav-list a {
        padding: .85rem .25rem;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-list a[aria-current="page"] {
        border-left: 3px solid var(--gold);
        padding-left: .7rem;
        border-bottom-color: var(--line);
    }

    .nav.is-open {
        flex-wrap: wrap;
    }

    .nav.is-open .nav-list {
        display: flex;
    }
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    text-align: center;
    padding: clamp(3rem, 6vw, 5.5rem) 1.25rem clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(ellipse 120% 90% at 50% 25%, #FFFFFF 0%, #E9F0F8 48%, #C9D9EA 100%);
    overflow: hidden;
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: min(360px, 78%);
    margin: 0 auto;
    display: block;
}

.hero-tagline {
    position: relative;
    z-index: 1;
    max-width: 44ch;
    margin: 1.6rem auto 0;
    color: #29405B;
    font-family: 'Newsreader', Georgia, serif;
    font-size: var(--step-1);
    line-height: 1.35;
}

/* the strata beneath the surface — the one flourish on the page */
.hero-strata {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(70px, 9vw, 130px);
    display: block;
}

/* ---------- page shell ---------- */

.page {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem 1rem;
}

.page-title {
    font-size: var(--step-3);
    text-align: center;
    max-width: 22ch;
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
}

.section {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section>h2 {
    font-size: var(--step-2);
    max-width: 24ch;
}

/* thin waterline under each section heading */
.waterline {
    height: 3px;
    border: 0;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(to right, var(--river) 0%, var(--river-light) 38%, rgba(201, 164, 74, .55) 78%, rgba(201, 164, 74, 0) 100%);
    border-radius: 2px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--river);
    border-radius: 4px var(--radius) var(--radius) 4px;
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3.2vw, 2.4rem) clamp(1.35rem, 3.4vw, 2.75rem);
}

.panel>*+h3,
.panel>*+h4 {
    margin-top: 2rem;
}

.panel h3,
.panel h4 {
    font-size: 1.22rem;
    color: var(--ink);
}

.lead {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem);
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.panel p,
.panel li {
    max-width: var(--measure);
}

.note {
    margin-top: 1.25rem;
}

/* lists */
.wb-list {
    list-style: none;
    margin: .35rem 0 1.15rem;
    padding: 0;
}

.wb-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .55rem;
}

.wb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.wb-list--roomy li {
    margin-bottom: .9rem;
}

.inset {
    border-left: 2px solid var(--line);
    padding-left: 1.25rem;
    margin: 1.25rem 0 1.5rem;
}

.inset>h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .01em;
    margin-bottom: .5rem;
}

.credentials p {
    margin-bottom: .9rem;
}

.text-wb-navy {
    color: var(--ink);
}

.text-wb-gold {
    color: var(--gold-deep);
}

.email-link {
    font-weight: 600;
    color: var(--gold-deep);
}

.closing {
    text-align: center;
    margin-top: 1.75rem;
}

/* ---------- footer ---------- */

.site-footer {
    margin-top: clamp(3rem, 6vw, 5rem);
    background: var(--ink);
    color: #C3CEDB;
    padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
    text-align: center;
    font-size: .93rem;
    line-height: 1.75;
}

.site-footer img {
    height: 42px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.site-footer b {
    color: #E8EEF5;
}

.site-footer a {
    color: #E8EEF5;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 164, 74, .7);
    padding-bottom: 1px;
}

.site-footer a:hover {
    color: #fff;
    border-bottom-color: var(--gold);
}

.footer-links {
    margin-top: .6rem;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

@media print {

    .site-header,
    .hero,
    .skip-link {
        display: none;
    }

    body {
        background: #fff;
    }

    .panel {
        box-shadow: none;
        break-inside: avoid;
    }
}
