/* PJP Construct: the site's own styles. Library pieces (call bar, quote drawer, quote carry, photo carry,
   progress line, scroll story) have their own files and are set to fit here.
   The thread through the page is the roof pitch, 22.5 degrees: the angle cut from the corner of every picture,
   the stroke before every label and the line under the hero, taken from the angled band on their current site
   and the metal roofs that are their core work. */

@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #1a1619;
  --bg-2: #211c20;
  --bg-3: #2b2529;
  --line: rgb(243 239 233 / .13);
  --ink: #f3efe9;
  --muted: #bdb5ac;
  --lime: #8abc3c;
  --lime-hi: #a3d356;
  --on-lime: #12140e;
  --paper: #f2efe9;
  --paper-2: #e8e3da;
  --paper-ink: #1a1619;
  --paper-muted: #574f49;
  --green-ink: #3b5c12;
  --warn: #f0b44c;
  --radius: 4px;
  --wrap: 76rem;
  --gut: clamp(1rem, 4.5vw, 2.5rem);
  --cut: 2.6rem;                 /* the corner cut, across */
  --cut-h: 1.077rem;             /* and down: tan(22.5deg) of it */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* library pieces, set to fit */
  --cb-bg: rgb(26 22 25 / .94);
  --cb-ink: var(--ink);
  --cb-call: var(--lime);
  --cb-call-ink: var(--on-lime);
  --cb-h: 4.75rem;
  --cb-h-stuck: 3.4rem;
  --qd-bg: #f6f3ee;
  --qd-ink: #1a1619;
  --qd-accent: #4d7a17;
  --pc-time: .55s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 450; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 1.35rem + 2vw, 3rem); font-weight: 450; letter-spacing: -.02em; }
h3, .h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); }
.h4 { font-size: 1.02rem; }
.section-more { margin-top: 2rem; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--green-ink); }
::selection { background: var(--lime); color: var(--on-lime); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--lime); color: var(--on-lime); font-weight: 600; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Labels: a small mono line with the pitch stroke in front ---- */
.label {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0 0 1.1rem;
  font: 500 .76rem/1.3 "Plex Mono", ui-monospace, monospace;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 1.7rem; height: 2px; background: var(--lime); transform: rotate(-22.5deg); transform-origin: left center; translate: 0 .32rem; }
.paper .label { color: var(--paper-muted); }
.paper .label::before { background: var(--green-ink); }
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.paper .lede { color: var(--paper-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .75rem 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 550 1rem/1.15 "Jost", system-ui, sans-serif; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn-call { background: var(--lime); color: var(--on-lime); }
.btn-call:hover { background: var(--lime-hi); }
.btn-line { border-color: rgb(243 239 233 / .45); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: rgb(243 239 233 / .06); }
.paper .btn-line { border-color: rgb(26 22 25 / .4); color: var(--paper-ink); }
.paper .btn-line:hover { border-color: var(--paper-ink); background: rgb(26 22 25 / .05); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; text-decoration: none; color: var(--lime); }
.arrow-link::after { content: ""; width: 1.4rem; height: 1.5px; background: currentColor; transition: width .25s var(--ease); }
.arrow-link:hover::after { width: 2.2rem; }
.paper .arrow-link { color: var(--green-ink); }

/* ---- Pictures: the corner cut at roof pitch ---- */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-h), 100% 100%, 0 100%); }
.cut-l { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-h)); }
.art-tag {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2;
  padding: .3rem .55rem; border-radius: 3px;
  background: rgb(26 22 25 / .78); color: #e4ded6;
  font: 500 .68rem/1.2 "Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
}

