/* Doug's Stump Removal. Growth rings, read like a field journal.
   Palette and contrast: design/dougs-stump-removal.md */
:root {
  --lichen: #ECEEE7;
  --paper: #FAFAF6;
  --bark: #211A14;
  --grain: #5A5147;
  --red: #AE000C;
  --red-hover: #8C0009;
  --heartwood: #2A1E17;
  --ring: #8A6A4F;
  --sawdust: #A8702A;
  --hair: #CFC9BC;
  --field: #8F877B;
  --foot-muted: #BDB5A6;
  --sa-accent: #AE000C;
  --sa-accent-ink: #FFFFFF;
  --display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --text: "Cabin", "Segoe UI", system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --head-h: 76px;
  --pad: clamp(72px, 9vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--lichen); color: var(--bark);
  font: 400 18px/1.65 var(--text);
  font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; color: var(--bark); }
h1 { font-size: clamp(46px, 6.1vw, 90px); line-height: 1.02; letter-spacing: -0.018em; max-width: 13ch; }
h2 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -0.012em; }
h3 { font-size: 25px; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--bark); color: var(--paper); padding: 12px 18px; border-radius: 3px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  font: 600 17px/1.1 var(--text); letter-spacing: 0.01em;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--lichen); color: var(--bark); }
.btn--light:hover { background: #fff; }
.btn--quiet { background: var(--bark); color: var(--paper); }
.btn--quiet:hover { background: #3a2e25; }
.btn:focus-visible { outline-color: var(--bark); }
.foot .btn:focus-visible { outline-color: var(--paper); }
.textlink { color: var(--bark); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 500; }
.textlink:hover { color: var(--red); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.actions__or { margin: 0; font-size: 17px; color: var(--grain); }
.actions__or a { color: var(--bark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  position: sticky; top: 0; z-index: 60; height: var(--head-h);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gut);
  background: rgba(236, 238, 231, 0.95); border-bottom: 1px solid var(--hair);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 38px; width: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 30px); margin: 0; padding: 0; }
.nav a { font: 500 16px/1 var(--text); color: var(--bark); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__call, .nav__ask { display: none; }
.masthead__tel { margin-left: auto; font: 600 18px/1 var(--text); color: var(--bark); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.masthead__tel:hover { color: var(--red); }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- growth-ring marks (2D) */
.ringmark {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; color: var(--ring); opacity: .85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 96px);
          mask-image: linear-gradient(to bottom, transparent 0, #000 96px);
  --rm: min(1040px, 74vw); --pith-y: calc(var(--pad) + 30px);
}
.ringmark svg { position: absolute; width: var(--rm); height: var(--rm); top: calc(var(--pith-y) - var(--rm) / 2); left: calc(var(--rm) / -2); overflow: visible; }
.ringmark--big { --rm: min(1500px, 120vw); --pith-y: 46%; opacity: .72; }
html.motion .ringmark svg { --dash: 1 2; --o0: 1; --o1: 1; --o2: 1; --o3: 1; --o4: 1; --o5: 1; --o6: 1; --o7: 1; --o8: 1; --o9: 1; --o10: 1; --o11: 1; --o12: 1; --o13: 1; }
section[id], .beat[id] { scroll-margin-top: calc(var(--head-h) + 12px); }

/* ---------------------------------------------------------------- page header (inner pages) */
.pagehead { position: relative; padding: clamp(48px, 7vw, 104px) var(--gut) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--hair); }
.pagehead__in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.pagehead .standfirst { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; max-width: 44ch; margin-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; font: 500 15px/1.4 var(--text); color: var(--grain); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ring); }
.crumbs a { color: var(--grain); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--red); }

/* ---------------------------------------------------------------- journal entries (sections) */
.entry { position: relative; padding: var(--pad) var(--gut); }
.entry + .entry { border-top: 1px solid rgba(207, 201, 188, .6); }
.entry__in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.entry__head { position: sticky; top: calc(var(--head-h) + 32px); }
.entry__head .lede { margin-top: 20px; font-size: 18px; color: var(--grain); max-width: 30ch; }
.entry__body { min-width: 0; }
.entry__body > p:first-child { margin-top: 6px; }
.entry--gallery .entry__in { display: block; }
.lede { color: var(--grain); }
.note { font-size: 17px; color: var(--grain); border-left: 2px solid var(--red); padding-left: 16px; margin-top: 30px; }

/* ---------------------------------------------------------------- plates */
.plate { margin: 0; background: var(--paper); padding: 10px 10px 14px; border: 1px solid var(--hair); box-shadow: 0 22px 34px -28px rgba(33, 26, 20, .55); }
.plate img { display: block; width: 100%; height: auto; object-fit: cover; background: #DAD6CB; }
.plate--3x4 img { aspect-ratio: 3 / 4; }
.plate--4x3 img { aspect-ratio: 4 / 3; }
.plate--1x1 img { aspect-ratio: 1 / 1; }
.plate figcaption { margin-top: 12px; font: italic 400 17px/1.45 var(--display); color: var(--bark); }
.plate figcaption b { font: 600 14px/1 var(--text); font-style: normal; color: var(--grain); letter-spacing: .02em; margin-right: 4px; }
.entry__body > .plate { margin-top: 34px; max-width: 760px; }
.entry__body > .plate--1x1 { max-width: 600px; }
.plate--aside { max-width: 360px !important; }
.plates { display: grid; gap: 30px 28px; align-items: start; margin-top: 34px; }
.plates--two { grid-template-columns: 1fr 1fr; }
.plates--four { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
.plate__zoom { display: block; position: relative; cursor: zoom-in; }
.plate__zoom:hover img { filter: brightness(1.04); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 30px; align-items: start; }
.gallery > .plate:nth-child(-n+2) { grid-column: span 2; }
.gallery > .plate:nth-child(-n+2) img { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------- text furniture */
.notes { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); max-width: 620px; }
.notes div { display: contents; }
.notes dt { font: 600 15px/1.6 var(--text); color: var(--grain); }
.notes dd { margin: 0; font: italic 400 19px/1.45 var(--display); }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; max-width: 62ch; }
.ticks li { position: relative; padding-left: 34px; margin: 12px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--ring); box-shadow: inset 0 0 0 4px var(--lichen), inset 0 0 0 5.5px var(--ring); }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 26px; max-width: 640px; }
.steps h3 { display: flex; align-items: baseline; gap: 14px; }
.steps__n { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); font: 600 16px/1 var(--text); transform: translateY(-3px); }
.steps p { margin: 8px 0 0 50px; }
.faqs { border-bottom: 1px solid var(--hair); max-width: 760px; }
.faq { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 500 22px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 7px; background: linear-gradient(var(--red), var(--red)) center / 16px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 16px no-repeat; transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq__a { padding: 0 0 20px; }
.faq__a p { margin: 0; }
.faq__a a { color: var(--bark); text-decoration-color: var(--red); text-underline-offset: 3px; }

/* quotes and ratings */
.quote { margin: 30px 0 0; max-width: 60ch; }
.quote p { font: 400 23px/1.45 var(--display); margin: 0; }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote footer { margin-top: 10px; font: 500 15px/1.4 var(--text); color: var(--grain); }
.quote--card { background: var(--paper); border: 1px solid var(--hair); padding: 24px 26px; margin: 0; }
.quote--card p { font-size: 19px; line-height: 1.55; }
.quote--big { margin: 0 0 26px; }
.quote--big p { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -.01em; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; align-items: start; }
.quotes > .quote--card:first-child:not(:only-child) { grid-column: 1 / -1; }
.quotes:not(.quotes--grid) > .quote--card:first-child p { font-size: 22px; }
.quotes--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rating { display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.rating__num { font: 500 clamp(120px, 15vw, 210px)/.78 var(--display); letter-spacing: -.035em; margin: 0; color: var(--bark); }
.rating__of { margin: 0 0 6px; max-width: 26ch; }
.rating__of > span:last-child { display: block; font: 400 20px/1.4 var(--text); margin-top: 10px; }
.rating--inline .rating__num { font-size: clamp(96px, 10vw, 140px); }
.rating__fb { margin-top: 30px; color: var(--grain); }
.stars { display: inline-flex; gap: 3px; vertical-align: -3px; }
.star { width: 18px; height: 18px; background: #D6D0C2; clip-path: polygon(50% 0, 61.8% 35.4%, 100% 35.4%, 69.1% 57.3%, 80.9% 92.7%, 50% 70.8%, 19.1% 92.7%, 30.9% 57.3%, 0 35.4%, 38.2% 35.4%); }
.star.on { background: var(--sawdust); }
.rec { font: 600 14px/1 var(--text); color: var(--red); }

/* review cards */
.reviews { columns: 2 340px; column-gap: 26px; margin-top: 40px; }
.review { break-inside: avoid; background: var(--paper); border: 1px solid var(--hair); padding: 24px 26px 22px; margin: 0 0 26px; }
.review__head { display: flex; gap: 14px; align-items: center; }
.mono { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lichen); border: 1px solid var(--hair); font: 500 21px/1 var(--display); color: var(--bark); }
.review__who b { display: block; font: 600 17px/1.3 var(--text); }
.review__who > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 400 15px/1.4 var(--text); color: var(--grain); }
.review__text p { margin: 14px 0 0; font-size: 18px; line-height: 1.6; }
.review.is-long .review__text { max-height: 12.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 64%, transparent); mask-image: linear-gradient(#000 64%, transparent); }
.review.is-long.is-open .review__text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.review__more { margin-top: 10px; padding: 8px 0; min-height: 44px; border: 0; background: none; cursor: pointer; font: 600 16px/1 var(--text); color: var(--bark); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wall__title { font-size: 24px; margin-top: 30px; }
.wall { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 26px; }
.wall li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 15px; color: var(--grain); }
.wall li b { color: var(--bark); font-size: 17px; }

/* services, about, contact */
.svc { display: grid; gap: clamp(40px, 6vw, 72px); }
.svc__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.svc__row .plate { max-width: 460px; }
.svc__row--flip .plate { order: 2; justify-self: end; }
.svc__text h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 14px; }
.svc__text h3 a { text-decoration: none; }
.svc__text h3 a:hover { color: var(--red); }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.themes .quote { margin-top: 14px; }
.themes .quote p { font-size: 20px; }
.years { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.years li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hair); }
.years li:last-child { border-bottom: 1px solid var(--hair); }
.years b { font: 500 34px/1 var(--display); color: var(--bark); font-variant-numeric: lining-nums; }
.contactline { font: 600 19px/1.7 var(--text); }
.contactline a { color: var(--bark); text-decoration-color: var(--red); text-underline-offset: 4px; }
.hours { margin: 12px 0 0; max-width: 380px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid var(--hair); }
.hours div:last-child { border-bottom: 1px solid var(--hair); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); }
.contact__side h3 { font-size: 22px; margin: 0 0 8px; }
.contact__side h3 ~ h3 { margin-top: 30px; }
.enquiry .field { margin: 0 0 20px; max-width: none; }
.enquiry label { display: block; font: 600 16px/1.3 var(--text); margin-bottom: 8px; }
.enquiry input, .enquiry textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--field); border-radius: 3px; background: var(--paper); color: var(--bark); font: 400 18px/1.4 var(--text); }
.enquiry textarea { min-height: 150px; resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--bark); }
.enquiry__status { min-height: 1.6em; margin-top: 12px; font-weight: 600; }
.enquiry__status.is-ok { color: #2F5A2A; }
.enquiry__status.is-bad { color: var(--red); }
.map { margin: 26px 0; border: 1px solid var(--hair); background: var(--paper); padding: 10px; max-width: 760px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.entry--cta .hours { margin-top: 30px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(33, 26, 20, .9); }
.lightbox figure { margin: 0; background: var(--paper); padding: 12px 12px 16px; }
.lightbox img { display: block; max-width: 100%; max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; font: italic 400 18px/1.45 var(--display); color: var(--bark); max-width: 70ch; }
.lightbox__bar { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.lightbox__bar button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 3px; background: var(--lichen); color: var(--bark); font: 600 16px/1 var(--text); cursor: pointer; }
.lightbox__bar .lb-close { background: var(--red); color: #fff; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--heartwood); color: var(--lichen); padding: clamp(64px, 8vw, 104px) var(--gut) 36px; }
.foot__in { max-width: var(--max); margin: 0 auto; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(236, 238, 231, .16); }
.foot__brand img { height: 52px; width: auto; display: block; }
.foot__line { margin: 0; flex: 1 1 280px; font: 400 21px/1.45 var(--display); color: var(--lichen); max-width: 38ch; }
.foot__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 44px 0; }
.foot h2 { font: 500 20px/1.2 var(--display); color: var(--lichen); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 8px; }
.foot a { color: var(--lichen); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot p { font-size: 16px; line-height: 1.6; color: var(--foot-muted); }
.foot p a { color: var(--lichen); }
.foot .hours { max-width: none; font-size: 15px; color: var(--foot-muted); margin: 0; }
.foot .hours div { border-color: rgba(236, 238, 231, .14); padding: 6px 0; }
.foot .hours dt { color: var(--lichen); font-weight: 400; }
.foot__rating { border-top: 1px solid rgba(236, 238, 231, .16); padding-top: 24px; margin: 0; }
.foot__rating a { color: var(--lichen); font-weight: 500; }
.foot__legal { font-size: 14px !important; margin: 10px 0 0; }
.foot__legal a { margin-left: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- the story (home) */
.story { position: relative; }
.stage { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--lichen); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.1s ease; }
.stage.is-live canvas { opacity: 1; }
.stage__still { position: absolute; inset: 0; margin: 0; }
.stage__still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage.is-live .stage__still { opacity: 0; transition: opacity 1.1s ease .2s; }
.stage__veil { position: absolute; inset: 0; pointer-events: none; }
.stage__veil::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(236, 238, 231, .96) 0%, rgba(236, 238, 231, .9) 29%, rgba(236, 238, 231, .5) 43%, rgba(236, 238, 231, 0) 57%); }
.stage__veil::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px 40px rgba(236, 238, 231, .55); }
.beats { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.beat { position: relative; padding: 0 var(--gut); }
.beat__text { position: relative; z-index: 1; max-width: 500px; }
.beat__text h2 { margin-bottom: 20px; }
.beat .standfirst { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; margin-top: 24px; max-width: 42ch; }
.beat__cue { display: none; }
.beat__plates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }

