/* We Do Fencing: two tones split hard (their blue and their near-black),
   signwriting capitals, fine single-weight line drawings. */
@font-face { font-family: "Sign"; src: url("/fonts/bigshoulders.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunitosans.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --blue: #00acea;
  --blue-deep: #0090c6;
  --ink: #191416;
  --ink-2: #221d1f;
  --ink-3: #2d2729;
  --white: #ffffff;
  --mist: #e8f6fd;
  --on-ink: #eef2f3;
  --on-ink-soft: #b4bcbf;
  --on-blue-soft: #10363f;
  --r: 26px;
  --pad: clamp(20px, 5vw, 56px);
  --max: 1180px;
  --hdr: 64px;
  --sign: "Sign", "Bahnschrift Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--ink); color: var(--on-ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--blue); }
.on-blue :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3, .sign { font-family: var(--sign); text-transform: uppercase; font-weight: 800; line-height: .9; letter-spacing: .005em; margin: 0 0 .35em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 12.2vw, 6.4rem); }
h2 { font-size: clamp(2.5rem, 11vw, 5rem); }
h3 { font-size: clamp(1.55rem, 6vw, 2.1rem); line-height: .95; }
.eyebrow { font: 800 .8rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 34px; height: 0; border-top: 1.5px solid currentColor; }
.lead { font-size: 1.125rem; max-width: 36em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 800 1rem/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s, color .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn-blue:hover { background: #33bdf0; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { background: transparent; border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.on-blue .btn-line:hover { background: rgba(0,0,0,.06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.textlink:hover { border-bottom-width: 3px; }

/* fine line drawings: one weight everywhere */
.ln, .ln * { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.ln .fill-acc { fill: currentColor; stroke: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr); display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); color: var(--white); transition: background-color .35s ease, height .35s ease, box-shadow .35s; }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1.5px solid var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
body[data-scrolled] .hdr { background: rgba(25,20,22,.96); height: 56px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
body[data-scrolled] .hdr::after { transform: scaleX(1); }
.plate { display: block; background: var(--white); border-radius: 10px; padding: 6px 10px; line-height: 0; transition: transform .35s ease; transform-origin: left center; }
.plate img { width: 104px; height: auto; }
body[data-scrolled] .plate { transform: scale(.88); }
.hdr .call-top { margin-left: auto; display: none; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; }
.menu-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); font-weight: 800; background: rgba(25,20,22,.35); backdrop-filter: blur(6px); }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn svg { width: 18px; height: 18px; }
.menu[open] .menu-btn { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.menu-sheet { position: fixed; left: 10px; right: 10px; top: calc(var(--hdr) + 4px); background: var(--ink-2); border: 1.5px solid var(--ink-3); border-radius: 22px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); max-height: calc(100svh - var(--hdr) - 100px); overflow: auto; animation: sheet .35s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet { from { opacity: 0; transform: translateY(-10px); } }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet a { display: flex; align-items: center; justify-content: space-between; padding: 12px 6px; text-decoration: none; font: 800 1.6rem/1 var(--sign); text-transform: uppercase; border-bottom: 1px solid var(--ink-3); }
.menu-sheet a[aria-current="page"] { color: var(--blue); }
.menu-sheet .sub a { font: 700 1rem/1.2 var(--body); text-transform: none; padding: 10px 6px 10px 18px; color: var(--on-ink-soft); }
.menu-sheet .sub a[aria-current="page"] { color: var(--blue); }
.menu-sheet .btn { width: 100%; margin-top: 14px; }

/* desktop menu: a plain list; the phone sheet is a details element */
.dnav { display: none; }
@media (min-width: 1000px) {
  :root { --hdr: 76px; }
  .plate img { width: 128px; }
  details.menu { display: none; }
  .dnav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .dnav > li > a { display: block; font: 800 1.2rem/1 var(--sign); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 12px 13px; border-radius: 999px; }
  .dnav > li > a:hover, .dnav > li > a[aria-current] { color: var(--blue); }
  .dnav .has-sub { position: relative; }
  .dnav .sub { list-style: none; margin: 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--ink-2); border: 1.5px solid var(--ink-3); border-radius: 16px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .dnav .has-sub:hover .sub, .dnav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .dnav .sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
  .dnav .sub a:hover, .dnav .sub a[aria-current] { background: var(--ink-3); color: var(--blue); }
  .hdr .call-top { display: inline-flex; margin-left: 12px; min-height: 46px; }
}

/* ---------- phone bar: the number never leaves the screen ---------- */
.bar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 39; display: flex; gap: 8px; padding: 6px; background: rgba(25,20,22,.94); border: 1.5px solid var(--ink-3); border-radius: 999px; box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: transform .35s ease; }
.bar .btn { min-height: 50px; padding: 0 16px; }
.bar .call { flex: 1 1 auto; }
.bar .quote { flex: 0 1 auto; overflow: hidden; transition: max-width .35s ease, padding .35s ease, opacity .25s; max-width: 200px; }
body[data-dir="down"] .bar .quote { max-width: 0; padding: 0; opacity: 0; border-width: 0; }
@media (min-width: 1000px) { .bar { display: none; } }

/* ---------- deck: sections are cards that stack and settle ---------- */
.deck { position: relative; }
.card { position: relative; padding: clamp(46px, 9vw, 104px) var(--pad) clamp(52px, 10vw, 112px); border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1); box-shadow: 0 -14px 34px rgba(0,0,0,.22); transform-origin: 50% 0; }
.card:first-child { margin-top: 0; border-radius: 0; box-shadow: none; }
.card > .in { max-width: var(--max); margin: 0 auto; }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink.alt { background: var(--ink-2); }
.on-blue { background: var(--blue); color: var(--ink); }
.on-blue .eyebrow, .on-blue .soft { color: var(--on-blue-soft); }
.on-ink .soft { color: var(--on-ink-soft); }
.on-ink .eyebrow { color: var(--blue); }
.deck.stacking .card { position: sticky; }
.deck.stacking .card > .in { transform: scale(calc(1 - var(--cover, 0) * .05)); opacity: calc(1 - var(--cover, 0) * .55); transform-origin: 50% 0; will-change: transform, opacity; }

