/* Chawinnix redesign: deep sea, foam white and aqua, with a coral signal.
   Hand-written, like Kerwin & Vance's, but its own language: a contour map, a schedule of services,
   a route of hollow nodes taken from the logo. */

:root {
    --ink: #06303f;
    --ink-2: #0a3e51;
    --ink-3: #0f5068;
    --bone: #effbfc;
    --bone-2: rgba(239, 251, 252, .8);
    --bone-3: rgba(239, 251, 252, .58);
    --paper: #f1f9fb;
    --paper-2: #dcf0f5;
    --text: #0a2c3a;
    --muted: #42626f;
    --rule-d: rgba(239, 251, 252, .2);
    --rule-l: rgba(10, 44, 58, .16);
    --patina: #66dcec;
    --patina-deep: #076b80;
    --copper: #ffb59a;
    --copper-deep: #c8553d;
    --signal: #ff5a4f;

    --serif: 'Trirong', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
    --sans: 'Manrope', 'Noto Sans Thai', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --mono: 'JetBrains Mono', Consolas, Menlo, monospace;

    --gutter: clamp(20px, 4vw, 48px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    html.smooth-scroll { scroll-behavior: smooth; }
}
html { scroll-padding-top: 96px; }

body.cx {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.cx ::selection { background: rgba(143, 193, 176, .32); }

.cx-wrap { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
.cx-nowrap { white-space: nowrap; }
/* App\Support\NoWrap keeps codes and phone numbers whole in messages (Kintury 57bc2e0, Bootstrap's class name);
   Tailwind's text-nowrap is text-wrap: nowrap, which Safari before 17.4 ignores, so here it is white-space. */
.text-nowrap { white-space: nowrap; }
.cx-mono { font-family: var(--mono); }
.cx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bone); color: var(--ink); padding: 8px 16px; }
.cx-skip:focus { left: 8px; }
.cx :focus-visible { outline: 2px solid var(--patina); outline-offset: 3px; }
.cx-sec--paper :focus-visible, .cx-sec--paper2 :focus-visible { outline-color: var(--patina-deep); }

/* Type */
.cx-display {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 8.6vw, 2.5rem);
    line-height: 1.32;
    color: var(--bone);
}
.cx-display > span { display: block; }
:lang(en) .cx-display, .cx-display:lang(en) { font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1.2; letter-spacing: -.01em; }
:lang(zh) .cx-display, .cx-display:lang(zh) { line-height: 1.3; letter-spacing: .02em; }

.cx-h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.34;
}
:lang(en) .cx-h2 { line-height: 1.2; letter-spacing: -.005em; }
.cx-h2--wide { max-width: 20em; }

.cx-label {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--patina);
}
.cx-label::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.cx-sec--paper .cx-label, .cx-sec--paper2 .cx-label { color: var(--patina-deep); }

.cx-lead { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.8; color: var(--bone-2); max-width: 40em; }
.cx-sec--paper .cx-lead, .cx-sec--paper2 .cx-lead { color: var(--muted); }

.cx-arrow { flex: none; transition: transform .3s var(--ease); }
a:hover > .cx-arrow, a:hover .cx-arrow, button:hover > .cx-arrow { transform: translateX(4px); }

/* Buttons */
.cx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}
.cx-btn--bone { background: var(--bone); color: var(--ink); }
.cx-btn--bone:hover { background: var(--patina); }
.cx-btn--line { border-color: var(--rule-d); color: var(--bone); }
.cx-btn--line:hover { border-color: var(--bone); }

.cx-link, .cx-more a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.cx-link:hover, .cx-more a:hover { color: var(--patina-deep); }
.cx-more a:hover { color: var(--patina); }
.cx-inline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* The language bar under the header (partials/language-bar, owner 16 Nov 2026): in the page, never over it. The link
   flows on from the sentence and its place to tap reaches 44 px around it; the close button is 44 px square. */
[data-language-bar] { background: var(--paper-2); color: var(--text); border-bottom: 1px solid var(--rule-l); font-size: .875rem; line-height: 1.6; }
[data-language-bar] > .cx-wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; }
[data-language-bar] svg { flex: none; color: var(--patina-deep); }
[data-language-bar] p { flex: 1 1 auto; min-width: 0; margin: 0; padding-block: 10px; }
[data-language-bar] a { position: relative; margin-left: 4px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
[data-language-bar] a::before { content: ''; position: absolute; inset: -12px -8px; }
[data-language-bar] a:hover { color: var(--patina-deep); }
[data-language-bar] button { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -12px; color: var(--muted); font-size: 1.25rem; line-height: 1; }
[data-language-bar] :focus-visible { outline-color: var(--patina-deep); }

/* Header */
.cx-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 16, .94); border-bottom: 1px solid var(--rule-d); backdrop-filter: blur(10px); }
.cx-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.cx-logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--bone); }
.cx-symbol { width: 34px; height: 36px; flex: none; }
.cx-logo img { height: 15px; width: auto; }
.cx-nav { display: none; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: .96875rem; }
.cx-nav a { position: relative; padding: 8px 0; color: var(--bone-2); white-space: nowrap; transition: color .2s; }
.cx-nav a:hover { color: var(--bone); }
.cx-header__side { display: flex; align-items: center; gap: 18px; flex: none; }
.cx-lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: .75rem; }
.cx-lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 7px; color: var(--bone-3); transition: color .2s; }
.cx-lang a:hover { color: var(--bone); }
.cx-lang a[aria-current] { color: var(--patina); }
.cx-header__cta { display: none; min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.cx-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule-d); color: var(--bone); }
.cx-mobile { border-top: 1px solid var(--rule-d); padding-block: 12px 22px; max-height: calc(100dvh - 77px); overflow-y: auto; }
.cx-mobile__link { display: block; padding: 13px 0; border-bottom: 1px solid var(--rule-d); font-size: 1.0625rem; }
.cx-mobile__actions { display: grid; gap: 10px; margin-top: 18px; }
.cx-mobile__more { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 12px; }
.cx-mobile__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--bone-2); }
.cx-mobile__more[data-menu-lang] { align-items: center; gap: 4px 20px; margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--rule-l); }
.cx-mobile__more[data-menu-lang] svg { flex: none; color: var(--muted); }
.cx-mobile__more[data-menu-lang] a[aria-current] { color: var(--patina-deep); font-weight: 600; }
.cx-header__phone { display: none; font-family: var(--mono); font-size: .875rem; color: var(--bone-2); padding: 12px 0; }
.cx-header__phone:hover { color: var(--bone); }
/* A phone keeps the three language buttons in the header row beside the menu button, on the first screen, so a Thai
   visitor whose phone is set to English finds Thai without opening the menu (owner 16 Nov 2026). The logo gives way:
   208 px from about 400 px up, about 135 px on a 320 px screen. */
