:root {
  --deep: #0b2650; --blue: #4aa8f0; --teal: #2cc9c1; --sky: #33a8ea; --navy: #e8eef8; --paper: #0b121c; --paper2: #111b2a;
  --ink2: #a6b6cd; --rule: #2b3d57; --on-blue: #06121f; --on-teal: #0a1c3d; --wash: rgba(74,168,240,.1);
  color-scheme: dark;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-color: var(--blue) var(--paper); }
body { font: 400 17px/1.6 var(--font); background: var(--paper); color: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--teal); color: var(--on-teal); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.nav :focus-visible, .sheet :focus-visible, .foot :focus-visible { outline-color: var(--teal); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 8px 14px; background: var(--deep); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--deep); border-bottom: 3px solid var(--teal); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img:first-child { height: 46px; width: auto; display: block; }
.logo img + img { height: 24px; width: auto; display: block; }
.nav-tools { order: 2; margin-left: 28px; }
.links { order: 1; margin-left: auto; display: flex; gap: 32px; font-weight: 600; font-size: .95rem; color: #fff; }
.links a { text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color .15s; }
.links a:hover { border-color: rgba(255,255,255,.4); }
.links a[aria-current] { border-color: var(--teal); }
.burger { display: none; background: none; border: 2px solid #fff; width: 42px; height: 38px; cursor: pointer; }
.burger i { display: block; height: 3px; background: #fff; margin: 6px 8px; transition: transform .2s; }
.burger[aria-expanded=true] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded=true] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.btn { display: inline-block; padding: 15px 26px; background: var(--teal); color: var(--on-teal); font-weight: 700; text-decoration: none; transition: background .15s; }
.btn:hover { background: #fff; }

/* the sheet: a deep-blue blueprint with a faint drafting grid */
.sheet { background-color: var(--deep); color: #fff; padding: 72px 0 56px; min-height: 100vh; display: grid; align-items: center;
  background-image: linear-gradient(rgba(51,168,234,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(51,168,234,.16) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
/* hero: headline beside the emblem */
.hero-top { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.emblem { width: clamp(220px, 26vw, 360px); height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); }
h1 { font-weight: 800; font-size: clamp(3rem, 8.2vw, 7.6rem); line-height: .94; letter-spacing: -.035em; max-width: 12.5ch; text-wrap: balance; font-variation-settings: "opsz" 96, "wdth" 82; }
.hero-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 72px; align-items: end; margin: 44px 0 52px; }
.lead { font-size: 1.22rem; line-height: 1.5; max-width: 44ch; margin-bottom: 26px; color: rgba(255,255,255,.92); }
.specs { display: grid; border-top: 2px solid #fff; }
.specs div { display: grid; grid-template-columns: 9rem 1fr; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.45); }
.specs dt { font-size: .9rem; color: rgba(255,255,255,.8); }
.specs dd { font-weight: 700; font-size: 1.15rem; }

/* site plan */
.plan { margin: 0; color: #fff; }
.plan > svg { display: block; width: 100%; height: auto; }
.plan > svg.sym { width: 0; height: 0; position: absolute; }
.fc { fill: var(--deep); }
.bk-c { fill: var(--teal); } .bk-x { stroke: var(--deep); stroke-width: 3; fill: none; }
.plan-key svg { width: 44px; height: 8px; flex: none; }
.plan-tall { display: none !important; max-width: 420px; margin-inline: auto; }
.plan .ln path { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.plan .dashed path { stroke-dasharray: 12 8; } .plan .dotted path { stroke-dasharray: 1 9; stroke-linecap: round; stroke-width: 4; }
.plan .dim path { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5; }
.plan .dim text { font: 600 14px var(--font); fill: rgba(255,255,255,.85); text-anchor: middle; }
.plan .lbl text { font: 700 19px var(--font); fill: #fff; }
.plan .lbl text.sub { font: 400 14.5px var(--font); fill: rgba(255,255,255,.82); }
.plan-tall .lbl text { font-size: 17px; }
.plan-tall .lbl text.sub { font-size: 14px; }
.plan a { cursor: pointer; }
.plan a:hover text:not(.ltr), .plan a:focus-visible text:not(.ltr) { text-decoration: underline; }
.plan a:focus-visible { outline: none; }
.plan-key { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 32px; margin-top: 18px; font-size: .92rem; color: rgba(255,255,255,.9); }
.plan-key li { display: flex; align-items: center; gap: 12px; }
/* the one motion: the traffic line is drawn once on load */
@media (prefers-reduced-motion: no-preference) {
  .plan .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawln 1.4s cubic-bezier(.3,.7,.2,1) .2s forwards; }
  .plan .draw path + path { animation-delay: 1.1s; animation-duration: .6s; }
  @keyframes drawln { to { stroke-dashoffset: 0; } }
}

/* sections on drafting paper */
.section { padding: 112px 0; }
.tint { background: var(--paper2); border-block: 2px solid var(--blue); }
h2 { font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 16px; max-width: 16ch; text-wrap: balance; font-variation-settings: "opsz" 72, "wdth" 85; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.sub-lead { color: var(--ink2); font-size: 1.12rem; line-height: 1.55; max-width: 50ch; }

/* services: lettered details, matching the plan */
.details { list-style: none; padding: 0; margin-top: 56px; border-top: 2px solid var(--blue); }
.detail { display: grid; grid-template-columns: 44px minmax(0, 4fr) minmax(0, 6fr); gap: 8px 32px; align-items: start; padding: 32px 0; border-bottom: 1px dashed var(--blue); }
.mark { width: 36px; height: auto; display: block; margin-top: 2px; }
.detail h3 { font-size: 1.55rem; padding-top: 6px; }
.does { font-size: 1.35rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; max-width: 34ch; }
.covers { color: var(--ink2); max-width: 52ch; }
.vendors { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vendors li { padding: 2px 12px; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: .88rem; }
.detail:target .mark { width: 36px; height: auto; display: block; margin-top: 2px; }
.detail:target { background: linear-gradient(90deg, var(--wash), transparent 70%); }

/* process: four stages stepping down the sheet */
.steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; align-items: start; }
.steps li { position: relative; padding-top: 22px; border-top: 3px solid var(--blue); }
.steps li::before { content: ""; position: absolute; left: 0; top: -3px; width: 3px; height: calc(var(--drop, 0px) + 22px); background: var(--blue); transform: translateY(-100%); }
.steps li:nth-child(1) { margin-top: 0; } .steps li:nth-child(2) { margin-top: 44px; } .steps li:nth-child(3) { margin-top: 88px; } .steps li:nth-child(4) { margin-top: 132px; }
.steps li::before { content: ""; position: absolute; left: -2px; top: -9px; width: 15px; height: 15px; background: var(--blue); transform: none; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -28px; top: -3px; width: 28px; height: 47px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); }
.steps h3 { font-size: 1.8rem; margin-bottom: 6px; font-variation-settings: "wdth" 85; }
.steps p { color: var(--ink2); max-width: 28ch; }

/* why us */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.notes { list-style: none; padding: 0; border-top: 2px solid var(--blue); }
.notes li { padding: 20px 0 20px 40px; position: relative; border-bottom: 1px dashed var(--blue); font-weight: 600; font-size: 1.15rem; letter-spacing: -.005em; }
.notes li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 14px; height: 14px; border: 2.5px solid var(--blue); }
.notes li:last-child { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-skip-ink: none; }

/* footer: a drawing title block */
.foot { background: var(--deep); color: #fff; padding: 56px 0 48px; background-image: linear-gradient(rgba(51,168,234,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(51,168,234,.16) 1px, transparent 1px); background-size: 48px 48px; }
.titleblock { display: grid; grid-template-columns: 1.6fr 1.2fr 1.4fr .6fr .9fr; border: 2px solid #fff; background: var(--deep); }
.titleblock div { padding: 14px 18px 16px; border-left: 1px solid rgba(255,255,255,.7); }
.titleblock div:first-child { border-left: 0; }
.titleblock dt { font-size: .8rem; color: rgba(255,255,255,.78); }
.titleblock dd { font-weight: 700; font-size: 1.05rem; }
.tb-name img { height: 44px; width: auto; display: block; margin-top: 6px; }
.tb-name dd { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variation-settings: "wdth" 85; }
.titleblock a { text-decoration: none; border-bottom: 2px solid var(--teal); }
.titleblock a:hover { background: var(--teal); color: var(--on-teal); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-top { justify-items: center; text-align: center; gap: 28px; }
  .emblem { width: min(260px, 70vw); order: -1; }
  h1 { max-width: none; }
  .hero-row, .split { grid-template-columns: 1fr; gap: 36px; }
  .detail { grid-template-columns: 44px 1fr; }
  .detail-text { grid-column: 2; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div { border-top: 1px solid rgba(255,255,255,.7); }
  .tb-name { grid-column: 1 / -1; border-top: 0 !important; }
  .titleblock div:nth-child(2), .titleblock div:nth-child(4) { border-left: 0; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li::after { display: none; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps li:nth-child(n+3) { margin-top: 20px; }
  .steps li::after { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-tools { margin-left: auto; }
  .links { margin-left: 0; }
  .burger { display: block; }
  .links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--deep); border-bottom: 3px solid var(--teal); display: none; }
  .links a { padding: 12px 0; }
  .links.open { display: flex; }
  .sheet { padding: 44px 0 40px; background-size: 32px 32px; }
  h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-row { margin: 28px 0 36px; }
  .specs div { grid-template-columns: 1fr; gap: 0; }
  .plan-wide { display: none !important; }
  .plan-tall { display: block !important; }
  .section { padding: 76px 0; }
  .detail { grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 26px 0; }
  .mark { width: 36px; height: auto; display: block; margin-top: 2px; }
  .detail h3 { font-size: 1.35rem; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:nth-child(n+3) { margin-top: 0; }
  .titleblock { grid-template-columns: 1fr; }
  .titleblock div:nth-child(n) { border-left: 0; border-top: 1px solid rgba(255,255,255,.7); }
}