/* settle as they arrive */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes rise { from { opacity: 0; transform: translateY(40px); } }
  }
}

/* ---------- home: opening ---------- */
.open { min-height: 100svh; padding: 0; display: grid; grid-template-rows: minmax(210px, 31svh) auto; background: var(--ink); }
.open .photo { position: relative; overflow: hidden; }
.open .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.open .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,20,22,.55) 0%, rgba(25,20,22,0) 30%); }
.open .words { position: relative; padding: 22px var(--pad) 26px; }
.open .kicker { font: 800 1.05rem/1.35 var(--body); color: var(--blue); margin: 0 0 10px; }
.open h1 { color: var(--white); margin-bottom: 12px; }
.open .lead { color: var(--on-ink-soft); font-size: 1rem; margin-bottom: 18px; }
.open .trust { margin: 14px 0 0; font-size: .9rem; color: var(--on-ink-soft); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.open .trust span { display: inline-flex; align-items: center; gap: 8px; }
.open .trust svg { width: 18px; height: 18px; color: var(--blue); }
/* the string line along the hard split, with posts set out on it */
.setout { position: absolute; left: 0; right: 0; top: 0; height: 120px; transform: translateY(-100%); color: var(--blue); pointer-events: none; }
.setout svg { width: 100%; height: 100%; }
.setout .string { stroke-dasharray: 1; stroke-dashoffset: 0; }
.setout .post { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .setout .string { stroke-dashoffset: 1; animation: draw 1.4s .25s cubic-bezier(.6,.1,.3,1) forwards; }
  .setout .peg { opacity: 0; animation: fade .3s .2s forwards; }
  .setout .peg.end { animation-delay: 1.5s; }
  .setout .post { opacity: 0; transform: translateY(-14px); animation: drop .45s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: calc(1.5s + var(--i) * 90ms); }
  .setout .ground { stroke-dashoffset: 1; animation: draw 1.6s .1s ease-out forwards; }
  .open .words > * { animation: up .7s cubic-bezier(.2,.7,.2,1) both; }
  .open .words > :nth-child(2) { animation-delay: .08s; } .open .words > :nth-child(3) { animation-delay: .16s; } .open .words > :nth-child(4) { animation-delay: .24s; } .open .words > :nth-child(5) { animation-delay: .32s; }
  .open .photo img { animation: drift 18s ease-in-out infinite alternate; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1.5%); } }