@media (max-width: 479px) {
    .cx-header__row { gap: 10px; }
    .cx-header__side { gap: 4px; }
    .cx-header .cx-lang a { padding-inline: 5px; }
    .cx-header .cx-logo img { width: 208px; max-width: 100%; min-width: 0; }
}
@media (min-width: 1100px) {
    .cx-nav, .cx-header__cta { display: flex; display: inline-flex; }
    .cx-burger, .cx-mobile { display: none !important; }
    .cx-logo img { height: 16px; }
}

/* Hero */
.cx-hero { position: relative; z-index: 1; background: radial-gradient(70% 60% at 50% 44%, #16231f 0%, var(--ink) 72%); }
.cx-hero__stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 578px; padding-block: 56px; }
.cx-hero__art {
    position: absolute; left: 50%; top: 50%;
    width: max(1800px, 100vw); max-width: none; height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cx-hero__copy { position: relative; text-align: center; max-width: 1000px; }
.cx-display .cx-hero__eyebrow { margin: 0 0 16px; font-family: var(--sans); font-size: .9375rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; color: var(--patina); }
.cx-hero__lead { margin: 22px auto 0; max-width: 44em; font-size: 1.1rem; line-height: 1.8; color: var(--bone-2); }
.cx-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* At these widths the map cannot frame the text, so it keeps to the top and bottom edges. */
@media (max-width: 1099px) {
    .cx-hero__stage { min-height: 0; padding-block: 92px 84px; }
    .cx-hero__art {
        -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78px, transparent calc(100% - 64px), #000 100%);
        mask-image: linear-gradient(180deg, #000 0, transparent 78px, transparent calc(100% - 64px), #000 100%);
        top: 0; height: 100%; transform: translateX(-50%); object-fit: cover;
    }
}

/* The three answers */
.cx-brief {
    position: relative; z-index: 2;
    display: grid; margin: 0 0 -64px;
    background: var(--paper); color: var(--text);
}
.cx-brief > div { padding: 26px 30px 28px; border-top: 1px solid var(--rule-l); }
.cx-brief > div:first-child { border-top: 0; }
.cx-brief dt { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--text); }
.cx-brief dt .cx-mono { display: block; margin-bottom: 8px; font-size: .75rem; letter-spacing: .08em; color: var(--patina-deep); }
.cx-brief dd { margin: 8px 0 0; font-size: .96875rem; line-height: 1.72; color: var(--muted); }
@media (min-width: 900px) {
    .cx-brief { grid-template-columns: repeat(3, 1fr); }
    .cx-brief > div { border-top: 0; border-left: 1px solid var(--rule-l); }
    .cx-brief > div:first-child { border-left: 0; }
}

/* Sections */
.cx-sec { padding-block: clamp(72px, 9vw, 128px); }
.cx-sec--paper { background: var(--paper); color: var(--text); }
.cx-sec--paper2 { background: var(--paper-2); color: var(--text); }
.cx-sec--after-brief { padding-top: calc(clamp(72px, 9vw, 128px) + 64px); }
.cx-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 52em; }
.cx-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

.cx-split { display: grid; gap: 40px; }
@media (min-width: 1000px) {
    .cx-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
    .cx-split__head { position: sticky; top: 124px; }
}

/* Situations */
.cx-situations { border-top: 1px solid var(--rule-l); }
.cx-situations li { border-bottom: 1px solid var(--rule-l); }
.cx-situations a { display: grid; gap: 6px; padding: 22px 0; transition: padding .3s var(--ease); }
.cx-situations__text { font-family: var(--serif); font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.5; }
.cx-situations__to { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--patina-deep); }
.cx-situations a:hover { padding-left: 10px; }

/* The schedule of services */
.cx-ledger { border-top: 1px solid var(--bone-3); }
.cx-ledger__head { display: none; }
.cx-ledger li { border-bottom: 1px solid var(--rule-d); }
.cx-ledger a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 24px 0; transition: background-color .25s; }
.cx-ledger__code { font-family: var(--mono); font-size: .8125rem; padding-top: 7px; color: var(--patina); }
.cx-ledger__name strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.45; }
.cx-ledger__name span { display: block; margin-top: 4px; font-size: .96875rem; line-height: 1.65; color: var(--bone-2); }
.cx-ledger__out { grid-column: 2; margin-top: 8px; font-size: .9375rem; line-height: 1.65; color: var(--bone-2); }
.cx-ledger__fn { grid-column: 2; margin-top: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--patina); }
.cx-ledger a > .cx-arrow { display: none; }
@media (min-width: 1000px) {
    .cx-ledger__head, .cx-ledger a { grid-template-columns: 60px minmax(0, 5fr) minmax(0, 4fr) 168px 24px; gap: 24px; align-items: start; }
    .cx-ledger__head { display: grid; padding: 12px 0; border-bottom: 1px solid var(--rule-d); font-size: .8125rem; color: var(--bone-3); }
    .cx-ledger a { padding: 30px 0; }
    .cx-ledger a:hover { background: rgba(236, 231, 218, .035); }
    .cx-ledger__out, .cx-ledger__fn { grid-column: auto; margin-top: 7px; }
    .cx-ledger a > .cx-arrow { display: block; margin-top: 14px; color: var(--patina); }
}

