/* Allan Collyer & Sons: homepage
   Brand colours come from the logo itself (#990000 wordmark, #372500 band, #CCCC00 tagline,
   #D2A600 rule). See README for the system. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Besley"; src: url("/case-studies/concepts/_assets/bd09d1c92f051a5d21bde0be.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Besley"; src: url("/case-studies/concepts/_assets/d87c6a1fdb686d439abf8c3e.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/case-studies/concepts/_assets/e2d4a5b963c829797b1febaa.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/case-studies/concepts/_assets/8948339451184e5f948d7da8.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Condensed"; src: url("/case-studies/concepts/_assets/1fe2728b1e727a3cf107542a.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
/* metric-matched fallbacks keep text from jumping when the web fonts arrive */
@font-face { font-family: "Besley Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 700; size-adjust: 104.7%; ascent-override: 119.4%; descent-override: 40.6%; line-gap-override: 0%; }
@font-face { font-family: "Besley Fallback"; src: local("Georgia Bold Italic"), local("Georgia-BoldItalic"); font-weight: 600; font-style: italic; size-adjust: 100.4%; ascent-override: 124.5%; descent-override: 42.3%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 98.9%; ascent-override: 88.8%; descent-override: 21.2%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 95.7%; ascent-override: 91.7%; descent-override: 21.9%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Condensed Fallback"; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"); font-weight: 800; size-adjust: 98.4%; ascent-override: 89.2%; descent-override: 21.3%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --red: #990000;
  --red-dark: #760000;
  --peat: #372500;
  --peat-deep: #241800;
  --peat-soft: #4b3712;
  --gold: #cccc00;
  --gold-rule: #d2a600;
  --gold-soft: #e9df8f;
  --cream: #f7f2e7;
  --paper: #fffdf8;
  --sand: #ede4d0;
  --line: #e2d7bf;
  --line-strong: #c9b995;
  --ink: #1f1a12;
  --ink-2: #4e4535;
  --cream-2: #d9cfb8;
  --yard: #1d1a15;
  --cc-yellow: #ffdd0f;
  --water: #7fc4f0;
  --leaf: #6f9a31;
  --leaf-dry: #c2a94a;
  --topsoil: #3f2b15;
  --subsoil: #8a6b44;

  --font-display: "Besley", "Besley Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Archivo Fallback", Arial, Helvetica, sans-serif;
  --font-label: "Archivo Condensed", "Archivo Condensed Fallback", "Arial Narrow", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px -28px rgba(55, 37, 0, .45);
  --shadow-lg: 0 40px 80px -40px rgba(36, 24, 0, .6);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; color: var(--red); }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--peat); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--peat); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- Kickers, labels ---------- */
.kicker, .eyebrow, .card-kicker, .chooser-title, .trust-title {
  font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; line-height: 1.3; color: var(--red); margin: 0 0 1rem;
}
.kicker::before, .eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: currentColor;
  box-shadow: -3px 0 0 1px currentColor; border-radius: 2px; transform: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .8em 1.45em; border-radius: 10px; border: 2px solid transparent; font: 600 1rem/1.15 var(--font-body); text-decoration: none; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 24px -14px rgba(153, 0, 0, .8); }
