/* Cloud3 theme — inner pages (loaded only on the hand-built pages, after main.css).
   Sections: page hero, shared text, neglect board, month grid, how you are seen,
   suppliers, who it is for, how it works; then the custom development page. */

/* ---------- Page hero ---------- */

.hero--page { height: 84svh; min-height: 580px; max-height: 900px; }
.hero--page .hero__img { transform: none; }
.hero--page .hero__title { font-size: clamp(2.5rem, 5vw, 5.6rem); }
.hero__em {
	display: block; max-width: 14ch;
	font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; text-transform: none;
	font-size: 1.16em; line-height: 0.88; letter-spacing: -0.015em; color: var(--yellow);
	padding: 0.06em 0 0.12em;
}
.js .hero__em { animation: hero-rise 1s var(--ease) both; animation-delay: calc(0.75s + 2 * 0.11s); }
.hero--page .hero__sub { max-width: 52ch; }

/* ---------- Shared text ---------- */

.body { max-width: 52ch; margin-top: 20px; font-size: 16px; line-height: 1.6; opacity: 0.82; }

/* ---------- Neglect board: what goes stale, and what it looks like looked after ---------- */
/* .is-on = Cloud3 on it. Each row holds both states and flips between them. */

.ngl { --red: #d8433b; background: #efece6; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); transition: background-color 0.6s; }
.ngl.is-on { background: #fff; }
.ngl__top { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ngl__count { display: flex; align-items: baseline; gap: 10px; }
.ngl__count b { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; font-stretch: 68%; line-height: 0.9; color: var(--red); font-variant-numeric: tabular-nums; transition: color 0.5s; }
.ngl.is-on .ngl__count b { color: var(--ink); }
.ngl__count span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); max-width: 18ch; line-height: 1.3; }

.ngl__switch { display: flex; align-items: center; gap: 10px; padding: 0; background: none; border: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ngl__switch span { transition: color 0.4s; }
.ngl__switch span:first-child { color: var(--red); }
.ngl.is-on .ngl__switch span:first-child { color: var(--muted); }
.ngl.is-on .ngl__switch span:last-child { color: var(--ink); }
.ngl__switch i { position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px; background: #c9c3b8; transition: background-color 0.4s; }
.ngl__switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: translate 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.ngl.is-on .ngl__switch i { background: var(--yellow); }
.ngl.is-on .ngl__switch i::after { translate: 20px 0; }

.ngl__rows li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; padding: 0 0 0 30px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ngl__rows b { font-weight: 700; }
/* Status light: red and hollow when left alone, a yellow tick when looked after */
.ngl__rows li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--red); transition: background-color 0.4s, border-color 0.4s; transition-delay: calc(var(--i) * 70ms); }
.ngl__rows li::after { content: ""; position: absolute; left: 6.5px; top: 50%; width: 5px; height: 9px; margin-top: -6.5px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); transition-delay: calc(var(--i) * 70ms + 0.1s); }
.ngl.is-on .ngl__rows li::before { background: var(--yellow); border-color: var(--yellow); }
.ngl.is-on .ngl__rows li::after { scale: 1; }
.ngl__state { display: grid; text-align: right; overflow: hidden; font-size: 14px; }
.ngl__state em { grid-area: 1 / 1; font-style: normal; transition: transform 0.55s var(--ease), opacity 0.4s; transition-delay: calc(var(--i) * 70ms); }
.ngl__state em:first-child { color: var(--red); }
.ngl__state em:last-child { font-weight: 700; transform: translateY(110%); opacity: 0; }
.ngl.is-on .ngl__state em:first-child { transform: translateY(-110%); opacity: 0; }
.ngl.is-on .ngl__state em:last-child { transform: none; opacity: 1; }
.ngl__note, .mth__note { margin-top: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }

/* ---------- Month grid: the same jobs ticked every week ---------- */

.mth { background: var(--paper); color: var(--ink); border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
.mth__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mth__head .label span { color: var(--yellow-deep); }
.mth__fee { padding: 6px 12px; background: var(--ink); color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.mth__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, clamp(34px, 5vw, 52px)); align-items: center; }
.mth__grid > * { min-height: 44px; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.mth__wk { justify-items: center; min-height: 38px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mth__job { font-size: 14.5px; font-weight: 600; line-height: 1.25; padding-right: 10px; }
.mth__cell { position: relative; justify-items: center; font-style: normal; }
.mth__cell::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cfc9bd; transition: background-color 0.3s, border-color 0.3s, scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); }
.mth__cell::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 11px; margin: -8px 0 0 -3px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale 0.3s cubic-bezier(0.2, 1.6, 0.4, 1) 0.08s; }
.mth__cell.is-done::before { background: var(--yellow); border-color: var(--yellow); scale: 1.08; }
.mth__cell.is-done::after { scale: 1; }
.mth__cell--off::before { width: 10px; height: 1.5px; border: 0; border-radius: 0; background: #cfc9bd; }

/* ---------- How you are seen ---------- */

.aura { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.aura__img { margin: 0; }
.aura__img .intro__clip { overflow: hidden; aspect-ratio: 4 / 5; }
.aura__img img { width: 100%; height: 100%; object-fit: cover; }
.aura__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(24px, 3vw, 48px); margin-top: 44px; counter-reset: aura; }
.aura__list li { counter-increment: aura; padding-top: 16px; border-top: 1px solid var(--line); }
.aura__list h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1; letter-spacing: -0.01em; }
.aura__list h3::before { content: "0" counter(aura); display: block; margin-bottom: 10px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--yellow-deep); }
.aura__list p { margin-top: 10px; font-size: 15px; line-height: 1.5; opacity: 0.82; }

/* ---------- Suppliers: who is behind each room ---------- */
/* Each chip and line carries its angle (--a) and that angle's cos/sin (--cx, --sy)
   from pages/kbb.php. --R is the distance from the centre of the stage. */

.sup__tabs { display: flex; gap: clamp(14px, 2vw, 26px); justify-content: center; }
.sup__tab { padding: 8px 0 7px; background: none; border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.62); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.25s, border-color 0.25s; }
.sup__tab:hover { color: #fff; }
.sup__tab.is-on { color: #fff; border-color: var(--yellow); }

.sup__stage { --R: 37cqw; container-type: inline-size; position: relative; aspect-ratio: 1 / 0.86; max-width: 620px; margin: 10px auto 0; }
.sup__room { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgba(255, 255, 255, 0.3), 0 30px 70px rgba(0, 0, 0, 0.6); }
.sup__room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.12; transition: opacity 0.7s, scale 1.4s var(--ease); }
.sup__room img.is-on { opacity: 1; scale: 1; }

.sup__line { position: absolute; left: 50%; top: 50%; width: var(--R); height: 1px; background: linear-gradient(90deg, rgba(224, 192, 16, 0) 46%, var(--yellow) 60%); transform-origin: 0 50%; rotate: var(--a); scale: 0 1; opacity: 0; }
.sup__line.is-on { opacity: 1; scale: 1 1; transition: scale 0.6s var(--ease); transition-delay: calc(var(--i) * 90ms + 0.15s); }
.sup__chip {
	position: absolute; left: calc(50% + var(--cx) * var(--R)); top: calc(50% + var(--sy) * var(--R)); translate: -50% -50%;
	display: grid; gap: 1px; width: max-content; max-width: 150px; padding: 9px 13px; text-align: center;
	background: var(--paper); color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
	opacity: 0; scale: 0.6; visibility: hidden;
}
.sup__chip.is-on { opacity: 1; scale: 1; visibility: visible; transition: opacity 0.35s, scale 0.5s cubic-bezier(0.2, 1.5, 0.4, 1); transition-delay: calc(var(--i) * 90ms + 0.45s); }
.sup__chip strong { font-size: 13.5px; line-height: 1.15; }
.sup__chip span { font-size: 11px; color: var(--muted); }

.sup__says { display: none; grid-template-columns: auto minmax(0, 1fr); gap: 8px clamp(18px, 3vw, 36px); align-items: center; margin-top: 18px; padding-top: 22px; min-height: 124px; border-top: 1px solid var(--line-light); }
.sup__says.is-on { display: grid; animation: rise 0.6s var(--ease) both; }
.sup__count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); max-width: 14ch; line-height: 1.35; }
.sup__count b { display: block; font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 800; font-stretch: 66%; letter-spacing: 0; line-height: 0.95; color: var(--yellow); white-space: nowrap; }
.sup__means { font-size: 15.5px; line-height: 1.5; color: rgba(243, 239, 231, 0.88); }
.sup__means .label { display: block; margin-bottom: 6px; color: var(--yellow); }

/* ---------- Who it is for ---------- */

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 5vw, 72px); }
.who__img { overflow: hidden; aspect-ratio: 4 / 3; }
.who__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.who__card:hover .who__img img { scale: 1.06; }
.who__card h3 { margin-top: 20px; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; }
.who__card p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; opacity: 0.82; max-width: 38ch; }

/* ---------- How it works ---------- */

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); counter-reset: how; }
.how li { counter-increment: how; position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.how li::before { content: "0" counter(how); display: block; font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; }
.how h3 { margin-top: 16px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.05; }
.how p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; max-width: 36ch; }
.how__close { max-width: 38ch; margin-top: clamp(48px, 7vw, 100px); font-size: clamp(1.5rem, 2.8vw, 2.7rem); font-weight: 800; font-stretch: 72%; line-height: 1.08; text-transform: uppercase; text-wrap: balance; }