.cx-beyond { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); background: var(--ink-2); border: 1px solid var(--rule-d); }
.cx-beyond__text { margin: 0; font-size: 1.0625rem; color: var(--bone-2); max-width: 30em; }
.cx-beyond ul { display: grid; gap: 2px 28px; }
.cx-beyond li a { display: block; padding: 7px 0; font-size: .96875rem; text-decoration: underline; text-decoration-color: var(--rule-d); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.cx-beyond li a:hover { text-decoration-color: var(--patina); }
@media (min-width: 900px) {
    .cx-beyond { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
    .cx-beyond ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The route of four steps: hollow nodes taken from the logo */
.cx-route { position: relative; display: grid; gap: 30px; padding-left: 30px; }
.cx-route::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--rule-l); }
.cx-route li { position: relative; }
.cx-route__node { position: absolute; left: -30px; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--patina-deep); background: var(--paper); }
.cx-route li:last-child .cx-route__node { background: var(--patina-deep); }
.cx-route h3 { margin: 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.45; }
.cx-route p { margin: 8px 0 0; font-size: .96875rem; line-height: 1.72; color: var(--muted); }
@media (min-width: 900px) {
    .cx-route { grid-template-columns: repeat(4, 1fr); gap: 36px; padding-left: 0; padding-top: 34px; }
    .cx-route::before { left: 6px; right: 25%; top: 6px; bottom: auto; width: auto; height: 1px; }
    .cx-route__node { left: 0; top: -34px; }
}

.cx-frameworks { display: grid; gap: 14px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--rule-l); }
.cx-frameworks h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.cx-frameworks ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-frameworks li { padding: 6px 14px; border: 1px solid var(--rule-l); font-family: var(--mono); font-size: .8125rem; }
.cx-frameworks p { margin: 0; font-size: .875rem; color: var(--muted); }
@media (min-width: 1000px) {
    .cx-frameworks { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 28px; align-items: center; }
}

/* Evidence */
.cx-proof-top { max-width: 52em; margin-bottom: clamp(40px, 5vw, 64px); }
.cx-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-d); border-bottom: 1px solid var(--rule-d); }
.cx-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 20px 14px; border-left: 1px solid var(--rule-d); }
.cx-stats > div:first-child { border-left: 0; padding-left: 0; }
.cx-stats dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 4.4vw, 3.75rem); line-height: 1.1; color: var(--bone); }
.cx-stats dt { font-size: .84375rem; line-height: 1.5; color: var(--bone-2); }

