/* ============================================================================
   Brand guidelines (Pages/Brand.cshtml). Ported from "Brand Guidelines.dc.html".
   Hero backdrop is "Hero Backdrop" with pattern "Radial fan", tone Blue, no bottom glow.
   Shared pieces (.hero, .section, .eyebrow, .btn, .tools-cta__panel, ...) live in site.css. Razor only, no JS:
   the design's scroll-reveal animation and Font Awesome are not ported. Every colour swatch is a class here,
   and the swatch values are the tokens in tokens.css (the page documents the same palette the site uses).
   ============================================================================ */

/* Visually hidden text for the check / cross marks in the naming table. */

/* ---- Hero ("Radial fan", tone Blue) ---- */
.brand-hero { padding: 76px 32px 60px; }
.brand-hero .hero__inner { max-width: 820px; }
.brand-hero .hero__title { font-size: 58px; line-height: 1.05; }
.brand-hero .hero__lead { max-width: 660px; font-size: 17.5px; }
.brand-hero .btn-row { margin-top: 28px; }
.brand-hero .btn--lg { padding: 14px 24px; font-size: 15px; }

.version-pill {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--r-btn);
    border: 1px solid #d5d8de;
    background: #fff;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

/* ---- Three principles under the hero ---- */
.principles { padding: 0 32px 24px; }
.principles__grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.principle {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: #fff;
    padding: 22px 22px 24px;
    box-shadow: 0 12px 28px rgba(24, 34, 51, .05);
}
.principle .icon-well { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
.principle__title { margin: 14px 0 0; font-family: var(--font-display); font-size: 15.5px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.principle__body { margin: 7px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---- Guide: sticky side nav + one long column of sections ---- */
.guide { padding: 72px 32px 96px; }
.guide__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.guide-nav { position: sticky; top: calc(var(--header-h) + 38px); min-width: 0; }
.guide-nav__label {
    margin: 0;
    padding: 0 12px 8px;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--steel);
}
.guide-nav__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.guide-nav__link {
    display: block;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}
.guide-nav__link:hover { background: var(--mist); color: var(--ink); }

.guide__body { min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.guide-section { min-width: 0; }
.guide-section__title { font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.guide-section__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.guide-section__lead + .guide-section__lead { margin-top: 14px; }
.guide-section strong, .guide-note strong, .rule-list strong, .naming-row strong { color: var(--ink); font-weight: 600; }
.guide-section__sub { margin-top: 44px; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.guide-section__blurb { margin: 12px 0 0; max-width: 74ch; font-size: 16.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.guide-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.guide-note--md { font-size: 13px; line-height: 1.6; }
.guide-kicker { margin: 22px 0 0; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink); }
.guide-kicker--blue { color: var(--blue-d); }
.guide-kicker span { color: var(--steel); font-weight: 500; }

/* ---- Brand story ---- */
.tag-row { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--blue-tint); color: var(--blue-d); font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 20px; }
.tag--red { background: #fdecec; color: #c0202f; }

/* Dark navy panel with a gold eyebrow (promise, short forms, "above all"). */
.navy-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-card);
    background: linear-gradient(150deg, #222a4a 0%, var(--navy) 55%, #121a29 100%);
    padding: 34px 36px;
    color: #fff;
}
.navy-panel--sm { border-radius: var(--r-card-sm); padding: 20px 24px; }
.navy-panel__eyebrow { margin: 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.navy-panel--sm .navy-panel__eyebrow { font-size: 11px; letter-spacing: .18em; }
.navy-panel__title { margin: 12px 0 0; font-family: var(--font-display); font-size: 30px; line-height: 1.18; font-weight: 600; color: #fff; max-width: 22ch; }
.navy-panel--sm .navy-panel__title { margin-top: 8px; font-size: 20px; line-height: 1.25; }
.navy-panel__title b, .navy-panel__title strong { color: var(--gold); font-weight: 600; }
.navy-panel__body { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: var(--dk-text); }
.navy-panel__swoops { position: absolute; right: 26px; bottom: 22px; width: 150px; opacity: .85; pointer-events: none; }
.story .navy-panel { margin-top: 26px; }

/* ---- Values ---- */
.values__grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.value-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: var(--mist);
    padding: 22px 22px 20px;
}
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ink); }
.value-card__n {
    position: absolute;
    right: 16px;
    top: 16px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 1;
    color: var(--ink);
    opacity: .28;
}
.value-card__title { font-size: 16.5px; line-height: 1.18; font-weight: 700; color: var(--ink); padding-right: 42px; }
.value-card__body { margin: 9px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.value-card--blue { border-color: #cde9f6; background: #eaf6fc; }
.value-card--blue::before { background: var(--blue); }
.value-card--blue .value-card__n, .value-card--blue .value-card__title { color: var(--blue-d); }
.value-card--blue .value-card__n { opacity: .32; }
.value-card--green { border-color: #d5ecc6; background: #eef8e9; }
.value-card--green::before { background: var(--green); }
.value-card--green .value-card__n, .value-card--green .value-card__title { color: var(--green-d); }
.value-card--green .value-card__n { opacity: .32; }
.value-card--gold { border-color: #f6e2bf; background: #fdf4e6; }
.value-card--gold::before { background: var(--gold); }
.value-card--gold .value-card__n, .value-card--gold .value-card__title { color: var(--gold-d); }
.value-card--gold .value-card__n { opacity: .32; }
.value-card--promise {
    border: 0;
    background: linear-gradient(150deg, #222a4a 0%, var(--navy) 60%, #121a29 100%);
    box-shadow: 0 12px 26px rgba(24, 34, 51, .28);
}
.value-card--promise::before { display: none; }
.value-card--promise .navy-panel__eyebrow { font-size: 11px; }
.value-card--promise .value-card__title { margin-top: 8px; font-size: 18px; line-height: 1.2; color: #fff; padding-right: 0; }
.value-card--promise .value-card__body { color: var(--dk-text); max-width: 24ch; }
.value-card--promise .navy-panel__swoops { right: 14px; bottom: 12px; width: 86px; opacity: .9; }

/* ---- Voice & tone ---- */
.traits__grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trait {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: var(--mist);
    padding: 20px 18px 18px;
}
.trait::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ink); }
.trait--blue::before { background: var(--blue); }
.trait--green::before { background: var(--green); }
.trait--gold::before { background: var(--gold); }
.trait__title { font-size: 16px; font-weight: 600; color: var(--ink); }
.trait__body { margin: 7px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.say-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.say { min-width: 0; border: 1px solid #cfe9bf; border-radius: var(--r-card-sm); background: #eef8e9; padding: 22px 24px; }
.say--avoid { border-color: #f7dcc0; background: #fdf1e6; }
.say__title { margin: 0; display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green-d); }
.say--avoid .say__title { color: #c0701a; }
.say__mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.say--avoid .say__mark { background: var(--gold); font-size: 12px; }
.say__list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.say__list li { font-size: 13.5px; line-height: 1.5; color: #3a3b41; }

/* ---- Naming ---- */
.naming__grid { margin-top: 22px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; }
.naming-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 12px 28px rgba(24, 34, 51, .05);
}
.naming-card__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.naming-list { margin: 8px 0 0; padding: 0; list-style: none; }
.naming-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.naming-row:last-child { border-bottom: 0; }
.naming-row__mark {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.naming-row--no .naming-row__mark { background: #da2c3a; }
.naming-row__note { color: var(--steel); font-size: 13.5px; }
.naming__side { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.mist-panel { border: 1px solid var(--line); border-radius: var(--r-card-sm); background: var(--mist); padding: 20px 24px; }
.mist-panel__eyebrow { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--blue-d); }
.mist-panel__title { margin: 8px 0 0; font-family: var(--font-display); font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.mist-panel__body { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ---- The logo ---- */
.logo-stage {
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--mist);
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-stage img { width: min(520px, 100%); height: auto; }
.logo-meta { margin: 12px 0 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--steel); }
.logo-meta span { display: block; }

.clearspace { margin-top: 16px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.clearspace__stage {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: var(--mist);
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clearspace__box { position: relative; background: #e4e8ec; border-radius: 4px; padding: 30px; max-width: 100%; }
.clearspace__a { position: absolute; height: 30px; display: flex; align-items: center; }
.clearspace__a img { height: 30px; width: auto; }
.clearspace__a--top { top: 0; left: 50%; transform: translateX(-50%); }
.clearspace__a--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.clearspace__a--left { left: 0; top: 50%; transform: translateY(-50%); }
.clearspace__a--right { right: 0; top: 50%; transform: translateY(-50%); }
.clearspace__logo { background: #fff; border: 1.5px dashed var(--blue); display: flex; align-items: center; justify-content: center; }
.clearspace__logo img { width: min(300px, 100%); height: auto; }

/* Bulleted rules with a small coloured square. */
.rule-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rule-list li { position: relative; padding-left: 23px; font-size: 14.5px; line-height: 1.55; color: #33343a; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 3px; background: var(--green); }
.rule-list--blue li::before { background: var(--blue); }

.swoops-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.swoops-tile {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: var(--mist);
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.swoops-tile img { width: 200px; height: auto; }
.swoops-tile__caption { margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.swoops-tile--dark { border: 0; background: var(--navy); }
.swoops-tile--dark .swoops-tile__caption { color: #a9c6dd; }
.lockups { display: flex; gap: 20px; align-items: center; }
.lockup { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lockup img { width: 48px; height: auto; }
.lockup--white { background: #fff; box-shadow: 0 6px 16px rgba(20, 30, 45, .24); }
.lockup--navy { border-radius: 18px; background: var(--navy); border: 1px solid #2c3a4d; }
.lockup--tint { background: var(--blue-tint); box-shadow: 0 6px 16px rgba(20, 30, 45, .24); }

.bg-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bg-tile {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: #fff;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.bg-tile img { width: 74%; height: auto; }
.bg-tile__label { position: absolute; left: 16px; top: 14px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.bg-tile--navy { background: var(--navy); border-color: var(--navy); }
.bg-tile--navy .bg-tile__label { color: #a9c6dd; }
.bg-tile--tint { background: var(--blue-tint); }

.misuse-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.misuse { min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.misuse__stage { flex: 1; min-height: 126px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 18px; }
.misuse__stage img { width: 74%; height: auto; }
.misuse__caption { margin: 0; background: #fdf1e6; padding: 9px 14px; font-size: 12px; color: #a85e14; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.misuse__x { color: var(--gold); font-weight: 800; }
.misuse--rotate img { transform: rotate(-12deg); }
.misuse--stretch img { width: 52%; transform: scaleX(1.5); }
.misuse--clash .misuse__stage { background: var(--gold); }
.misuse--recolour img { filter: grayscale(1); }
.misuse--shadow img { filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, .5)); }
.misuse--busy .misuse__stage { background: linear-gradient(120deg, #555, #aaa); }

.cobrand { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cobrand__demos { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cobrand__rules { flex: 1 1 280px; min-width: 0; }
.cobrand-demo {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-card-sm);
    background: var(--mist);
    padding: 30px 28px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: nowrap;
    overflow: hidden;
}
.cobrand-demo__label { position: absolute; left: 18px; top: 11px; margin: 0; font-size: 10.5px; letter-spacing: .05em; font-weight: 600; text-transform: uppercase; color: var(--steel); }
.cobrand-demo__logo { flex: none; width: 178px; height: auto; }
.cobrand-demo__rule { flex: none; width: 1.5px; height: 76px; background: #a6adb6; }
.cobrand-demo__x { flex: none; width: 58px; height: 58px; stroke: #a6adb6; stroke-width: 1.5; fill: none; stroke-linecap: round; }
.cobrand-demo__partner {
    flex: none;
    width: 168px;
    height: 76px;
    border: 1.5px dashed var(--steel);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    padding: 8px;
    line-height: 1.3;
}

/* ---- Colour ---- */
.colour-cards { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.colour-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-card-sm); overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(20, 30, 45, .07); }
.colour-card__swatch { position: relative; height: 150px; }
.colour-card__role {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
}
.colour-card__body { padding: 15px 18px 19px; }
.colour-card__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.colour-card--blue .colour-card__name { color: var(--blue-d); }
.colour-card--green .colour-card__name { color: var(--green-d); }
.colour-card--gold .colour-card__name { color: var(--gold-d); }
.colour-card__values { margin: 9px 0 0; font-size: 12px; color: var(--muted); line-height: 1.8; font-variant-numeric: tabular-nums; }
.colour-card__values div { display: flex; gap: 6px; }
.colour-card__values dt { flex: none; color: #33343a; font-weight: 600; }
.colour-card__values dd { margin: 0; }

.a11y-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.a11y {
    min-width: 0;
    border-radius: 12px;
    padding: 18px;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
}
.a11y--blue { background: var(--blue); }
.a11y--green { background: var(--green); }
.a11y--gold { background: var(--gold); }
.a11y--white-on-blue { background: var(--blue); color: #fff; }
.a11y__title { font-size: 15px; font-weight: 600; }
.a11y__contrast { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a11y__badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10.5px; font-weight: 700; background: var(--ink); color: #fff; }
.a11y__badge--avoid { background: #fff; color: #c0701a; }

/* Horizontal strips of swatches (neutrals, core shades, extended palette). */
.swatch-strip { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.swatch-strip--neutrals { margin-top: 16px; }
.swatch { flex: 1; min-width: 0; overflow: hidden; height: 84px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; gap: 2px; }
.swatch__name { font-size: 12.5px; font-weight: 600; }
.swatch__hex { font-size: 10.5px; opacity: .75; font-variant-numeric: tabular-nums; }
.shade-list { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.shade-group { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-card-sm); padding: 16px 18px; }
.shade-group--lg { padding: 22px 24px; }
.shade-group__role { margin: 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-family: var(--font-display); color: var(--ink); }
.shade-group--lg .shade-group__role { font-size: 11.5px; letter-spacing: .16em; }
.shade-group__role--blue { color: #145f80; }
.shade-group__role--green { color: #396222; }
.shade-group__role--gold { color: #7a4e0c; }
.shade-group__role--violet { color: #5a3fc0; }
.shade-group__role--red { color: #c21f2c; }
.shade-group__name { margin: 2px 0 11px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.shade-group--lg .shade-group__name { margin: 4px 0 3px; font-size: 22px; }
.shade-group__blurb { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.shade-group--lg .swatch-strip { margin-top: 14px; border-radius: 11px; }
.shade-group .swatch-strip { border-radius: 10px; }
.shade-group .swatch { height: 58px; padding: 6px 8px; gap: 0; }
.shade-group .swatch__name { font-size: 10.5px; font-weight: 700; }
.shade-group .swatch__hex { font-size: 9.5px; opacity: .82; }
.shade-group--lg .swatch { height: 88px; padding: 9px 11px; }
.shade-group--lg .swatch__name { font-weight: 600; }
.shade-group--lg .swatch__hex { opacity: .72; }

/* Swatch colours: one class per colour; the site's own tokens where one exists. */
.sw-blue-tint { background: var(--blue-tint); color: #145f80; }
.sw-blue-soft { background: #7fcbea; color: var(--ink); }
.sw-blue-base { background: var(--blue); color: var(--ink); }
.sw-blue-deep { background: var(--blue-d); color: #fff; }
.sw-blue-text { background: #145f80; color: #fff; }
.sw-green-tint { background: #eef8e9; color: #396222; }
.sw-green-soft { background: #a9d98a; color: var(--ink); }
.sw-green-base { background: var(--green); color: var(--ink); }
.sw-green-deep { background: var(--green-d); color: #fff; }
.sw-green-text { background: #396222; color: #fff; }
.sw-gold-tint { background: #fdf4e6; color: #7a4e0c; }
.sw-gold-soft { background: #fcd08a; color: var(--ink); }
.sw-gold-base { background: var(--gold); color: var(--ink); }
.sw-gold-deep { background: var(--gold-d); color: var(--ink); }
.sw-gold-text { background: #7a4e0c; color: #fff; }
.sw-violet-tint { background: #efeafc; color: #4e36ae; }
.sw-violet-soft { background: #a98fee; color: #2a1c66; }
.sw-violet-base { background: var(--purple); color: #fff; }
.sw-violet-deep { background: #5a3fc0; color: #fff; }
.sw-violet-text { background: #4e36ae; color: #fff; }
.sw-red-tint { background: #fdecec; color: #b01722; }
.sw-red-soft { background: #ef8f95; color: #5a0d13; }
.sw-red-base { background: #da2c3a; color: #fff; }
.sw-red-deep { background: #c21f2c; color: #fff; }
.sw-red-text { background: #b01722; color: #fff; }
.sw-ink, .sw-ink-base { background: var(--ink); color: #fff; }
.sw-slate { background: var(--muted); color: #fff; }
.sw-steel { background: var(--steel); color: #fff; }
.sw-cloud { background: #cfd2d8; color: var(--ink); }
.sw-line { background: var(--line); color: var(--ink); }
.sw-mist { background: var(--mist); color: var(--ink); }
.sw-mist-blue { background: var(--blue-tint); color: var(--ink); }

/* ---- Type system ---- */
.type-grid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 44px; align-items: start; }
.type-specimens { min-width: 0; }
.type-specimen { padding-top: 22px; }
.type-specimen--first { padding-top: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.type-specimen__face { font-size: 34px; font-weight: 700; line-height: 1; color: var(--ink); }
.type-specimen__face--display { font-family: var(--font-display); }
.type-specimen__use { margin: 8px 0 6px; font-size: 12.5px; color: var(--blue-d); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.type-specimen__glyphs { font-size: 24px; letter-spacing: .02em; color: #33343a; }
.type-specimen--first .type-specimen__glyphs { font-family: var(--font-display); }
.type-specimens .guide-note { margin-top: 20px; font-size: 12.5px; line-height: 1.6; }
.type-specimens .guide-note + .guide-note { margin-top: 10px; }
.type-scale { min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.type-scale li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.type-scale__spec { flex: none; width: 120px; font-size: 11px; color: var(--steel); font-weight: 500; letter-spacing: .03em; }
.type-scale__sample { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.type-scale__sample--display { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.type-scale__sample--h1 { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.type-scale__sample--h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.type-scale__sample--h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.type-scale__sample--body { font-size: 16px; }
.type-scale__sample--eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---- Iconography ---- */
.icon-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.icon-grid--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-tile {
    min-width: 0;
    height: 100px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--blue);
}
.icon-grid--feature .icon-tile { height: 116px; font-size: 38px; --duo-secondary: var(--blue); --duo-opacity: .35; }
.icon-notes { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.icon-notes h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.icon-notes p { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---- Imagery & graphics ---- */
.imagery-head { margin-top: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.imagery-head--later { margin-top: 30px; }
.imagery-head .guide-kicker { margin: 0; }
.imagery-head__tags { font-size: 12px; color: var(--steel); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.photo-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-grid img { min-width: 0; width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.pattern-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pattern-tile { position: relative; overflow: hidden; min-width: 0; height: 150px; border: 1px solid var(--line); border-radius: 12px; }
.pattern-tile__glow { position: absolute; inset: 0; }
.pattern-tile > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pattern-tile__label {
    position: absolute;
    left: 11px;
    bottom: 10px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(255, 255, 255, .78);
    padding: 3px 9px;
    border-radius: 20px;
}
/* Tone glows from the design's "Hero Backdrop", without the bottom glow. */
.pattern-tile--blue .pattern-tile__glow {
    background:
        radial-gradient(62% 78% at 50% 6%, rgba(39, 165, 221, .30) 0%, rgba(39, 165, 221, .14) 42%, rgba(39, 165, 221, 0) 74%),
        linear-gradient(180deg, rgba(39, 165, 221, .10) 0%, rgba(39, 165, 221, 0) 68%);
}
.pattern-tile--blue > svg { color: var(--blue); }
.pattern-tile--light .pattern-tile__glow {
    background:
        radial-gradient(62% 78% at 50% 6%, rgba(122, 92, 224, .30) 0%, rgba(122, 92, 224, .14) 42%, rgba(122, 92, 224, 0) 74%),
        radial-gradient(70% 58% at 50% 100%, rgba(122, 92, 224, .22) 0%, rgba(122, 92, 224, .11) 46%, rgba(122, 92, 224, 0) 80%),
        linear-gradient(180deg, rgba(122, 92, 224, .10) 0%, rgba(122, 92, 224, 0) 68%);
}
.pattern-tile--light > svg { color: var(--purple); }
.pattern-tile--green .pattern-tile__glow {
    background:
        radial-gradient(62% 78% at 50% 6%, rgba(112, 190, 68, .30) 0%, rgba(112, 190, 68, .14) 42%, rgba(112, 190, 68, 0) 74%),
        linear-gradient(180deg, rgba(112, 190, 68, .10) 0%, rgba(112, 190, 68, 0) 68%);
}
.pattern-tile--green > svg { color: var(--green); }

.swoops-device { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.swoops-device__copy { min-width: 0; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.swoops-device__stage { min-width: 0; background: var(--navy); border-radius: 12px; height: 82px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.swoops-device__stage img { width: 160px; height: auto; }

/* ---- Closing call-out: the purple panel itself (.tools-cta__panel) is shared and lives in site.css. ---- */
.brand-cta.tools-cta__panel { padding: 30px 32px; }
.brand-cta .tools-cta__copy { min-width: 240px; }
.brand-cta .tools-cta__title { font-size: 22px; }
.brand-cta .btn--lg { padding: 14px 24px; font-size: 15px; }

/* ---- Responsive ---- */
@media (max-width: 959px) {
    .brand-hero { padding: 60px 24px 48px; }
    .brand-hero .hero__title { font-size: 44px; }
    .principles { padding: 0 24px 16px; }
    .principles__grid { grid-template-columns: 1fr; }
    .guide { padding: 48px 24px 72px; }
    .guide__inner { grid-template-columns: 1fr; gap: 36px; }
    .guide-nav { position: static; }
    .guide-nav__list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .guide-nav__link { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
    .guide__body { gap: 56px; }
    .traits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .naming__grid { grid-template-columns: 1fr; }
    .clearspace { grid-template-columns: 1fr; gap: 24px; }
    .clearspace__stage { padding: 24px; }
    .bg-grid, .misuse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cobrand { gap: 24px; }
    .cobrand__demos { flex-basis: 100%; }
    .cobrand-demo { flex-wrap: wrap; gap: 18px; padding-top: 38px; }
    .colour-cards, .a11y-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .type-grid { grid-template-columns: 1fr; gap: 32px; }
    .icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .icon-notes { grid-template-columns: 1fr; gap: 16px; }
    .pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .swoops-device { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 559px) {
    .brand-hero { padding: 48px 20px 40px; }
    .brand-hero .hero__title { font-size: 34px; }
    .principles { padding: 0 20px 12px; }
    .guide { padding: 40px 20px 56px; }
    .navy-panel { padding: 26px 22px; }
    .navy-panel__title { font-size: 24px; }
    .navy-panel__swoops { width: 110px; right: 14px; bottom: 12px; opacity: .5; }
    .values__grid, .traits__grid, .say-grid, .swoops-grid, .bg-grid, .misuse-grid, .colour-cards, .a11y-grid, .pattern-grid, .photo-grid { grid-template-columns: 1fr; }
    .logo-stage { padding: 40px 20px; }
    .clearspace__box { padding: 22px; }
    .clearspace__a img { height: 22px; }
    .clearspace__a { height: 22px; }
    .cobrand-demo__logo { width: 150px; }
    .cobrand-demo__partner { width: 100%; }
    .swatch { padding: 10px 8px; }
    .swatch__name { font-size: 11px; }
    .swatch__hex { font-size: 9.5px; }
    .shade-group .swatch__hex { font-size: 8.5px; }
    .type-scale__spec { width: 96px; }
    .type-scale__sample--display { font-size: 24px; }
    .type-scale__sample--h1 { font-size: 22px; }
    .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .icon-grid--feature { grid-template-columns: 1fr; }
    .brand-cta.tools-cta__panel { padding: 24px 20px; }
    .brand-cta .btn-row { width: 100%; }
}
