:root {
  --ink:#15243a;
  --deep:#101c31;
  --paper:#f4f7fc;
  --green:#234cb4;
  --line:#dce5f2;
  --accent:#b4eddb;
}
body.site-public {font-size:1.04rem}
.site-public .frame {width:min(calc(100% - 3rem),1180px)}
.skip-link {position:absolute;inset-inline-start:.75rem;top:.55rem;transform:translateY(-180%);background:#fff;color:var(--ink);padding:.6rem;z-index:50}
.skip-link:focus {transform:none}
.masthead {background:#101c31;border-color:#31415e}
.header-inner nav a[aria-current] {text-decoration:none;color:#e9f2ff}
.header-inner nav a[aria-current] svg {color:var(--accent)}
.header-quote {background:var(--accent);color:#132c36;border-color:transparent}
.header-quote:hover {background:#d2faec}
.hero-project {background:#1b2c4c}
.hero-project img {aspect-ratio:16/10;object-fit:contain;background:#131f35}
.inner-hero {color:white;background:#101c31;background-image:radial-gradient(ellipse at 78% 55%,#294b7a 0,transparent 62%);border-bottom:1px solid #3d5172}
.inner-hero .inner-grid {display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:clamp(1.1rem,5vw,4rem);padding-block:clamp(2rem,5vw,4.2rem)}
.inner-hero h1 {font-size:clamp(2.25rem,5.35vw,4.65rem);line-height:1.05;letter-spacing:-.055em}
.inner-hero p:not(.eyebrow) {color:#d4dfef;font-size:clamp(1rem,1.5vw,1.17rem);max-width:55ch;margin-top:.95rem}
.inner-hero .eyebrow {color:var(--accent);margin-bottom:.45rem}
.inner-hero .button {background:var(--accent);color:#122e38}
.inner-hero .button:hover {background:#daf9f0}
.hero-text-link {display:inline-flex;align-items:center;gap:.4rem;color:white;font-weight:650}
.hero-text-link svg {width:17px;height:17px}
.service-index {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem}
.service-index a {display:grid;grid-template-columns:21px 1fr 14px;align-items:center;gap:.48rem;min-height:58px;padding:.55rem .7rem;border:1px solid #7896c251;background:#2941657b;border-radius:9px;font-size:.91rem;font-weight:600}
.service-index a:hover {background:#355681}
.service-index svg {width:20px;height:20px;color:var(--accent)}
.service-index svg:last-child {width:14px;height:14px;color:#b1c7e9}
.service-list {display:grid;gap:.7rem;padding-block:1.65rem}
.service-row {display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:1.35rem;padding:clamp(.95rem,2.3vw,1.5rem);background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 13px #172d4c08;scroll-margin-top:1rem}
.service-title {display:flex;align-items:flex-start;gap:.7rem}
.service-title h2,.studio-steps h3 {font-size:clamp(1.13rem,2.4vw,1.65rem);text-wrap:initial}
.service-title p,.studio-steps p {margin-top:.28rem;color:var(--muted)}
.service-title .service-icon {flex:none}
.service-row ul {margin:0;padding:0 0 0 1.05rem;list-style:none;border-left:1px solid var(--line);display:grid;gap:.35rem}
.service-row li {display:flex;gap:.45rem;align-items:flex-start;font-size:.92rem}
.service-row li svg {width:17px;height:17px;color:#227761;margin-top:.12rem}
.project-preview {display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:.48rem;aspect-ratio:2.25}
.project-preview a {background:#223958;border:1px solid #6682ad;border-radius:9px;overflow:hidden}
.project-preview a:first-child {grid-row:1/3}
.project-preview img {width:100%;height:100%;object-fit:cover;object-position:top}
.project-preview a:hover {border-color:var(--accent)}
.portfolio-toolbar {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.85rem;background:white;border:1px solid var(--line);border-radius:12px}
.project-search {display:flex;align-items:center;gap:.5rem;max-width:520px;border:1px solid #a9bad6;border-radius:7px;padding-inline:.62rem;background:#f8faff}
.project-search input {border:0;background:transparent;padding:.5rem 0;width:100%;min-width:0;color:var(--ink)}
.project-search svg {width:18px;height:18px;color:var(--green)}
.portfolio-toolbar .filters {grid-column:1/-1;margin:0}
.portfolio-toolbar output {color:var(--muted);white-space:nowrap;font-size:.89rem}
.filter-empty {padding:1rem;background:white;border:1px solid var(--line);border-radius:10px;margin-top:.8rem}
.filter-empty .button {margin-top:.6rem}
.work-card .work-media {background:#e6edf9}
.work-card .work-copy .eyebrow {color:#254997}
.work-card .work-copy {overflow-wrap:anywhere}
.work-card .work-copy h3 {text-wrap:initial}
.studio-illustration {margin:0;width:100%;height:auto;max-height:310px;object-fit:cover;border:1px solid #5a7399;border-radius:12px}
.studio-process {padding-block:1.8rem}
.studio-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;padding:0;margin:.85rem 0 0;list-style:none;counter-reset:studio-step}
.studio-steps li {counter-increment:studio-step;display:flex;gap:.64rem;background:white;border:1px solid var(--line);border-radius:11px;padding:.95rem}
.studio-steps li::before {content:counter(studio-step);flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#e6f5f0;color:#1a6757;font-weight:700}
.case .case-grid {background:white;border:1px solid var(--line);border-radius:14px;padding:clamp(.75rem,2.3vw,1.45rem)}
.case .case-image {height:auto}
.contact-form {border-top:3px solid #2c58b8}
.contact-band {border-top:1px solid var(--line)}
.site-footer {background:#101c31}
@media(max-width:820px){
  .site-public .frame {width:calc(100% - 1.7rem)}
  .service-index {grid-template-columns:1fr}
  .service-index a {min-height:39px}
}
@media(max-width:620px){
  .inner-hero .inner-grid,.service-row,.studio-steps {grid-template-columns:1fr}
  .inner-hero .inner-grid {padding-block:1.35rem}
  .service-index {grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-index a {grid-template-columns:17px 1fr;min-height:45px;padding:.35rem;font-size:.82rem}
  .service-index svg {width:16px;height:16px}
  .service-index svg:last-child {display:none}
  .service-row {gap:.75rem}
  .service-row ul {border-left:0;border-top:1px solid var(--line);padding:.55rem 0 0}
  .project-preview {max-width:420px}
  .portfolio-toolbar {padding:.55rem;gap:.4rem}
  .portfolio-toolbar output {font-size:.78rem}
  .hero-project img {max-height:210px}
  .studio-illustration {max-height:185px}
}