.cx-works { display: grid; gap: 28px 24px; }
.cx-works a { display: block; }
.cx-works img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--rule-d); filter: saturate(.82) brightness(.92); transition: filter .35s; }
.cx-works a:hover img { filter: none; }
.cx-works__name { display: block; margin-top: 14px; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.3; }
.cx-works__sector { display: block; margin-top: 3px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--patina); }
@media (min-width: 640px) { .cx-works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cx-works { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cx-more { margin: 34px 0 0; }

/* Notes */
.cx-notes { display: grid; border-top: 1px solid var(--rule-l); }
.cx-notes li { border-bottom: 1px solid var(--rule-l); }
.cx-notes a { display: block; padding: 22px 0 24px; }
.cx-notes__meta { display: block; font-family: var(--mono); font-size: .75rem; color: var(--patina-deep); }
.cx-notes__title { display: block; margin-top: 8px; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.55; transition: color .2s; }
.cx-notes a:hover .cx-notes__title { color: var(--patina-deep); }
@media (min-width: 800px) {
    .cx-notes { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}
@media (min-width: 1100px) {
    .cx-notes { grid-template-columns: repeat(3, 1fr); }
}

/* The firm's record */
.cx-record { border-top: 1px solid var(--rule-l); margin: 0; }
.cx-record > div { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--rule-l); }
.cx-record dt { font-size: .875rem; color: var(--muted); }
.cx-record dd { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
@media (min-width: 640px) { .cx-record > div { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; } }

/* Consultation */
.cx-consult { position: relative; overflow: hidden; }
.cx-consult__grid { display: grid; gap: 48px; }
.cx-urgent { margin-top: 34px; padding: 22px 24px; border-left: 2px solid var(--copper); background: var(--ink-2); }
.cx-urgent p { margin: 0; font-size: .96875rem; color: var(--bone-2); }
.cx-urgent .cx-urgent__title { font-family: var(--serif); font-size: 1.25rem; color: var(--bone); margin-bottom: 4px; }
.cx-urgent__phone { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 1.25rem; color: var(--copper); }
.cx-channels { margin-top: 22px; display: grid; gap: 4px; }
.cx-channels a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--bone-2); }
.cx-channels a:hover { color: var(--bone); }
.cx-form-wrap { scroll-margin-top: 110px; }
.cx-form-title { margin: 0 0 22px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.cx-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 28px; }
.cx-form > * { min-width: 0; }
.cx-form .cx-btn { max-width: 100%; white-space: normal; }
.cx-field { min-width: 0; }
.cx-field label { display: block; margin-bottom: 4px; font-size: .9375rem; font-weight: 600; color: var(--bone); }
.cx-field label span { color: var(--copper); }
.cx-field input, .cx-field select, .cx-field textarea {
    width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--bone-3); border-radius: 0;
    background: transparent; color: var(--bone); font: inherit; font-size: 1rem; line-height: 1.6;
    transition: border-color .2s;
}
.cx-field select option { color: #111; }
.cx-field input::placeholder, .cx-field textarea::placeholder { color: var(--bone-3); opacity: 1; }
.cx-field input:focus, .cx-field select:focus, .cx-field textarea:focus { outline: 0; box-shadow: none; border-bottom-color: var(--patina); }
.cx-field .is-invalid { border-bottom-color: var(--copper); }
.cx-error { margin: 6px 0 0; font-size: .875rem; color: var(--copper); }
.cx-form__end { display: grid; gap: 16px; justify-items: start; }
.cx-form__note { margin: 0; font-size: .8125rem; line-height: 1.65; color: var(--bone-3); }
.cx-note { margin: 0 0 20px; padding: 14px 18px; font-size: .9375rem; line-height: 1.65; }
.cx-note p { margin: 0; }
.cx-note--ok { border-left: 2px solid var(--patina); background: var(--ink-2); }
.cx-note--warn, .cx-note--bad { border-left: 2px solid var(--copper); background: var(--ink-2); }
@media (min-width: 640px) { .cx-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-field--full { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cx-consult__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }

/* Footer */
.cx-footer { background: #070c0b; border-top: 1px solid var(--rule-d); font-size: .9375rem; color: var(--bone-2); }
.cx-footer__grid { display: grid; gap: 36px; padding-block: 64px 44px; }
.cx-footer__brand p { margin: 16px 0 0; max-width: 22em; }
.cx-footer__title { margin: 0 0 12px; font-size: .875rem; font-weight: 600; color: var(--bone); }
.cx-footer li a { display: inline-block; padding: 4px 0; }
.cx-footer a:hover { color: var(--bone); }
.cx-footer address { font-style: normal; }
.cx-footer address p { margin: 0 0 8px; line-height: 1.65; }
.cx-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 20px 28px; border-top: 1px solid var(--rule-d); font-size: .84375rem; }
.cx-footer__base p { margin: 0; }
.cx-footer__base div { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.cx-footer__base a { display: inline-block; padding: 6px 0; }
@media (min-width: 720px) { .cx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cx-footer__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: 36px; } }

/* Inner pages */
.cx-page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 60px) clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--rule-d); background: radial-gradient(60% 90% at 78% 30%, #16231f 0%, var(--ink) 74%); }
.cx-page-head__art { display: none; position: absolute; left: calc(66% - 1875px); top: -557px; width: 2400px; max-width: none; pointer-events: none; }
.cx-page-head > .cx-wrap { position: relative; }
.cx-page-head h1 { margin: 26px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.75rem); line-height: 1.32; max-width: 18em; white-space: pre-line; }
.cx-page-head p.cx-lead { max-width: 44em; }
.cx-page-head__en { margin: 10px 0 0; font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; color: var(--patina); }
@media (min-width: 1000px) {
    .cx-page-head__art { display: block; }
    .cx-page-head h1, .cx-page-head p.cx-lead, .cx-page-head .cx-langs, .cx-page-head .cx-jump { max-width: min(18em, 54vw); }
    .cx-page-head p.cx-lead { max-width: min(40em, 54vw); }
}

.cx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: .875rem; color: var(--bone-3); }
.cx-crumbs a { color: var(--bone-2); }
.cx-crumbs a:hover { color: var(--bone); }
.cx-crumbs [aria-current] { color: var(--bone-3); max-width: 100%; overflow-wrap: anywhere; }

.cx-detail { display: grid; gap: 48px; }
.cx-scope { counter-reset: s; border-top: 1px solid var(--rule-l); }
.cx-scope li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--rule-l); font-size: 1.0625rem; line-height: 1.65; }
.cx-scope li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .8125rem; padding-top: 3px; color: var(--patina-deep); }
.cx-subhead { margin: 0 0 18px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.45; }
.cx-detail__text { margin: 0 0 40px; font-size: 1.125rem; line-height: 1.85; color: var(--text); max-width: 42em; }
.cx-outcome { margin-top: 40px; padding: 24px 26px; background: var(--paper-2); }
.cx-outcome h2 { margin: 0 0 6px; font-size: .875rem; font-weight: 600; color: var(--patina-deep); }
.cx-outcome p { margin: 0; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.55; }
.cx-aside { background: var(--ink); color: var(--bone); padding: 30px 28px; align-self: start; }
.cx-aside h2 { margin: 0; font-family: var(--serif); font-size: 1.4375rem; font-weight: 400; line-height: 1.45; }
.cx-aside p { margin: 10px 0 22px; font-size: .96875rem; line-height: 1.7; color: var(--bone-2); }
.cx-aside .cx-btn { width: 100%; }
.cx-aside__more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.cx-aside__more .cx-btn { padding: 0 8px; font-size: .9375rem; }
@media (min-width: 1000px) { .cx-detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } .cx-aside { position: sticky; top: 112px; } }

.cx-siblings { display: grid; gap: 0 40px; border-top: 1px solid var(--rule-d); }
.cx-siblings li { border-bottom: 1px solid var(--rule-d); }
.cx-siblings a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.5; }
.cx-siblings a:hover { color: var(--patina); }
@media (min-width: 800px) { .cx-siblings { grid-template-columns: repeat(2, 1fr); } }

.cx-services-other { display: grid; gap: 0 40px; }