@media (min-width: 900px) {
  .open { grid-template-rows: none; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
  .open .photo { order: 2; }
  .open .words { padding: calc(var(--hdr) + 60px) var(--pad) 170px; display: flex; flex-direction: column; justify-content: flex-end; }
  .setout { top: auto; bottom: 0; left: auto; right: 0; width: 100%; transform: none; height: 140px; }
  .open .photo::after { background: linear-gradient(90deg, rgba(25,20,22,.35), rgba(25,20,22,0) 40%); }
}

/* ---------- the planner ---------- */
.planner .head { max-width: 40em; }
.planner .stage { background: var(--blue); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 18px calc(var(--pad) * -1) 0; padding: 6px 0; color: var(--ink); }
.planner .stage svg { width: 100%; height: auto; aspect-ratio: 820 / 450; }
.fence-svg line, .fence-svg path, .fence-svg rect, .fence-svg circle { fill: none; stroke: currentColor; stroke-width: 1.35px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.fence-svg .hid { stroke-dasharray: 4 4; opacity: .7; }
.fence-svg .hatch { opacity: .45; }
.fence-svg .acc { stroke: var(--white); }
.fence-svg .dash { stroke-dasharray: 8 6; }
.fence-svg .tagbg { fill: var(--blue); stroke: none; }
.fence-svg .glass { fill: rgba(255,255,255,.16); }
.fence-svg .rib, .fence-svg .thin { opacity: .85; }
.fence-svg text { fill: var(--ink); font: 800 26px/1 var(--body); letter-spacing: .02em; }
.fence-svg text.sm { font-size: 21px; font-weight: 700; }
.fence-svg text.acc { fill: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .stage.fresh .fx > * { stroke-dasharray: 600; stroke-dashoffset: 600; animation: dash .9s cubic-bezier(.5,.1,.2,1) forwards; }
  .stage.fresh .fx > :nth-child(3n) { animation-delay: .06s; } .stage.fresh .fx > :nth-child(3n+1) { animation-delay: .12s; }
}
@keyframes dash { to { stroke-dashoffset: 0; } }
.planner form { display: grid; gap: 14px; margin-top: 18px; }
.planner fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.planner legend, .planner .lab { font: 800 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; padding: 0; display: flex; justify-content: space-between; width: 100%; }
.planner output { font: 800 1.35rem/1 var(--sign); letter-spacing: .03em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: .95rem; transition: background-color .2s, color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.chips input:hover + span { background: rgba(25,20,22,.08); }
.chips input:checked:hover + span { background: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; border-radius: 50%; background: var(--blue); border: 2px solid var(--ink); box-shadow: 0 0 0 5px var(--blue); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); border: 2px solid var(--ink); }
input[type="range"]:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.sliders { display: grid; gap: 6px 28px; }
.result { margin-top: 20px; padding: 18px; border-radius: 18px; background: var(--ink); color: var(--on-ink); display: grid; gap: 14px; }
.result .note { font: 800 1.2rem/1.3 var(--body); color: var(--white); margin: 0; }
.result .tip { margin: 0; color: var(--on-ink-soft); font-size: .97rem; }
.result .lab { color: var(--blue); margin: 0; }
.planner:not(.live) .result .tip { display: none; }
@media (min-width: 900px) {
  .planner .grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
  .planner .stage { margin: 0; border: 1.5px solid var(--ink); border-radius: 18px; }
  .planner form { margin-top: 0; }
  .sliders { grid-template-columns: 1fr 1fr; }
}

/* ---------- work row (swipe) ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 26px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 12px; scroll-padding: 0 var(--pad); scrollbar-width: thin; }
.row > * { scroll-snap-align: start; }
.shot { display: block; text-decoration: none; }
.shot .frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: var(--ink-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }
.shot .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 2px 0; }
.shot .cap b { font: 800 1.35rem/1 var(--sign); text-transform: uppercase; letter-spacing: .02em; }
.shot .cap span { font-size: .9rem; color: var(--on-ink-soft); }
.on-blue .shot .cap span { color: var(--on-blue-soft); }
.shot .tag { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--white); font: 800 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.more { margin-top: 18px; }
@media (min-width: 900px) { .row { grid-auto-columns: calc((100% - 3 * 14px - 2 * var(--pad)) / 4); margin: 34px 0 0; padding: 0 0 12px; } }

/* ---------- services tiles ---------- */
.tiles { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.tiles li { border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.tiles a { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 96px; padding: 12px 10px; text-decoration: none; font: 800 1.05rem/1 var(--sign); text-transform: uppercase; letter-spacing: .03em; transition: background-color .2s, color .2s; }
.tiles svg { width: 38px; height: 38px; }
.tiles a:hover { background: var(--ink); color: var(--blue); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(5, 1fr); } .tiles a { min-height: 170px; padding: 18px; font-size: 1.5rem; } .tiles svg { width: 64px; height: 64px; } }

/* ---------- who we fence for ---------- */
.who { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.who li { display: flex; gap: 10px; align-items: center; }
.who svg { width: 40px; height: 40px; color: var(--blue); flex: none; }
.who b { font: 800 1.15rem/1 var(--sign); text-transform: uppercase; letter-spacing: .02em; }
.code { margin-top: 24px; border: 1.5px dashed var(--blue); border-radius: 18px; padding: 18px; display: grid; gap: 10px; }
.code .sign { font-size: 1.9rem; color: var(--blue); margin: 0; }
.code p { margin: 0; color: var(--on-ink-soft); }
@media (min-width: 900px) { .who { grid-template-columns: repeat(4, 1fr); } .split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; } }

/* ---------- proof ---------- */
.quotes { grid-auto-columns: min(86%, 520px); }
.quote { margin: 0; background: var(--ink); color: var(--on-ink); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font: 700 1.12rem/1.45 var(--body); color: var(--white); }
.quote blockquote::before { content: "\201C"; display: block; font: 800 3.4rem/.6 var(--sign); color: var(--blue); margin-bottom: 8px; }
.quote figcaption { font-size: .9rem; color: var(--on-ink-soft); margin-top: auto; }
.quote figcaption b { color: var(--white); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cred { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .85rem; text-decoration: none; }
.cred svg { width: 20px; height: 20px; }
a.cred:hover { background: var(--ink); color: var(--blue); }

/* ---------- closing card ---------- */
.close .facts { list-style: none; padding: 0; margin: 18px 0 14px; display: grid; gap: 10px; }
.close .facts li { display: flex; gap: 12px; align-items: flex-start; }
.close .facts svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.bigcall { display: block; font: 800 clamp(2.6rem, 13vw, 5.4rem)/1 var(--sign); color: var(--blue); text-decoration: none; letter-spacing: .02em; margin: 6px 0 22px; }
.bigcall:hover { color: var(--white); }

/* ---------- inner pages ---------- */
.page-top { padding-top: calc(var(--hdr) + 26px); }
.crumbs { font-size: .85rem; color: var(--on-ink-soft); margin: 0 0 18px; }
.crumbs a { color: var(--on-ink-soft); }
.page-hero .media { margin: 26px calc(var(--pad) * -1) 0; aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--ink-3); }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .media.drawn { background: var(--blue); color: var(--ink); aspect-ratio: auto; padding: 8px 0; }
.page-hero .media.drawn svg { width: 100%; height: auto; }
.page-hero .media figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(25,20,22,.85); color: var(--white); font-size: .8rem; padding: 6px 10px; border-radius: 999px; }
.page-hero .media.drawn figcaption { position: static; background: none; color: var(--on-blue-soft); padding: 4px var(--pad) 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.on-ink .ticks svg { color: var(--blue); }
@media (min-width: 900px) {
  .page-hero .in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .page-hero .media { margin: 0; border-radius: 22px; aspect-ratio: 4 / 4.2; }
  .page-hero .media.drawn { aspect-ratio: auto; border: 1.5px solid var(--blue); }
}
.prose { max-width: 40em; }
.prose h2 { margin-top: 0; }
.cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.namelist { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.namelist li { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .92rem; }
.gallery { grid-auto-columns: min(80%, 380px); }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: .88rem; padding-top: 8px; color: var(--on-ink-soft); }

.faq { margin-top: 22px; border-top: 1.5px solid currentColor; }
.faq details { border-bottom: 1.5px solid currentColor; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 0; font: 800 1.08rem/1.3 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 20px; max-width: 44em; }

.types { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.types li { border: 1.5px solid currentColor; border-radius: 18px; padding: 20px; scroll-margin-top: calc(var(--hdr) + 16px); }
.types li:target { box-shadow: 0 0 0 4px var(--blue); }
.types h3 { display: flex; align-items: center; gap: 14px; }
.types h3 svg { width: 46px; height: 46px; flex: none; }
.types p { margin: 0; }
@media (min-width: 900px) { .types { grid-template-columns: repeat(3, 1fr); } .types li:first-child { grid-column: span 2; } }

.related { grid-auto-columns: min(46%, 220px); }
.related a { display: grid; gap: 12px; padding: 16px; border: 1.5px solid currentColor; border-radius: 16px; text-decoration: none; font: 800 1.3rem/1 var(--sign); text-transform: uppercase; min-height: 150px; align-content: space-between; }
.related a:hover { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.related svg { width: 46px; height: 46px; }
@media (min-width: 900px) { .related { grid-auto-columns: 1fr; grid-auto-flow: column; } }

/* contact page */
.contact-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.notice { border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 0 0 22px; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--ink-3); font-weight: 600; }
.hours td { text-align: right; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .two { display: grid; gap: 14px; }
@media (min-width: 560px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .92rem; }
.field label small { font-weight: 600; opacity: .8; }
.field input, .field textarea { width: 100%; font: 600 1rem/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.on-ink .field input, .on-ink .field textarea { border-color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: .85rem; margin: 0; }
.form .btn { width: 100%; }

/* quote drawer: rises over the page */
.drawer { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: min(100%, 620px); max-height: 92svh; overflow: auto; border: 0; padding: 0; border-radius: 26px 26px 0 0; background: var(--blue); color: var(--ink); box-shadow: 0 -20px 60px rgba(0,0,0,.5); }
.drawer::backdrop { background: rgba(10,8,9,.6); backdrop-filter: blur(3px); }
.drawer .grip { display: block; width: 46px; height: 5px; border-radius: 99px; background: rgba(25,20,22,.35); margin: 10px auto 0; }
.drawer .inner { padding: 18px 22px 28px; }
.drawer .top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.drawer h2 { font-size: clamp(2.1rem, 9vw, 3rem); margin: 6px 0 8px; }
.drawer .x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.drawer .x svg { width: 18px; height: 18px; }
.drawer .sub { margin: 0 0 16px; }
@media (prefers-reduced-motion: no-preference) {
  .drawer:popover-open { animation: rise-up .42s cubic-bezier(.2,.8,.2,1); }
  @keyframes rise-up { from { transform: translateY(100%); } }
}
@media (min-width: 700px) { .drawer { inset: 0; margin: auto; border-radius: 26px; height: fit-content; } }
.drawer:not(:popover-open) { display: none; }
@supports not selector(:popover-open) { .drawer { position: static; display: block; border-radius: 0; } }

/* ---------- footer ---------- */
.foot { background: #110d0f; color: var(--on-ink-soft); padding: 44px var(--pad) 110px; position: relative; z-index: 1; font-size: .95rem; }
.foot .in { max-width: var(--max); margin: 0 auto; display: grid; gap: 24px; }
.foot .plate { justify-self: start; }
.foot h2 { font-size: 1.4rem; color: var(--white); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .cols4 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.foot .legal { border-top: 1px solid var(--ink-3); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; }
.foot .credit { margin-left: auto; opacity: .75; }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } .foot .cols4 { grid-template-columns: repeat(4, 1fr); } }

/* page-to-page: a job's picture grows into the top of its own page */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.pc-colorbond { view-transition-name: pc-colorbond; }
.pc-timber { view-transition-name: pc-timber; }
.pc-sleeper { view-transition-name: pc-sleeper; }
.pc-crew { view-transition-name: pc-crew; }

/* the 404 */
.lost { min-height: 100svh; display: grid; align-content: center; padding-top: calc(var(--hdr) + 30px); }
.lost svg { color: var(--blue); width: min(100%, 640px); margin: 0 0 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* small helpers (no inline styles: the security policy allows none) */
.foot .plate img { width: 150px; }
.setout .ground { stroke-dasharray: 1; }
.setout .p1 { --i: 1; } .setout .p2 { --i: 2; } .setout .p3 { --i: 3; } .setout .p4 { --i: 4; } .setout .p5 { --i: 5; } .setout .p6 { --i: 6; } .setout .p7 { --i: 7; } .setout .p8 { --i: 8; } .setout .p0 { --i: 0; }
.fig0 { margin: 0; }
.fig-gap { margin-top: 14px; }
.fig0 svg { width: 100%; height: auto; }
.frame.tall { aspect-ratio: 4 / 4.4; }
.figcap { padding-top: 8px; font-size: .9rem; }
.code.ink { border-color: var(--ink); margin-top: 0; }
.code.ink .sign, .code.ink p { color: var(--ink); }
.ticks.flush { margin: 0; }
.sidedraw .media.drawn { margin: 0; border-radius: 16px; border: 1.5px solid var(--ink); }
.bigicon { color: var(--blue); }
.bigicon svg { width: 100%; height: auto; }
.mt { margin-top: 40px; }
.h2s { font-size: 2rem; margin-top: 1.4em; }
.ln text { stroke: none; fill: currentColor; font: 700 22px/1 var(--body); }
.scene { width: 100%; height: auto; }
.on-blue .scene { color: var(--ink); }
.planner form[hidden] { display: none; }
@media (max-width: 899px) {
  .foot .cols4 { gap: 16px 18px; }
  .foot .cols4 > div:nth-child(-n+2) { grid-column: 1 / -1; }
  .foot .plate img { width: 112px; }
  .foot .cols4 ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .foot h2 { font-size: 1.2rem; margin-bottom: 6px; }
}
.lost { overflow-x: clip; } .lost svg { overflow: hidden; }