/* ---- Header (sticky call bar 2) and menu ---- */
.cb-head-in { border-bottom-color: var(--line); backdrop-filter: blur(10px); gap: 1.25rem; }
.cb-who { grid-auto-flow: row; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-words { display: grid; line-height: 1.05; }
.brand-words b { font-weight: 600; font-size: 1.08rem; letter-spacing: .02em; }
.cb-head .brand-words small { display: none; }
.brand-words small { font: 500 .62rem/1.2 "Plex Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cb-extra { font: 500 .66rem/1.3 "Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 2.75rem; }
.cb-phone { font-weight: 600; letter-spacing: .01em; border-radius: var(--radius); }
.cb-phone svg { width: 1rem; height: 1rem; }
.head-right { display: flex; align-items: center; gap: .5rem; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 .85rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink);
  font: 500 .95rem/1 "Jost", sans-serif; cursor: pointer;
}
.menu-btn svg { width: 1.15rem; height: 1.15rem; }
.menu {
  inset: var(--cb-h-stuck) 0 auto auto; margin: 0; width: min(22rem, 100vw); max-height: calc(100dvh - var(--cb-h-stuck));
  padding: 1rem 1.25rem 1.5rem; border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #1f1a1e; color: var(--ink); overflow: auto;
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: .85rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; }
.menu a[aria-current="page"] { color: var(--lime); }
.menu .short { display: none; }
@media (min-width: 75rem) { .menu .long { display: none; } .menu .short { display: inline; } }
.cb-phone .word { display: none; }
.menu .menu-sub { font-size: .98rem; color: var(--muted); padding-left: 1rem; }
.menu .menu-sub[aria-current="page"] { color: var(--lime); }
.menu::backdrop { background: rgb(0 0 0 / .4); }
@media (prefers-reduced-motion: no-preference) {
  .menu { transition: translate .28s var(--ease), overlay .28s allow-discrete, display .28s allow-discrete; translate: 100% 0; }
  .menu:popover-open { translate: 0 0; }
  @starting-style { .menu:popover-open { translate: 100% 0; } }
}
@media (max-width: 30rem) {
  .cb-phone .num { display: none; }
  .cb-phone .word { display: inline; }
  .cb-extra { display: none; }
  .cb-phone { padding: 0 .85rem; }
}
@media (max-width: 26rem) {
  .menu-btn .word { display: none; }
  .brand-words small { display: none; }
}
@media (min-width: 75rem) {
  .menu-btn { display: none; }
  .menu[popover] {
    display: block; position: static; inset: auto; width: auto; max-height: none; padding: 0; border: 0; background: none; overflow: visible; translate: none;
  }
  .menu ul { display: flex; gap: .2rem; }
  .menu li.sub-only { display: none; }
  .menu a { padding: .5rem .7rem; border: 0; font-size: .98rem; border-radius: var(--radius); color: var(--muted); }
  .menu a:hover { color: var(--ink); background: rgb(243 239 233 / .06); }
  .menu a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
  .head-nav { margin-left: auto; }
}
.pl { --pl-top: var(--cb-h-stuck); --pl-accent: var(--lime); }

/* ---- Hero: built to hold their video ---- */
.hero { position: relative; isolation: isolate; min-height: min(100svh - var(--cb-h), 52rem); display: grid; align-items: end; overflow: clip; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-drift { position: absolute; inset: 0; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-b { opacity: 0; }
.hero-media .hero-b img { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media .hero-drift { animation: drift 26s ease-in-out infinite alternate; transform-origin: 70% 60%; }
  .hero-media .hero-b { animation: daylight 26s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.6%, -1%, 0); } }
@keyframes daylight { 0%, 18% { opacity: 0; } 82%, 100% { opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(26 22 25 / .0) 0, rgb(26 22 25 / .0) 45%, rgb(26 22 25 / .72) 100%); }
.hero-copy { padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 7vw, 5.5rem); }
.hero-copy h1 { max-width: 13.5ch; margin-bottom: 1.25rem; }
.hero-copy .lede { max-width: 34rem; color: #d6cfc6; }
.hero-copy .btn-row { margin-top: 1.75rem; }
.hero-pitch { display: block; width: min(100%, 26rem); height: 1.3rem; margin: 0 0 1.4rem; color: var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .hero-pitch path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: pitch-draw 1.6s .25s var(--ease) forwards; }
}
@keyframes pitch-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 47.99rem) {
  .hero { min-height: 0; align-items: start; }
  .hero-copy { padding-bottom: min(62vw, 22rem) !important; }
  .hero-media { top: auto; height: min(150vw, 42rem); }
  .hero-media img { object-position: 50% 100%; }
  .hero-pitch { margin-bottom: 1rem; }
  .hero::after { background: linear-gradient(to bottom, rgb(26 22 25 / .55) 0, rgb(26 22 25 / .0) 46%, rgb(26 22 25 / .0) 70%, rgb(26 22 25 / .5) 100%); }
  .hero-copy { padding-top: 1.75rem; }
  .hero-copy .lede { font-size: 1.05rem; }
}
@media (min-width: 48rem) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgb(26 22 25 / .92) 0, rgb(26 22 25 / .6) 34%, rgb(26 22 25 / 0) 60%); }
}

