/* CLM Group (Qld): site styles. Colours are theirs: green #75C53F and black from their website,
   the green-to-teal of their logo (#85C446 to #056282), and white. */

@font-face {
  font-family: "Red Hat Display";
  src: url("/fonts/redhat-display.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("/fonts/redhat-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ink: #0b0f10;
  --ink-2: #3d4648;
  --ink-3: #5c6668;
  --paper: #ffffff;
  --mist: #f3f6f2;
  --rule: #e3e8e2;
  --green: #75c53f;
  --green-hi: #85c446;
  --green-text: #2f6b12;
  --teal: #056282;
  --print: #08384a;
  --print-2: #0c4558;
  --line: #d6e8f0;
  --line-green: #9ad65a;
  --edge: linear-gradient(90deg, #85c446 0%, #6db151 26%, #287d71 62%, #056282 100%);
  --r: 18px;
  --gut: clamp(18px, 5vw, 56px);
  --max: 1200px;
  --head: 64px;
  --sans: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(2rem, 7.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.lede { font-size: clamp(1.08rem, 2.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

/* The edge: their logo's green-to-teal sweep, drawn as a garden edge under headings. */
.edge { display: block; width: 120px; height: 14px; margin: 18px 0 0; }
.edge path { fill: none; stroke: url(#edge-grad); stroke-width: 3.2; stroke-linecap: round; }
.reveal .edge path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.1s var(--ease) .2s; }
.reveal.in .edge path { stroke-dashoffset: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--green-hi); box-shadow: 0 8px 24px -10px rgba(85, 160, 40, .7); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d2426; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--teal); }

/* Header: dark, like their own site, so the logo reads as it was made to. */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--head);
  background: rgba(11, 15, 16, .94); color: #fff;
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  transition: transform .4s var(--ease), background-color .3s, height .3s;
}
.site-head.is-hidden { transform: translateY(-100%); }
.site-head.is-scrolled { --head: 56px; height: 56px; background: rgba(11, 15, 16, .98); }
.head-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; transition: height .3s; }
.is-scrolled .brand img { height: 34px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links { display: none; list-style: none; gap: 2px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.head-call { display: none; }
.menu-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.menu-panel {
  position: fixed; inset: var(--head) 0 auto; z-index: 39; background: var(--ink); color: #fff;
  padding: 10px var(--gut) 28px; max-height: calc(100svh - var(--head)); overflow: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .3s var(--ease);
}
.menu-panel.open { transform: none; opacity: 1; visibility: visible; }
.menu-panel ul { list-style: none; }
.menu-panel a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none; font-size: 1.25rem; font-weight: 600; }
.menu-panel .btn { margin-top: 20px; width: 100%; }
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .head-call { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: .95rem; }
  .menu-btn, .menu-panel { display: none; }
}

/* Phone bar: follows on a phone, never leaves the screen once the opening has passed. */
.callbar {
  position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 38;
  display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(11, 15, 16, .95); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55);
  transform: translateY(140%); transition: transform .45s var(--ease), padding .3s;
}
.callbar.show { transform: none; }
.callbar.tight { padding: 5px; }
.callbar .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: .98rem; }
.callbar .btn-line { color: #fff; flex: .8; }
@media (min-width: 980px) { .callbar { display: none; } }

/* Opening */
.hero { position: relative; min-height: min(100svh, 900px); color: #fff; overflow: hidden; background: var(--print); display: flex; }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-photo img { animation: drift 16s var(--ease) both; transform-origin: 60% 60%; }
.hero-drawn { clip-path: inset(0 0 0 0); animation: wipe 1.5s cubic-bezier(.65, 0, .35, 1) 1.9s both; }
.hero-drawn img { animation: drawin 1.6s var(--ease) .1s both; }
.hero-edge {
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px; z-index: 2; background: linear-gradient(180deg, #85c446, #056282);
  box-shadow: 0 0 24px 4px rgba(133, 196, 70, .5); opacity: 0;
  animation: edge 1.5s cubic-bezier(.65, 0, .35, 1) 1.9s both;
}
.hero-tag { position: absolute; z-index: 3; top: calc(var(--head) + 16px); right: var(--gut); color: var(--line); opacity: 0; animation: tag 3.4s ease .2s both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 20, 26, .55) 0%, rgba(5, 20, 26, 0) 24%, rgba(5, 20, 26, .08) 34%, rgba(5, 20, 26, .72) 58%, rgba(5, 20, 26, .9) 100%);
}
.hero-in { position: relative; z-index: 4; align-self: flex-end; width: 100%; padding-top: calc(var(--head) + 40px); padding-bottom: clamp(96px, 12vh, 120px); }
.hero-num { display: flex; align-items: flex-end; gap: 14px; margin: 0 0 10px; }
.hero-num b { font-size: clamp(7.2rem, 36vw, 15rem); font-weight: 800; letter-spacing: -0.07em; line-height: .78; }
.hero-num span { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.45; padding-bottom: 6px; max-width: 11em; color: #e9f3e2; }
.hero h1 { font-size: clamp(1.6rem, 6.4vw, 3rem); font-weight: 700; max-width: 17em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #b8ea86; }
.hero .btn-line { color: #fff; }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes drawin { from { opacity: 0; filter: blur(3px); transform: scale(1.01); } to { opacity: 1; filter: none; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 100%); } }
@keyframes edge { 0% { left: 0; opacity: 0; } 4%, 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes tag { 0%, 100% { opacity: 0; } 10%, 60% { opacity: 1; } }
@media (min-width: 900px) {
  .hero-in { display: grid; grid-template-columns: auto 1fr; column-gap: 48px; align-items: end; }
  .hero-num { grid-row: span 2; margin: 0; }
  .hero h1 { margin-bottom: 18px; }
}

/* Sections */
.sec { padding: clamp(56px, 11vw, 128px) 0; }
.sec-tight { padding: clamp(48px, 8vw, 88px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { margin-bottom: clamp(26px, 5vw, 44px); max-width: 44rem; }
.sec-head p { margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Drawn, then built: the projects by style */
.db { --pos: 50%; }
.db-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 18px; padding: 2px var(--gut); scroll-snap-type: x proximity; }
.db-tabs::-webkit-scrollbar { display: none; }
.db-tab {
  flex: none; scroll-snap-align: start; border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  background: var(--mist); font-weight: 600; font-size: .98rem; color: var(--ink-2); transition: background-color .25s, color .25s;
}
.db-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.db-tab:hover { color: var(--ink); }
.db-tab[aria-selected="true"]:hover { color: #fff; }
.db-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--print);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.db-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.db-drawn { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.db-stage.easing .db-drawn { transition: clip-path .7s var(--ease); }
.db-stage.easing .db-handle { transition: left .7s var(--ease); }
.db-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 2; pointer-events: none; }
.db-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: linear-gradient(180deg, #85c446, #056282); }
.db-knob {
  position: absolute; top: 50%; left: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .5);
}
.db-knob svg { width: 26px; height: 26px; }
.db-label { position: absolute; top: 14px; z-index: 1; padding: 6px 10px; border-radius: 999px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.db-label-d { left: 14px; background: rgba(8, 56, 74, .85); color: var(--line); }
.db-label-b { right: 14px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.db-range { position: absolute; inset: auto 0 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.db-range:focus-visible + .db-handle .db-knob { outline: 3px solid var(--green); outline-offset: 3px; }
.db-sheet {
  display: grid; grid-template-columns: 1fr auto; border: 1.5px solid var(--ink); border-top: 0; border-radius: 0 0 var(--r) var(--r);
  margin-top: -1px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.db-sheet > * { padding: 10px 14px; border-top: 1.5px solid var(--ink); }
.db-sheet .t { grid-column: 1 / -1; font-family: var(--sans); text-transform: none; letter-spacing: -0.01em; font-size: 1.12rem; font-weight: 700; border-top: 0; padding-top: 14px; }
.db-sheet .no { border-left: 1.5px solid var(--ink); text-align: right; }
.db-sheet .k { color: var(--ink-3); display: block; font-size: .62rem; }
.db-stagewrap { position: relative; }
.db-stagewrap .db-stage { border-radius: var(--r) var(--r) 0 0; }
.db-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.db-foot .btn { padding: 0 18px; }
.db-nav { display: flex; gap: 8px; }
.db-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rule); background: #fff; cursor: pointer; display: grid; place-items: center; }
.db-nav button:hover { border-color: var(--ink); }
.db-nav svg { width: 20px; height: 20px; }
.db-note { font-size: .86rem; color: var(--ink-3); margin: 14px 0 0; }
@media (min-width: 900px) {
  .db-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; align-items: start; }
  .db-tabs { flex-direction: column; align-items: flex-start; margin: 0 0 24px; padding: 0; overflow: visible; }
}

/* Swipe rows: one card wide on a phone, the next showing at the edge. */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 10px; scroll-padding: 0 var(--gut); scrollbar-width: none; list-style: none;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
@media (min-width: 760px) { .row { grid-auto-columns: calc((100% - 28px) / 3); margin: 0; padding: 4px 0 10px; } }

.card { display: block; text-decoration: none; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--rule); height: 100%; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 18px 20px; }
.card-body h3 { display: flex; justify-content: space-between; gap: 10px; }
.card-body h3::after { content: "\2192"; color: var(--teal); transition: transform .3s var(--ease); }
.card:hover .card-body h3::after { transform: translateX(4px); }
.card-body p { margin: 8px 0 0; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }

/* Two kinds of client */
.who-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--mist); margin-bottom: 22px; }
.who-tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.who-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .25); }
.sec-mist .who-tabs { background: #fff; }
.sec-mist .who-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* Proof */
.proof-big { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 18px; margin: 0 0 26px; }
.proof-big b { font-size: clamp(5.6rem, 27vw, 12rem); font-weight: 800; letter-spacing: -0.065em; line-height: .8; color: var(--teal); }
.proof-big span { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); max-width: 14em; padding-bottom: 8px; line-height: 1.45; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.facts li { padding: 16px 14px 18px 0; border-bottom: 1px solid var(--rule); }
.facts li:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--rule); }
.facts li:nth-child(even) { padding-left: 14px; }
.facts b { display: block; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 4px; font-size: .86rem; color: var(--ink-3); line-height: 1.4; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(odd), .facts li:nth-child(even) { padding: 18px 18px 22px; border-right: 1px solid var(--rule); border-left: 0; }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

/* Reviews */
.quote { margin: 0; padding: 24px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--rule); display: flex; flex-direction: column; height: 100%; }
.quote blockquote { margin: 0 0 18px; font-size: 1.06rem; line-height: 1.5; letter-spacing: -0.005em; }
.quote blockquote::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--edge); margin-bottom: 16px; }
.quote figcaption { margin-top: auto; font-weight: 700; }
.quote figcaption span { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-3); }

