/* =====================================================================
   Professional Impex — site styles
   Palette: harbour ink + container steel + PIPL signal orange
   Type: Archivo (expanded widths for display) / Source Serif 4 (reading)
===================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(../fonts/pipl/archivo-latin-standard-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(../fonts/pipl/source-serif-4-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900; src: url(../fonts/pipl/source-serif-4-latin-opsz-italic.woff2) format("woff2"); }

:root {
    --ink: #0E2233;        /* harbour navy – header, dark bands */
    --ink-2: #163550;      /* raised surfaces on dark */
    --signal: #F07C00;     /* PIPL logo orange – actions only */
    --signal-ink: #B85C00; /* orange text on light backgrounds (AA) */
    --paper: #F4F6F7;      /* cool page tint */
    --white: #FFFFFF;
    --text: #1A2731;
    --muted: #586874;
    --line: #D6DDE2;
    --line-dark: rgba(255,255,255,.14);
    --on-dark: #E8EEF2;
    --on-dark-muted: #9DB0BF;

    --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --serif: "Source Serif 4", Georgia, serif;

    --wrap: 1240px;
    --gut: clamp(16px, 4vw, 40px);
    --r: 4px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font: 400 1.0625rem/1.7 var(--serif);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.ic { flex: none; }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-stretch: 118%;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.012em;
    margin: 0 0 .5em;
    color: var(--ink);
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.3rem; font-stretch: 110%; line-height: 1.2; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: #000; padding: 8px 14px; z-index: 100; font-family: var(--display); }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font: 600 1rem/1 var(--display); font-stretch: 105%;
    padding: 1rem 1.4rem; border-radius: var(--r);
    border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-signal { background: var(--signal); color: #1b0e00; }
.btn-signal:hover { background: #FF8E1A; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .7rem 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }

.textlink {
    display: inline-flex; align-items: center; gap: .4em;
    font: 600 1rem/1.2 var(--display); color: var(--ink); text-decoration: none;
    border-bottom: 1.5px solid var(--signal); padding-bottom: 3px;
}
.textlink:hover .ic { transform: translateX(3px); }
.textlink .ic { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--ink); color: var(--on-dark);
    border-bottom: 1px solid var(--line-dark);
}
.bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 30px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font: 700 1.05rem var(--display); font-stretch: 120%; letter-spacing: -.005em; }
.brand small { font: 500 .75rem var(--display); color: var(--on-dark-muted); }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
    display: flex; align-items: center; gap: 4px;
    font: 500 .9375rem/1 var(--display); color: var(--on-dark);
    text-decoration: none; background: none; border: 0; cursor: pointer;
    padding: 10px 11px; border-radius: var(--r); white-space: nowrap;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav > ul > li.is-active > a, .nav > ul > li.is-active > button { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.sub {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
    list-style: none; margin: 0; padding: 8px;
    background: #fff; border-radius: var(--r); box-shadow: 0 18px 40px -12px rgba(14,34,51,.45);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s var(--ease);
}
.sub a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font: 500 .9375rem var(--display); border-radius: 3px; }
.sub a:hover { background: var(--paper); }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-call { display: none; }

.bar-end { display: flex; align-items: center; gap: 18px; flex: none; }
.call { display: flex; flex-direction: column; text-decoration: none; color: #fff; font: 700 1rem/1.15 var(--display); font-stretch: 110%; text-align: right; }
.call span { font-weight: 500; font-size: .75rem; color: var(--on-dark-muted); font-stretch: 100%; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

@media (max-width: 1180px) { .call { display: none; } }
@media (max-width: 1020px) {
    .burger { display: inline-flex; }
    .bar { height: 68px; }
    .nav {
        position: fixed; inset: 68px 0 0 0; background: var(--ink);
        padding: 12px var(--gut) 32px; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
    }
    .nav.open { transform: none; visibility: visible; }
    .nav > ul { flex-direction: column; gap: 0; }
    .nav > ul > li { border-bottom: 1px solid var(--line-dark); }
    .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 1.15rem; }
    .nav > ul > li.is-active > a, .nav > ul > li.is-active > button { box-shadow: none; color: var(--signal); }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px; display: none; }
    .has-sub.open .sub { display: block; }
    .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
    .sub a { color: var(--on-dark); padding: 10px 14px; }
    .sub a:hover { background: var(--ink-2); }
    .nav-call { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #fff; font: 700 1.25rem var(--display); text-decoration: none; }
}
@media (max-width: 520px) {
    .brand small { display: none; }
    .bar-end .btn { display: none; }
}

/* ---------- Home hero ---------- */
.hero {
    position: relative; color: #fff; isolation: isolate;
    background: var(--ink);
    min-height: min(88vh, 860px);
    display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(14,34,51,.94) 0%, rgba(14,34,51,.78) 38%, rgba(14,34,51,.2) 75%),
        linear-gradient(0deg, rgba(14,34,51,.95) 0%, rgba(14,34,51,0) 45%);
}
.hero-body { padding-top: clamp(72px, 12vh, 140px); padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 13ch; font-stretch: 122%; font-weight: 750; line-height: .98; margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--on-dark); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cred { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; font: 500 .9375rem var(--display); color: var(--on-dark-muted); }
.hero-cred span { display: inline-flex; align-items: center; gap: 8px; }
.hero-cred .ic { color: var(--signal); }