@media (max-width: 1000px) {
	.aura { grid-template-columns: minmax(0, 1fr); }
	.aura__img .intro__clip { aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
	.hero--page { height: auto; max-height: none; padding-top: 130px; }
	.who, .how { grid-template-columns: minmax(0, 1fr); }
	.who__card { max-width: 480px; }
}
@media (max-width: 560px) {
	.aura__list { grid-template-columns: minmax(0, 1fr); }
	.ngl__rows li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 62px; }
	.ngl__state { text-align: left; }
	.mth__job { font-size: 13px; }
	.sup__stage { --R: 35cqw; aspect-ratio: 1 / 0.96; }
	.sup__room { width: 34%; }
	.sup__chip { max-width: 104px; padding: 7px 8px; }
	.sup__chip strong { font-size: 11.5px; }
	.sup__chip span { display: none; }
	.sup__says { grid-template-columns: minmax(0, 1fr); }
	.sup__count { max-width: none; }
}

/* ==========================================================================
   Custom development page (pages/development.php, assets/js/dev.js)
   ========================================================================== */

/* ---------- Following one sale: found, then fixed ---------- */
/* Rows start plain, turn red when a problem is found (.is-found), then flip to the fix (.is-fixed). */

.flow { --red: #d8433b; background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); }
.flow__top { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.flow__tally { display: flex; gap: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.flow__tally b { margin-right: 5px; font-size: 22px; font-stretch: 70%; letter-spacing: 0; color: var(--red); font-variant-numeric: tabular-nums; }
.flow__tally span + span b { color: var(--ink); }
.flow__rows { position: relative; }
/* The line the sale travels along */
.flow__rows::before { content: ""; position: absolute; left: 8px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.flow__rows li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding-left: 34px; border-bottom: 1px solid var(--line); font-size: 15px; }
.flow__rows li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid #cfc9bd; transition: background-color 0.35s, border-color 0.35s, scale 0.4s cubic-bezier(0.2, 1.6, 0.4, 1); }
.flow__rows li::after { content: ""; position: absolute; left: 6.5px; top: 50%; width: 5px; height: 9px; margin-top: -6.5px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) 0.1s; }
.flow__rows li.is-found::before { border-color: var(--red); background: var(--red); scale: 1.15; }
.flow__rows li.is-fixed::before { border-color: var(--yellow); background: var(--yellow); scale: 1; }
.flow__rows li.is-fixed::after { scale: 1; }
.flow__state { display: grid; text-align: right; overflow: hidden; font-size: 14px; }
.flow__state em { grid-area: 1 / 1; font-style: normal; transition: transform 0.55s var(--ease), opacity 0.4s; }
.flow__state em:first-child { color: var(--red); transform: translateY(110%); opacity: 0; }
.flow__state em:last-child { font-weight: 700; transform: translateY(110%); opacity: 0; }
.flow__rows li.is-found .flow__state em:first-child { transform: none; opacity: 1; }
.flow__rows li.is-fixed .flow__state em:first-child { transform: translateY(-110%); opacity: 0; }
.flow__rows li.is-fixed .flow__state em:last-child { transform: none; opacity: 1; }
.flow__note { margin-top: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }

/* ---------- You tell us / we build ---------- */

.said { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(40px, 5vw, 72px); }
.said__card { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px); background: var(--paper); box-shadow: 0 24px 60px rgba(19, 18, 16, 0.1); }
.said__card .label { color: var(--muted); }
.said__card blockquote { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.said__card .said__we { margin-top: auto; padding-top: 28px; color: var(--yellow-deep); }
.said__card .said__we::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 20px; background: var(--yellow); }
.said__card h3 { margin-top: 8px; font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; }
.said__card h3 + p { margin-top: 10px; font-size: 15px; line-height: 1.5; opacity: 0.82; }
.said__note { margin-top: 26px; font-size: 13px; opacity: 0.6; }

/* ---------- The bench: tabs and the app window ---------- */

.bench__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px clamp(32px, 5vw, 90px); align-items: end; }
.bench__head .lede { margin-top: 0; }
.bench { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.bench__tabs { display: grid; }
.bench__tabs button {
	position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 6px; padding: 18px 12px 18px 0; text-align: left;
	background: none; border: 0; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.6);
	font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.1;
	transition: color 0.25s, padding 0.35s var(--ease);
}
.bench__tabs button:last-child { border-bottom: 1px solid var(--line-light); }
.bench__tabs b { grid-row: span 2; font-size: 11px; font-stretch: 100%; letter-spacing: 0.14em; padding-top: 4px; color: var(--yellow); }
.bench__tabs span { margin-top: 4px; font-size: 13px; font-weight: 400; font-stretch: 100%; text-transform: none; color: rgba(243, 239, 231, 0.6); }
.bench__tabs button:hover { color: #fff; }
.bench__tabs button.is-on { color: #fff; padding-left: 14px; }
.bench__tabs button.is-on::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--yellow); }