/* Carl and Sarah */
.people { display: grid; gap: 22px; align-items: center; }
.people-img { border-radius: var(--r); overflow: hidden; width: 160px; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .people-img { width: 380px; } }
.people-img img { width: 100%; height: 100%; object-fit: cover; }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.areas a, .areas span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule); text-decoration: none; font-weight: 600; font-size: .95rem; }
.areas a { border-color: var(--ink); }
.areas a:hover { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .people { grid-template-columns: 380px 1fr; gap: 64px; } }

/* Inner pages */
.page-hero { padding-top: calc(var(--head) + clamp(28px, 6vw, 64px)); }
.page-hero h1 { font-size: clamp(2.3rem, 8.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; max-width: 14em; }
.page-hero .lede { margin-top: 18px; }
.page-hero .btn-row { margin-top: 24px; }
.page-photo { margin-top: clamp(28px, 6vw, 56px); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-height: 640px; width: 100%; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .page-photo { aspect-ratio: 16 / 9; } }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--teal); }

.cols { display: grid; gap: 34px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 64px; } .cols-wide { grid-template-columns: 1.2fr 1fr; } }
.prose h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-bottom: 16px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }

.ticks { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--rule); position: relative; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
@media (min-width: 760px) { .ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

details.more { border-top: 1px solid var(--rule); }
details.more:last-of-type { border-bottom: 1px solid var(--rule); }
details.more summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
details.more[open] summary::after { transform: rotate(225deg); top: 30px; }
details.more .in { padding: 0 0 20px; color: var(--ink-2); }
details.more .in > :last-child { margin-bottom: 0; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin: 0; padding: 0; }
.steps li { counter-increment: s; padding: 22px 20px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--teal); margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps[data-n="3"] { grid-template-columns: repeat(3, 1fr); } .steps.steps-stack { grid-template-columns: 1fr; } }
.steps-stack li { padding: 16px 18px; }
.no-arrow::after { content: none !important; }
.quote h3 { margin-bottom: 10px; }
.quote p { margin: 0; color: var(--ink-2); }