/* Portfolio */
.cx-jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 30px; font-family: var(--mono); font-size: .8125rem; }
.cx-jump a { padding: 6px 0; color: var(--bone-2); }
.cx-jump a:hover { color: var(--patina); }
.cx-work { display: grid; gap: 32px; padding-block: clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--rule-l); align-items: center; }
.cx-work:last-child { border-bottom: 0; }
.cx-work figure { margin: 0; min-width: 0; }
.cx-work__frame { border: 1px solid var(--rule-l); background: #fff; }
.cx-work__bar { padding: 8px 14px; border-bottom: 1px solid var(--rule-l); background: var(--paper-2); font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.cx-work img { width: 100%; height: auto; }
.cx-work__meta { font-family: var(--mono); font-size: .75rem; color: var(--patina-deep); }
.cx-work h2 { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.25; }
.cx-work__tag { margin: 12px 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; }
.cx-work__text { margin: 12px 0 0; color: var(--muted); }
.cx-work ul { margin-top: 18px; border-top: 1px solid var(--rule-l); }
.cx-work li { padding: 9px 0; border-bottom: 1px solid var(--rule-l); font-size: .96875rem; line-height: 1.6; }
.cx-work__visit { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 600; }
.cx-work__visit:hover { color: var(--patina-deep); }
@media (min-width: 1000px) {
    .cx-work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
    .cx-work:nth-child(even) figure { order: 2; }
}
.cx-band { display: grid; gap: 26px; align-items: center; }
.cx-band p.cx-lead { margin-top: 12px; }
.cx-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1000px) { .cx-band { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; } }

/* Articles */
.cx-cards { display: grid; gap: 40px 28px; }
.cx-card { position: relative; }
.cx-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule-l); }
.cx-card__meta { display: flex; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: .75rem; color: var(--patina-deep); }
.cx-card h2, .cx-card h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.55; }
.cx-card a::after { content: ''; position: absolute; inset: 0; }
.cx-card:hover h2, .cx-card:hover h3 { color: var(--patina-deep); }
@media (min-width: 640px) { .cx-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cx-cards { grid-template-columns: repeat(3, 1fr); } }
.cx-empty { padding: 48px 0; text-align: center; }
.cx-pager { margin-top: 48px; }

.cx-read { max-width: 760px; margin-inline: auto; }
.cx-read__cover { width: 100%; height: auto; margin-bottom: 40px; border: 1px solid var(--rule-l); }
.cx-article-head { max-width: 920px; }
.cx-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-family: var(--mono); font-size: .8125rem; color: var(--patina); }
.cx-article-head h1 { margin-top: 12px; }
.cx-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; font-size: .875rem; color: var(--bone-2); }
.cx-langs a { text-decoration: underline; text-underline-offset: 3px; }
.cx-notice { margin: 20px 0 0; padding: 12px 16px; border-left: 2px solid var(--copper); background: var(--ink-2); font-size: .9375rem; }

.cx-prose { font-size: 1.0938rem; line-height: 1.9; color: var(--text); overflow-wrap: anywhere; }
.cx-prose > * + * { margin-top: 1.1em; }
.cx-prose h2 { margin-top: 2em; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.45; }
.cx-prose h3 { margin-top: 1.7em; font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; line-height: 1.5; }
.cx-prose p, .cx-prose ul, .cx-prose ol, .cx-prose blockquote, .cx-prose table { margin-bottom: 0; }
.cx-prose ul { list-style: none; padding: 0; }
.cx-prose ul > li { position: relative; padding-left: 24px; margin-top: .55em; }
.cx-prose ul > li::before { content: ''; position: absolute; left: 2px; top: .8em; width: 9px; height: 1px; background: var(--patina-deep); }
.cx-prose ol { list-style: decimal; padding-left: 1.4em; }
.cx-prose ol > li { margin-top: .55em; padding-left: 4px; }
.cx-prose nav ol { list-style: none; padding-left: 0; }
.cx-prose nav ol > li { padding-left: 0; }
.cx-prose a { color: var(--patina-deep); text-decoration: underline; text-underline-offset: 3px; }
.cx-prose strong { font-weight: 700; }
.cx-prose blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--patina-deep); color: var(--muted); }
.cx-prose img { max-width: 100%; height: auto; }
.cx-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .96875rem; line-height: 1.6; }
.cx-prose th, .cx-prose td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule-l); text-align: left; vertical-align: top; }
.cx-prose th { font-weight: 600; }

.cx-more-nav { display: grid; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule-l); }
.cx-more-nav a { display: block; padding: 8px 0; }
.cx-more-nav span:first-child { display: block; font-size: .8125rem; color: var(--muted); }
.cx-more-nav span:last-child { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; }
.cx-more-nav a:hover span:last-child { color: var(--patina-deep); }
@media (min-width: 720px) { .cx-more-nav { grid-template-columns: 1fr 1fr; gap: 32px; } .cx-more-nav a:last-child:not(:first-child) { text-align: right; } }

.cx-legal { max-width: 800px; margin-inline: auto; }
.cx-legal__updated { margin: 12px 0 0; font-family: var(--mono); font-size: .8125rem; color: var(--patina); }
.cx-legal__note { margin: 0 0 32px; padding: 12px 16px; background: var(--paper-2); font-size: .9375rem; }
.cx-legal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.cx-legal__actions a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--rule-l); font-weight: 600; }
.cx-legal__actions a:hover { border-color: var(--text); }

/* Reveal: only when scripts run, and never for anyone who asks for less motion */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .cx-arrow, .cx-situations a { transition: none; }
}

