/* Trimble Architects · P14 White & Signal · F16 Public Sans · L3 (look picked by Alex on the board, 2026-11-09; was P16 + F12) */
:root {
  --bg: #FFFFFF; --card: #F3F3F1; --accent: #E2552B; --text: #141414; --muted: #5C5C5C;
  --line: #E0E0DC; --ink: #161616;
  --serif: 'Public Sans', system-ui, sans-serif; --sans: 'Public Sans', system-ui, sans-serif;
  --wrap: 1240px; --pad: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .02; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.kicker { font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--card); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.skip { position: fixed; left: 8px; top: 8px; z-index: 300; background: var(--card); padding: 10px 16px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.6em; border-radius: 2px; font: 500 .95rem/1 var(--sans);
  text-decoration: none; border: 1px solid var(--ink); transition: background .25s, color .25s, transform .2s; cursor: pointer; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 17px; height: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; }

/* Navbar: full-width thin bar */
.nav { position: sticky; top: 0; z-index: 200; background: rgba(239,240,238,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--line); background: rgba(250,250,249,.96); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.brand b { font: 500 1.35rem/1 var(--serif); letter-spacing: .01em; }
.brand small { font: 500 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.nav-links > li > a, .nav-drop > button { text-decoration: none; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 15px; height: 15px; }
.drop-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(760px, 92vw); background: var(--card); border: 1px solid var(--line);
  padding: 28px 30px; display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; box-shadow: 0 24px 48px -28px rgba(0,0,0,.25); }
.nav-drop.open .drop-panel { display: grid; }
.drop-panel .dp-h { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.drop-panel ul { list-style: none; margin: 0; padding: 0; }
.drop-panel li a { display: block; text-decoration: none; padding: 5px 0; font-size: .9rem; line-height: 1.35; }
.drop-panel li a:hover { color: var(--accent); }
.nav-call { white-space: nowrap; padding: .75em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero: split 50/50 */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 2rem; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-photo figcaption, .cap { font-size: .8rem; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }

/* Short hero for inner pages */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); max-width: 18em; }
.page-hero .lead { margin-bottom: 1.8rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); }

/* Credentials strip */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.creds ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; justify-content: space-between; }
.creds li { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.creds li b { color: var(--text); font-weight: 600; }
.creds img { height: 44px; width: auto; }

/* Project grid (catalog: project-grid) */
.pgrid-filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.pgrid.is-live .pgrid-filters { display: flex; }
.pgrid-filters button { font: 500 .85rem/1 var(--sans); padding: .7em 1.1em; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 2px; cursor: pointer; }
.pgrid-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pgrid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); list-style: none; margin: 0; padding: 0; }
.pgrid-item[hidden] { display: none; }
.pgrid-item figure { margin: 0; }
.plb-open, .tile-link { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; text-decoration: none; }
.tile-link { cursor: pointer; }
.pgrid-item .ph { overflow: hidden; background: #E4E4E1; aspect-ratio: 4 / 3; }
.pgrid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pgrid-item:hover img { transform: scale(1.035); }
.pgrid-item figcaption { border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.pgrid-item figcaption b { font-weight: 600; }
.pgrid-item figcaption span { color: var(--muted); text-align: right; white-space: nowrap; }
.tag-proposed { font: 600 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }

/* Lightbox (catalog: project-lightbox, single photo with story) */
dialog.plb { width: min(1100px, 94vw); max-height: 92vh; border: 0; padding: 0; background: #121212; color: #EEEEEE; overflow: auto; }
dialog.plb::backdrop { background: rgba(10,12,11,.82); }
.plb-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.plb-head h2 { font-size: 1.3rem; margin: 0; }
.plb-x { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; }
.plb-body { display: grid; grid-template-columns: 1.6fr 1fr; }
.plb-body img { width: 100%; max-height: 74vh; object-fit: contain; background: #0b0d0c; }
.plb-story { padding: 8px 28px 28px; font-size: .95rem; }
.plb-story dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0 0; font-size: .88rem; }
.plb-story dt { color: #A1A1A1; }
.plb-story dd { margin: 0; }
.plb-story a { color: color-mix(in srgb, var(--accent) 55%, #fff); }

/* Service photo cards: every service shown with its own photo (taste floor, 2026-11-09) */
.svc-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.svc-cards-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .25s; }
.section-alt .svc-card { background: var(--bg); }
.svc-card .sc-ph { overflow: hidden; aspect-ratio: 4 / 3; background: #E4E4E1; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card .sc-tx { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.svc-card small { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.svc-card b { font: 400 1.18rem/1.25 var(--serif); }
.svc-card .sc-tx span { font-size: .84rem; line-height: 1.45; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .svc-card:hover { border-color: var(--ink); } .svc-card:hover img { transform: scale(1.04); } .svc-card:hover b { color: var(--accent); } }

/* Step rail (catalog: step-rail) */
.rail { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
.rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.rail ol::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--accent); opacity: .5; }
.rail li { position: relative; padding: 0 0 30px 64px; }
.rail li:last-child { padding-bottom: 0; }
.rail .n { position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); color: var(--accent);
  display: grid; place-items: center; font: 500 1rem/1 var(--serif); }
.section-alt .rail .n { background: var(--card); }
.rail h3 { margin-bottom: .25em; }
.rail li p { color: var(--muted); margin: 0; }

/* Practice / Bob */
.practice { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.facts-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-list li b { font: 400 1.5rem/1.1 var(--serif); color: var(--accent); }
.facts-list li span { color: var(--text); font-size: .98rem; }

/* Testimonials (catalog: testimonial-card) */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: linear-gradient(180deg, rgba(30,107,58,.06), transparent 60%), var(--card); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.section-alt .tcard { background: linear-gradient(180deg, rgba(30,107,58,.07), transparent 60%), var(--bg); }
.tcard blockquote { margin: 0; font: 400 1.12rem/1.55 var(--serif); }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 500 1rem/1 var(--sans); flex: none; }
.tcard figcaption span { color: var(--muted); display: block; }


/* Call band over London stock brick */
.cta-band { position: relative; color: #F3F3F3; background: #1A1A1A; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: url(img/brick.webp) center / cover; opacity: .22; filter: grayscale(.4); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CCCCCC; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }
.cta-band dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: .98rem; }
.cta-band dt { color: #ABABAB; }
.cta-band dd { margin: 0; }
.cta-band a { color: #fff; }

/* Content blocks */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 40rem; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 14px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.grades { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grades > div { background: var(--card); padding: 26px 24px; }
.grades h3 { font: 400 1.4rem/1.2 var(--serif); margin-bottom: .45em; }
.grades p { color: var(--muted); font-size: .95rem; margin: 0; }
.note { font-size: .88rem; color: var(--muted); }
/* Extension types with a photo of each */
.grades-ph > div { display: flex; flex-direction: column; }
.grades-ph img { width: calc(100% + 48px); max-width: none; margin: -26px -24px 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.band-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* FAQ accordion */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.faq-group > h2 a { font: 500 .88rem/1 var(--sans); color: var(--accent); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 500; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
.faq .a p:last-child { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--muted); font-size: .88rem; padding-top: 2px; }
.enquiry { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.enquiry label { display: grid; gap: 7px; font-size: .9rem; font-weight: 500; }
.enquiry input, .enquiry textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid #BEBEBA; background: #fff; color: var(--text); border-radius: 2px; }
.enquiry input:focus, .enquiry textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.enquiry .form-note { font-size: .86rem; color: var(--muted); margin: 0; min-height: 1.3em; }
.hp { position: absolute; left: -9999px; }

/* Stub */
.stub { padding: clamp(56px, 8vw, 104px) 0; }
.stub .stub-note { margin-left: 0; }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font: 600 1.15rem/1.3 var(--sans); margin-top: 2em; }

/* Footer */
.foot { background: #151515; color: #C7C7C7; padding: 72px 0 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot b.f-name { font: 400 1.6rem/1.1 var(--serif); color: #fff; display: block; margin-bottom: 10px; }
.foot .fh { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #929292; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot a { color: #E6E6E6; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid #2E2E2E; margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: #929292; font-size: .82rem; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 150; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.wa svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-call { display: none; }
  .nav-links { position: fixed; inset: 72px 0 0; background: var(--card); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 40px; overflow: auto; display: none; }
  .nav-links.open { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a, .nav-drop > button { padding: 15px 0; width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .drop-panel { position: static; transform: none; width: auto; display: grid; grid-template-columns: 1fr 1fr; border: 0; box-shadow: none; padding: 0 0 18px; background: none; }
  .nav-drop > button svg { display: none; }
  .hero-grid, .rail, .practice, .two-col, .cta-band .wrap, .contact-grid { grid-template-columns: 1fr; }
  .pgrid-list, .tcards { grid-template-columns: repeat(2, 1fr); }
  .svc-cards { grid-template-columns: repeat(3, 1fr); }
  .svc-cards-4 { grid-template-columns: repeat(2, 1fr); }
  .plb-body { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .pgrid-list, .tcards { grid-template-columns: 1fr; }
  .drop-panel { grid-template-columns: 1fr; }
  .facts-list li { grid-template-columns: 5.5rem 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.pgrid-list.lead-wide > .pgrid-item:first-child:not([hidden]) { grid-column: span 2; }
.pgrid-list.lead-wide > .pgrid-item:first-child .ph { aspect-ratio: 8 / 3; }
@media (max-width: 600px) { .pgrid-list.lead-wide > .pgrid-item:first-child:not([hidden]) { grid-column: auto; } .pgrid-list.lead-wide > .pgrid-item:first-child .ph { aspect-ratio: 4 / 3; } }
@media (max-width: 600px) {
  .svc-cards, .svc-cards-4 { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { flex-direction: row; align-items: center; }
  .svc-card .sc-ph { flex: none; width: 112px; align-self: stretch; aspect-ratio: auto; min-height: 92px; }
  .svc-card .sc-tx { padding: 12px 14px; }
  .creds ul { gap: 10px 24px; }
  .creds li { display: block; }
  .creds li img { display: inline-block; vertical-align: middle; margin-right: 8px; height: 36px; }
}

/* Review 2026-11-08 (taste floor): focus rings, confident nav, buttons with character, counted filters */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 25%, #fff); color: var(--ink); }
.nav-links { font-size: 1rem; gap: 30px; }
.nav-links > li > a, .nav-drop > button { font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .nav-links > li > a:hover, .nav-drop > button:hover { color: var(--accent); } }
.drop-panel a.at-launch { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drop-panel .drop-key { grid-column: 1 / -1; padding-left: 0; }

.btn { position: relative; overflow: hidden; isolation: isolate; min-height: 50px; transition: color .18s, border-color .18s, box-shadow .18s, transform .18s cubic-bezier(.23, 1, .32, 1); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.23, 1, .32, 1); }
.btn:active { transform: scale(.97); }
.btn-primary { padding: 0 0 0 1.5em; gap: 1.3em; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:not(:has(svg, i))::after { content: ''; align-self: stretch; width: 50px; background: rgba(0, 0, 0, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: background-position .18s cubic-bezier(.23, 1, .32, 1); }
.btn-primary:has(svg, i) { padding: 0 1.5em 0 0; }
.btn-primary > svg { box-sizing: content-box; align-self: stretch; height: auto; width: 18px; padding: 0 16px; background: rgba(0, 0, 0, .2); }
.btn-ghost { box-shadow: 4px 4px 0 var(--accent); }
.cta-band .btn-ghost { box-shadow: 4px 4px 0 var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleX(1); }
  .btn-primary:hover { background: var(--accent); }
  .btn-primary:hover::after { background-position: 60% center; }
  .btn-ghost:hover { color: #fff; box-shadow: 0 0 0 var(--accent); transform: translate(2px, 2px); }
  .cta-band .btn-ghost:hover { background: transparent; color: #fff; border-color: #fff; }
  .cta-band .btn-ghost:hover::before { background: #2A2A2A; }
}
.nav-call { min-height: 44px; }

.pgrid-filters { gap: 10px; }
.pgrid-filters button { display: inline-flex; align-items: center; gap: 10px; padding: .55em .6em .55em 1em; border-color: #BEBEBA; background: var(--card); transition: border-color .15s, background .15s, color .15s; }
.pgrid-filters .ct { font: 600 .74rem/1 var(--sans); font-variant-numeric: tabular-nums; min-width: 2em; padding: .42em .5em; text-align: center; background: var(--bg); color: var(--accent); border-radius: 2px; }
.pgrid-filters button[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--accent); }
.pgrid-filters button[aria-pressed="true"] .ct { background: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) { .pgrid-filters button:hover { border-color: var(--ink); } }

/* Strong band: ink with signal-orange accents (white on the orange accent is too weak for body text) */
.band-moss { background: var(--ink); color: #F3F3F3; }
.band-moss h2, .band-moss h3 { color: #fff; }
.band-moss .kicker { color: var(--accent); }
.band-moss .lead, .band-moss p { color: #CFCFCF; }
.band-moss .link-arrow { color: #fff; }
.band-moss .rail ol::before { background: rgba(255, 255, 255, .3); }
.band-moss .rail .n { background: var(--ink); border-color: var(--accent); color: #fff; }
.band-moss .rail li p { color: #CFCFCF; }
.band-moss .grades { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }
.band-moss .grades > div { background: #202020; }
.band-moss .grades p { color: #C4C4C4; }
.band-moss .tcard { color: var(--text); background: var(--card); border-color: transparent; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .5); }
.band-moss .tcard p, .band-moss .tcard blockquote { color: var(--text); }

/* Dark-band grids from the catalog (dark-graph, dark-crosses), pale lines */
.dkg, .dkc { position: relative; isolation: isolate; --dk-c: #FFFFFF; }
.dkg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --dk-line: color-mix(in srgb, color-mix(in srgb, var(--dk-c) 75%, #fff) 30%, transparent);
  --dk-fine: color-mix(in srgb, color-mix(in srgb, var(--dk-c) 75%, #fff) 12%, transparent);
  background: linear-gradient(var(--dk-line) 1px, transparent 1px) 0 0/96px 96px, linear-gradient(90deg, var(--dk-line) 1px, transparent 1px) 0 0/96px 96px,
    linear-gradient(var(--dk-fine) 1px, transparent 1px) 0 0/24px 24px, linear-gradient(90deg, var(--dk-fine) 1px, transparent 1px) 0 0/24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, transparent 30%, #000 100%); mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, transparent 30%, #000 100%); }
.dkc::before, .dkc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dkc::before { --dk-line: color-mix(in srgb, color-mix(in srgb, var(--dk-c) 75%, #fff) 22%, transparent);
  background: linear-gradient(var(--dk-line) 1px, transparent 1px) 0 0/120px 120px, linear-gradient(90deg, var(--dk-line) 1px, transparent 1px) 0 0/120px 120px;
  -webkit-mask-image: linear-gradient(270deg, #000, rgba(0,0,0,.6) 30%, transparent 70%); mask-image: linear-gradient(270deg, #000, rgba(0,0,0,.6) 30%, transparent 70%); }
.dkc::after { background: color-mix(in srgb, var(--dk-c) 65%, #fff);
  --dk-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 -9V9M-9 0H9M120 111V129M111 120H129M0 111V129M-9 120H9M120 -9V9M111 0H129' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask: var(--dk-x) 0 0/120px 120px, linear-gradient(270deg, #000, rgba(0,0,0,.6) 30%, transparent 70%); -webkit-mask-composite: source-in;
  mask: var(--dk-x) 0 0/120px 120px, linear-gradient(270deg, #000, rgba(0,0,0,.6) 30%, transparent 70%); mask-composite: intersect; }
@media (max-width: 640px) { .dkg::before, .dkc::before, .dkc::after { opacity: .5; } }

/* Home hero: headline on two lines at desktop */
@media (min-width: 961px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
@media (max-width: 700px) { .hero h1 { font-size: 2.6rem; } }
/* Bigger home hero (Alex, 2026-11-09): near full screen, larger type, taller photo */
.hero { padding: clamp(48px, 7vw, 104px) 0 clamp(72px, 9vw, 128px); }
@media (min-width: 961px) { .hero .hero-grid { min-height: calc(100svh - 220px); grid-template-columns: 1.2fr 1fr; } .hero-photo img { aspect-ratio: 4 / 4.6; } }
.hero .lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); max-width: 34em; }

/* Inner hero with a photo of their work beside the copy */
.page-hero.ph-photo .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero.ph-photo h1 { font-size: clamp(2.1rem, 2.9vw, 2.6rem); max-width: none; letter-spacing: -.015em; }
.page-hero.ph-photo .lead:last-child { margin-bottom: 0; }
.ph-fig, .inline-fig, .practice-fig, .faq-fig { margin: 0; }
.ph-fig img, .inline-fig img, .practice-fig img, .faq-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-fig figcaption, .inline-fig figcaption, .practice-fig figcaption, .faq-fig figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.inline-fig { margin-top: 32px; }
.practice.has-photo { grid-template-columns: 1fr 1.1fr; align-items: center; }
.practice-fig img { aspect-ratio: 4 / 4.4; }
.practice.has-photo .facts-list { margin-top: 28px; }
.faq-split { display: grid; grid-template-columns: .75fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-fig { position: sticky; top: 104px; }
.faq-fig img { aspect-ratio: 4 / 4.5; }
@media (max-width: 960px) {
  .page-hero.ph-photo .wrap, .practice.has-photo, .faq-split { grid-template-columns: 1fr; }
  .faq-fig { position: static; }
  .faq-fig img, .practice-fig img { aspect-ratio: 4 / 3; }
}

.foot p a { display: inline-block; padding: 3px 0; }

/* Areas served (catalog: area-map) */
.am-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.am-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 20px; }
.am-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; display: flex; align-items: center; gap: 9px; }
.am-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.am-fig { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.section:not(.section-alt) .am-fig { background: var(--card); }
.am-map { display: block; width: 100%; height: auto; }
.am-cover { fill: var(--accent); fill-opacity: .08; stroke: var(--accent); stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 6 6; stroke-linejoin: round; }
.am-river path { fill: none; stroke: #9DC3D8; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.am-note { font: italic 400 18px var(--sans); fill: #3F6E8C; letter-spacing: .04em; }
.am-pt circle { fill: var(--accent); stroke: var(--bg); stroke-width: 2.5; }
.am-pt text { font: 500 18px var(--sans); fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.am-halo { fill: var(--accent); fill-opacity: .18; }
.am-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.am-studio text { font: 600 20px var(--sans); fill: var(--accent); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
@media (max-width: 960px) { .am-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .am-list { columns: 2; } .am-pt text, .am-note, .am-studio text { display: none; } }

/* Website Refresh standard (pages.md): stub notice and at-launch menu marker. Appended to every site's styles.css. */
:root{--nbx-grad:linear-gradient(90deg,#fb7455,#ad75f7,#56d8ff)}

/* Stub notice: Nodebrix gradient badge over a dark notice taped on in the gradient colours, the same on every site and background */
.stub-badge{display:inline-flex;align-items:center;gap:8px;background:var(--nbx-grad);color:#040804;font:800 12px/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;padding:8px 13px;border-radius:999px;margin-bottom:26px}
.stub-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:#040804}
.stub-note{position:relative;max-width:600px;margin:0 auto 32px;padding:24px 26px;text-align:left;border-radius:3px;background:#262A29;transform:rotate(-.6deg);box-shadow:0 0 0 1px rgba(255,255,255,.1),0 12px 26px rgba(0,0,0,.3)}
.stub-note::before,.stub-note::after{content:"";position:absolute;top:-10px;width:78px;height:22px;background:rgba(86,216,255,.85);box-shadow:0 1px 2px rgba(0,0,0,.2);-webkit-mask:linear-gradient(90deg,transparent 0 2px,#000 2px calc(100% - 2px),transparent 0);mask:linear-gradient(90deg,transparent 0 2px,#000 2px calc(100% - 2px),transparent 0)}
.stub-note::before{left:-14px;transform:rotate(-28deg)}
.stub-note::after{right:-14px;transform:rotate(26deg);background:rgba(251,116,85,.85)}
.stub .stub-note p{color:#F3F3F1;margin:0;font-size:16px;max-width:none}
.stub .stub-note a{color:#fff;border-color:currentColor}

/* Menu marker: a part-drawn ring in the Nodebrix gradient after links to stub pages, key under a dropdown that has one */
a.at-launch::after,.drop-key i{content:"";display:inline-block;flex:none;width:13px;height:13px;margin-left:8px;vertical-align:-1px;border-radius:50%;background:conic-gradient(#fb7455,#ad75f7,#56d8ff 75%,transparent 75%);-webkit-mask:radial-gradient(circle,transparent 3.5px,#000 4px);mask:radial-gradient(circle,transparent 3.5px,#000 4px)}
.drop a.at-launch{display:flex;align-items:center;justify-content:space-between;gap:12px}
.drop-key{margin:8px 0 0;padding:10px 14px 2px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}
.drop-key i{margin-left:0}