/* the facts under the hero */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts li { padding: 1rem .9rem; border-left: 1px solid var(--line); display: grid; gap: .15rem; }
.facts li:nth-child(odd) { border-left: 0; }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts b { font-weight: 550; font-size: 1.02rem; }
.facts span { font: 500 .68rem/1.35 "Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 56rem) {
  .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { border-top: 0 !important; border-left: 1px solid var(--line) !important; padding: 1.4rem 1.5rem; }
  .facts li:first-child { border-left: 0 !important; }
}

/* ---- Sections ---- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 20ch; margin: 0; }
.section-head .lede { margin: 0; }
@media (min-width: 60rem) {
  .section-head.split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 3rem; }
}
.paper { background: var(--paper); color: var(--paper-ink); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---- Services ---- */
.services { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .services { grid-template-columns: repeat(6, minmax(0, 1fr)); } .services > :nth-child(-n+2) { grid-column: span 3; } .services > :nth-child(n+3) { grid-column: span 2; } }
.service {
  position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s ease, transform .35s var(--ease);
}
.service:hover { border-color: rgb(138 188 60 / .55); }
.service-pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.service-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-pic img { transform: scale(1.04); }
.service-body { padding: 1.25rem 1.35rem 1.4rem; display: grid; gap: .45rem; align-content: start; }
.service-body h3 { margin: 0; }
.service-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.service-body .arrow-link { margin-top: .5rem; }