/* with WebGL: tall beats, sticky words over the moving stage */
.has-3d .beat { height: 165vh; }
.has-3d .beat--hero { height: 125vh; }
.has-3d .beat--steps { height: 520vh; }
.has-3d .beat--end { height: 260vh; }
.has-3d .beat .ringmark { display: none; }
.has-3d .beat__text { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) + 24px) 0 48px; }
.has-3d .beat__text { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.has-3d .beat:not(.is-live) .beat__text { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.has-3d .beat__cue { display: flex; align-items: center; gap: 12px; margin-top: 44px; font: 500 15px/1 var(--text); color: var(--grain); }
.has-3d .beat__cue::before { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--ring), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.has-3d .beat__plates { display: block; margin-top: 18px; }
.has-3d .beat__plates .plate { background: none; border: 0; box-shadow: none; padding: 0; }
.has-3d .beat__plates .plate img { display: none; }
.has-3d .beat__plates .plate figcaption { margin: 0 0 6px; font-size: 16px; }
.has-3d .beat .quote p { font-size: 20px; }
.has-3d .beat--steps .steps { gap: 14px; }
.has-3d .beat--steps .steps li { opacity: .42; transition: opacity .5s ease; }
.has-3d .beat--steps .steps li p { display: none; }
.has-3d .beat--steps[data-step="1"] .steps li[data-step="1"],
.has-3d .beat--steps[data-step="2"] .steps li[data-step="2"],
.has-3d .beat--steps[data-step="3"] .steps li[data-step="3"],
.has-3d .beat--steps[data-step="4"] .steps li[data-step="4"] { opacity: 1; }
.has-3d .beat--steps[data-step="1"] .steps li[data-step="1"] p,
.has-3d .beat--steps[data-step="2"] .steps li[data-step="2"] p,
.has-3d .beat--steps[data-step="3"] .steps li[data-step="3"] p,
.has-3d .beat--steps[data-step="4"] .steps li[data-step="4"] p { display: block; }

/* without WebGL, without JS, or with reduced motion: the still, then plain entries */
html:not(.has-3d) .stage { position: relative; }
html:not(.has-3d) .beat--hero .beat__text { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) + 20px) 0 56px; }
html:not(.has-3d) .beat:not(.beat--hero) { padding: var(--pad) var(--gut); border-top: 1px solid rgba(207, 201, 188, .6); }
html:not(.has-3d) .beat:not(.beat--hero) .beat__text { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; }
html:not(.has-3d) .beat:not(.beat--hero) .beat__text > h2 { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: calc(var(--head-h) + 32px); }
html:not(.has-3d) .beat:not(.beat--hero) .beat__text > :not(h2) { grid-column: 2; }
html:not(.has-3d) .beat__plates { gap: 28px; max-width: 760px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery > .plate:nth-child(-n+2) { grid-column: span 1; }
  .gallery > .plate:nth-child(-n+2) img { aspect-ratio: 3 / 4; }
  .themes { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .brand img { height: 30px; }
  .masthead__tel { font-size: 16px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 3px; background: var(--bark); color: var(--paper); font: 600 16px/1 var(--text); cursor: pointer; }
  .nav { position: fixed; inset: var(--head-h) 0 auto 0; height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); background: var(--lichen); padding: 28px var(--gut) 40px; overflow-y: auto; display: none; flex-direction: column; gap: 26px; border-top: 1px solid var(--hair); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--hair); }
  .nav a { display: block; padding: 16px 0; font: 500 30px/1.1 var(--display); }
  .nav__call { display: block; font: 600 20px/1.5 var(--text); margin: 0; }
  .nav__call a { color: var(--bark); }
  .nav__call span { font: 400 16px/1.5 var(--text); color: var(--grain); }
  .nav__ask { display: inline-flex; align-self: flex-start; }
  .entry__in { grid-template-columns: 1fr; gap: 28px; }
  .entry__head { position: static; }
  .svc__row, .contact { grid-template-columns: 1fr; }
  .svc__row--flip .plate { order: 0; justify-self: start; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__text { grid-template-columns: 1fr; }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__text > h2 { grid-row: auto; position: static; }
  html:not(.has-3d) .beat:not(.beat--hero) .beat__text > :not(h2) { grid-column: 1; }
}
@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .masthead { gap: 12px; }
  .masthead__tel { display: none; }
  .menu-btn { margin-left: auto; }
  .ringmark { --rm: 640px; --pith-y: calc(var(--pad) + 22px); }
  .ringmark--big { --rm: 900px; --pith-y: 42%; }
  .plates--two, .plates--four { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plates .plate figcaption, .beat__plates .plate figcaption { font-size: 15px; }
  .plate { padding: 7px 7px 11px; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .quotes--grid { grid-template-columns: 1fr; }
  .quote p { font-size: 21px; }
  .rating { gap: 16px; }
  .rating__num { font-size: 116px; }
  .reviews { columns: 1; }
  .steps p { margin-left: 0; }
  .years li { grid-template-columns: 80px 1fr; }
  .years b { font-size: 28px; }
  .map iframe { height: 300px; }
  .foot__cols { grid-template-columns: 1fr; gap: 26px; }
  .foot__brand img { height: 40px; }
  .stage__veil::before { background: linear-gradient(0deg, rgba(236, 238, 231, .98) 0%, rgba(236, 238, 231, .96) 44%, rgba(236, 238, 231, .72) 54%, rgba(236, 238, 231, 0) 66%); }
  .has-3d .beat__text { justify-content: flex-end; padding-bottom: 96px; max-width: none; }
  .has-3d .beat__plates, .has-3d .beat .quote, .has-3d .beat--hero .actions, .has-3d .beat__more { display: none; }
  .has-3d .beat h1 { font-size: 44px; }
  .has-3d .beat h2 { font-size: 34px; margin-bottom: 12px; }
  .has-3d .beat p, .has-3d .beat .standfirst { font-size: 17px; line-height: 1.55; }
  .has-3d .beat .notes { margin: 14px 0 0; padding: 10px 0; gap: 4px 18px; }
  .has-3d .beat .notes dd { font-size: 17px; }
  .has-3d .beat--steps .steps h3 { font-size: 21px; }
  .has-3d .beat__cue { margin-top: 18px; }
  html:not(.has-3d) .beat--hero .beat__text { justify-content: flex-end; padding-bottom: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