/* Blueprint drawing panels */
.print { background: var(--print); color: var(--line); border-radius: var(--r); padding: clamp(18px, 4vw, 34px); position: relative; overflow: hidden; }
.print::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(214, 232, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 232, 240, .07) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.print svg { position: relative; width: 100%; height: auto; }
.print .mono { color: var(--line); opacity: .8; }
.print-cap { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(214, 232, 240, .3); }
.bp-l { fill: none; stroke: var(--line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bp-g { fill: none; stroke: var(--line-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bp-f { fill: rgba(154, 214, 90, .14); stroke: var(--line-green); stroke-width: 1.6; }
.bp-h { fill: url(#hatch); stroke: var(--line); stroke-width: 1.2; }
.bp-dim { fill: none; stroke: var(--line); stroke-width: 1; opacity: .7; }
.bp-t, .bp-tg { fill: var(--line); font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; paint-order: stroke; stroke: var(--print); stroke-width: 5px; stroke-linejoin: round; }
.bp-tg { fill: var(--line-green); }
.print { margin: 0; }
.print-cap .mono { font-size: .64rem; }
.reveal .bp-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.reveal.in .bp-draw { stroke-dashoffset: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1; }
.gallery figcaption { padding: 8px 10px 10px; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* Closing call */
.closer { background: var(--ink); color: #fff; }
.closer h2 { max-width: 13em; }
.closer p { color: rgba(255, 255, 255, .75); max-width: 32em; margin-top: 16px; }
.closer .btn-row { margin-top: 26px; }
.closer .btn-line { color: #fff; }

/* Contact */
.contact-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.big-phone { display: inline-block; font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; line-height: 1; border-bottom: 4px solid var(--green); padding-bottom: 4px; }
.dl { display: grid; grid-template-columns: 5.2rem 1fr; gap: 10px 14px; margin: 26px 0 0; }
.dl dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.dl dd { margin: 0; }

/* Forms (the drawer and the contact page) */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #cfd6d1; background: #fff; font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(5, 98, 130, .18); }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 14px; }
.chips legend { margin-bottom: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #cfd6d1; font-size: .92rem; font-weight: 500; transition: .2s; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.carry { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--print); color: var(--line); }
.carry p { margin: 0; }
.carry .mono { opacity: .75; font-size: .68rem; margin-bottom: 6px; }
.carry b { color: #fff; }
.carry button { margin-top: 8px; background: none; border: 0; color: var(--line-green); padding: 0; cursor: pointer; text-decoration: underline; font-size: .86rem; }
.fine { font-size: .82rem; color: var(--ink-3); margin: 12px 0 0; }
.form-done { padding: 22px; border-radius: 14px; background: var(--mist); }
.form-done h3 { margin-bottom: 8px; }

.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(5, 20, 26, .55); opacity: 0; transition: opacity .35s; border: 0; width: 100%; cursor: pointer; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-in {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0;
  padding: 10px var(--gut) calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .45s var(--ease);
}
.drawer.open .drawer-in { transform: none; }
.drawer-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--rule); margin: 4px auto 14px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.drawer-top .mono { color: var(--teal); font-size: .7rem; margin: 0; }
.drawer-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); margin: 4px 0 8px; }
.drawer-sub { color: var(--ink-2); margin-bottom: 18px; }
@media (min-width: 760px) {
  .drawer-in { left: auto; top: 0; width: min(520px, 100%); max-height: none; border-radius: 24px 0 0 24px; transform: translateX(100%); padding-top: 28px; }
  .drawer-grip { display: none; }
}
body.locked { overflow: hidden; }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 120px; font-size: .94rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-grid > :first-child, .foot-grid > :last-child { grid-column: 1 / -1; }
.foot-grid > :first-child p { margin-bottom: 10px; }
.foot-logo img { height: 46px; width: auto; }
.foot h2 { font-size: .74rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; font-weight: 500; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot-phone { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.foot-legal { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.foot-legal .credit { margin-left: auto; }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > :first-child, .foot-grid > :last-child { grid-column: auto; } }

/* Photo carry: a card's picture grows into the top of its own page. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-drawn, .hero-edge, .hero-tag { display: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal .edge path, .reveal .bp-draw { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}