/* ---- Picture with words beside it ---- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.flip > :first-child { order: 2; } }
.figure { position: relative; margin: 0; background: var(--bg); }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.paper .figure figcaption { color: var(--paper-muted); }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; align-items: start; }
.ticks li::before { content: ""; width: .95rem; height: 2px; margin-top: .8rem; background: var(--lime); transform: rotate(-22.5deg); }
.paper .ticks li::before { background: var(--green-ink); }

/* ---- Steps (a numbered process) ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.paper .steps > li { border-top-color: rgb(26 22 25 / .14); }
.steps > li::before { content: counter(st, decimal-leading-zero); font: 500 .85rem/1.9 "Plex Mono", ui-monospace, monospace; color: var(--lime); letter-spacing: .08em; }
.paper .steps > li::before { color: var(--green-ink); }
.steps h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }
.paper .steps p { color: var(--paper-muted); }
@media (min-width: 60rem) { .steps.cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } .steps.cols > li { grid-template-columns: 1fr; gap: .6rem; } }

/* ---- Scroll story, set to fit ---- */
.ss { --ss-top: calc(var(--cb-h-stuck) + 1.5rem); --ss-top-small: var(--cb-h-stuck); --ss-bg: var(--bg); --ss-accent: var(--lime); }
.ss-frame { border-radius: 0; background: var(--bg); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-h), 100% 100%, 0 100%); }
.ss-layer > img { object-fit: cover; }
.ss-caption span { padding: .35rem .6rem; border-radius: 3px; background: rgb(26 22 25 / .82); font: 500 .7rem/1.2 "Plex Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.ss-step h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); margin-bottom: .5rem; }
.ss-step p { color: var(--muted); max-width: 32rem; }
.ss-step::before { font-family: "Plex Mono", ui-monospace, monospace; font-weight: 500; }

/* ---- Gallery (projects) ---- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; border: 0; }
.filters legend { width: 100%; margin-bottom: .6rem; font: 500 .72rem/1.3 "Plex Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .45rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .97rem; color: var(--ink); background: transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip input:hover + span { border-color: rgb(243 239 233 / .4); }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.chip small { font: 500 .7rem/1 "Plex Mono", monospace; opacity: .7; }
.gallery { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 42rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.job { display: grid; grid-template-rows: auto 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job[hidden] { display: none; }
.job-pic { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.job-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.job-pic .after { opacity: 0; }
.job.show-after .job-pic .after { opacity: 1; }
.job-body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.job-body h2, .job-body h3 { margin: 0; font-size: 1.15rem; }
.job-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.job-tags li { font: 500 .66rem/1 "Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }
.ba { display: inline-flex; margin-top: .35rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: max-content; }
.ba button { min-height: 2.5rem; padding: 0 1rem; border: 0; background: transparent; color: var(--muted); font: 500 .92rem/1 "Jost", sans-serif; cursor: pointer; }
.ba button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.gallery-empty { color: var(--muted); }

/* ---- Finishes library ---- */
.lib-group + .lib-group { margin-top: clamp(2.5rem, 6vw, 4rem); }
.lib-group > h2 { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.25rem; font-size: 1.35rem; }
.lib-group > h2 small { font: 500 .7rem/1 "Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lib { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) { .lib { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .lib { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mat { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease; }
.mat:has(input:checked) { border-color: var(--lime); }
.mat-pic { aspect-ratio: 1; background: var(--bg); }
.mat-pic img { width: 100%; height: 100%; object-fit: cover; }
.mat-body { padding: .85rem .9rem 1rem; display: grid; gap: .35rem; align-content: start; }
.mat-body h4 { margin: 0; font-size: 1.02rem; font-weight: 550; letter-spacing: 0; }
.mat-body p { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.mat-pick { display: flex; align-items: center; gap: .55rem; margin-top: .45rem; min-height: 2.5rem; font-size: .9rem; cursor: pointer; }
.mat-pick input { width: 1.15rem; height: 1.15rem; accent-color: var(--lime); margin: 0; }
.lib-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.lib-note p { margin: 0; flex: 1 1 18rem; color: var(--muted); }

/* ---- Area ---- */
.route { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; display: grid; gap: .1rem; }
.route::before { content: ""; position: absolute; left: .42rem; top: .7rem; bottom: .7rem; width: 2px; background: linear-gradient(var(--lime), rgb(138 188 60 / .25)); }
.route li { position: relative; padding: .45rem 0; font-size: 1.08rem; }
.route li::before { content: ""; position: absolute; left: -1.45rem; top: 1rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); }
.route li.base::before { background: var(--lime); width: .8rem; height: .8rem; left: -1.55rem; top: .9rem; }
.route li small { display: block; font: 500 .68rem/1.3 "Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.paper .route li::before { background: var(--paper); border-color: var(--green-ink); }
.paper .route li.base::before { background: var(--green-ink); }
.paper .route::before { background: linear-gradient(var(--green-ink), rgb(59 92 18 / .25)); }
.paper .route li small { color: var(--paper-muted); }

/* ---- Page heads (inner pages) ---- */
.page-head { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { max-width: 18ch; font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); }
.page-hero { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 60rem) { .page-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.page-hero .figure { aspect-ratio: 3 / 2; overflow: hidden; }
.page-hero .figure img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { margin: 0 0 1.25rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- Prose ---- */
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.paper .prose a, .paper a.inline { color: var(--green-ink); }
.cols-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---- Questions ---- */
.faq { border-top: 1px solid var(--line); }
.paper .faq, .paper .faq details { border-color: rgb(26 22 25 / .14); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; cursor: pointer; font-size: 1.12rem; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .7rem; height: .7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -.2rem; transition: rotate .25s ease; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 .15rem; }
.faq details > div { padding: 0 0 1.25rem; max-width: 44rem; color: var(--muted); }
.paper .faq details > div { color: var(--paper-muted); }

/* ---- Call-to-action band ---- */
.cta { position: relative; overflow: hidden; }
.cta-in { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .cta-in { grid-template-columns: minmax(0, 1.2fr) auto; } }
.cta h2 { margin: 0; max-width: 18ch; }
.cta p { margin: .8rem 0 0; color: var(--muted); max-width: 36rem; }
.cta-pitch { position: absolute; right: -2rem; bottom: -1px; width: min(60vw, 40rem); height: auto; color: rgb(138 188 60 / .16); pointer-events: none; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font: 500 .7rem/1.3 "Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 1.2rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lime); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---- Forms (the drawer and the contact page) ---- */
.form { display: grid; gap: .9rem; }
.form label { display: grid; gap: .35rem; font-size: .95rem; font-weight: 500; }
.form input, .form textarea, .form select {
  width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1px solid rgb(26 22 25 / .28); border-radius: var(--radius);
  background: #fff; color: #1a1619; font: 400 1rem/1.4 "Jost", system-ui, sans-serif;
}
.form textarea { min-height: 6.5rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--qd-accent); outline-offset: 1px; border-color: var(--qd-accent); }
.card .form input, .card .form textarea { border-color: rgb(243 239 233 / .25); }
.card .form input:focus, .card .form textarea:focus { outline-color: var(--lime); }
.form .two { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 26rem) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.form .btn { width: 100%; }
.form-note { font-size: .85rem; margin: 0; opacity: .8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qd .btn-call { background: #2f4a0d; color: #fff; }
.qd .btn-call:hover { background: #3b5c12; }
.qd .qd-title { font-weight: 500; }
.qd .qd-sub { margin: -.3rem 0 1rem; font-size: .95rem; color: #574f49; }
.qd .qd-sub a { color: #2f4a0d; font-weight: 600; }
.carry-summary { --carry-accent: #4d7a17; background: #fff; }
.card .carry-summary { --carry-accent: var(--lime); background: rgb(243 239 233 / .05); border-color: var(--line); }

/* ---- Footer ---- */
.foot { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; background: #141113; border-top: 1px solid var(--line); font-size: .95rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot h2 { font-size: 1rem; font-weight: 550; letter-spacing: .02em; margin-bottom: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p { color: var(--muted); }
.foot-legal { font: 500 .72rem/1.6 "Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.foot-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; color: var(--muted); font-size: .85rem; }
.studio-credit { color: inherit; opacity: .85; text-decoration: none; white-space: nowrap; }
.studio-credit:hover, .studio-credit:focus-visible { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .foot { padding-bottom: 7.5rem; } }
.cb-foot { background: #141113; }
@container cb-page scroll-state((scrolled: block-end) and (scrollable: block-end)) { .cb-foot { background: rgb(20 17 19 / .97); } }
.cb-foot svg { width: 1.1rem; height: 1.1rem; flex: none; }
.cb-foot .cb-second { border-color: rgb(243 239 233 / .7); color: var(--ink); font-family: "Jost", system-ui, sans-serif; }
.cb-foot :is(a, button) { border-radius: var(--radius); font-family: "Jost", system-ui, sans-serif; font-weight: 600; }

/* ---- Arriving as you scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- 404 ---- */
.lost { min-height: 70vh; display: grid; align-items: center; }
.lost h1 { max-width: 16ch; }

/* ---- Phones: shorter (Jack, 22 Nov 2026: "don't want people to have to scroll for ages") ---- */
.places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.places li { padding: .4rem .75rem; border: 1px solid rgb(26 22 25 / .16); border-radius: 99px; font-size: .95rem; }
.places li.base { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }
.places small { font: 500 .65rem/1 "Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-left: .25rem; }
@media (min-width: 68rem) { .services.services-2 > * { grid-column: span 3; } }
@media (max-width: 39.99rem) {
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.25rem; gap: .6rem; }
  .section-head .lede { font-size: 1rem; }
  .label { margin-bottom: .7rem; }
  /* service cards: a picture beside the words, not above them */
  .services { gap: .7rem; }
  .service { grid-template-columns: 6.75rem minmax(0, 1fr); grid-template-rows: none; }
  .service-pic { aspect-ratio: auto; height: 100%; min-height: 6.75rem; }
  .service-pic.cut { clip-path: none; }
  .service-body { padding: .8rem .9rem; gap: .25rem; align-content: center; }
  .service-body h3 { font-size: 1.06rem; }
  .service-body p { font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .service-body .arrow-link { display: none; }
  .cta { padding-block: 2.5rem; }
  .cta-in { gap: 1rem; }
  /* footer: the two lists side by side, the blurb dropped */
  .foot { padding-top: 2.5rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 1rem; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .foot-about { display: none; }
  .foot-legal { margin: .8rem 0 0; }
  .foot-base { margin-top: 1.75rem; }
}
