/* Inter, IBM Plex Sans (wordmark) and Source Serif 4, SIL Open Font License 1.1 (assets/fonts/*-OFL.txt), latin subset. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
:root {
  --navy: #1f2124;
  --deep: #17181a;
  --navy-2: #2a2c2f;
  --navy-3: #4a4a4c;
  --ink: #1c1d1f;
  --muted: #666668;
  --line: #e3e3e5;
  --pale: #f7f7f9;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.65 var(--sans); font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
img { max-width: 100%; display: block; }
a { color: var(--navy-3); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(31,33,36,.97); color: #fff; transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 6px 24px -10px rgba(0,0,0,.55); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-family: "IBM Plex Sans", var(--sans); font-weight: 600; font-size: 1rem; margin: 0; }

.mk { width: 38px; height: 38px; flex: none; border-radius: 9px; }
.wm { white-space: nowrap; text-transform: uppercase; letter-spacing: .18em; }
.wm small { font-size: .62rem; font-weight: 600; letter-spacing: .16em; opacity: .75; margin-left: 3px; vertical-align: .18em; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav > a, .dd-top { color: #dfdfe1; text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav nav > a:hover, .dd-top:hover { color: #fff; }
.nav .nav-cta { color: var(--navy); background: #fff; padding: 8px 18px; border-radius: 999px; white-space: nowrap; }
.nav .nav-cta:hover { color: var(--navy); background: #ededef; }
.cta-short { display: none; }
.dd { position: relative; }
.dd-top::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd-menu { position: absolute; top: 100%; left: -18px; padding: 10px; margin-top: 14px; min-width: 250px; background: #fff; border-radius: 10px; box-shadow: 0 20px 40px -16px rgba(31,33,36,.45); display: grid; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { color: var(--navy); text-decoration: none; padding: 9px 12px; border-radius: 6px; font-size: .93rem; font-weight: 550; }
.dd-menu a:hover { background: var(--pale); }

/* Menu for narrow screens (native details element) */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; user-select: none; color: #fff; font-size: .95rem; font-weight: 650; padding: 7px 16px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255,255,255,.14); }
.menu summary:focus-visible, .menu-panel a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); padding: 10px 24px 20px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); }
.menu-panel a { display: block; color: #fff; text-decoration: none; padding: 10px 0; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu-panel p { margin: 6px 0 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #c6c6c8; }
.menu-types { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; margin-bottom: 6px; }
.menu-types a { font-weight: 500; font-size: .95rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--navy); color: var(--navy); background: #fff; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn.primary, .navy .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }

/* Home hero */
.hero, .thero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .thero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(31,33,36,.95) 28%, rgba(31,33,36,.45) 100%); }
.hero-in { position: relative; z-index: 1; padding: 150px 0 120px; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero::after { background: linear-gradient(90deg, rgba(31,33,36,.97) 0%, rgba(31,33,36,.94) 50%, rgba(31,33,36,.62) 78%, rgba(31,33,36,.4) 100%); }
.hero .btn { text-shadow: none; }
.eyebrow, .kicker { margin: 0 0 14px; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.eyebrow { color: #dcdcde; }
.hero h1 { margin: 0; max-width: 960px; font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.01em; }
.lede { max-width: 640px; margin: 24px 0 34px; font-size: 1.22rem; line-height: 1.7; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.partner { margin: 40px 0 0; font-size: .9rem; color: #c6c6c8; }
.partner a, .foot a { color: inherit; text-underline-offset: 3px; }
.ph-note { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: .72rem; color: #fff; background: rgba(31,33,36,.75); padding: 3px 9px; border-radius: 4px; }

/* Numbers */
.numbers { background: var(--navy-2); color: #fff; }
.num-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.num-grid > div { padding: 34px 24px 34px 0; border-right: 1px solid rgba(255,255,255,.14); }
.num-grid > div:last-child { border-right: 0; }
.num-grid > div + div { padding-left: 28px; }
.num-grid b { display: block; font-family: var(--serif); font-weight: 600; font-size: 2.8rem; line-height: 1; }
.num-grid span { display: block; margin-top: 8px; color: #cdcdcf; font-size: .95rem; }

/* Bands */
.band { padding: 110px 0; }
.band.alt { background: var(--pale); }
.band.navy { background: var(--deep); color: #fff; }
.kicker { color: var(--navy-3); }
.navy .kicker { color: #c6c6c8; }
h2.kicker { font-family: var(--sans); line-height: 1.65; }
h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; color: var(--navy); }
.navy h2 { color: #fff; }
.intro { max-width: 760px; margin: 0 0 48px; color: var(--muted); font-size: 1.08rem; }
.navy .intro { color: #d2d2d4; }

/* Type tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--navy-2); color: #fff; text-decoration: none; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,33,36,0) 35%, rgba(31,33,36,.92) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 3px; }
.tile-text { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.tile-text b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.tile-text span { display: block; margin-top: 4px; color: #d2d2d4; font-size: .92rem; }
.tile-text span::after { content: "  \2192"; }
.tile .ph-note { top: 12px; bottom: auto; right: 12px; }
.ph-note.real { background: rgba(31,33,36,.55); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; }
.svc h3, .model h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--navy); line-height: 1.2; }
.svc p { margin: 0; color: var(--muted); }
.sub { margin: 64px 0 20px; font-family: var(--serif); font-size: 1.6rem; color: var(--navy); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model { background: var(--navy); border-radius: var(--r); padding: 30px 28px; }
.model h3 { color: #fff; }
.model p { margin: 0; color: #d2d2d4; }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--navy); padding-top: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--navy-3); margin-bottom: 8px; }
.steps b { display: block; margin-bottom: 6px; color: var(--navy); font-size: 1.08rem; }
.steps span { color: var(--muted); }

/* About */
.intro.about { margin-bottom: 0; }
.contact { text-align: center; }
.contact .intro { margin-inline: auto; }
.contact .hero-cta { justify-content: center; }

/* Type page */
.thero { min-height: 460px; display: flex; align-items: flex-end; }
.thero-in { position: relative; z-index: 1; padding: 120px 0 64px; }
.thero h1 { margin: 10px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; }
.thero .lede { margin-bottom: 0; }
.crumbs { font-size: .9rem; color: #c6c6c8; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { margin: 0 10px; opacity: .6; }
.crumbs [aria-current] { color: #fff; }
.proj .crumbs { color: var(--muted); }
.proj .crumbs a:hover { color: var(--navy); }
.proj .crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.pcard { display: block; text-decoration: none; color: inherit; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.pcard:hover { box-shadow: 0 22px 44px -24px rgba(31,33,36,.5); transform: translateY(-3px); }
.pcard figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover figure img { transform: scale(1.05); }
.ph { height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; color: rgba(255,255,255,.55); }
.ph svg { width: 42%; max-width: 150px; }
.ph span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pcard-body { padding: 20px 22px 22px; }
.pcard h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
.pcard-body p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.note { margin-top: 48px; font-size: .9rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 16px; max-width: 820px; }
.other-types { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.other-types div { display: flex; flex-wrap: wrap; gap: 10px; }
.other-types a { text-decoration: none; color: var(--navy); border: 1px solid #d2d2d4; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; }
.other-types a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Project page */
.proj-hero { position: relative; margin: 0; height: min(58vh, 580px); overflow: hidden; background: var(--navy-2); }
.proj-hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-hero.generic img { filter: saturate(.6) brightness(.85); }
.proj-hero.small { height: auto; display: flex; justify-content: center; }
.proj-hero.small img { width: min(100%, 640px); height: auto; object-fit: fill; }
.proj-in { padding: 36px 0 100px; }
.proj h1 { margin: 16px 0 12px; font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; color: var(--navy); }
.credit { margin: 0 0 8px; font-size: .84rem; color: var(--muted); }
.credit a { color: inherit; }
.proj-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; margin-top: 36px; }
.facts-table { width: 100%; border-collapse: collapse; background: var(--pale); border-radius: var(--r); overflow: hidden; }
.facts-table th, .facts-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { width: 42%; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.facts-table td { font-weight: 600; color: var(--navy); }
.h-small { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); margin: 0 0 12px; }
.proj-text { font-size: 1.18rem; margin: 0 0 30px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 26px; }
.pager a { text-decoration: none; color: var(--navy); font-weight: 650; font-size: 1.05rem; }
.pager a:last-child { text-align: right; }
.pager span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.credits { padding-left: 20px; }
.credits li { margin: 0 0 14px; }
.nf { min-height: 50vh; }

/* Footer */
.foot { background: var(--deep); color: #c4c4c6; font-size: .9rem; padding: 56px 0 64px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot p { margin: 0 0 10px; }
.foot .small { font-size: .84rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Tablet */
@media (max-width: 1000px) {
  .nav nav { gap: 12px; }
  .nav nav > a:not(.nav-cta), .dd { display: none; }
  .menu { display: block; }
  .tiles, .pgrid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .model-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .num-grid > div { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proj-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 36px); }
  .nav-row { height: 64px; }
  .menu-panel { max-height: calc(100vh - 64px); padding-inline: 18px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .brand { font-size: .88rem; }
  .hero-in { padding: 88px 0 72px; }
  .lede { font-size: 1.08rem; }
  .band { padding: 72px 0; }
  .tiles, .pgrid, .steps, .foot-grid { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 11; }
  .num-grid b { font-size: 2.2rem; }
  .num-grid > div { padding: 22px 16px 22px 0; }
  .thero { min-height: 380px; }
  .thero-in { padding: 96px 0 44px; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; }
  .proj-hero { height: 42vh; }
}
@media (max-width: 420px) { .brand { gap: 9px; font-size: .8rem; } .wm { letter-spacing: .12em; } .wm small { display: none; } }
@media (max-width: 359px) { .brand { font-size: .72rem; } .wm { letter-spacing: .08em; } }

/* Print */
@media print {
  body { font-size: 10.5pt; color: #000; }
  .nav, .hero-img, .proj-hero, .tile img, .pcard figure, .pager, .hero-cta, .ph-note { display: none !important; }
  .hero, .thero, .numbers, .band.navy, .foot, .model { background: none !important; color: #000 !important; }
  .hero::after, .thero::after, .tile::after { display: none; }
  .hero-in, .thero-in { padding: 0 0 12pt; }
  .tile { aspect-ratio: auto; background: none; color: #000; border: 1px solid #999; padding: 8pt; }
  .tile-text { position: static; }
  .tile-text span, .model p, .num-grid span { color: #333 !important; }
  .band { padding: 14pt 0; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.proj-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nw { white-space: nowrap; }
@media (max-width: 760px) { .hero::after { background: rgba(31,33,36,.9); } }