.btn-red:hover { background: var(--red-dark); color: #fff; box-shadow: 0 16px 28px -14px rgba(153, 0, 0, .9); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--peat); }
.btn-gold:hover { background: #e0e000; color: var(--peat); }
.btn-line-light { border-color: rgba(255, 253, 248, .6); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--yard); border-color: var(--paper); }
.btn-sm { min-height: 44px; padding: .6em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: .9em 1.8em; font-size: 1.07rem; }
.btn-block { width: 100%; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.more::after { content: "→"; transition: transform .18s ease; }
.more:hover::after { transform: translateX(4px); }
.more:hover { text-decoration: underline; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--peat); color: var(--cream-2); font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { margin: 0; }
.topbar-lines { display: flex; gap: 22px; list-style: none; }
.topbar a { color: var(--gold); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(36, 24, 0, .55); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; border-radius: 4px; }
.brand img { width: clamp(190px, 18vw, 250px); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none; position: relative; border-radius: 6px; }
.nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav-ctas { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--red); }
.header-call, .menu-btn { display: none; }

@media (max-width: 1099px) {
  .nav { position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gutter) 32px; background: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .site-header[data-open] .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-family: var(--font-display); font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav ul a::after { display: none; }
  .nav-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nav-ctas .btn { min-height: 56px; font-size: 1.05rem; }
  .nav-phone { text-align: center; padding: 14px; border: 2px solid var(--ink); border-radius: 10px; }
  .header-call { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border-radius: 10px; background: var(--red); color: #fff; }
  .header-call svg { width: 22px; height: 22px; fill: currentColor; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 10px; background: transparent; font-weight: 600; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, background-color .2s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .site-header[data-open] .menu-icon { background: transparent; }
  .site-header[data-open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .site-header[data-open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .header-in { gap: 10px; }
  .brand img { width: min(196px, 50vw); }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { width: 46px; justify-content: center; padding: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream) url("/case-studies/concepts/_assets/72780494cee42d9768cdd053.svg") 70% 20% / 1400px auto no-repeat; padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 1.45rem + 4.7vw, 5.15rem); line-height: 1.0; letter-spacing: -.025em; margin-bottom: .32em; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); color: var(--ink-2); max-width: 36em; margin-bottom: 1.6rem; }
.chooser { margin: 0 0 1.6rem; }
.chooser-title { color: var(--peat); margin-bottom: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); border-radius: 999px; padding: .5em 1em; font-weight: 600; font-size: .95rem; line-height: 1.2; transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease; }
.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--peat); border-color: var(--peat); color: var(--paper); }
.chip[aria-pressed="true"]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero-proof { list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.hero-proof li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line-strong); font-size: .92rem; color: var(--ink-2); line-height: 1.35; max-width: 15ch; }
.hero-proof li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-proof strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--red); line-height: 1.1; letter-spacing: -.01em; }

