/* Mallia Engineering. Blueprint navy, drafting paper, one safety orange. */
@font-face { font-family: "Plex Sans"; src: url(../fonts/PlexSans-var.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/PlexMono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/PlexMono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy: #0E2A47; --navy-2: #0A2038; --navy-3: #163A5F;
  --paper: #F5F2EA; --paper-2: #ECE7DA; --card: #FBFAF6;
  --ink: #2457A0; --ink-2: #5B80BC;
  --text: #33383E; --muted: #5E646B; --line: #D9D3C4;
  --orange: #E8701A; --orange-2: #D2600F; --orange-text: #A84A08;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: 24px; --max: 1240px; --hh: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 56px); }
h2 { font-size: clamp(27px, 2.8vw, 38px); }
h3 { font-size: 19px; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.hp, .visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* drafting paper grid */
.grid-bg {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(36, 87, 160, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 87, 160, .07) 1px, transparent 1px),
    linear-gradient(rgba(36, 87, 160, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 87, 160, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1.5px solid transparent; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #F07E2A; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--paper); }
.btn-line-dark { border-color: rgba(245, 242, 234, .55); color: var(--paper); background: transparent; }
.btn-line-dark:hover { border-color: var(--paper); background: rgba(245, 242, 234, .08); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.short { display: none; }
.link { font-weight: 600; color: var(--navy); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* sheet-style section labels: [S-100 | SERVICES] */
.lbl { display: inline-flex; align-items: stretch; margin: 0 0 18px; border: 1px solid rgba(14, 42, 71, .45); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.lbl span { background: var(--navy); color: var(--paper); padding: 7px 9px; }
.lbl { padding-right: 10px; gap: 10px; align-items: center; }
.lbl.on-dark { border-color: rgba(245, 242, 234, .45); color: var(--paper); }
.lbl.on-dark span { background: var(--orange); color: var(--navy); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.top-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--navy); }
.brand .wm { font: 500 19px/1 var(--sans); letter-spacing: -.01em; }
.brand .wm b { font-weight: 600; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-weight: 500; font-size: 16px; text-decoration: none; color: var(--navy); padding: 9px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--orange); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top-tel { font: 500 15px/1 var(--mono); color: var(--navy); text-decoration: none; padding: 15px 0; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.menu-btn { color: var(--navy); }
.top.solid, body:not(.has-hero) .top { background: rgba(245, 242, 234, .97); box-shadow: 0 1px 0 var(--line); }
body.has-hero .top:not(.solid) .brand, body.has-hero .top:not(.solid) .nav a, body.has-hero .top:not(.solid) .top-tel, body.has-hero .top:not(.solid) .menu-btn { color: var(--paper); }
.sheetnav { position: absolute; top: var(--hh); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(14, 42, 71, .12); }
.sheetnav .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.sheetnav a:not(.btn) { padding: 14px 0; font-size: 19px; font-weight: 500; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); }
.sheetnav a[aria-current] { color: var(--orange-text); }
.sheetnav .btn { margin-top: 14px; }

/* hero */
.hero { position: relative; background: var(--navy); color: var(--paper); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(245, 242, 234, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 242, 234, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; min-height: min(820px, 100svh); padding-top: calc(var(--hh) + 48px); padding-bottom: 64px; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #F4A261; margin-bottom: 22px; }
.hero h1 { color: var(--paper); font-size: clamp(36px, 4.1vw, 56px); margin-bottom: 22px; max-width: 13ch; }
.hero .lede { font-size: 19px; line-height: 1.55; color: rgba(245, 242, 234, .82); max-width: 34em; margin-bottom: 30px; }
.trust { margin: 26px 0 0; font: 400 13px/1.5 var(--mono); letter-spacing: .04em; color: rgba(245, 242, 234, .7); }
.hero-sheet { position: relative; }
.sheet { position: relative; aspect-ratio: 3 / 2; border-radius: 3px; background: #F7F4EC;
  background-image: linear-gradient(rgba(36, 87, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 87, 160, .08) 1px, transparent 1px);
  background-size: 2.5% 3.75%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .08); }
.sheet-svg { width: 100%; height: 100%; }

/* drawing strokes */
.sheet-svg .dr { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sheet-svg .heavy { stroke-width: 2.4; }
.sheet-svg .thin { stroke-width: 1; }
.sheet-svg .grid { stroke: var(--ink-2); stroke-width: .9; }
.sheet-svg .hid { stroke-width: 1; stroke: var(--ink-2); }
.sheet-svg .hatch { stroke-width: .8; stroke: var(--ink-2); }
.sheet-svg .dim { stroke-width: .9; stroke: var(--ink); }
.sheet-svg .cut { stroke-width: 2.6; stroke: var(--ink); }
.sheet-svg .rebar { stroke-width: 2.6; stroke: #C0392B; }
.sheet-svg .fill { fill: var(--ink); }
.sheet-svg .t { fill: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.sheet-svg .note, .sheet-svg .dimt { font-size: 9.5px; }
.sheet-svg .bub { font-size: 12px; font-weight: 500; }
.sheet-svg .bubs { font-size: 9px; font-weight: 500; }
.sheet-svg .bubx { font-size: 6.5px; }
.sheet-svg .ttl { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; }
.sheet-svg .tb { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; }
.sheet-svg .tbs { font-size: 8.5px; letter-spacing: .08em; }
.sheet-svg .tbn { font-size: 19px; font-weight: 500; }
.sheet-svg .st { fill: none; stroke: var(--orange-2); stroke-width: 2.4; }
.sheet-svg .st.thin { stroke-width: 1.1; }
.sheet-svg .stt { fill: var(--orange-2); font: 500 9px var(--mono); letter-spacing: .16em; }
.sheet-svg .stm { fill: var(--orange-2); font: 600 22px var(--sans); letter-spacing: .04em; }
/* hidden lines dashed, grid dash-dot, but only once drawn (the draw uses the dash array itself) */
.sheet.done .hid { stroke-dasharray: 6 4; }
.sheet.done .grid { stroke-dasharray: 18 4 2 4; }
.sheet.done .cut { stroke-dasharray: 16 5 3 5; }

/* the draw: only when JS has started it, so no-JS and print see the finished sheet */
.js .sheet:not(.done) .dr { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js .sheet:not(.done) .fd, .js .sheet:not(.done) .stamp { opacity: 0; }
.sheet.go .dr { animation: draw var(--t, .5s) cubic-bezier(.45, 0, .25, 1) var(--d) forwards; }
.sheet.go .fd { animation: fade .45s var(--ease) var(--d) forwards; }
.sheet.go .stamp { transform-box: fill-box; transform-origin: center; animation: stamp .42s cubic-bezier(.3, 1.4, .5, 1) var(--d) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.5); } 60% { opacity: .95; } 100% { opacity: .92; transform: scale(1); } }
.sheet.done .stamp { opacity: .92; }

/* sections */
.sec { padding: 104px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-sub { color: var(--muted); font-size: 18px; margin: 0; }
.sec-foot { margin: 34px 0 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px 26px; text-decoration: none; color: var(--text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: rgba(14, 42, 71, .5); box-shadow: 0 14px 30px -18px rgba(14, 42, 71, .35); transform: translateY(-2px); }
.card .ico { color: var(--ink); margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card-no { position: absolute; top: 14px; right: 16px; font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--ink-2); }
.more { font-weight: 600; color: var(--navy); font-size: 15px; }

/* steps on a dimension line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--ink); }
.steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 16px; height: 13px;
  background: linear-gradient(var(--ink), var(--ink)) left / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) right / 1px 100% no-repeat; }
.steps li { position: relative; }
.bub { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); font: 500 17px/1 var(--mono); color: var(--navy); margin-bottom: 22px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* stats band */
.stats { background: var(--navy); color: var(--paper); padding: 84px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 10px 0 0; }
.stat-row > div { padding: 6px 28px; border-left: 1px solid rgba(245, 242, 234, .18); }
.stat-row > div:first-child { padding-left: 0; border-left: 0; }
.stat-row dt { font: 500 clamp(40px, 4.4vw, 58px)/1 var(--mono); color: var(--orange); letter-spacing: -.02em; margin-bottom: 12px; }
.stat-row dd { margin: 0; color: rgba(245, 242, 234, .8); font-size: 16px; max-width: 18em; }

/* projects */
.projs { align-items: stretch; }
.proj { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.proj-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--ink); background: #EFEBE0;
  background-image: linear-gradient(rgba(36, 87, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 87, 160, .08) 1px, transparent 1px); background-size: 20px 20px; }
.proj-img .ico { width: 34%; height: auto; opacity: .85; }
.sample { position: absolute; left: 12px; bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(251, 250, 246, .92); padding: 6px 8px; border: 1px dashed var(--line); }
.proj-body { padding: 20px 22px 24px; }
.proj-body .pt { font-size: 18px; margin: 10px 0 0; line-height: 1.3; }
.chip-tag { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(14, 42, 71, .35); background: var(--card); color: var(--navy); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.proj.off { display: none; }
.empty { color: var(--muted); }

/* audience */
.aud { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); }
.aud li { padding: 26px 26px 6px 0; }
.aud li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.aud p { color: var(--muted); font-size: 16px; }

/* quote band and map */
.quote-band { background: var(--paper-2); padding: 96px 0; border-top: 1px solid var(--line); }
.qb-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.qb-copy > p { color: var(--muted); font-size: 18px; max-width: 30em; margin-bottom: 26px; }
.qb-addr { margin-top: 30px; font-style: normal; font-size: 16px; line-height: 1.7; }
.map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #E5E0D3; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map.small { aspect-ratio: 4 / 3; margin-top: 22px; }

/* inner pages */
.page-head { padding: calc(var(--hh) + 64px) 0 64px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { font-size: 19px; max-width: 40em; color: var(--muted); margin: 0; }
.page-head.nf .ctas { margin-top: 30px; }
.crumbs { display: flex; gap: 8px; font: 400 13px/1 var(--mono); color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); padding: 16px 6px; margin: -16px -6px; }
.crumbs { align-items: center; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.jump a { font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 0; color: var(--navy); }
.jump a:hover { color: var(--orange-text); }
.svc-block { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-art { position: relative; align-self: start; aspect-ratio: 1; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); background: #EFEBE0;
  background-image: linear-gradient(rgba(36, 87, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 87, 160, .08) 1px, transparent 1px); background-size: 20px 20px; }
.svc-art .card-no { top: 12px; left: 12px; right: auto; }
.svc-line { font-size: 19px; color: var(--text); max-width: 36em; }
.svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin: 26px 0 30px; }
.svc-cols h3 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.svc-cols p { color: var(--muted); font-size: 16px; }
.svc-cols p + h3 { margin-top: 22px; }
.turn { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--card); color: var(--text) !important; }
.turn span:first-child { font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ticks.big li { font-size: 18px; padding: 9px 0 9px 30px; }
.ticks.big li::before { top: 17px; }
.ticks.big { margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; color: var(--navy); font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { color: var(--muted); font-size: 16px; padding-right: 30px; }

.about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.portrait { margin: 0; }
.portrait-frame { aspect-ratio: 4 / 5; border: 1px solid var(--line); background: #EFEBE0; display: grid; place-items: center; padding: 30px; text-align: center;
  background-image: linear-gradient(135deg, transparent 49.7%, rgba(36, 87, 160, .18) 49.7%, rgba(36, 87, 160, .18) 50.3%, transparent 50.3%), linear-gradient(45deg, transparent 49.7%, rgba(36, 87, 160, .18) 49.7%, rgba(36, 87, 160, .18) 50.3%, transparent 50.3%); }
.portrait-frame span { font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #EFEBE0; padding: 8px 10px; max-width: 22em; }
.portrait figcaption { font: 400 13px/1 var(--mono); color: var(--muted); margin-top: 12px; }
.story p { font-size: 18px; }
.story .btn { margin-top: 10px; }
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.creds > div { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 24px; }
.creds dt { font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.creds dd { margin: 0; font-size: 17px; color: var(--navy); font-weight: 500; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; color: var(--navy); }
.form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #BDB6A5; border-radius: 4px; background: #fff; font: 400 16px/1.4 var(--sans); color: var(--text); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: #B3261E !important; }
.drop { position: relative; border: 1.5px dashed var(--ink-2); border-radius: 4px; padding: 22px; background: var(--card); cursor: pointer; font-weight: 400 !important; }
.drop.over { background: #EAF0F9; border-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; font-size: 16px; }
.drop-t { color: var(--muted); font-size: 15px; }
.drop-t b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.drop-list { font: 400 13px/1.6 var(--mono); color: var(--text); white-space: pre-line; }
.drop-list:empty { display: none; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--text) !important; font-size: 15px !important; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.form-err { color: #B3261E; font-weight: 600; margin: 0; }
.form .btn[type=submit] { justify-self: start; min-width: 200px; }
.form.busy .btn[type=submit] { opacity: .6; pointer-events: none; }
.sent { padding: 26px; border: 1px solid var(--line); border-left: 4px solid var(--orange); background: var(--card); }
.sent h2 { font-size: 26px; }
.sent p { margin: 0; color: var(--muted); }
.form.is-sent > :not(.sent) { display: none; }
.contact-side { position: sticky; top: calc(var(--hh) + 24px); }
.cdl { display: grid; grid-template-columns: 84px 1fr; gap: 12px 16px; margin: 0 0 24px; font-size: 16px; }
.cdl dt { font: 500 12px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cdl dd { margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 23px; margin-top: 34px; }
.prose p { color: var(--text); }

/* footer */
.foot { background: var(--navy-2); color: rgba(245, 242, 234, .78); padding: 72px 0 30px; font-size: 15px; }
.foot a { color: rgba(245, 242, 234, .9); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(245, 242, 234, .14); }
.brand.on-dark { color: var(--paper); margin-bottom: 18px; }
.foot-id p { max-width: 22em; }
.foot-contact { font-style: normal; display: grid; gap: 0; align-content: start; }
.foot-contact a { padding: 10px 0; }
.fold summary { list-style: none; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; pointer-events: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fold p { margin: 0 0 8px; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 14px; }
.foot-legal p { margin: 0; display: flex; gap: 22px; align-items: center; }
.foot-legal a { display: inline-block; padding: 10px 5px; margin: 0 -5px; }
.mock-note { margin: 22px 0 0; font: 400 12px/1.5 var(--mono); color: #F4A261; }

/* items waiting on Maurice (mockup only) */
.mock .tbc { text-decoration: underline dotted var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; }

.callbar { display: none; }

/* reveal: cards fade and rise, once */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .rise.now { transition: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .nav { gap: 18px; margin-left: 0; }
  .top-tel { display: none; }
  .hero-in { gap: 40px; }
}
@media (max-width: 960px) {
  :root { --hh: 64px; }
  .nav, .top-act .btn-sm { display: none; }
  .menu-btn { display: flex; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: calc(var(--hh) + 36px); padding-bottom: 56px; }
  .hero h1 { max-width: 24ch; }
  .three, .stat-row, .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { row-gap: 34px; }
  .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud li:nth-child(3) { padding-left: 0; border-left: 0; }
  .aud li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .qb-in, .two-col, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .contact-side { position: static; }
  .svc-block { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projs.three .proj:nth-child(3):last-child { display: none; }
}
@media (max-width: 700px) {
  :root { --gut: 20px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .sec { padding: 72px 0; }
  .hero-in { display: flex; flex-direction: column; min-height: 100svh; padding-top: calc(var(--hh) + 16px); padding-bottom: 20px; gap: 20px; }
  .hero-sheet { order: -1; flex: 1 1 120px; min-height: 120px; }
  .hero-copy { flex: none; }
  .sheet { aspect-ratio: auto; height: 100%; overflow: hidden; }
  .cta-vis .callbar { transform: translateY(120%); }
  .kicker { font-size: 12px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 34px); margin-bottom: 14px; max-width: none; }
  .hero .lede { font-size: 16px; margin-bottom: 20px; }
  .trust { margin-top: 14px; font-size: 12px; }
  .ctas { flex-wrap: nowrap; }
  .ctas .btn { flex: 1 1 auto; padding: 0 16px; }
  .ctas .btn-orange { flex-grow: 1.6; }
  .long { display: none; }
  .short { display: inline; }
  .three, .creds, .aud { grid-template-columns: 1fr; }
  .projs.three .proj:nth-child(3):last-child { display: flex; }
  .aud li, .aud li + li { padding: 22px 0 4px; border-left: 0; }
  .aud li + li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 0 0 28px 64px; }
  .steps li .bub { position: absolute; left: 0; top: -6px; margin: 0; }
  .steps li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 40px; bottom: 0; width: 1px; background: var(--ink); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div { padding: 0 0 0 18px; }
  .stat-row > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats { padding: 64px 0; }
  .quote-band { padding: 72px 0; }
  .svc-block { grid-template-columns: 1fr; gap: 22px; padding: 44px 0; }
  .svc-art { width: 120px; }
  .svc-art .ico { width: 76px; height: 76px; }
  .svc-art .card-no { display: none; }
  .svc-cols { grid-template-columns: 1fr; gap: 22px; }
  .svc-block .btn { width: 100%; }
  .f2 { grid-template-columns: 1fr; }
  .form .btn[type=submit] { justify-self: stretch; }
  .page-head { padding: calc(var(--hh) + 40px) 0 44px; }
  .page-head .lede { font-size: 17px; }
  .foot { padding: 52px 0 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; padding-bottom: 28px; }
  .fold { border-top: 1px solid rgba(245, 242, 234, .14); padding-top: 16px; }
  .fold summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 28px; margin-bottom: 0; }
  .fold summary::after { content: "+"; font-size: 18px; }
  .fold[open] summary::after { content: "\2212"; }
  .fold[open] summary { margin-bottom: 12px; }
  .foot-legal { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .callbar { display: flex; gap: 10px; position: fixed; transition: transform .25s var(--ease); z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
  .callbar .btn { flex: 1; }
  .callbar .btn-orange { flex: 1.6; }
}
@media (max-width: 700px) and (max-height: 620px) {
  .hero h1 { font-size: 26px; }
  .hero .lede { font-size: 15px; }
}
@media (max-width: 380px) {
  .brand .wm { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
}
@media print {
  .top, .callbar, .map, .foot-legal { display: none; }
  .hero { background: none; color: var(--text); }
}