.bench__window { background: #fff; color: #1d1c1a; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); min-width: 0; }
.bench__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #e9e6e0; font-size: 12px; font-weight: 600; }
.bench__bar i { width: 9px; height: 9px; border-radius: 50%; background: #bdb7ab; }
.bench__bar span { margin-left: 10px; }
.bench__bar em { margin-left: auto; padding: 3px 8px; background: var(--ink); color: var(--yellow); font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.bench__more { margin-top: 34px; color: rgba(243, 239, 231, 0.8); }
.bench__more .link { color: var(--yellow); }

.app { padding: clamp(16px, 2.2vw, 28px); min-height: 430px; }
.app.is-on { animation: rise 0.5s var(--ease) both; }
.app[hidden] { display: none; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.app__job { font-size: 17px; font-weight: 800; }
.app__sub { font-size: 13px; color: #6f6a61; }
.app__ready { padding: 7px 12px; border-radius: 99px; background: #f1ede6; font-size: 12.5px; font-weight: 700; transition: background-color 0.4s, color 0.4s; }
.app__ready.is-go { background: var(--ink); color: var(--yellow); }
.app__meter { height: 6px; margin: 16px 0 6px; border-radius: 3px; background: #ece8e0; overflow: hidden; }
.app__meter i { display: block; height: 100%; background: var(--yellow); transition: width 0.6s var(--ease); }
.app__hint { margin-top: 14px; font-size: 12.5px; color: #8a847a; }
.app__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; transition: background-color 0.25s, color 0.25s, opacity 0.25s; }
.app__btn:hover { background: #33312d; }
.app__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.app__btn.is-saved { background: var(--yellow); color: var(--ink); }

/* 1. Order tracker */
.ord button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 6px 4px; text-align: left; background: none; border: 0; border-bottom: 1px solid #ece8e0; color: inherit; font-size: 14.5px; }
.ord button > i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #cfc9bd; transition: background-color 0.25s, border-color 0.25s; }
.ord button > i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
.ord button > span { flex: 1; display: grid; }
.ord small { font-size: 12px; color: #8a847a; }
.ord em { flex: none; padding: 5px 10px; border-radius: 99px; background: #f1ede6; font-style: normal; font-size: 12px; font-weight: 700; transition: background-color 0.3s, color 0.3s; }
.ord li.is-late em { background: #fde6e3; color: #c0392b; }
.ord li.is-in button > i { background: var(--yellow); border-color: var(--yellow); }
.ord li.is-in button > i::after { scale: 1; }
.ord li.is-in em { background: #fff6c9; color: #6b5a00; }
.ord button:hover > i { border-color: var(--ink); }

/* 2. Delivery day */
.del { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(16px, 2.4vw, 30px); }
.del__stops { margin: 14px 0 16px; }
.del__stops li { display: flex; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid #ece8e0; font-size: 14.5px; transition: opacity 0.4s; }
.del__stops time { flex: none; width: 46px; font-weight: 800; font-variant-numeric: tabular-nums; }
.del__stops span { flex: 1; display: grid; min-width: 0; }
.del__stops small { font-size: 12px; color: #8a847a; }
.del__stops em { flex: none; padding: 5px 10px; border-radius: 99px; background: #f1ede6; font-style: normal; font-size: 12px; font-weight: 700; }
.del__stops li.is-out em { background: var(--ink); color: var(--yellow); }
.del__stops li.is-done { opacity: 0.55; }
.del__stops li.is-done em { background: #fff6c9; color: #6b5a00; }
.del__phone { display: flex; flex-direction: column; border-radius: 22px; background: #1b1a18; padding: 12px 10px 14px; min-height: 340px; }
.del__phone-top { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); padding-bottom: 10px; }
.del__msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; max-height: 300px; overflow: hidden; border-radius: 14px; background: #f4f2ee; padding: 12px 10px; }
.del__empty { margin: auto; max-width: 16ch; text-align: center; font-size: 12.5px; color: #9a948a; }
.del__msg { align-self: flex-start; max-width: 94%; padding: 9px 11px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); font-size: 12.5px; line-height: 1.4; animation: rise 0.45s var(--ease) both; }

/* 3. Finish picker */
.fin { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: clamp(16px, 2.4vw, 30px); align-items: center; }
.fin__room { display: block; width: 100%; height: auto; border-radius: 8px; }
.fin__doors rect { fill: var(--door); transition: fill 0.5s; }
.fin__doors .fin__inset { fill: none; stroke: rgba(0, 0, 0, 0.16); stroke-width: 1.5; }
.fin__top { fill: var(--top); stroke: rgba(0, 0, 0, 0.14); stroke-width: 1; transition: fill 0.5s; }
.fin__handles rect { fill: var(--handle); transition: fill 0.5s; }
.fin__picks fieldset { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fin__picks legend { width: 100%; padding: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6f6a61; }
.fin__picks fieldset button { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #cfc9bd; transition: box-shadow 0.25s, scale 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
.fin__picks fieldset button:hover { scale: 1.08; }
.fin__picks fieldset button.is-on { box-shadow: 0 0 0 2px var(--ink); scale: 1.08; }
.fin__name { margin: 4px 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.15; min-height: 2.3em; }

/* 4. Sign-off */
.sgn { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(16px, 2.4vw, 30px); }
.sgn__checks { margin-top: 14px; }
.sgn__checks button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 4px; text-align: left; background: none; border: 0; border-bottom: 1px solid #ece8e0; color: inherit; font-size: 14.5px; font-weight: 600; }
.sgn__checks i { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfc9bd; transition: background-color 0.25s, border-color 0.25s; }
.sgn__checks i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
.sgn__checks button[aria-pressed="true"] i { background: var(--yellow); border-color: var(--yellow); }
.sgn__checks button[aria-pressed="true"] i::after { scale: 1; }
.sgn__checks button:hover i { border-color: var(--ink); }
.sgn__pad .label { color: #6f6a61; }
.sgn__box { position: relative; display: grid; place-items: center; height: 130px; margin: 10px 0 14px; border: 2px dashed #cfc9bd; border-radius: 8px; background: #faf8f4; }
.sgn__box p { font-size: 12.5px; color: #9a948a; }
.sgn__box svg { position: absolute; inset: 14px 10px; width: calc(100% - 20px); height: calc(100% - 28px); }
.sgn__box path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sgn__box.is-signed { border-style: solid; border-color: var(--yellow); }
.sgn__box.is-signed path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease-in-out; }
.sgn__done { margin-top: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.4; min-height: 2.8em; }

/* ---------- Joining it up: a hub with information moving both ways ---------- */
/* Same angle variables as the suppliers diagram on the KBB page. */

.hub { --R: 36cqw; container-type: inline-size; position: relative; aspect-ratio: 1 / 0.86; max-width: 620px; margin-inline: auto; }
.hub__core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--yellow); font-size: clamp(0.95rem, 1.5vw, 1.3rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; box-shadow: 0 24px 60px rgba(19, 18, 16, 0.35); animation: hub-beat 3s ease-in-out infinite; }
@keyframes hub-beat { 50% { box-shadow: 0 24px 60px rgba(19, 18, 16, 0.35), 0 0 0 10px rgba(224, 192, 16, 0.35); } }
.hub__line { position: absolute; left: 50%; top: 50%; width: var(--R); height: 1px; background: rgba(19, 18, 16, 0.3); transform-origin: 0 50%; rotate: var(--a); }
/* Two sparks per wire: one out, one back */
.hub__line::before, .hub__line::after { content: ""; position: absolute; top: -3.5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-deep); animation: hub-out 3s linear infinite; animation-delay: calc(var(--i) * -0.5s); }
.hub__line::after { background: var(--ink); animation-name: hub-back; animation-delay: calc(var(--i) * -0.5s - 1.5s); }
@keyframes hub-out { 0% { translate: 24cqw 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: var(--R) 0; opacity: 0; } }
@keyframes hub-back { 0% { translate: var(--R) 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: 13cqw 0; opacity: 0; } }
.hub__chip { position: absolute; left: calc(50% + var(--cx) * var(--R)); top: calc(50% + var(--sy) * var(--R)); translate: -50% -50%; width: max-content; max-width: 140px; padding: 10px 14px; text-align: center; background: #fff; box-shadow: 0 14px 34px rgba(19, 18, 16, 0.16); font-size: 13.5px; font-weight: 700; line-height: 1.2; }

/* ---------- Challenge us ---------- */

.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.chal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 90px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.chal__picks { display: flex; flex-wrap: wrap; gap: 10px; }
.chal__picks button { padding: 12px 18px; background: none; border: 1.5px solid var(--ink); border-radius: 99px; color: var(--ink); font-size: 15px; font-weight: 600; text-align: left; transition: background-color 0.25s, color 0.25s, scale 0.3s cubic-bezier(0.2, 1.6, 0.4, 1); }
.chal__picks button:hover { scale: 1.03; }
.chal__picks button.is-on { background: var(--ink); color: var(--yellow); }
.chal__answer { padding: clamp(22px, 3vw, 40px); background: var(--ink); color: #fff; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.3); }
.chal__answer .label { color: var(--yellow); }
.chal__text { margin-top: 12px; min-height: 5.6em; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.01em; }
.chal__text.is-in { animation: rise 0.5s var(--ease) both; }
.chal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.chal__answer .btn--ink { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chal__answer .btn--ink:hover { background: #fff; border-color: #fff; }
.chal__phone { color: #fff; font-weight: 700; }

@media (max-width: 1000px) {
	.bench__head, .bench, .chal { grid-template-columns: minmax(0, 1fr); }
	.bench__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.bench__tabs button:nth-last-child(2) { border-bottom: 1px solid var(--line-light); }
	.said { grid-template-columns: minmax(0, 1fr); }
	.said__card { max-width: 560px; }
}
@media (max-width: 620px) {
	.bench__tabs span { display: none; }
	.bench__tabs button { padding-block: 14px; }
	.del, .fin, .sgn { grid-template-columns: minmax(0, 1fr); }
	.del__phone { min-height: 220px; }
	.app { min-height: 0; }
	.flow__rows li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 64px; }
	.flow__state { text-align: left; }
	.hub { --R: 34cqw; aspect-ratio: 1 / 0.98; }
	.hub__chip { max-width: 100px; padding: 7px 8px; font-size: 11.5px; }
	.ord em, .del__stops em { font-size: 11px; padding: 4px 8px; }
}

/* ==========================================================================
   Paid advertising page (pages/ads.php, assets/js/ads.js)
   ========================================================================== */

/* ---------- A post versus an advert ---------- */
/* Each dot is a homeowner. .o = sees the post, .p = sees the advert. */

.rch { --red: #d8433b; background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); }
.rch__tabs { display: inline-flex; padding: 4px; border-radius: 99px; background: #efece6; }
.rch__tabs button { padding: 9px 18px; border: 0; border-radius: 99px; background: none; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.3s, color 0.3s; }
.rch__tabs button.is-on { background: var(--ink); color: var(--yellow); }
.rch__crowd { display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(4px, 0.7vw, 9px); margin: 22px 0; }
.rch__crowd i { aspect-ratio: 1; border-radius: 50%; background: #e4dfd5; transition: background-color 0.5s, scale 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); transition-delay: var(--d); }
.rch[data-mode="organic"] .rch__crowd i.o { background: var(--ink); scale: 1.2; }
.rch[data-mode="paid"] .rch__crowd i.p { background: var(--yellow-deep); scale: 1.2; }
.rch__says { display: grid; min-height: 4.6em; }
.rch__says p { grid-area: 1 / 1; font-size: 15px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.rch__says b { display: block; }
.rch[data-mode="organic"] [data-rch-say="organic"], .rch[data-mode="paid"] [data-rch-say="paid"] { opacity: 1; transform: none; }
.rch__note, .pen__note { margin-top: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }
.pen__note { margin-top: 30px; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.6; }

/* ---------- The journey slider ---------- */

.jrn { margin-top: clamp(40px, 5vw, 72px); }
.jrn__track { position: relative; max-width: 900px; margin-inline: auto; }
.jrn__track input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 0; background: none; cursor: pointer; }
.jrn__track input::-webkit-slider-runnable-track { height: 2px; background: rgba(255, 255, 255, 0.3); }
.jrn__track input::-moz-range-track { height: 2px; background: rgba(255, 255, 255, 0.3); }
.jrn__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; border-radius: 50%; background: var(--yellow); border: 0; box-shadow: 0 0 0 7px rgba(224, 192, 16, 0.25); }
.jrn__track input::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 0; box-shadow: 0 0 0 7px rgba(224, 192, 16, 0.25); }
.jrn__stops { display: flex; justify-content: space-between; margin-top: 12px; }
.jrn__stops li { flex: 1; text-align: center; font-size: clamp(1rem, 1.7vw, 1.5rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.jrn__stops li:first-child { text-align: left; }
.jrn__stops li:last-child { text-align: right; }
.jrn__stops li.is-on { color: var(--yellow); }

.jrn__out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.jrn__mix { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.jrn__mix p { display: grid; gap: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.jrn__mix p:last-child { text-align: right; }
.jrn__mix b { font-size: clamp(1.8rem, 3vw, 2.6rem); font-stretch: 68%; letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; }
.jrn__bar { height: 14px; background: #fff; overflow: hidden; }
.jrn__bar i { display: block; height: 100%; background: var(--yellow); transition: width 0.8s var(--ease); }
.jrn__says { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; min-height: 5.8em; }
.jrn__ads { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.jrn__ad { background: #fff; color: #202124; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); transition: opacity 0.5s, scale 0.6s var(--ease), filter 0.5s; }
.jrn__ads[data-ad="search"] .jrn__ad--social, .jrn__ads[data-ad="social"] .jrn__ad--search { opacity: 0.3; scale: 0.92; filter: grayscale(1); }
.jrn__ad-top { display: flex; align-items: center; gap: 7px; padding: 9px 10px; font-size: 11.5px; font-weight: 700; }
.jrn__ad-top i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-style: normal; font-size: 8px; }
.jrn__ad-top span { font-weight: 400; color: #65676b; }
.jrn__ad--social img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jrn__ad-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; background: #f0f2f5; font-size: 12px; line-height: 1.2; }
.jrn__ad-foot span { flex: none; padding: 5px 8px; border-radius: 5px; background: #e4e6eb; font-size: 10.5px; font-weight: 700; }
.jrn__ad--search { padding: 14px; font-family: Arial, sans-serif; }
.jrn__q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; margin-bottom: 12px; border: 1px solid #dadce0; border-radius: 18px; font-size: 12.5px; color: #202124; }
.jrn__q svg { color: #7b7f86; flex: none; }
.jrn__spons { font-size: 11px; font-weight: 700; }
.jrn__title { margin-top: 3px; font-size: 15px; line-height: 1.25; color: #1a0dab; }
.jrn__desc { margin-top: 4px; font-size: 12px; line-height: 1.45; color: #4d5156; }

/* Side-by-side table */
.vs { width: 100%; max-width: 980px; margin: clamp(48px, 6vw, 90px) auto 0; border-collapse: collapse; font-size: 15.5px; }
.vs th, .vs td { padding: 16px 14px; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.vs thead th { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; color: var(--yellow); }
.vs tbody th { width: 22%; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); padding-top: 20px; }
.vs td { color: rgba(243, 239, 231, 0.9); }

/* ---------- Narrowing the audience ---------- */

.nar { --red: #d8433b; background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); }
.nar__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 24px; flex-wrap: wrap; }
.nar__count { display: grid; }
.nar__count b { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; font-variant-numeric: tabular-nums; }
.nar__count span, .nar__waste span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nar__count span { margin-top: 8px; }
.nar__waste { display: grid; gap: 4px; text-align: right; }
.nar__waste b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.7rem; line-height: 1; color: var(--red); transition: color 0.4s; }
.nar.is-tight .nar__waste b { color: var(--ink); }
.nar__meter { height: 8px; margin: 18px 0 8px; border-radius: 4px; background: #ece8e0; overflow: hidden; }
.nar__meter i { display: block; height: 100%; background: var(--red); transition: width 0.7s var(--ease), background-color 0.4s; }
.nar.is-tight .nar__meter i { background: var(--yellow-deep); }
.nar__filters button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 6px 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 600; transition: color 0.3s; }
.nar__filters button[aria-pressed="true"] { color: var(--ink); }
/* A small switch */
.nar__filters i { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: #c9c3b8; transition: background-color 0.35s; }
.nar__filters i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); transition: translate 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); }
.nar__filters button[aria-pressed="true"] i { background: var(--yellow); }
.nar__filters button[aria-pressed="true"] i::after { translate: 18px 0; }

/* ---------- Every penny: search terms and budget ---------- */

.pen { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.kw, .bud { --red: #d8433b; background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.14); }
.kw ul { margin-top: 12px; }
.kw li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--line); font-family: Arial, sans-serif; font-size: 14px; }
.kw li span { transition: color 0.4s, text-decoration-color 0.4s; text-decoration: line-through transparent; }
.kw em { flex: none; padding: 4px 10px; border-radius: 99px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; scale: 0.6; transition: opacity 0.3s, scale 0.4s cubic-bezier(0.2, 1.6, 0.4, 1); }
.kw li.is-done em { opacity: 1; scale: 1; }
.kw li.is-bid em { background: var(--yellow); color: var(--ink); }
.kw li.is-block em { background: #fde6e3; color: #c0392b; }
.kw li.is-done.is-block span { color: #a7a196; text-decoration-color: currentColor; }
.pen__cap { margin-top: 18px; font-size: 14.5px; line-height: 1.5; opacity: 0.85; }
.pen__cap b { display: block; }

.bud__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bud__top .label span { color: var(--yellow-deep); }
.bud__avg { display: grid; text-align: right; }
.bud__avg span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bud__avg b { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; font-stretch: 66%; line-height: 0.95; font-variant-numeric: tabular-nums; }
.bud li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity 0.5s; }
.bud li > p:first-child { display: grid; font-size: 14.5px; }
.bud li > p:first-child span { font-size: 12.5px; color: var(--muted); }
.bud__fig { display: grid; text-align: right; font-size: 12px; color: var(--muted); }
.bud__fig b { font-size: 18px; color: var(--ink); }
.bud__fig b::after { content: " per enquiry"; font-size: 11px; font-weight: 400; color: var(--muted); }
.bud__bar { grid-column: 1 / -1; height: 12px; background: #ece8e0; overflow: hidden; }
.bud__bar i { display: block; height: 100%; background: var(--yellow); transition: width 0.9s var(--ease); }
.bud li.is-off { opacity: 0.45; }
.bud li.is-off .bud__fig span { color: var(--red); font-weight: 700; }

/* ---------- AI: what we feed it, what it finds ---------- */

.fed { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.9fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.fed .label { color: var(--yellow); margin-bottom: 12px; }
.fed__col ul { display: grid; gap: 9px; }
.fed__col li { position: relative; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); font-size: 13.5px; line-height: 1.3; color: #fff; }
/* A spark leaving each input for the machine */
.fed__col li::after { content: ""; position: absolute; left: 100%; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); animation: fed-in 2.4s ease-in infinite; animation-delay: calc(var(--i) * 0.6s); opacity: 0; }
@keyframes fed-in { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 60% { opacity: 1; } 75%, 100% { translate: clamp(18px, 3vw, 40px) 0; opacity: 0; } }
.fed__core { display: grid; place-items: center; width: clamp(96px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: var(--ink); text-align: center; font-size: clamp(0.85rem, 1.3vw, 1.15rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; animation: fed-beat 2.4s ease-in-out infinite; }
@keyframes fed-beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 192, 16, 0.5); } 50% { box-shadow: 0 0 0 18px rgba(224, 192, 16, 0); } }
.fed__result { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; color: #fff; }
.fed__dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 220px; margin-top: 18px; }
.fed__dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.16); animation: fed-found 4.8s ease-in-out infinite; }
.fed__dots i:nth-child(3n + 1) { animation-delay: 0.6s; }
.fed__dots i:nth-child(3n + 2) { animation-delay: 1.5s; }
.fed__dots i:nth-child(3n) { animation-delay: 2.4s; }
@keyframes fed-found { 0%, 20% { background: rgba(255, 255, 255, 0.16); scale: 1; } 35%, 85% { background: var(--yellow); scale: 1.15; } 100% { background: rgba(255, 255, 255, 0.16); scale: 1; } }

/* ---------- New platforms: use now, test small, watch ---------- */

.plat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(40px, 5vw, 72px); }
.plat__col { padding: clamp(22px, 2.6vw, 36px); background: var(--paper); box-shadow: 0 24px 60px rgba(19, 18, 16, 0.1); border-top: 4px solid var(--ink); }
.plat__col:nth-child(1) { border-color: var(--yellow-deep); }
.plat__col:nth-child(3) { border-color: #b9b2a6; }
.plat__col h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800; font-stretch: 68%; text-transform: uppercase; line-height: 1; }
.plat__why { margin-top: 8px; font-size: 14.5px; line-height: 1.45; opacity: 0.75; min-height: 3em; }
.plat__col ul { margin-top: 18px; }
.plat__col li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 26px; border-top: 1px solid var(--line); }
.plat__col li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.plat__col:nth-child(1) li::before { background: var(--yellow-deep); box-shadow: 0 0 0 0 rgba(201, 168, 0, 0.6); animation: plat-ping 2.4s ease-out infinite; }
.plat__col:nth-child(3) li::before { background: none; border: 2px solid #b9b2a6; }
@keyframes plat-ping { to { box-shadow: 0 0 0 12px rgba(201, 168, 0, 0); } }
.plat__col li b { font-size: 16px; }
.plat__col li span { font-size: 13.5px; opacity: 0.72; }

@media (max-width: 1000px) {
	.jrn__out, .pen, .plat { grid-template-columns: minmax(0, 1fr); }
	.jrn__says { min-height: 0; }
	.plat__col { max-width: 560px; }
}
@media (max-width: 620px) {
	.rch__crowd { grid-template-columns: repeat(14, 1fr); }
	.jrn__ads { grid-template-columns: minmax(0, 1fr); }
	.jrn__ads[data-ad="search"] .jrn__ad--social, .jrn__ads[data-ad="social"] .jrn__ad--search { display: none; }
	.fed { grid-template-columns: minmax(0, 1fr); justify-items: start; }
	.fed__col li::after { display: none; }
	.fed__core { justify-self: center; }
	.vs { font-size: 14px; }
	.vs th, .vs td { padding: 12px 8px; }
	.vs tbody th { width: 26%; letter-spacing: 0.08em; }
	.nar__waste { text-align: left; }
}

/* ==========================================================================
   Brochures and print page (pages/print.php, assets/js/print.js)
   ========================================================================== */

/* ---------- How long it stays in front of a buyer ---------- */
/* Bars grow to --w when the card scrolls into view. */

.life { background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); }
.life ul { margin-top: 10px; }
.life li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.life li p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.life li span { font-size: 13px; color: var(--muted); text-align: right; }
.life li div { height: 10px; margin-top: 9px; background: #efece6; overflow: hidden; }
.life li i { display: block; height: 100%; width: var(--w); background: #b9b2a6; transform-origin: left; }
.js [data-reveal] .life li i { transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 140ms + 0.3s); }
.js [data-reveal].is-in .life li i { transform: none; }
.life li.is-ours b { font-size: 17px; }
.life li.is-ours span { color: var(--ink); font-weight: 700; }
.life li.is-ours div { height: 16px; }
.life li.is-ours i { background: var(--yellow); }

/* ---------- Flick through a brochure ---------- */

.book__stage { position: relative; aspect-ratio: 1100 / 776; perspective: 1600px; background: #1f1e1c; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
/* Forwards, the next spread swings in from the right-hand edge, as a page turned towards the left does.
   Backwards (.is-back) it comes from the left. */
.book__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transform-origin: right center; }
.book__stage img.is-on { opacity: 1; visibility: visible; z-index: 2; animation: book-in 0.75s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.book__stage img.is-off { opacity: 1; visibility: visible; z-index: 1; }
@keyframes book-in { from { transform: rotateY(78deg); filter: brightness(0.55); } }
.book.is-back .book__stage img { transform-origin: left center; }
.book.is-back .book__stage img.is-on { animation-name: book-in-back; }
@keyframes book-in-back { from { transform: rotateY(-78deg); filter: brightness(0.55); } }
.book__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 22px; }
.book__caps { display: grid; }
.book__caps p { grid-area: 1 / 1; font-size: 15px; line-height: 1.45; color: rgba(243, 239, 231, 0.85); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.book__caps p.is-on { opacity: 1; transform: none; }
.book__caps b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.book__link { margin-top: 20px; text-align: center; color: var(--yellow); }

/* ---------- Supplier leaflets into the recycling ---------- */
/* Leaflets sit fanned on the table; .is-binned sends one to the bin. */

.pile__table { position: relative; aspect-ratio: 1 / 0.72; background: #fff; border-radius: 14px; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); overflow: hidden; }
.pile__leaf {
	position: absolute; left: calc(6% + var(--i) * 7.2%); top: calc(5% + var(--i) * 2.6%); width: 22%; aspect-ratio: 3 / 4;
	display: grid; align-content: end; padding: 8px; rotate: calc(-14deg + var(--i) * 5deg);
	background: hsl(calc(28 + var(--i) * 26) 22% calc(72% - var(--i) * 3%)); color: rgba(19, 18, 16, 0.75);
	font-size: clamp(9px, 1vw, 12px); font-weight: 700; line-height: 1.15; box-shadow: 0 8px 20px rgba(19, 18, 16, 0.2);
	transition: left 0.7s cubic-bezier(0.5, 0, 0.6, 1), top 0.7s cubic-bezier(0.6, -0.3, 0.7, 1), rotate 0.7s, scale 0.7s, opacity 0.3s 0.5s;
}
.pile__leaf.is-binned { left: 76%; top: 60%; rotate: 70deg; scale: 0.3; opacity: 0; }
/* Starting again: leaflets reappear on the table in place. They must never be seen coming back out of the bin. */
.pile.is-snap .pile__leaf { transition: none; }
.pile.is-fresh .pile__leaf { animation: pile-back 0.5s ease backwards; animation-delay: calc(var(--i) * 60ms); }
@keyframes pile-back { from { opacity: 0; } }
.pile__own {
	/* Sits on its own, clear of the stack, then takes the middle of the table once the rest has gone. */
	position: absolute; left: 5%; top: 66%; width: 27%; aspect-ratio: 1.41 / 1; z-index: 2;
	display: grid; align-content: center; gap: 2px; padding: 10% 6% 6% 6%; padding: clamp(10px, 1.6vw, 20px);
	background: var(--ink); color: #fff; box-shadow: 0 16px 36px rgba(19, 18, 16, 0.35);
	rotate: -4deg; transform-origin: 0 100%; transition: scale 0.9s cubic-bezier(0.2, 1.3, 0.4, 1), rotate 0.9s, left 0.9s var(--ease), top 0.9s var(--ease);
}
.pile__own span { font-size: clamp(8px, 0.9vw, 11px); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.pile__own b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.9rem); line-height: 1; }
.pile__own.is-kept { scale: 1.45; rotate: -2deg; left: 14%; top: 50%; }
.pile__bin { position: absolute; right: 7%; bottom: 0; width: 24%; height: 44%; background: #2f3b34; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); display: grid; place-items: center; }
.pile__bin span { font-size: clamp(8px, 0.9vw, 11px); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.pile__bin::before { content: ""; position: absolute; left: -6%; right: -6%; top: 0; height: 8%; background: #232c27; }
.pile__tally { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pile__tally b { margin-right: 6px; font-size: 24px; font-stretch: 70%; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- How long a print run lasts ---------- */

.run { --red: #d8433b; background: #fff; border-radius: 14px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 30px 70px rgba(19, 18, 16, 0.16); }
.run__field + .run__field { margin-top: 18px; }
.run__field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.run__field output { font-size: 24px; font-weight: 800; font-stretch: 70%; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.run__field input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 4px 0 0; background: none; cursor: pointer; }
.run__field input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: #e4dfd5; }
.run__field input::-moz-range-track { height: 4px; border-radius: 2px; background: #e4dfd5; }
.run__field input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--yellow); }
.run__field input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--yellow); }
.run__boxes { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; min-height: 58px; align-content: start; margin: 22px 0 20px; }
.run__boxes i { height: 22px; background: var(--yellow); animation: rise 0.3s var(--ease) both; }
.run__boxes i.is-old { background: #d9d3c8; }
.run__result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.run__months { display: grid; }
.run__months b { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.run__months span { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.run__verdict { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.12; }
.run.is-stale .run__months b { color: var(--red); }

/* ---------- How it is made ---------- */

#made .fan { margin-bottom: clamp(30px, 4vw, 60px); }
.made { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: made; }
.made li { counter-increment: made; padding-top: 20px; border-top: 1px solid var(--line-light); }
.made li::before { content: "0" counter(made); display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--yellow); }
.made h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.05; color: #fff; }
.made p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(243, 239, 231, 0.78); }

/* ---------- Is a publication worth it? (uses the audience widget's switches) ---------- */

.pub .nar__count span { margin: 0 0 8px; }
.pub .pub__verdict { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; }
.pub .nar__waste b { color: var(--ink); font-family: var(--sans); font-style: normal; font-weight: 800; font-stretch: 70%; font-size: 1.6rem; }
.pub.is-no .pub__verdict { color: var(--red); }

@media (max-width: 1000px) {
	.made { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.made { grid-template-columns: minmax(0, 1fr); }
	.book__foot { gap: 10px; }
	.book__caps p { font-size: 14px; }
	.life li p { flex-direction: column; gap: 2px; }
	.life li span { text-align: left; }
	.run__result { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Articles (single.php, parts/post-card.php, pages/insights.php, assets/js/post.js)
   ========================================================================== */

/* ---------- Article header ---------- */

.post__progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; pointer-events: none; }
.post__progress i { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.post__head { position: relative; background: var(--ink); color: #fff; padding: clamp(140px, 17vw, 220px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.post__hero { position: absolute; inset: 0; z-index: -1; }
.post__hero img { width: 100%; height: 100%; object-fit: cover; }
.js .post__hero img { animation: hero-settle 2.2s var(--ease) both; }
.post__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 18, 16, 0.72) 0, rgba(19, 18, 16, 0.5) 40%, rgba(19, 18, 16, 0.92) 100%); }
.post__head.has-image { min-height: min(76svh, 720px); display: flex; align-items: flex-end; }
.post__headin { width: 100%; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 0; color: rgba(255, 255, 255, 0.82); }
.post__meta a { color: var(--yellow); text-decoration: none; }
.post__meta span::before { content: "\00b7"; margin: 0 10px; opacity: 0.6; }
.post__title { max-width: 18ch; margin-top: 18px; font-size: clamp(2.4rem, 5.6vw, 5.4rem); font-weight: 800; font-stretch: 68%; line-height: 0.94; letter-spacing: -0.012em; text-transform: uppercase; text-wrap: balance; }
.post__standfirst { max-width: 46ch; margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.18; color: rgba(255, 255, 255, 0.92); }
.js .post__meta, .js .post__title, .js .post__standfirst { animation: hero-rise 0.9s var(--ease) both; }
.js .post__title { animation-delay: 0.1s; }
.js .post__standfirst { animation-delay: 0.2s; }

/* A drawn graphic, shown whole and lifted into the dark header */
.post__art { position: relative; z-index: 1; max-width: 1180px; margin: clamp(-90px, -6vw, -40px) auto 0; }
.post__art img { display: block; width: 100%; height: auto; box-shadow: 0 40px 90px rgba(19, 18, 16, 0.3); }
.post__art figcaption { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.post__head:not(.has-image) { padding-bottom: clamp(100px, 12vw, 170px); }

/* ---------- Article body ---------- */

.post__body { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 720px); gap: clamp(32px, 6vw, 110px); justify-content: center; padding-block: clamp(48px, 7vw, 100px); }
.post__sidein { position: sticky; top: 110px; display: grid; gap: 6px; }
.post__side .label { color: var(--muted); }
.post__by { display: grid; font-size: 1.25rem; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.post__by span { font-size: 13px; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--muted); }
.post__toc { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.post__toc ol { display: grid; gap: 9px; margin-top: 10px; }
.post__toc a { display: block; padding-left: 12px; border-left: 2px solid var(--line); font-size: 13.5px; line-height: 1.3; text-decoration: none; color: var(--muted); transition: color 0.25s, border-color 0.25s; }
.post__toc a:hover, .post__toc a.is-on { color: var(--ink); border-color: var(--yellow-deep); }
.post__copy { justify-self: start; margin-top: 22px; padding: 9px 14px; background: none; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.25s, color 0.25s; }
.post__copy:hover { background: var(--ink); color: #fff; }

.post__content { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.65; }
.post__content > p:first-of-type { font-size: 1.22em; line-height: 1.5; }
.post__content h2 { margin-top: 2.2em; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-stretch: 70%; text-transform: uppercase; line-height: 1.02; scroll-margin-top: 110px; }
.post__content h3 { margin-top: 1.8em; font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.1; }
.post__content img { max-width: 100%; height: auto; }
.post__content strong { font-weight: 700; }
.post__content li + li { margin-top: 0.45em; }

/* Pull quote */
.post__content blockquote { margin: 2em 0; padding: 0 0 0 clamp(18px, 2.4vw, 32px); border-left: 3px solid var(--yellow); font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.post__content blockquote p { margin: 0; }
.post__content blockquote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* "The short version" box */
.post__content .take { margin: 2em 0; padding: clamp(20px, 2.6vw, 32px); background: var(--ink); color: #f3efe7; }
.post__content .take > p:first-child { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.post__content .take ul { padding: 0; list-style: none; }
.post__content .take li { position: relative; padding-left: 26px; font-size: 0.95em; line-height: 1.5; }
.post__content .take li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; background: var(--yellow); }

/* A big figure with its explanation */
.post__content .stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px clamp(16px, 2.4vw, 30px); align-items: center; margin: 2em 0; padding: 22px 0; border-block: 1px solid var(--line); }
.post__content .stat b { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; color: var(--yellow-deep); }
.post__content .stat span { font-size: 0.95em; line-height: 1.45; }

/* Figures and screenshots */
.post__content figure { margin: 2.2em 0; }
.post__content figure img { display: block; width: 100%; box-shadow: 0 24px 60px rgba(19, 18, 16, 0.18); }
.post__content figure.shot img { border: 1px solid var(--line); border-radius: 8px; }
.post__content figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Side by side comparison */
.post__content .versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2em 0; }
.post__content .versus > div { padding: 20px; background: var(--stone); font-size: 0.92em; line-height: 1.5; }
.post__content .versus > div > p:first-child { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow-deep); }
.post__content .versus ul { padding-left: 1.1em; }

/* Our view, signed off */
.post__content .view { margin: 2.2em 0 0; padding: clamp(20px, 2.6vw, 32px); background: var(--yellow); color: var(--ink); }
.post__content .view > p:first-child { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.post__content .view p + p { margin-top: 0.7em; }
.post__content .sources { margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
.post__content .sources a { word-break: break-word; }

.post__foot { background: var(--paper); }
.post__ask { padding-block: 0 clamp(48px, 7vw, 100px); max-width: 1080px; }
.post__ask .label { color: var(--yellow-deep); }
.post__askline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.15; }
.post__askline .link { font-family: var(--sans); font-style: normal; font-size: 1rem; white-space: nowrap; }

/* ---------- Insights index ---------- */

.blog__head { background: var(--ink); color: #fff; padding: clamp(150px, 18vw, 230px) 0 clamp(48px, 7vw, 90px); }
.blog__title { max-width: 20ch; margin-top: 18px; }
.blog__title em { color: var(--yellow); }
.blog__head .lede { max-width: 58ch; }
.blog { padding-top: clamp(48px, 7vw, 90px); }
.blog__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.blog__filter button { padding: 10px 18px; background: none; border: 1.5px solid var(--ink); border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; transition: background-color 0.25s, color 0.25s; }
.blog__filter button.is-on { background: var(--ink); color: var(--yellow); }
.blog__grid { row-gap: clamp(36px, 5vw, 64px); }

@media (max-width: 1000px) {
	.post__body { grid-template-columns: minmax(0, 1fr); }
	.post__sidein { position: static; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
	.post__toc, .post__copy { display: none; }
	.card--lead { grid-template-columns: minmax(0, 1fr); }
	.blog .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.blog .cards, .post + .section .cards { grid-template-columns: minmax(0, 1fr); }
	.post__content .versus { grid-template-columns: minmax(0, 1fr); }
	.post__content .stat { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Work page (pages/work.php). Charts animate when their card is revealed.
   ========================================================================== */

.wk-totals { padding-block: clamp(48px, 7vw, 100px); }
.wk-src { margin-top: 14px; font-size: 12.5px; line-height: 1.45; opacity: 0.62; }
.wk-head { max-width: 980px; }
.wk-did { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.wk-did span { padding: 7px 13px 6px; border: 1px solid currentColor; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

.wk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.wk-card { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(19, 18, 16, 0.1); font-size: 15.5px; line-height: 1.5; }
.wk-card--wide { grid-column: 1 / -1; }
.wk-card--ink { background: var(--ink); color: #f3efe7; }
.wk-card .label { color: var(--yellow-deep); margin-bottom: 14px; }
.wk-card--ink .label { color: var(--yellow); }
.wk-card .wk-src { margin-top: auto; padding-top: 16px; }
.section--ink .wk-card { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.wk-num { font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; letter-spacing: -0.01em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.wk-num small { font-size: 0.5em; margin-left: 2px; }
.wk-big { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 30ch; }
.wk-big b { font-family: var(--sans); font-style: normal; font-weight: 800; font-stretch: 68%; }

/* Bar chart: each column's height is --v (0 to 1) of the plot */
.wk-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(8px, 1.6vw, 22px); align-items: end; height: clamp(240px, 26vw, 340px); padding-top: 34px; border-bottom: 2px solid var(--ink); }
.wk-bars > div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.wk-bars i { display: block; height: calc(var(--v) * 100%); background: var(--yellow); transform-origin: bottom; }
.wk-bars b { margin-bottom: 8px; font-size: clamp(1.1rem, 1.9vw, 1.7rem); font-weight: 800; font-stretch: 70%; line-height: 1; text-align: center; }
.wk-bars span { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.wk-bars small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.65; }
.wk-bars .is-part i { background: repeating-linear-gradient(135deg, var(--yellow) 0 6px, #f1e089 6px 12px); }
.wk-bars .is-part b, .wk-bars .is-part span { opacity: 0.6; }
.wk-bars + .vh + .wk-big { margin-top: 62px; }
.wk-bars--weeks + .vh + .wk-big { margin-top: 78px; }
.js [data-reveal] .wk-bars i { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 110ms + 0.2s); }
.js [data-reveal] .wk-bars b { opacity: 0; transition: opacity 0.5s; transition-delay: calc(var(--i) * 110ms + 0.9s); }
.js [data-reveal].is-in .wk-bars i { transform: none; }
.js [data-reveal].is-in .wk-bars b { opacity: 1; }
.js [data-reveal].is-in .wk-bars .is-part b { opacity: 0.6; }

/* Two bars compared */
.wk-versus { display: grid; gap: 16px; margin-bottom: 18px; }
.wk-versus > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
.wk-versus span { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.wk-versus i { height: 22px; width: var(--w); background: rgba(255, 255, 255, 0.28); transform-origin: left; }
.wk-versus b { font-size: 1.7rem; font-weight: 800; font-stretch: 70%; line-height: 1; }
.wk-versus .is-ours i { background: var(--yellow); }
.wk-versus .is-ours b { color: var(--yellow); }
.js [data-reveal] .wk-versus i { transform: scaleX(0); transition: transform 1s var(--ease) 0.3s; }
.js [data-reveal].is-in .wk-versus i { transform: none; }

/* Funnel */
.wk-funnel { display: grid; gap: 10px; }
.wk-funnel li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.3; z-index: 0; }
.wk-funnel li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--yellow); z-index: -1; transform-origin: left; }
.wk-funnel b { font-size: 1.9rem; font-weight: 800; font-stretch: 68%; line-height: 1; }
.js [data-reveal] .wk-funnel li::before { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.3s; }
.js [data-reveal].is-in .wk-funnel li::before { transform: none; }

/* Line chart: position, with position 1 at the top */
.wk-line { position: relative; height: clamp(240px, 26vw, 340px); margin-bottom: 8px; }
.wk-line svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wk-line__grid path { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wk-line polyline { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* The line is uncovered from left to right (a dash animation misbehaves on a stretched chart). */
.js [data-reveal] .wk-line svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 2.2s ease-in-out 0.3s; }
.js [data-reveal].is-in .wk-line svg { clip-path: inset(-10% -2% -10% 0); }
.js [data-reveal] .wk-line__b { opacity: 0; transition: opacity 0.5s 2.3s; }
.js [data-reveal].is-in .wk-line__b { opacity: 1; }
.wk-line p { position: absolute; display: grid; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.wk-line p b { font-size: 1.9rem; font-stretch: 68%; letter-spacing: 0; line-height: 1; }
.wk-line__a { left: 3.3%; bottom: 0; }
.wk-line__b { right: 3.3%; top: 12%; text-align: right; padding: 6px 10px; background: var(--yellow); }
.wk-line__top { left: 3.3%; top: -4px; opacity: 0.55; }

/* Work delivered, no results yet */
.wk-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.wk-job { padding: clamp(20px, 2.4vw, 32px); background: var(--stone); }
.wk-job .label { color: var(--yellow-deep); }
.wk-job ul { margin-top: 16px; }
.wk-job li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.wk-job b { font-size: 2.6rem; font-weight: 800; font-stretch: 66%; line-height: 0.9; }

@media (max-width: 1000px) {
	.wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.wk-grid, .wk-pair { grid-template-columns: minmax(0, 1fr); }
	.wk-bars span { font-size: 10px; letter-spacing: 0; }
	.wk-bars small { display: none; }
	.wk-bars--weeks span { font-size: 9.5px; }
	.wk-line__b { top: 4%; }
}

/* Work page, second version: bursts against steady work, the first year, the work itself */

/* Two lines: bursts fall back, steady work climbs */
.wk-climb { position: relative; background: #fff; padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) 52px; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.14); }
.wk-climb svg { display: block; width: 100%; height: clamp(240px, 26vw, 340px); overflow: visible; }
.wk-climb__grid path { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wk-climb__burst, .wk-climb__steady { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wk-climb__burst { stroke: #b9b2a6; stroke-width: 3; stroke-dasharray: 2 7; }
.wk-climb__steady { stroke: var(--yellow-deep); stroke-width: 6; }
.wk-climb p { position: absolute; padding: 6px 10px 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.wk-climb__a { right: clamp(18px, 2.4vw, 30px); bottom: 96px; background: #efece6; color: var(--muted); }
.wk-climb__b { right: clamp(18px, 2.4vw, 30px); top: clamp(52px, 6vw, 84px); background: var(--yellow); color: var(--ink); }
.wk-climb ol { position: absolute; inset: auto clamp(18px, 2.4vw, 30px) 18px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.js [data-reveal] .wk-climb svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 2.4s ease-in-out 0.3s; }
.js [data-reveal].is-in .wk-climb svg { clip-path: inset(-10% -2% -10% 0); }
.js [data-reveal] .wk-climb__b { opacity: 0; transition: opacity 0.5s 2.4s; }
.js [data-reveal].is-in .wk-climb__b { opacity: 1; }

/* The first year: four stages */
.wk-year { margin-top: clamp(36px, 5vw, 64px); }
.wk-year__tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-bottom: 14px; }
.wk-year__tabs button { display: grid; gap: 4px; padding: 0 12px 16px 0; text-align: left; background: none; border: 0; color: rgba(255, 255, 255, 0.45); transition: color 0.3s; }
.wk-year__tabs span { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wk-year__tabs b { font-size: clamp(1.2rem, 2.4vw, 2.2rem); font-weight: 800; font-stretch: 68%; text-transform: uppercase; line-height: 1; }
.wk-year__tabs button:hover, .wk-year__tabs button.is-past { color: rgba(255, 255, 255, 0.8); }
.wk-year__tabs button.is-on { color: #fff; }
.wk-year__tabs button.is-on span { color: var(--yellow); }
.wk-year__bar { position: absolute; inset: auto 0 0; height: 3px; background: rgba(255, 255, 255, 0.18); }
.wk-year__bar i { display: block; height: 100%; width: 25%; background: var(--yellow); transition: width 0.7s var(--ease); }
.wk-year__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 48px); padding-top: clamp(28px, 4vw, 48px); min-height: 300px; }
.wk-year__panel[hidden] { display: none; }
.wk-year__panel.is-on > * { animation: rise 0.6s var(--ease) both; }
.wk-year__panel.is-on > :nth-child(2) { animation-delay: 0.08s; }
.wk-year__panel.is-on > :nth-child(3) { animation-delay: 0.16s; }
.wk-year__col .label, .wk-year__proof .label { color: var(--yellow); margin-bottom: 12px; }
.wk-year__col p + p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; color: rgba(243, 239, 231, 0.88); }
.wk-year__proof { padding: clamp(20px, 2.4vw, 32px); background: var(--paper); color: var(--ink); align-self: start; }
.wk-year__proof .label { color: var(--yellow-deep); }
.wk-year__line { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.01em; }

/* Six figures on the stone section */
#figures .wk-card { animation-delay: calc(var(--i) * 60ms); }

/* The work itself: four ways in */
.wk-made { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.wk-made__card { display: grid; gap: 8px; align-content: start; text-decoration: none; }
.wk-made__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-bottom: 10px; }
.wk-made__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: scale 1.1s var(--ease); }
.wk-made__card:hover .wk-made__img img { scale: 1.06; }
.wk-made__title { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1.05; }
.wk-made__text { font-size: 15px; line-height: 1.5; opacity: 0.8; }
.wk-made__card .link { justify-self: start; margin-top: 6px; }

@media (max-width: 1000px) {
	.wk-year__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.wk-year__proof { grid-column: 1 / -1; }
	.wk-made { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.wk-year__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6px; }
	.wk-year__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.wk-made { grid-template-columns: minmax(0, 1fr); }
	.wk-made__img { aspect-ratio: 3 / 2; }
}

/* ---------- What it costs (parts/price.php) ---------- */

.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 7vw, 100px); padding: clamp(24px, 3.4vw, 52px); background: var(--ink); color: #f3efe7; box-shadow: 0 30px 70px rgba(19, 18, 16, 0.3); }
.wk-price .price { margin-top: 0; }
.wk-price { padding-block: clamp(48px, 7vw, 100px); }
.price .label { color: var(--yellow); }
.price__title { margin: 12px 0 14px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -0.01em; color: #fff; }
.price__text p:not(.label) { max-width: 52ch; font-size: 16px; line-height: 1.55; opacity: 0.85; }
.price__figs { display: grid; grid-auto-flow: column; gap: clamp(20px, 3vw, 48px); }
.price__figs li { display: grid; gap: 2px; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line-light); }
.price__figs span, .price__figs small { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.price__figs b { font-size: clamp(3rem, 5.4vw, 5rem); font-weight: 800; font-stretch: 66%; line-height: 0.95; color: var(--yellow); }
.price__text p + p { margin-top: 12px; }
.price__inc { display: grid; gap: 0; min-width: min(100%, 320px); }
.price__inc li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line-light); font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.price__inc small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: 0.65; }
.price__inc li:last-child { border-bottom: 1px solid var(--line-light); }
.price__inc li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); }
.price__inc li::after { content: ""; position: absolute; left: 7px; top: 16.5px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; }
.price__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 13px; opacity: 0.65; }
@media (max-width: 900px) { .price { grid-template-columns: minmax(0, 1fr); } .price__figs li:first-child { padding-left: 0; border-left: 0; } }

/* Page heroes on phones: the text sits over the whole photo, so darken all of it. */
@media (max-width: 900px) {
	.hero--page .hero__shade { background: linear-gradient(180deg, rgba(19, 18, 16, 0.62) 0, rgba(19, 18, 16, 0.84) 100%); }
}

/* ==========================================================================
   Contact page (pages/contact.php, assets/js/contact.js, inc/contact.php)
   ========================================================================== */

.btn--wa i {
	flex: none; width: 19px; height: 19px; margin-right: 10px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.9 2 11.8c0 2.3 1 4.4 2.7 6L4 22l4.6-1.6c1.1.3 2.2.5 3.4.5 5.5 0 10-3.9 10-8.8S17.5 3 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.9 2 11.8c0 2.3 1 4.4 2.7 6L4 22l4.6-1.6c1.1.3 2.2.5 3.4.5 5.5 0 10-3.9 10-8.8S17.5 3 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.duo--top { align-items: start; }

/* ---------- Rather talk? ---------- */
.ring { margin-top: clamp(32px, 4vw, 56px); padding-top: 26px; border-top: 1px solid var(--line); }
.ring__no { display: block; margin: 8px 0 12px; font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 800; font-stretch: 66%; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; transition: color 0.2s; }
.ring__no:hover { color: var(--yellow-deep); }
.ring p:last-child { max-width: 40ch; font-size: 15.5px; line-height: 1.5; opacity: 0.82; }

/* ---------- WhatsApp message builder ---------- */
.wab { background: var(--ink); color: #f3efe7; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px rgba(19, 18, 16, 0.28); }
.wab__q { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.wab__q legend, .fit legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #b8b1a5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-light); border-radius: 22px; background: none; font-size: 14px; font-weight: 600; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chips button:hover { border-color: var(--yellow); }
.chips button:active { transform: scale(0.95); }
.chips button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.wab__chat { margin: 4px 0 20px; padding-bottom: 20px; border-radius: 14px; overflow: hidden; background: var(--stone); color: var(--ink); }
.wab__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #2b2824; color: #fff; font-weight: 700; line-height: 1.25; }
.wab__head b { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink) url("../img/logo-yellow.png") center / 70% no-repeat; }
.wab__head small { display: block; font-size: 11.5px; font-weight: 400; color: #b8b1a5; }
.wab__bubble { width: fit-content; max-width: 86%; margin: 20px 14px 0 auto; padding: 11px 14px; border-radius: 14px 14px 4px 14px; background: #d6f0c2; font-size: 15.5px; line-height: 1.4; box-shadow: 0 2px 4px rgba(19, 18, 16, 0.12); }
.wab__bubble.is-new { animation: rise 0.4s var(--ease) both; }
.wab__send { width: 100%; }
.wab__note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: #9a9387; }

/* ---------- What you get ---------- */
.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); counter-reset: gets; }
.gets li { counter-increment: gets; padding-top: 24px; border-top: 2px solid var(--yellow); }
.gets li::before { content: "0" counter(gets); display: block; font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 800; font-stretch: 66%; line-height: 0.9; color: var(--yellow); }
.gets h3 { margin-top: 16px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.05; }
.gets p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: #c9c2b6; }
.gets__free { display: flex; align-items: baseline; gap: 18px; max-width: 64ch; margin-top: clamp(40px, 6vw, 84px); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; }
.gets__free b { flex: none; padding: 5px 12px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Message form ---------- */
.cf { background: var(--ink); color: #f3efe7; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px rgba(19, 18, 16, 0.28); }
.cf[hidden], html:not(.js) form.cf { display: none; }
.cf__nojs { padding: 24px; background: var(--ink); color: #f3efe7; }
.cf__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.cf__f { display: grid; gap: 8px; margin-bottom: 18px; }
.cf__f label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #b8b1a5; }
.cf__f label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: #8d867a; text-align: right; }
.cf__f input, .cf__f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-light); border-radius: 0; background: transparent; color: #f3efe7; font: inherit; font-size: 16px; line-height: 1.4; transition: border-color 0.2s; }
.cf__f textarea { min-height: 120px; resize: vertical; }
.cf__f input::placeholder { color: #6f695f; }
.cf__f input:focus, .cf__f textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.cf__f.is-bad input, .cf__f.is-bad textarea { border-color: #ff7a59; }
.cf__err { font-size: 13px; color: #ff9a80; }
.cf__send { width: 100%; }
.cf__send[disabled] { opacity: 0.6; cursor: default; }
.cf__status { min-height: 1.5em; margin-top: 12px; font-size: 14px; line-height: 1.45; color: #b8b1a5; }
.cf__status.is-bad { color: #ff9a80; }
.cf--done { display: grid; gap: 16px; justify-items: start; }
.cf--done:focus { outline: 0; }
.cf--done h3 { font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 800; font-stretch: 66%; line-height: 0.95; text-transform: uppercase; color: var(--yellow); }
.cf--done p { max-width: 44ch; color: #c9c2b6; }
.cf__tick { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); animation: jy-pop 0.5s var(--ease) both; }
.cf__tick::before { content: ""; position: absolute; left: 22px; top: 13px; width: 16px; height: 27px; border: solid var(--ink); border-width: 0 5px 5px 0; rotate: 45deg; }

/* The human check: slide the loose unit along the run until it drops into the gap.
   --x is where the unit is and --g where the gap is, both 0 to 1 of the distance it can travel. */
.fit { --x: 0; --g: 0.6; border: 0; padding: 0; margin: 6px 0 22px; min-width: 0; }
.fit legend b { color: var(--yellow); font-weight: 700; }
.fit__room {
	position: relative; height: 158px; overflow: hidden; border: 1px solid var(--line-light);
	background: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 20px, linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 20px 100%;
}
.fit__run {
	position: absolute; left: 0; right: 0; bottom: 34px; height: 76px;
	border-top: 6px solid #b8b1a5; border-bottom: 8px solid #26231f;
	background: repeating-linear-gradient(90deg, #4a453e 0 calc(12.5% - 2px), #131210 calc(12.5% - 2px) 12.5%);
}
.fit__gap { position: absolute; top: -6px; bottom: -8px; left: calc(var(--g) * 87.5%); width: 12.5%; background: var(--ink); outline: 1px dashed var(--yellow); outline-offset: -1px; opacity: 0; transition: opacity 0.4s; }
.fit.is-ready .fit__gap { opacity: 1; }
.fit__unit {
	position: absolute; z-index: 1; left: calc(var(--x) * 87.5%); bottom: 34px; width: 12.5%; height: 76px;
	border-top: 6px solid #fff3a8; border-bottom: 8px solid #8a7600; background: var(--yellow);
	box-shadow: 0 16px 22px rgba(0, 0, 0, 0.45); transform: translateY(-30px) rotate(-4deg);
	transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.fit__unit i { position: absolute; left: 30%; right: 30%; top: 10px; height: 3px; background: var(--ink); }
.fit.is-fit .fit__unit { transform: none; background: #5fd08a; border-top-color: #c8f3d8; border-bottom-color: #2c7a4b; box-shadow: none; }
.fit__dim { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); font-variant-numeric: tabular-nums; }
.fit.is-fit .fit__dim { color: #5fd08a; }
.fit input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; }
.fit input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-light); }
.fit input[type="range"]::-moz-range-track { height: 2px; background: var(--line-light); }
.fit input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -16px; border: 0; border-radius: 50%; background: var(--yellow); cursor: grab; }
.fit input[type="range"]::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--yellow); cursor: grab; }
.fit input[type="range"]:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.fit__msg { font-size: 13px; line-height: 1.45; color: #9a9387; }
.fit.is-fit .fit__msg { color: #5fd08a; }

@media (max-width: 1000px) {
	.gets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.gets { grid-template-columns: minmax(0, 1fr); }
	.gets__free { display: block; }
	.gets__free b { display: inline-block; margin-bottom: 10px; }
	.cf__row { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   About page (pages/about.php, assets/js/about.js)
   ========================================================================== */

/* ---------- The founder ---------- */
.fdr { position: relative; max-width: 520px; padding: 0 0 0 clamp(16px, 2.4vw, 34px); }
.fdr::before { content: ""; position: absolute; left: 0; top: clamp(24px, 4vw, 56px); bottom: 54px; width: 62%; background: var(--yellow); }
.fdr__img { position: relative; overflow: hidden; }
.fdr__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter 0.8s, scale 1.2s var(--ease); }
.fdr:hover .fdr__img img { filter: none; scale: 1.03; }
.fdr__years { position: absolute; right: -14px; top: 28px; width: 124px; padding: 16px 12px 14px; background: var(--ink); color: #f3efe7; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.35; text-align: center; }
.fdr__years b { display: block; font-size: 3.6rem; font-weight: 800; font-stretch: 64%; letter-spacing: 0; line-height: 0.9; color: var(--yellow); }
.fdr figcaption { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.fdr figcaption strong { font-size: 1.5rem; font-weight: 800; font-stretch: 70%; text-transform: uppercase; }
.fdr figcaption .label { color: var(--muted); }
.fdr__quote { margin-top: clamp(28px, 4vw, 48px); padding-left: 22px; border-left: 3px solid var(--yellow); max-width: 34rem; }
.fdr__quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.fdr__quote figcaption { margin-top: 14px; color: var(--muted); }

/* ---------- In numbers ---------- */
.nums { padding-block: clamp(48px, 6vw, 90px); }
.nums__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.nums__grid li { padding: 24px 20px 0 0; font-weight: 600; line-height: 1.35; }
.nums__grid li + li { padding-left: 24px; border-left: 1px solid var(--ink); }
.nums__grid strong { display: block; margin-bottom: 8px; font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 800; font-stretch: 64%; line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- Four seats in the trade ---------- */
.seats { margin-top: clamp(40px, 5vw, 72px); }
.seats__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.seats__tabs button { min-height: 50px; padding: 0 22px; border: 1px solid var(--line-light); background: none; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.seats__tabs button:hover { border-color: var(--yellow); }
.seats__tabs button.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* The chain a room travels along. Lit stops are the seat being described. */
.chain { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 5vw, 64px) 0; }
.chain::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 13px; height: 2px; background: var(--line-light); transition: opacity 0.4s; }
.chain::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: -22px; height: 36px; border: 2px dashed var(--yellow); border-bottom: 0; border-radius: 40px 40px 0 0; opacity: 0; transition: opacity 0.4s; }
.chain.is-direct::before { opacity: 0.35; }
.chain.is-direct::after { opacity: 1; }
.chain li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #8d867a; transition: color 0.3s; }
.chain li i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 2px solid #5a544b; transition: background-color 0.3s, border-color 0.3s, scale 0.4s var(--ease); }
.chain li.is-on { color: #fff; }
.chain li.is-on i { background: var(--yellow); border-color: var(--yellow); scale: 1.25; }
.chain li.is-on i::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--yellow); animation: pin-pulse 1.8s ease-out infinite; }

.seats__panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 60px); align-items: start; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-light); }
.seats__panel[hidden] { display: none; }
.seats__panel.is-on > * { animation: rise 0.6s var(--ease) both; }
.seats__panel.is-on > :nth-child(2) { animation-delay: 0.08s; }
.seats__panel.is-on > :nth-child(3) { animation-delay: 0.16s; }
.seats__panel h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--yellow); text-wrap: balance; }
.seats__panel .label { margin-bottom: 10px; color: #b8b1a5; }
.seats__panel div p:last-child { font-size: 16px; line-height: 1.55; color: #e3ddd1; }

/* ---------- They have / you have / so we ---------- */
.duel { margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); }
.duel__head, .duel__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.duel__head span { padding: 14px 20px 14px 0; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.duel__head span:nth-child(2), .duel__head span:nth-child(3) { padding-left: 24px; }
.duel__row { border-top: 1px solid var(--line); }
.duel__row li { padding: clamp(18px, 2.4vw, 30px) 20px clamp(18px, 2.4vw, 30px) 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.25; }
.duel__row li:nth-child(1) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(19, 18, 16, 0.3); text-decoration-thickness: 1px; }
.duel__row li:nth-child(2) { padding-left: 24px; font-weight: 800; font-stretch: 72%; font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.05; text-transform: uppercase; }
.duel__row li:nth-child(3) { padding-left: 24px; background: var(--ink); color: #f3efe7; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.1; }
.duel__row li:nth-child(3)::before { content: "\2192"; margin-right: 0.4em; font-family: var(--sans); font-style: normal; color: var(--yellow); }

/* ---------- Everything under one roof ---------- */
.roof { position: relative; max-width: 640px; margin-inline: auto; }
.roof__line { display: block; width: 100%; height: clamp(56px, 8vw, 96px); overflow: visible; }
/* The roof is uncovered from the ridge outwards (a dash animation misbehaves on a stretched drawing). */
.roof__line path { fill: none; stroke: var(--yellow); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.js [data-reveal] .roof__line { clip-path: inset(-10px 50% -10px 50%); transition: clip-path 1.2s var(--ease) 0.2s; }
.js [data-reveal].is-in .roof__line { clip-path: inset(-10px 0 -10px 0); }
.roof__name { position: absolute; left: 0; right: 0; top: clamp(34px, 5vw, 60px); text-align: center; color: var(--yellow); }
.roof__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border: 3px solid var(--yellow); border-top: 0; }
.roof__grid li { display: grid; }
.roof__grid a, .roof__grid span { display: grid; place-items: center; min-height: clamp(76px, 9vw, 108px); padding: 10px; background: var(--ink-2); color: #f3efe7; font-size: clamp(0.8rem, 1.05vw, 0.95rem); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color 0.25s, color 0.25s; }
.roof__grid a:hover { background: var(--yellow); color: var(--ink); }
.js [data-reveal] .roof__grid li { opacity: 0; translate: 0 14px; transition: opacity 0.5s, translate 0.6s var(--ease); transition-delay: calc(0.7s + var(--i) * 70ms); }
.js [data-reveal].is-in .roof__grid li { opacity: 1; translate: none; }
.roof__note { margin-top: 16px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.7rem); color: var(--yellow); }

/* ---------- Proudly based in Essex ---------- */
.essex__big { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.28em; font-size: clamp(2.8rem, 9.5vw, 10rem); font-weight: 800; font-stretch: 64%; line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.essex__big em { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: -0.01em; font-size: 1.1em; line-height: 0.8; color: var(--yellow-deep); padding-bottom: 0.1em; }
.essex__big i { flex: none; width: 0.5em; height: 0.5em; margin-right: 0.08em; border-radius: 50% 50% 50% 0; rotate: -45deg; background: radial-gradient(circle, var(--yellow) 0 27%, var(--ink) 29%); animation: essex-drop 2.6s var(--ease) infinite; }
@keyframes essex-drop { 0%, 60%, 100% { translate: 0 0; } 75% { translate: 0 -0.16em; } 88% { translate: 0 0.03em; } }
.essex__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--ink); }
.essex__facts li { padding-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 600; line-height: 1.3; }
.essex__facts .label { display: block; margin-bottom: 6px; color: var(--muted); }

@media (max-width: 1000px) {
	.fdr { margin-inline: auto; }
	.nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nums__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
	.nums__grid li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--ink); }
	.seats__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.duel__head { display: none; }
	.duel__row { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
	.duel__row li, .duel__row li:nth-child(2), .duel__row li:nth-child(3) { padding: 4px 0; }
	.duel__row li:nth-child(3) { margin-top: 10px; padding: 14px 16px; }
	.essex__facts { grid-template-columns: minmax(0, 1fr); }
	.essex__facts li { padding-bottom: 14px; }
	.essex__facts li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
	.fdr__years { right: 0; width: 104px; }
	.fdr__years b { font-size: 3rem; }
	.seats__tabs button { flex: 1 1 calc(50% - 8px); padding: 0 10px; }
	.chain li { font-size: 9.5px; letter-spacing: 0.12em; }
}