/* Areas beyond security on the services page */
.cx-area { display: grid; gap: 18px; padding-block: 34px; border-top: 1px solid var(--rule-l); }
.cx-area__head h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.45; }
.cx-area__head p { margin: 10px 0 0; font-size: .96875rem; line-height: 1.7; color: var(--muted); }
.cx-area__list a { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-l); align-items: center; }
.cx-area__list li:last-child a { border-bottom: 0; }
.cx-area__list strong { font-weight: 600; }
.cx-area__list span { grid-column: 1; font-size: .9375rem; color: var(--muted); }
.cx-area__list .cx-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--patina-deep); }
.cx-area__list a:hover strong { color: var(--patina-deep); }
@media (min-width: 1000px) { .cx-area { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.cx-related-services { margin-top: 44px; }
.cx-related-services li a { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; font-weight: 600; }
.cx-related-services li a:hover { color: var(--patina-deep); }

/* A phrase of a headline stays whole on a line (App\\Support\\Typography) */
.cx-ph { display: inline-block; }

/* The form's select arrow in bone */
.cx-field select {
    -webkit-appearance: none; appearance: none; padding-right: 26px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ece7da' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
}

@media (min-width: 768px) { .cx-display { font-size: clamp(2.6rem, 5.2vw, 4.6rem); } }
@media (min-width: 1400px) { .cx-header__phone { display: inline-block; } }
@media (min-width: 1100px) and (max-width: 1279px) { .cx-header--crowded .cx-header__cta { display: none; } }

/* Map and QR */
.cx-map { margin-top: 28px; border: 1px solid var(--rule-l); overflow-x: auto; overscroll-behavior-x: contain; }
.cx-map a { display: block; width: 840px; max-width: none; }
.cx-map img { width: 100%; height: auto; }
.cx-map__hint { margin: 8px 0 0; font-size: .875rem; color: var(--muted); }
@media (min-width: 640px) { .cx-map { overflow: visible; } .cx-map a { width: auto; } .cx-map__hint { display: none; } }
.cx-qr { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.cx-qr img { width: 88px; height: 88px; background: #fff; padding: 4px; }
.cx-qr p { margin: 0; font-size: .875rem; color: var(--bone-2); }

/* The seminar pages keep their own styles for now, on paper instead of ink */
.cx main > section:not([class*="cx-"]) { background: var(--paper); color: var(--text); max-width: none; }
/* ...the paper reaches both edges, but the content keeps the page head's 1280 px line on a wide screen: the sign-up list
   and a programme page put their width limit on the section itself, which the rule above lifts (12 Nov 2026) */
@media (min-width: 1280px) { .cx main > section.max-w-7xl:not([class*="cx-"]) { padding-inline: calc((100% - 80rem) / 2 + 2rem); } }

/* A grid item may be narrower than its widest child (the map, a long address). */
.cx-split > *, .cx-consult__grid > *, .cx-detail > *, .cx-work > * { min-width: 0; }

/* A short laptop screen still shows the three answers without scrolling. */
@media (min-width: 1100px) and (max-height: 820px) {
    .cx-hero__stage { min-height: 0; padding-block: 34px 40px; }
    .cx-display { font-size: clamp(2.6rem, 4.3vw, 3.75rem); }
    .cx-hero__eyebrow { margin-bottom: 8px; }
    .cx-hero__lead { margin-top: 14px; font-size: 1.03rem; }
    .cx-hero__actions { margin-top: 20px; }
    .cx-brief > div { padding: 16px 26px 18px; }
    .cx-brief dt .cx-mono { margin-bottom: 2px; }
    .cx-brief dd { margin-top: 4px; }
}

/* The seminar pages: the shared trail and the old blue, in this palette */
.cx main > section:not([class*="cx-"]) .cx-crumbs ol, .cx main > section:not([class*="cx-"]) .cx-crumbs [aria-current] { color: var(--muted); }
.cx main > section:not([class*="cx-"]) .cx-crumbs a { color: var(--text); }
.cx main > section:not([class*="cx-"]) [class*="bg-[#123f7a]"] { background-color: var(--ink); border-radius: 0; }
.cx main > section:not([class*="cx-"]) [class*="text-[#123f7a]"] { color: var(--patina-deep); }
.cx main > section:not([class*="cx-"]) [class*="rounded-[1.6rem]"] { border-radius: 0; }

/* Four practices: every one first-class, the focus in ink */
.cx-practices { display: grid; border: 1px solid var(--rule-l); }
.cx-practice { display: flex; flex-direction: column; padding: clamp(24px, 2.3vw, 32px); border-top: 1px solid var(--rule-l); }
.cx-practice:first-child { border-top: 0; }
.cx-practice--focus { background: var(--ink); color: var(--bone); }
.cx-practice__top { display: flex; align-items: center; justify-content: space-between; min-height: 26px; margin: 0 0 12px; font-family: var(--mono); font-size: .75rem; color: var(--patina-deep); }
.cx-practice--focus .cx-practice__top { color: var(--patina); }
.cx-practice__tag { padding: 1px 10px; border: 1px solid currentColor; font-family: var(--sans); font-size: .8125rem; font-weight: 600; }
.cx-practice h3 { margin: 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1.45; }
.cx-practice__text { margin: 10px 0 18px; font-size: .9375rem; line-height: 1.7; color: var(--muted); }
.cx-practice--focus .cx-practice__text { color: var(--bone-2); }
.cx-practice ul { margin-top: auto; border-top: 1px solid var(--rule-l); }
.cx-practice--focus ul { border-color: var(--rule-d); }
.cx-practice li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--rule-l); font-size: .9375rem; line-height: 1.5; }
.cx-practice--focus li a { border-color: var(--rule-d); }
.cx-practice li:last-child a { border-bottom: 0; padding-bottom: 0; }
.cx-practice li a:hover, .cx-practice h3 a:hover { color: var(--patina-deep); }
.cx-practice--focus li a:hover, .cx-practice--focus h3 a:hover { color: var(--patina); }
@media (min-width: 640px) {
    .cx-practices { grid-template-columns: repeat(2, 1fr); }
    .cx-practice:nth-child(2) { border-top: 0; }
    .cx-practice:nth-child(even) { border-left: 1px solid var(--rule-l); }
}
@media (min-width: 1100px) {
    .cx-practices { grid-template-columns: repeat(4, 1fr); }
    .cx-practice { border-top: 0; border-left: 1px solid var(--rule-l); }
    .cx-practice:first-child { border-left: 0; }
}

/* One incident, many kinds of expertise */
.cx-cross { border-top: 1px solid var(--rule-l); }
.cx-cross__head { display: none; }
.cx-cross__row { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--rule-l); }
.cx-cross__row h3 { margin: 0; font-family: var(--serif); font-size: 1.3125rem; font-weight: 400; line-height: 1.5; }
.cx-cross__row p { margin: 0; font-size: .96875rem; line-height: 1.65; }
.cx-cross__tag { display: block; font-size: .8125rem; font-weight: 600; color: var(--patina-deep); }
@media (min-width: 1000px) {
    .cx-cross__head, .cx-cross__row { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 28px; }
    .cx-cross__head { display: grid; padding: 12px 0; border-bottom: 1px solid var(--rule-l); font-size: .875rem; font-weight: 600; color: var(--patina-deep); }
    .cx-cross__tag { display: none; }
}

/* The service lists start level across the four practices */
@media (min-width: 1100px) {
    .cx-practice h3 { min-height: 2.9em; }
    .cx-practice__text { min-height: 6.9em; }
    .cx-practice ul { margin-top: 0; }
}

/* Header on paper, like the other light sections */
.cx-header { background: rgba(244, 241, 232, .96); border-bottom-color: var(--rule-l); color: var(--text); --sym-line: #2b6658; --sym-dot: #1a2320; --sym-hole: #f4f1e8; --sym-ring: rgba(26, 35, 32, .3); }
.cx-footer { --sym-line: #8fc1b0; --sym-dot: #ece7da; --sym-hole: #070c0b; --sym-ring: rgba(236, 231, 218, .28); }
.cx-header :focus-visible { outline-color: var(--patina-deep); }
.cx-header .cx-logo { color: var(--text); }
.cx-header .cx-nav a { color: var(--muted); }
.cx-header .cx-nav a:hover, .cx-header__phone:hover { color: var(--text); }
.cx-header .cx-lang a { color: #6c766f; }
.cx-header .cx-lang a:hover { color: var(--text); }
.cx-header .cx-lang a[aria-current] { color: var(--patina-deep); font-weight: 500; }
.cx-header__phone { color: var(--muted); }
.cx-header .cx-header__cta { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.cx-header .cx-header__cta:hover { background: var(--patina-deep); border-color: var(--patina-deep); }
.cx-burger { border-color: var(--rule-l); color: var(--text); }
.cx-mobile { border-top-color: var(--rule-l); color: var(--text); }
.cx-mobile__link { border-bottom-color: var(--rule-l); }
.cx-mobile .cx-btn--bone { background: var(--ink); color: var(--bone); }
.cx-mobile .cx-btn--line { border-color: var(--rule-l); color: var(--text); }
.cx-mobile__more a { color: var(--muted); }

/* The emphasis in a sentence */
.cx-hl { color: #bfe6d8; font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .42em; text-decoration-skip-ink: none; }

/* The living map */
.cx-hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s; pointer-events: none; }
.cx-hero__gl.is-on { opacity: 1; }
.cx-hero__art { transition: opacity 1.4s; }
.cx-hero__art.is-off { opacity: 0; }
.cx-hud { display: none; }
@media (min-width: 1100px) {
}
@media (min-width: 1320px) {
    .cx-hud { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: rgba(169, 211, 197, .78); }
    .cx-hud__tl, .cx-hud__tr { position: absolute; top: 16px; }
    .cx-hud__tl { left: 24px; }
    .cx-hud__tr { right: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
    .js .cx-hero__copy h1 > span, .js .cx-hero__lead, .js .cx-hero__actions { animation: cx-rise 1.05s var(--ease) both; }
    .js .cx-hero__copy h1 > span:nth-child(3) { animation-delay: .08s; }
    .js .cx-hero__copy h1 > span:nth-child(4) { animation-delay: .18s; }
    .js .cx-hero__lead { animation-delay: .3s; }
    .js .cx-hero__actions { animation-delay: .4s; }
    .cx-star__rays { transform-origin: center; animation: cx-turn 90s linear infinite; }
}
@keyframes cx-rise { from { transform: translateY(18px); clip-path: inset(0 -5% 100% -5%); } to { transform: none; clip-path: inset(-25% -5% -25% -5%); } }
@keyframes cx-turn { to { transform: rotate(360deg); } }

/* Incident line on the hero */
.cx-sos { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; width: calc(100% - 2 * var(--gutter)); max-width: 620px; margin-top: 26px; padding: 12px 18px; border: 1px solid rgba(228, 71, 59, .5); border-left-width: 2px; background: rgba(11, 18, 16, .78); backdrop-filter: blur(6px); }
.cx-sos__pulse { position: relative; grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.cx-sos__pulse::after { content: ''; position: absolute; inset: -6px; border: 1px solid var(--signal); border-radius: 50%; animation: cx-ping 2.2s ease-out infinite; }
.cx-sos__title { margin: 0; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.45; color: var(--bone); }
.cx-sos__text { grid-column: 2; margin: 0; font-size: .875rem; line-height: 1.5; color: var(--bone-2); }
.cx-sos__phone { grid-column: 3; grid-row: 1 / span 2; font-family: var(--mono); font-size: 1.125rem; color: #ff8a7d; white-space: nowrap; }
.cx-sos__phone:hover { color: #fff; }
@keyframes cx-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 519px) { .cx-sos { grid-template-columns: auto minmax(0, 1fr); } .cx-sos__phone { grid-column: 2; grid-row: auto; margin-top: 4px; } }
@media (min-width: 1320px) {
    .cx-sos { position: absolute; right: max(24px, calc((100% - 1560px) / 2)); top: calc(50% - 74px); display: block; width: 248px; margin: 0; padding: 18px 20px; }
    .cx-sos__pulse { display: block; margin: 4px 0 14px 6px; }
    .cx-sos__text { margin-top: 6px; }
    .cx-sos__phone { display: inline-block; margin-top: 10px; font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .cx-sos__pulse::after { animation: none; } }

/* The mark of the focus */
.cx-star { width: 46px; height: 46px; flex: none; }
.cx-practice__top { min-height: 46px; }
.cx-practice__art { width: min(100%, 210px); height: auto; margin: 0 auto 8px; }

/* Diagrams */
.cx-info { display: grid; gap: 28px; align-items: center; margin: 0; }
.cx-info img { width: 100%; max-width: 460px; height: auto; margin-inline: auto; }
.cx-info figcaption { min-width: 0; }
.cx-info .cx-scope a:hover strong { color: var(--patina-deep); }
.cx-info .cx-scope strong { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; }
@media (min-width: 720px) { .cx-info { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 36px; } }
.cx-route__art { width: 100%; max-width: 230px; height: auto; margin: -6px 0 8px -10px; }
.cx-cross__head img { display: block; width: 74px; height: auto; margin: 0 0 4px -6px; }

/* Work: the closing tile */
.cx-works__all a { display: flex; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: 120px; border: 1px solid var(--rule-d); font-weight: 600; transition: border-color .25s, color .25s; }
.cx-works__all a:hover { border-color: var(--patina); color: var(--patina); }

/* Instrument labels sit on their own plates, so no line runs through them */
@media (min-width: 1320px) {
    .cx-hud__tl, .cx-hud__tr { padding: 7px 11px; background: rgba(11, 18, 16, .82); }
    .cx-hud__tl { left: 16px; top: 12px; }
    .cx-hud__tr { right: 16px; top: 12px; }
}

/* The real logo */
.cx-logo img { width: min(208px, calc(100vw - 124px)); height: auto; }
.cx-footer .cx-logo img { width: 190px; }

/* Sea blue: the hero, the dark sections and the header */
.cx-hero { background: radial-gradient(72% 62% at 50% 44%, #137a97 0%, rgba(19, 122, 151, 0) 74%), linear-gradient(180deg, #0a5a74 0%, #06303f 100%); }
.cx-page-head { background: radial-gradient(60% 95% at 78% 30%, #137a97 0%, #06303f 74%); }
.cx-sec:not(.cx-sec--paper):not(.cx-sec--paper2) { background: linear-gradient(180deg, #06303f 0%, #084459 100%); }
.cx-header { background: rgba(241, 249, 251, .96); }
.cx-header .cx-lang a { color: #4b6a77; }
.cx-header .cx-lang a[aria-current] { color: var(--patina-deep); }
.cx-footer { background: #04222e; }
.cx-sos { background: rgba(6, 48, 63, .84); }
.cx-hud { color: rgba(165, 235, 245, .88); }
.cx-hud__tl, .cx-hud__tr { background: rgba(6, 48, 63, .84); }
.cx-hl { color: #aef2fb; }
.cx-practice--focus { background: linear-gradient(170deg, #0a5a74, #06303f); }
body.cx ::selection { background: rgba(102, 220, 236, .35); }

/* Connect the dots */
.cx-net, .cx-net__labels { display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.is-live .cx-net { display: block; width: 100%; height: 100%; }
.is-live.is-net .cx-net__labels { display: block; }
.cx-net__labels span { position: absolute; left: 0; top: 0; padding: 1px 8px; border: 1px solid rgba(165, 235, 245, .3); background: rgba(6, 48, 63, .88); font-size: .75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; color: rgba(216, 247, 251, .55); transition: color .5s, border-color .5s; }
.cx-net__labels span.is-lit { color: #e8fcff; border-color: rgba(165, 235, 245, .65); }
.cx-dots { display: block; width: 200px; height: auto; margin: 0 auto 12px; overflow: visible; }
.cx-dots__line { fill: none; stroke: #aef2fb; stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cx-dots__n { fill: var(--ink); stroke: #aef2fb; stroke-width: 1.4; }
.cx-dots__n[data-solid] { fill: #aef2fb; stroke: none; }
@media (prefers-reduced-motion: no-preference) {
    .cx-dots__line { animation: cx-draw 7s ease-in-out infinite; }
    .cx-dots__n { animation: cx-dot 7s ease-in-out infinite; animation-delay: calc(var(--i) * .16s); }
}
@keyframes cx-draw { 0% { stroke-dashoffset: 1; } 34%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes cx-dot { 0% { opacity: .35; } 6%, 86% { opacity: 1; } 100% { opacity: .35; } }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) { .cx-dots { display: none; } }
.cx-hud__tl b { display: block; margin-bottom: 3px; font-weight: 500; letter-spacing: .14em; color: #aef2fb; }
.cx-area-note { margin: 28px 0 0; padding-left: 16px; border-left: 2px solid var(--rule-l); font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 42em; }
.cx-page-head .cx-crumbs + .cx-label { margin-top: 22px; }
