.agency {
    position:relative; width:min(1180px, calc(100% - 2rem)); margin:clamp(1.75rem,4vw,3.5rem) auto 4rem;
    color:var(--text-primary); font-family:var(--font-body); line-height:1.6;
}
.agency-header {margin-bottom:1.8rem; padding-bottom:1rem; border-bottom:1px solid var(--border)}
.agency-header > a {font-weight:600}
.agency h1 {font-size:clamp(1.9rem,5vw,3.45rem); letter-spacing:-.04em; line-height:1.1; margin:.35rem 0}
.agency h2 {margin:.55rem 0; font-size:1.25rem; letter-spacing:-.02em; line-height:1.25}
.agency p {margin:.6rem 0;color:var(--text-secondary)}
.agency .agency-intro {max-width:65ch;font-size:1.12rem}
.agency a {color:var(--accent);text-underline-offset:.2em}
.agency ul {padding-inline-start:1.4rem;margin:.5rem 0 1rem}
.agency-grid {display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));margin:1.25rem 0}
.agency article,.agency form,.agency-auth {background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(1rem,3vw,1.5rem);margin:.75rem 0}
.agency-grid > article {margin:0}
.agency article form,.agency-auth form {padding:0;margin:.75rem 0;border:0;background:transparent}
.agency label {display:block;margin:.75rem 0;font-size:.96rem;font-weight:600}
.agency input:not([type=checkbox]):not([type=hidden]),.agency textarea,.agency select {
    display:block;width:100%;max-width:46rem;padding:.65rem .8rem;margin-top:.25rem;
    border:1px solid var(--border);border-radius:var(--radius);color:var(--text-primary);
    background:var(--bg-input);font:inherit;font-weight:400;
}
.agency [type=checkbox] {accent-color:var(--accent)}
.agency textarea {min-height:7rem}
.agency button,.agency a.agency-button {
    display:inline-block;border:0;border-radius:var(--radius);padding:.65rem 1rem;
    background:var(--accent);color:#fff;cursor:pointer;font:inherit;font-weight:600;text-decoration:none;
}
.agency button:hover,.agency a.agency-button:hover {background:var(--text-primary)}
.agency-alert {border-left:4px solid var(--accent);background:var(--accent-dim);border-radius:var(--radius);padding:.7rem 1rem}
.agency pre {white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border);border-radius:var(--radius);padding:1rem}
.agency-sectors,.agency-actions {display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;margin:1.25rem 0}
.agency-sectors a {border:1px solid var(--border);border-radius:var(--radius);padding:.3rem .7rem;background:var(--bg-card)}
.agency-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg-card);overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-xl)}
.agency-hero-copy {padding:clamp(1.2rem,4vw,2.75rem);align-self:center}
.agency-hero h2 {font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.12;margin:0;letter-spacing:-.04em}
.agency-hero img {display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:16/9}
.agency-hero .agency-button {margin:.2rem .2rem .2rem 0}
.agency-auth {max-width:30rem}
.agency :is(input,select,textarea,a,button):focus-visible {outline:2px solid var(--border-focus);outline-offset:3px}
@media(max-width:680px) {
    .agency-hero {grid-template-columns:1fr}
    .agency-hero img {height:auto}
}

/* Octary infrastructure hub surfaces, typography and linked directory cards. */
.agency-shell {background:#f3f4f4;color:#14191f;padding:2.1rem 0 3rem}
.agency {
    --text-primary:#14191f;--text-secondary:#475569;--border:#e3e7ee;--bg-card:#fff;
    --bg-input:#fff;--accent:#1533c4;--radius:10px;--radius-lg:16px;--radius-xl:16px;
    width:min(1440px,100%);padding:0 1.1rem;margin:0 auto;font-family:Outfit,Inter,system-ui,sans-serif;
}
.agency .agency-header {border:0;padding:0;margin:0 0 1rem}
.agency-crumb {font-size:.86rem;color:#5d6b7c}
.agency-crumb a {font-weight:600;text-decoration:none}
.agency h1,.agency h2 {font-family:inherit;font-weight:800}
.agency h1 {font-size:clamp(1.9rem,4.3vw,3rem);line-height:1.06;margin:.8rem 0 .6rem}
.agency h2 {font-size:1.13rem;letter-spacing:normal;margin:0 0 .5rem}
.agency-hero h2 {font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.12}
.agency-section {min-width:0;background:#fff;border:1px solid var(--border);border-radius:16px;padding:clamp(1rem,2.5vw,1.5rem);margin-top:1rem}
.agency-section h2:not(:first-child) {margin-top:1.2rem}
.agency-link-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:.7rem;margin:.75rem 0}
.agency-link-grid > a {display:block;padding:1rem 1.1rem;background:#fff;border:1px solid var(--border);border-radius:14px;text-decoration:none}
.agency-link-grid > a:hover,.agency-link-grid > a:focus-visible {border-color:var(--accent);background:#f4f6fb}
.agency-link-grid strong {display:block;font-weight:800}
.agency-link-grid span {display:block;margin-top:.2rem;line-height:1.45;color:#5d6b7c;font-size:.9rem}
.agency-detail {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem;align-items:start}
.agency-detail li {margin:.25rem 0;color:var(--text-secondary)}
@media(max-width:760px){.agency-detail {grid-template-columns:1fr;gap:0}}