/* Route strip: the office network drawn as a shipping lane */
.route { border-top: 1px solid var(--line-dark); background: rgba(14,34,51,.6); backdrop-filter: blur(6px); }
.route-inner { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.route-label { font: 500 .875rem/1.3 var(--display); color: var(--on-dark-muted); flex: none; max-width: 9.5em; }
.route-label a { color: #fff; }
.route ol {
    list-style: none; margin: 0; padding: 0 0 4px; display: flex; flex: 1;
    overflow-x: auto; scrollbar-width: none; position: relative;
}
.route ol::-webkit-scrollbar { display: none; }
.route li { flex: 1 0 auto; position: relative; padding-top: 18px; min-width: 66px; }
.route li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.28); transform-origin: left; animation: lane 1.2s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .3s); }
.route li::after { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--signal); animation: dot .4s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .5s); }
.route li.hq::after { background: var(--signal); }
.route b { display: block; font: 800 1.125rem/1 var(--display); font-stretch: 125%; letter-spacing: .02em; color: #fff; }
.route small { display: block; font: 400 .75rem/1.3 var(--display); color: var(--on-dark-muted); margin-top: 4px; white-space: nowrap; padding-right: 14px; }
@keyframes lane { from { transform: scaleX(0); } }
@keyframes dot { from { transform: scale(0); } }
@media (max-width: 760px) { .route-label { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--on-dark); }
.section-ink h2, .section-ink h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.section-ink .sec-head p { color: var(--on-dark-muted); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Ledger (key figures) ---------- */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger div { padding: 32px 28px 30px 0; }
.ledger div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.ledger b { display: block; font: 700 clamp(2.2rem, 3.6vw, 3rem)/1 var(--display); font-stretch: 115%; color: var(--ink); letter-spacing: -.02em; }
.ledger span { display: block; margin-top: 10px; font: 500 .9375rem/1.35 var(--display); color: var(--muted); max-width: 18ch; }
@media (max-width: 820px) {
    .ledger { grid-template-columns: 1fr 1fr; }
    .ledger div { padding: 24px 16px 24px 0; }
    .ledger div:nth-child(3) { border-left: 0; padding-left: 0; }
    .ledger div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ledger div:nth-child(even) { padding-left: 16px; }
}

/* ---------- Intro split ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(56px, 7vw, 96px); }
.intro-text p { font-size: 1.125rem; }
.intro-text p:first-of-type { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.intro-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-figs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); }
.intro-figs img:nth-child(2) { margin-top: 56px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Service index (home) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-visual { position: sticky; top: 108px; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.svc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform 1.2s var(--ease); transform: scale(1.04); }
.svc-visual img.on { opacity: 1; transform: none; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc-list li { border-bottom: 1px solid var(--line-dark); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 28px 0; text-decoration: none; color: var(--on-dark-muted); }
.svc-list h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-stretch: 120%; color: var(--on-dark); transition: color .2s; }
.svc-list p { grid-column: 1; margin: 0; max-width: 50ch; font-size: 1rem; }
.svc-list .ic { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--on-dark-muted); transition: transform .25s var(--ease), color .2s; }
.svc-list a:hover h3, .svc-list a:focus-visible h3, .svc-list li.on h3 { color: #fff; }
.svc-list a:hover .ic, .svc-list li.on .ic { color: var(--signal); transform: translateX(4px); }
@media (max-width: 900px) {
    .svc { grid-template-columns: 1fr; }
    .svc-visual { display: none; }
}

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.why-photo { position: relative; }
.why-photo img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r); }
.why-stamp {
    position: absolute; right: -18px; bottom: 28px; background: var(--signal); color: #1b0e00;
    padding: 20px 22px; border-radius: var(--r); font: 600 .9375rem/1.3 var(--display); max-width: 210px;
}
.why-stamp b { display: block; font: 800 2.25rem/1 var(--display); font-stretch: 120%; margin-bottom: 4px; }
.ticks { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 0; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 1.0625rem/1.4 var(--display); color: var(--ink); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks .ic { color: var(--signal-ink); margin-top: 1px; }
.ticks.two { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.ticks.two li:nth-child(2) { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why-stamp { right: 12px; } }
@media (max-width: 640px) { .ticks.two { grid-template-columns: 1fr; } .ticks.two li:nth-child(2) { border-top: 0; } }

/* ---------- Award rail ---------- */
.rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.rail img { height: 300px; width: auto; border-radius: var(--r); background: #fff; }

/* ---------- Network teaser / grid ---------- */
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.codes a, .codes div { display: block; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); font: 500 .9375rem var(--display); transition: background .2s; }
.codes a:hover { background: var(--paper); }
.codes b { display: block; font: 800 1.6rem/1 var(--display); font-stretch: 125%; color: var(--ink); margin-bottom: 6px; letter-spacing: .02em; }
.codes .hq b { color: var(--signal-ink); }

/* ---------- Quote band ---------- */
.quote-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); }
.quote-band aside p { color: var(--on-dark-muted); }
.quote-band aside .steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; }
.quote-band aside .steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-dark); font: 500 1rem/1.4 var(--display); color: var(--on-dark); }
.quote-band aside .steps li::before { content: counter(s); font-weight: 800; color: var(--signal); font-stretch: 120%; }
@media (max-width: 960px) { .quote-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.qform, .side-form, .cform { font-family: var(--display); }
.qform { background: #fff; color: var(--text); border-radius: var(--r); padding: clamp(22px, 3.5vw, 40px); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font: 700 1.05rem var(--display); font-stretch: 112%; color: var(--ink); margin-bottom: 14px; padding: 0; }
label { display: block; }
label > span { display: block; font: 500 .8125rem/1.2 var(--display); color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
    width: 100%; font: 400 1rem/1.4 var(--display); color: var(--text);
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23586874' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240,124,0,.25); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 9px 14px; border-radius: 3px; font: 500 .9375rem var(--display); color: var(--muted); margin: 0; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.qform-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.qform-foot p { margin: 0; color: var(--muted); font-size: .9375rem; }
.form-done { display: none; padding: 14px 16px; border-radius: var(--r); background: #EAF4EC; color: #1E5B2E; font: 500 .9375rem var(--display); margin-top: 14px; }
form.sent .form-done { display: block; }

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative; isolation: isolate; color: #fff;
    background-color: var(--ink); background-position: center; background-size: cover; background-repeat: no-repeat;
    padding: clamp(80px, 11vw, 150px) 0 clamp(48px, 6vw, 72px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,34,51,.95), rgba(14,34,51,.7) 55%, rgba(14,34,51,.35)); }
.page-hero h1 { color: #fff; max-width: 18ch; margin-bottom: .3em; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lede { color: var(--on-dark); max-width: 54ch; font-size: 1.15rem; margin: 0; }
.crumbs { display: flex; gap: 10px; font: 500 .875rem var(--display); color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Article + sidebar ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .with-side { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose > p { font-size: 1.125rem; }
.prose .lead { font-size: 1.35rem; line-height: 1.55; color: var(--ink); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prose figure { margin: 0 0 40px; }
.prose figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r); }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--signal); font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); }

.side { display: grid; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 1000px) { .side { position: static; } }
.side-card { border-radius: var(--r); padding: 26px; border: 1px solid var(--line); background: #fff; font-family: var(--display); }
.side-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.side-dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.side-kicker { display: flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-size: .9375rem; margin: 0 0 6px; }
.side-kicker .ic { color: var(--signal); }
.side-phone { display: block; color: #fff; text-decoration: none; font: 800 1.85rem/1.1 var(--display); font-stretch: 118%; margin-bottom: 20px; }
.side-meta { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: .9375rem; line-height: 1.45; }
.side-meta li { display: flex; gap: 10px; }
.side-meta .ic { color: var(--signal); margin-top: 2px; }
.side-meta a { color: #fff; }
.side-form { display: grid; gap: 12px; background: var(--paper); border-color: var(--paper); }
.side-form h3 { margin-bottom: 4px; }
.side-form textarea { min-height: 84px; }
.side-links ul { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.side-links a:hover, .side-links a[aria-current] { color: var(--signal-ink); }
.side-links a[aria-current] { font-weight: 700; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { border-top: 2px solid var(--ink); padding-top: 22px; }
.person .mono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 1.4rem var(--display); font-stretch: 120%; margin-bottom: 18px; }
.person h3 { margin-bottom: 4px; }
.person p { color: var(--muted); font-family: var(--display); margin: 0; }
@media (max-width: 720px) { .people { grid-template-columns: 1fr; } }

/* ---------- Two-up statement ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.pair > div { background: var(--ink); padding: clamp(28px, 4vw, 48px); }
.pair h3 { color: var(--signal); font-size: 1rem; font-stretch: 110%; margin-bottom: 14px; }
.pair p { font-size: 1.3rem; line-height: 1.5; color: #fff; margin: 0; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* ---------- Service grid (about/awards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc-grid a { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.svc-grid a:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-grid h3 { margin: 0; transition: color .2s; }
.svc-grid p { margin: 0; font-size: 1rem; flex: 1; }
.svc-grid .more { font: 600 .9375rem var(--display); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.svc-grid a:hover h3 { color: var(--signal-ink); }
@media (max-width: 900px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc-grid a, .svc-grid a:not(:nth-child(3n+1)) { padding: 26px 20px 26px 0; border-left: 0; }
    .svc-grid a:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid a:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Awards gallery ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.gallery button { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,20,30,.92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--r); }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.product img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; }
.product h3 { font-size: 1.15rem; font-stretch: 108%; margin: 0; }

/* ---------- Network page ---------- */
.region { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.region h2 { font-size: 1.6rem; position: sticky; top: 100px; align-self: start; }
.region h2 small { display: block; font: 500 .9375rem var(--display); color: var(--muted); margin-top: 8px; }
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.office { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; font-family: var(--display); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.office:target { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(240,124,0,.2); }
.office header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.office b { font: 800 1.6rem/1 var(--display); font-stretch: 125%; color: var(--ink); letter-spacing: .02em; }
.office h3 { margin: 0; font-size: 1.05rem; font-stretch: 105%; text-align: right; }
.office .tag { display: inline-block; font-size: .75rem; font-weight: 600; background: var(--signal); color: #1b0e00; padding: 2px 8px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.office p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.office ul { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .9375rem; }
.office li { display: flex; align-items: center; gap: 8px; }
.office li .ic { color: var(--signal-ink); }
.office a { color: var(--ink); text-decoration: none; word-break: break-word; }
.office a:hover { text-decoration: underline; }
@media (max-width: 760px) { .region { grid-template-columns: 1fr; padding: 36px 0; } .region h2 { position: static; } }

/* ---------- Documents ---------- */
.doclists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.doclist { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.doclist h2 { font-size: 1.7rem; display: flex; align-items: center; gap: 12px; }
.doclist h2 .ic { color: var(--signal-ink); }
.doclist > p { color: var(--muted); }
.doclist ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: d; }
.doclist li { counter-increment: d; display: grid; grid-template-columns: 36px 1fr; padding: 13px 0; border-top: 1px solid var(--line); font: 500 1rem/1.45 var(--display); color: var(--ink); }
.doclist li::before { content: counter(d, decimal-leading-zero); color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.doclist li small { display: block; color: var(--muted); font-weight: 400; }
@media (max-width: 860px) { .doclists { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
.contact-info { font-family: var(--display); }
.contact-info dl { margin: 32px 0; display: grid; gap: 0; }
.contact-info dt { font-size: .875rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.contact-info dd { margin: 4px 0 18px; font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--signal-ink); }
.cform { background: var(--paper); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r); display: grid; gap: 14px; scroll-margin-top: 100px; }
.cform h2 { font-size: 1.8rem; margin-bottom: 6px; }
.map { margin-top: clamp(56px, 7vw, 96px); border-radius: var(--r); overflow: hidden; height: 420px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-family: var(--display); font-size: .9375rem; }
.foot-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 64px; align-items: end; padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.foot-cta h2 { color: #fff; margin: 0; max-width: 14ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.foot-cta p { font-family: var(--serif); font-size: 1.125rem; color: var(--on-dark); margin: 0 0 22px; max-width: 46ch; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .foot-cta { grid-template-columns: 1fr; } }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.4fr; gap: 40px; padding: 56px 0; }
.foot-grid h3 { color: #fff; font-size: .9375rem; font-stretch: 105%; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--on-dark); }
.foot-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-about p { margin-top: 18px; line-height: 1.6; max-width: 34ch; }
.foot-contact p { line-height: 1.6; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-contact { grid-column: 1 / -1; } }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.foot-base a { color: var(--on-dark); text-decoration: none; }

/* utilities */
.mt-0 { margin-top: 0; }
.center-cta { margin-top: 40px; }
.muted { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; font: 500 1rem/1.4 var(--display); padding: 16px 22px; border-radius: var(--r); border-left: 4px solid var(--signal); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); max-width: calc(100% - 32px); transition: opacity .4s; }
.toast.out { opacity: 0; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.home .foot-grid { border-top: 1px solid var(--line-dark); }
.ledger-words b { font-size: clamp(1.25rem, 2.2vw, 1.75rem); overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .hero::before { background: linear-gradient(180deg, rgba(14,34,51,.72) 0%, rgba(14,34,51,.86) 55%, rgba(14,34,51,.97) 100%); }
    .hero { min-height: 0; }
    .hero-body { padding-top: 56px; padding-bottom: 40px; }
    .rail img { height: 220px; }
}
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: inline-flex; }
.burger span { display: inline-flex; }
