@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0c1015;
  --panel: #141b24;
  --ink: #f5f6f8;
  --quiet: #bcc5d0;
  --line: #36404d;
  --ice: #bfdcfd;
  --gutter: clamp(1.25rem,5.65vw,6rem);
  --width: 83rem;
}
:root[data-theme="day"] {
  color-scheme: light;
  --bg: #f3f5f7;
  --panel: #e6ebf1;
  --ink: #18212b;
  --quiet: #424e5b;
  --line: #aeb9c4;
  --ice: #21527a;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 400 1rem/1.6 "Space Grotesk", Arial, sans-serif; }
h1,h2,h3,p,figure,ol,ul { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ice); outline-offset: 5px; }
a:hover { color: var(--ice); }
.wrap { width: min(calc(100% - var(--gutter) * 2),var(--width)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-190%); z-index: 2; color: #101820; background: #fff; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.topbar { background: #0b0f14; color: #f0f3f8; border-bottom: 1px solid #343b46; }
.topbar .wrap, .foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.topbar .wrap { min-height: 4.75rem; }
.brand { width: clamp(6.5rem,12vw,10rem); flex: none; display: flex; }
.brand img { width: 100%; height: auto; }
.menu,.foot-menu { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(1rem,2.7vw,2.7rem); }
.menu a,.foot-menu a { text-decoration: none; font-size: .93rem; padding: .45rem 0; }
.menu a:hover,.menu [aria-current="page"],.foot-menu a:hover { text-decoration: underline; color: #c6e2ff; }
.crumbs { margin: clamp(1.4rem,3.4vw,3.4rem) 0 1rem; color: var(--quiet); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: 0; list-style: none; font-size: .875rem; }
.crumbs li+li:before { content: "/"; margin-right: .45rem; opacity: .7; }
.hero { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); align-items: center; gap: clamp(1.8rem,5vw,5.5rem); padding-block: clamp(.9rem,2.8vw,2.9rem) clamp(3rem,6.5vw,6rem); }
.hero h1,.hub h1 { font-weight: 500; font-size: clamp(3rem,5.85vw,5.75rem); line-height: 1; letter-spacing: -.065em; }
.lead { color: var(--quiet); font-size: clamp(1.05rem,1.35vw,1.27rem); max-width: 54rem; line-height: 1.6; margin-top: 1.45rem; }
.hero .actions,.contact-links { display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button { display: inline-block; padding: .72rem 1.1rem; border: 1px solid var(--ink); border-radius: 3rem; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; }
.button:hover { background: var(--ice); color: var(--bg); border-color: var(--ice); }
.plate { position: relative; }
.plate img,.service-tile img,.example img,.place img { display: block; width: 100%; object-fit: cover; background: var(--panel); }
.plate img { aspect-ratio: 5 / 4; }
.plate figcaption { color: var(--quiet); font-size: .9rem; margin-top: .5rem; }
.plate a { display: block; text-decoration: none; }
.plate a:hover { text-decoration: underline; }
.band { padding-block: clamp(2.8rem,6vw,5.4rem); border-top: 1px solid var(--line); }
h2 { font-size: clamp(2rem,4vw,3.7rem); font-weight: 500; line-height: 1.07; letter-spacing: -.053em; }
h3 { font-size: clamp(1.24rem,1.8vw,1.65rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 500; }
.section-tag { font-size: .86rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .09em; color: var(--ice); margin-bottom: .65rem; }
.case-grid,.service-grid,.place-grid { display: grid; gap: 1.65rem; margin-top: 1.75rem; }
.case-grid,.place-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); }
.service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem clamp(1rem,2.1vw,2rem); }
.example img,.service-tile img,.place img { aspect-ratio: 16/10; margin-bottom: .9rem; }
.example h3 a,.service-tile h2 a,.place h3 a { text-decoration-color: transparent; }
.example a:hover,.service-tile a:hover,.place a:hover { text-decoration-color: currentColor; }
.example p,.service-tile p,.place p,.row p,.pull p { margin-top: .65rem; color: var(--quiet); }
.example-title,.tile-title { display: block; text-decoration: none; }
.example-title:hover h3,.tile-title:hover h2,.tile-title:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.split { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(1.75rem,7vw,7rem); }
.rows { border-top: 1px solid var(--line); }
.row { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 1.1rem; }
.row p,.example p,.service-tile p,.place p { max-width: 52rem; }
.pull { background: var(--panel); padding: clamp(1.55rem,4vw,4rem); }
.pull p { max-width: 49rem; font-size: 1.1rem; }
.related { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.8rem; }
.related span { color: var(--quiet); }
.hub { padding-top: 1rem; }
.hub h1 { max-width: 15ch; }
.service-tile h2 { font-size: clamp(1.45rem,2vw,2rem); letter-spacing: -.045em; }
.service-tile p { margin-top: .5rem; }
.service-tile a { text-decoration: none; }
.service-tile img { height: auto; }
.source { display: block; margin-top: .5rem; font-size: .95rem; }
.footer { background: #0b0f14; color: #ecf0f4; border-top: 1px solid #343b46; padding-block: 1.5rem; }
.footer span { color: #bcc5d0; font-size: .9rem; }
@media(max-width: 60rem) { .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 44rem) {
  .hero,.split { grid-template-columns: 1fr; }
  .plate img { aspect-ratio: 16/10; }
  .topbar .wrap { min-height: 4.2rem; }
  .hero { gap: 1.6rem; }
  .case-grid,.place-grid { grid-template-columns: 1fr; }
  .case-grid,.place-grid { gap: 2rem; }
  .foot-grid { align-items: flex-start; flex-direction: column; }
  .menu { gap: .45rem .95rem; justify-content: flex-end; }
  .menu a { font-size: .875rem; }
}
@media(max-width: 32rem) {
  .service-grid { grid-template-columns: 1fr; }
  .topbar .wrap { gap: .75rem; }
  .menu { gap: .2rem .75rem; }
  .menu a { padding: .5rem 0; }
}