.hero-visual { margin: 0; position: relative; filter: drop-shadow(0 36px 40px rgba(36, 24, 0, .28)); }
.hero-photo { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--sand); }
.hero-photo img { width: 100%; aspect-ratio: 700 / 450; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); box-shadow: 0 0 10px 1px rgba(255, 60, 40, .75); }
.photo-tag { position: absolute; left: 14px; top: 14px; background: rgba(29, 20, 0, .78); color: var(--paper); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.soil { width: 100%; height: auto; border-radius: 0 0 18px 18px; }
.soil .s-sub, .field-svg .s-sub { fill: var(--subsoil); }
.soil .s-top, .field-svg .s-top { fill: var(--topsoil); }
.m-1 { fill: rgba(255, 236, 196, .09); }
.m-2 { fill: rgba(36, 22, 4, .16); }
.g-bg { fill: #bfae84; }
.g-1 { fill: #8c7b54; }
.g-2 { fill: #e4d9bc; }
.s-wet { fill: rgba(38, 108, 172, .6); }
.wet-line { fill: none; stroke: rgba(198, 234, 255, .5); stroke-width: 1.6; stroke-linecap: round; }
.s-wt { fill: none; stroke: var(--water); stroke-width: 2.4; stroke-dasharray: 9 7; }
.p-out { fill: #f1ecdf; stroke: #21160a; stroke-width: 2; }
.p-in { fill: #3a2912; }
.p-rib { stroke: rgba(33, 22, 10, .3); stroke-width: 1.5; }
.drop { fill: #a8dcff; opacity: 0; }
.s-labels text, .lbl { font-family: var(--font-label); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; fill: #fff7e6; paint-order: stroke; stroke: rgba(30, 18, 2, .65); stroke-width: 3px; stroke-linejoin: round; }
.s-labels .lbl-water, .lbl-water { fill: #bfe6ff; }
.leader { stroke: #fff7e6; stroke-width: 1.5; fill: none; stroke-dasharray: 3 3; }

@media (prefers-reduced-motion: no-preference) {
  .drops .drop { animation: seep 3.6s ease-in infinite; }
  .drops .d1 { --dx: 96px; --dy: 62px; }
  .drops .d2 { --dx: -112px; --dy: 66px; animation-delay: .9s; }
  .drops .d3 { --dx: 52px; --dy: 92px; animation-delay: 1.8s; }
  .drops .d4 { --dx: -76px; --dy: 98px; animation-delay: 2.7s; }
}
@keyframes seep {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: .95; }
  80% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}

@media (max-width: 999px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
}
@media (max-width: 560px) {
  .hero-proof { grid-template-columns: 1fr 1fr 1fr; }
  .hero-proof li { padding-right: 10px; margin-right: 10px; font-size: .82rem; }
  .hero-proof strong { font-size: 1.3rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .s-labels text { font-size: 22px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); padding-block: 22px; }
.trust .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.trust-title { margin: 0; color: var(--ink-2); }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.trust-list li { position: relative; padding-left: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--peat); }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; background: var(--gold-rule); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-head { max-width: 820px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.section-lede { font-size: 1.13rem; color: var(--ink-2); max-width: 44em; }

/* ---------- Services (bento) ---------- */
.services { background: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card { grid-column: span 4; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-xl { grid-column: span 7; }
.card-lg { grid-column: span 5; }
.card-img { overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.card-xl .card-img img { aspect-ratio: 16 / 9; }
.card-lg .card-img img { aspect-ratio: 4 / 3; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.card-body h3 { margin-bottom: .45em; }
.card-xl .card-body h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); }
.card-body p { color: var(--ink-2); }
.card-kicker { margin-bottom: .6rem; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: auto; padding-top: 10px; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 1.2rem; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; font-size: .98rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .2em; width: 7px; height: 13px; border: solid var(--red); border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }
.ticks-light li::before { border-color: var(--cc-yellow); }
.card-dark { background: var(--yard); border-color: var(--yard); color: var(--paper); }
.card-dark .card-body p { color: var(--cream-2); }
.card-dark .card-kicker { color: var(--cc-yellow); }
.card-dark .btn-gold { background: var(--cc-yellow); color: #000; }
.card-dark .more { color: var(--cc-yellow); }
@media (max-width: 999px) {
  .card, .card-xl, .card-lg { grid-column: span 6; }
  .card-xl { grid-column: span 12; }
}
@media (max-width: 639px) {
  .bento { gap: 16px; }
  .card, .card-xl, .card-lg { grid-column: span 12; }
  .card-xl .card-img img { aspect-ratio: 4 / 3; }
  .card-body { padding: 20px 20px 22px; }
}

/* ---------- Underneath (signature) ---------- */
.underneath { position: relative; background: var(--peat) url("/case-studies/concepts/_assets/6ff93ed97dca84670a985c93.svg") center / 1600px auto; color: var(--cream); }
.underneath h2 { color: var(--paper); }
.underneath h2 em, .section-head-light h2 em { color: var(--gold); }
.underneath .kicker { color: var(--gold); }
.underneath .section-lede { color: var(--cream-2); }
.section-fig { margin: 0; background: rgba(20, 13, 0, .45); border: 1px solid rgba(204, 204, 0, .22); border-radius: 22px; padding: clamp(14px, 2vw, 24px); }
.fig-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 253, 248, .08); border: 1px solid rgba(255, 253, 248, .18); }
.seg-btn { border: 0; background: transparent; color: var(--cream); padding: .6em 1.15em; border-radius: 999px; font-weight: 600; font-size: .97rem; min-height: 44px; transition: background-color .2s ease, color .2s ease; }
.seg-btn[aria-pressed="true"] { background: var(--gold); color: var(--peat); }
.fig-note { margin: 0; font-size: .82rem; color: var(--cream-2); font-family: var(--font-label); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field-svg { width: 100%; height: auto; border-radius: 14px; }
.field-svg .sky { fill: #eee6d2; }
.ditch-cut { fill: #eee6d2; }
.ditch-water { fill: #6fa8cf; }
.puddle { fill: rgba(150, 205, 240, .9); }
.plant-leaf { fill: none; stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .8s ease; }
.root { fill: none; stroke: rgba(255, 244, 220, .55); stroke-width: 1.6; stroke-linecap: round; }
.plants, .roots { transform-box: fill-box; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.plants { transform-origin: 50% 100%; }
.roots { transform-origin: 50% 0; }
.wt { transition: opacity .8s ease; }
.drains > * { transform-box: fill-box; transform-origin: 50% 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
.outfall { fill: #f1ecdf; stroke: #21160a; stroke-width: 1.5; }
.outflow { fill: none; stroke: #8fd0ff; stroke-width: 4; stroke-linecap: round; }
.lbl-after { transition: opacity .6s ease .3s; }
.flow .drop { opacity: 0; }
.is-before .wt-after, .is-after .wt-before { opacity: 0; }
.is-before .plants { transform: scaleY(.62); }
.is-before .plant-leaf { stroke: var(--leaf-dry); }
.is-before .roots { transform: scaleY(.42); }
.is-before .drains > * { transform: scaleY(0); opacity: 0; }
.is-before .lbl-after { opacity: 0; transition-delay: 0s; }
.is-after .drains > *:nth-child(2) { transition-delay: .12s; }
.is-after .drains > *:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: no-preference) {
  .is-after .flow .drop { animation: drain 3.2s ease-in infinite; }
  .is-after .f1 { --dx: 64px; --dy: 86px; }
  .is-after .f2 { --dx: -84px; --dy: 96px; animation-delay: .6s; }
  .is-after .f3 { --dx: 74px; --dy: 80px; animation-delay: 1.2s; }
  .is-after .f4 { --dx: -86px; --dy: 92px; animation-delay: 1.8s; }
  .is-after .f5 { --dx: 84px; --dy: 84px; animation-delay: 2.4s; }
  .is-after .outflow { animation: pour 1.2s linear infinite; stroke-dasharray: 6 6; }
}
@keyframes drain {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}
@keyframes pour { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) {
  .plants, .roots, .wt, .drains > *, .lbl-after, .plant-leaf { transition: none; }
}
.fig-scroll { border-radius: 14px; }
.fig-hint { display: none; }
@media (max-width: 640px) {
  .fig-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .field-svg { width: 780px; max-width: none; border-radius: 0; }
  .field-svg .lbl { font-size: 21px; }
  .fig-hint { display: block; margin: 10px 0 0; font-family: var(--font-label); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
  .fig-hint::after { content: "  →"; }
}
.fig-caption { margin-top: 14px; font-size: 1.02rem; color: var(--cream-2); min-height: 3.2em; }
.fig-caption strong { color: var(--gold); }
.is-before .cap-after, .is-after .cap-before { display: none; }

.signs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.signs h3 { color: var(--paper); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.15rem); }
.signs-list { list-style: none; display: grid; gap: 10px; margin-bottom: 1.2rem; }
.signs-list li { position: relative; padding-left: 34px; font-size: 1.05rem; }
.signs-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, #8fd0ff 0 4px, transparent 5px), rgba(127, 196, 240, .16); box-shadow: inset 0 0 0 1.5px rgba(143, 208, 255, .7); }
.signs-note { color: var(--cream-2); max-width: 40em; }
.signs-quote { margin: 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold-rule); }
.signs-quote p { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 1.05rem + 1vw, 1.85rem); line-height: 1.3; color: var(--gold-soft); margin-bottom: .7em; }
.signs-quote footer { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--cream-2); }
.signs-quote cite { font-style: normal; }
@media (max-width: 860px) { .signs { grid-template-columns: 1fr; } }

/* ---------- How we work ---------- */
.how { background: var(--paper); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); position: relative; padding-top: 46px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: linear-gradient(90deg, var(--red) 0 92%, transparent); box-shadow: 0 0 8px rgba(255, 60, 40, .45); }
.steps::after { content: ""; position: absolute; left: -2px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(153, 0, 0, .15); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -36px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.step-num { display: block; font-family: var(--font-label); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 12px; letter-spacing: .02em; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 999px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(n + 3)::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 28px; }
  .steps::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--red) 0 92%, transparent); }
  .steps::after { left: 3px; top: 0; }
  .step::before { top: 8px; left: -31px; }
}

/* ---------- Laser screeding + planner ---------- */
.screeding { background: var(--cream); }
.screeding-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.screeding-copy > p:not(.kicker) { color: var(--ink-2); font-size: 1.1rem; max-width: 36em; }
.screeding-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6rem; }
.screeding-photos img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.planner { background: var(--peat) url("/case-studies/concepts/_assets/6ff93ed97dca84670a985c93.svg") center / 1200px auto; color: var(--cream); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.planner h3 { color: var(--paper); font-size: 1.75rem; margin-bottom: .25em; }
.planner-intro { color: var(--cream-2); }
.planner-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.planner .field-label { color: var(--cream-2); }
.input-unit { position: relative; display: block; }
.input-unit input { width: 100%; height: 56px; padding: 0 44px 0 14px; border-radius: 10px; border: 1.5px solid rgba(255, 253, 248, .3); background: rgba(255, 253, 248, .08); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; -moz-appearance: textfield; appearance: textfield; }
.input-unit input::-webkit-outer-spin-button, .input-unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-unit input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204, 204, 0, .35); }
.unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--cream-2); font-weight: 600; font-size: .9rem; pointer-events: none; }
.planner-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 0; border-block: 1px solid rgba(255, 253, 248, .16); margin-bottom: 14px; }
.out-item { display: flex; flex-direction: column; gap: 2px; }
.out-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.05; color: var(--gold); font-variant-numeric: tabular-nums lining-nums; }
.out-unit { font-size: .86rem; color: var(--cream-2); line-height: 1.3; }
.planner-small { font-size: .82rem; color: var(--cream-2); line-height: 1.45; }
@media (max-width: 999px) {
  .screeding-grid { grid-template-columns: 1fr; }
  .planner { position: static; }
}
@media (max-width: 480px) {
  .planner-fields { grid-template-columns: 1fr 1fr; }
  .planner-fields .field:last-child { grid-column: span 2; }
}

/* ---------- Gallery ---------- */
.work { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1.5px solid var(--line-strong); background: transparent; border-radius: 999px; padding: .5em 1em; font-weight: 600; font-size: .93rem; min-height: 44px; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.filter:hover { border-color: var(--red); color: var(--red); }
.filter[aria-pressed="true"] { background: var(--peat); color: var(--paper); border-color: var(--peat); }
.filter[aria-pressed="true"]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item[hidden] { display: none; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--sand); text-align: left; }
.g-btn picture, .g-btn img { width: 100%; height: 100%; }
.g-btn img { object-fit: cover; transition: transform .6s ease; }
.g-btn:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(20, 12, 0, .82)); color: var(--paper); font-weight: 600; font-size: .9rem; line-height: 1.3; }
@media (max-width: 999px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 999px) { .g-tall-md { grid-row: span 2; } }
@media (max-width: 639px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .g-cap { font-size: .8rem; padding: 28px 10px 9px; }
}

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--paper); }
.lightbox::backdrop { background: rgba(14, 9, 0, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lb-inner { position: relative; display: grid; justify-items: center; gap: 12px; padding: 56px 16px 24px; width: 100%; }
.lb-figure img { max-width: min(92vw, 1000px); max-height: 74vh; width: auto; height: auto; border-radius: 10px; }
.lb-cap { margin: 0; text-align: center; max-width: 60ch; }
.lb-controls { display: flex; align-items: center; gap: 18px; }
.lb-prev, .lb-next, .lb-close { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 253, 248, .5); background: rgba(255, 253, 248, .06); color: var(--paper); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: var(--paper); color: var(--peat); }
.lb-close { position: absolute; top: 8px; right: 12px; }
.lb-count { font-family: var(--font-label); font-weight: 800; letter-spacing: .12em; min-width: 5ch; text-align: center; }
.lightbox :focus-visible { outline-color: var(--gold); }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-media img { border-radius: 16px; width: 100%; box-shadow: var(--shadow); }
.photo-note { font-size: .88rem; color: var(--ink-2); margin: 10px 0 28px; }
.timeline { list-style: none; position: relative; display: grid; gap: 18px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-rule), var(--red)); }
.timeline li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--red); }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--red); }
.tl-text { color: var(--ink-2); }
.about-copy h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); }
.about-copy > p:not(.kicker) { font-size: 1.08rem; color: var(--ink-2); max-width: 38em; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.person { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 18px; }
.person-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin: 0; }
.person-role { margin: 0 0 6px; font-size: .9rem; color: var(--ink-2); }
.person a { font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.person a:hover { text-decoration: underline; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-copy { order: -1; } }
@media (max-width: 420px) { .people { grid-template-columns: 1fr; } }

/* ---------- Collyer Concrete ---------- */
.concrete { background: var(--yard) url("/case-studies/concepts/_assets/6ff93ed97dca84670a985c93.svg") center / 1600px auto; color: var(--cream); }
.concrete h2 { color: var(--paper); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); }
.concrete h2 em { color: var(--cc-yellow); }
.concrete-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cc-logo { width: 234px; border-radius: 6px; margin-bottom: 26px; }
.concrete-copy > p:not(.kicker) { color: var(--cream-2); font-size: 1.08rem; max-width: 36em; }
.agg-title { font-family: var(--font-label); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-yellow); margin: 1.6rem 0 .8rem; }
.agg-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.8rem; }
.agg-list li { border: 1px solid rgba(255, 221, 15, .35); border-radius: 999px; padding: .35em .85em; font-size: .9rem; color: var(--paper); }
.concrete-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.concrete .btn-gold { background: var(--cc-yellow); color: #000; }
.concrete .btn-gold:hover { background: #fff36b; }
.concrete-media { display: grid; gap: 16px; }
.concrete-media img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.concrete-media picture:last-child { width: 72%; margin-left: auto; margin-top: -80px; position: relative; border: 6px solid var(--yard); border-radius: 20px; }
@media (max-width: 860px) { .concrete-grid { grid-template-columns: 1fr; } }

/* ---------- Area / map ---------- */
.area { background: var(--paper); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.area-copy > p:not(.kicker) { color: var(--ink-2); font-size: 1.08rem; }
.area-facts { display: grid; gap: 0; margin: 1.6rem 0; border-top: 1px solid var(--line); }
.area-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.area-facts dt { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--red); padding-top: .2em; }
.area-facts dd { margin: 0; font-weight: 600; }
.area-map { justify-self: center; width: 100%; max-width: 520px; }
.map { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #e4ebed; }
.map-sea { fill: #e4ebed; }
.map-context { fill: #f2ede2; stroke: #d6cbb3; stroke-width: .8; }
.map-work { fill: #ecdcab; stroke: var(--peat); stroke-width: 1; transition: fill .2s ease; }
.map-work:hover { fill: #e3cd86; }
.map-county { font-family: var(--font-label); font-weight: 800; font-size: 17px; letter-spacing: .24em; fill: #8a7444; }
.map-ring { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-dasharray: 5 5; opacity: .75; }
.map-ring-label { font-family: var(--font-label); font-weight: 800; font-size: 13px; letter-spacing: .08em; fill: var(--red); }
.map-town { fill: var(--peat); }
.map-town-label { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; fill: var(--peat); paint-order: stroke; stroke: rgba(255, 253, 248, .8); stroke-width: 3px; stroke-linejoin: round; }
.map-base-dot { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.map-base-halo { fill: var(--red); opacity: .22; transform-box: fill-box; transform-origin: center; }
.map-base-label { font-family: var(--font-body); font-weight: 600; font-size: 15px; fill: var(--red); paint-order: stroke; stroke: rgba(255, 253, 248, .9); stroke-width: 4px; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .map-base-halo { animation: pulse 2.4s ease-out infinite; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.1); opacity: 0; } }
.map-credit { font-size: .76rem; color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } .area-map { justify-self: stretch; } }
@media (max-width: 420px) { .area-facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQs ---------- */
.faqs { background: var(--cream); }
.faqs-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faqs-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faqs-head p:not(.kicker) { color: var(--ink-2); }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.17rem; line-height: 1.3; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary:hover::after { border-color: var(--red); }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat; border: 1.5px solid var(--line-strong); transition: transform .25s ease, background-size .25s ease; }
.faq[open] summary::after { background-size: 12px 2px, 2px 0; transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; color: var(--ink-2); }
.faq-body p { margin: 0; }
@media (max-width: 860px) { .faqs-grid { grid-template-columns: 1fr; } .faqs-head { position: static; } }

/* ---------- Enquiry ---------- */
.enquiry { background: var(--paper); border-top: 1px solid var(--line); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.enquiry-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 38em; }
.enquiry-form { display: grid; gap: 22px; margin-top: 28px; }
.f-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-legend, .field-label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: 8px; padding: 0; }
.req, .opt { font-family: var(--font-label); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px; vertical-align: 1px; }
.req { color: var(--red); }
.opt { color: var(--ink-2); }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rchip { position: relative; }
.rchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rchip span { display: inline-flex; align-items: center; min-height: 44px; padding: .5em 1em; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.rchip input:hover + span { border-color: var(--red); }
.rchip input:checked + span { background: var(--peat); border-color: var(--peat); color: var(--paper); }
.rchip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; min-width: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field input[type="file"] { width: 100%; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 0 14px; min-height: 54px; font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { padding: 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input[type="file"] { padding: 9px 12px; font-size: .92rem; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: .45em 1em; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); font: 600 .92rem/1.2 var(--font-body); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--paper); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(153, 0, 0, .18); }
.field input::placeholder, .field textarea::placeholder { color: #8a7f6a; }
.field.is-invalid input, .f-group.is-invalid .rchip span { border-color: var(--red); }
.f-error { display: block; color: var(--red); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.f-error[hidden] { display: none; }
.f-privacy { font-size: .9rem; color: var(--ink-2); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .btn-lg { justify-self: start; min-width: 240px; }
.contact-card { background: var(--peat) url("/case-studies/concepts/_assets/6ff93ed97dca84670a985c93.svg") center / 1200px auto; color: var(--cream); border-radius: 20px; padding: clamp(22px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-lg); }
.contact-card h3 { color: var(--paper); font-size: 1.7rem; }
.contact-lines { margin: 0 0 20px; display: grid; gap: 0; }
.contact-lines div { padding: 11px 0; border-bottom: 1px solid rgba(255, 253, 248, .14); }
.contact-lines dt { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: var(--gold); }
.contact-lines dd { margin: 2px 0 0; }
.contact-lines a { color: var(--paper); font-weight: 600; font-size: 1.12rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--gold); text-decoration: underline; }
.contact-address, .contact-hours { color: var(--cream-2); font-size: .97rem; }
.contact-promise { border: 1px solid rgba(204, 204, 0, .4); border-radius: 12px; padding: 14px 16px; margin-top: 8px; }
.contact-promise p { margin: 0; font-size: .97rem; }
.contact-promise strong { color: var(--gold); }
@media (max-width: 999px) {
  .enquiry-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 560px) {
  .f-row { grid-template-columns: 1fr; }
  .enquiry-form .btn-lg { width: 100%; justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--peat-deep); color: var(--cream-2); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 40px; }
.logo-plate { display: inline-block; background: #fff; border-radius: 12px; padding: 16px 18px 14px; margin-bottom: 18px; }
.logo-plate img { width: 250px; }
.footer-line { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.35rem; color: var(--gold-soft); }
.footer-video { font-size: .95rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold); }
.footer-h { font-family: var(--font-label); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; font-size: .97rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid rgba(255, 253, 248, .12); font-size: .84rem; }
.footer-legal p { margin: 0; max-width: 80ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } .logo-plate img { width: 220px; } }

/* ---------- Mobile dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(36, 24, 0, .5); transform: translateY(110%); transition: transform .25s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: .98rem; }
  .dock-call { background: var(--gold); color: var(--peat); }
  .dock-call:hover { color: var(--peat); }
  .dock-quote { background: var(--red); color: #fff; }
  .dock-quote:hover { color: #fff; }
  .dock.is-shown { transform: none; }
  .site-footer { padding-bottom: 80px; }
}

/* ---------- Reveal on scroll (only when JS runs and motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Simple pages (thank you, 404) ---------- */
.simple-main { background: var(--cream) url("/case-studies/concepts/_assets/72780494cee42d9768cdd053.svg") 70% 20% / 1400px auto no-repeat; min-height: 70vh; padding-block: clamp(56px, 9vw, 120px); }
.simple-wrap { max-width: 820px; }
.simple-main h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.02; margin-bottom: .35em; }
.simple-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; padding: 20px 22px; margin: 28px 0; }
.simple-card p:last-child { margin: 0; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer-simple { padding-top: 0; }
.site-footer-simple .footer-legal { border-top: 0; padding-bottom: 28px; }

@media print {
  .topbar, .site-header, .dock, .chooser, .filters, .lightbox { display: none !important; }
  body { background: #fff; }
}
