/* COLOUR BLOCK — bold, playful family for colourful contemporary quarters.
   Tokens come from core.css + the per-project theme; the facade palette arrives as
   --c1…--c4 (+ --cN-ink) on the root, and each block picks one as --bk / --bk-ink. */

html[data-design="colour-block"] { --pdx-footer: #1b1d1f; }
.cb {
  --pdx-gutter: clamp(16px, 3.6vw, 60px);
  --cb-r: clamp(16px, 2vw, 30px);
  background: var(--pdx-bg);
  overflow-x: clip;
}

/* ---------- atoms ---------- */
.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font: 700 13px/1 var(--pdx-font-text);
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .4s var(--pdx-ease), background-color .3s, color .3s, border-color .3s;
}
.cb-btn:hover { transform: translateY(-3px) rotate(-1deg); }
.cb .cb-btn--solid { background: var(--pdx-ink); border-color: var(--pdx-ink); color: var(--pdx-bg); }
.cb .cb-btn--line { background: transparent; color: inherit; }
.cb-btn--block { width: 100%; }
.cb-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 700 13px/1 var(--pdx-font-text); text-decoration: none; color: inherit; border-bottom: 2px solid currentColor; }
.cb-link span { transition: transform .4s var(--pdx-ease); }
.cb-link:hover span { transform: translateX(5px); }
.cb-tag { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--bk); color: var(--bk-ink); font: 700 12px/1 var(--pdx-font-text); letter-spacing: .08em; text-transform: uppercase; }
.cb-title { font: 700 clamp(30px, 3.8vw, 64px)/1 var(--pdx-font-title); letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.cb-section { padding: clamp(80px, 12vh, 150px) var(--pdx-gutter) 0; }
.cb-body { font-size: 17px; line-height: 1.65; max-width: 64ch; opacity: .85; }
.cb-body p + p { margin-top: .9em; }
.cb-photo { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--cb-r); overflow: hidden; background: var(--bk, var(--pdx-surface)); cursor: zoom-in; }
.cb-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--pdx-ease); }
.cb-photo:hover img { transform: scale(1.05); }

/* ---------- hero ---------- */
.cb-hero { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 14px; min-height: 100svh; padding: clamp(78px, 11vh, 110px) var(--pdx-gutter) var(--pdx-gutter); }
.cb-logo { position: absolute; z-index: 3; top: clamp(22px, 3.6vh, 36px); left: var(--pdx-gutter); width: clamp(104px, 9vw, 140px); }
.cb-logo img { width: 100%; height: auto; filter: brightness(0); }
.cb-hero__copy { position: relative; z-index: 2; grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: clamp(24px, 3vw, 48px); border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); }
.cb-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-hero__meta span { padding: 7px 12px; border: 1.5px solid currentColor; border-radius: 999px; font: 700 11px/1 var(--pdx-font-text); letter-spacing: .06em; text-transform: uppercase; }
.cb-hero__title { font: 700 min(7vw, 120px, calc(36vw / (var(--len, 8) * .82)))/.9 var(--pdx-font-display); letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: break-word; }
.cb-hero__subtitle { font: 400 clamp(17px, 1.35vw, 21px)/1.4 var(--pdx-font-text); max-width: 32ch; }
.cb-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cb-hero__copy .cb-btn--solid { background: var(--bk-ink); border-color: var(--bk-ink); color: var(--bk); }
.cb-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pdx-hero-focus, 50% 50%); }
.pdx.js-ready .cb-hero__copy { animation: cb-pop 1s cubic-bezier(.3, 1.4, .5, 1) .15s both; }
@keyframes cb-pop { from { opacity: 0; transform: scale(.92) translateY(30px); } to { opacity: 1; transform: none; } }

/* hero: collage */
.cb-collage { grid-column: 6 / -1; grid-row: 1 / span 2; position: relative; min-height: 420px; }
.cb-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--cb-r); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); }
.cb-collage__a { inset: 0 0 18% 12%; }
.cb-collage__b { left: 0; bottom: 0; width: 38%; height: 34%; }
.cb-collage__b img { object-position: 15% 70%; transform: scale(1.6); }
.cb-collage__c { right: 6%; bottom: 3%; width: 30%; height: 26%; }
.cb-collage__c img { object-position: 85% 30%; transform: scale(1.8); }
.cb-collage__block { position: absolute; border-radius: var(--cb-r); background: var(--bk); }
.cb-collage__block--1 { left: 3%; top: 8%; width: 16%; aspect-ratio: 1; }
.cb-collage__block--2 { right: -2%; top: -3%; width: 12%; aspect-ratio: 1; border-radius: 50%; }
.pdx.js-ready .cb-collage > * { animation: cb-pop 1.1s cubic-bezier(.3, 1.4, .5, 1) both; }
.pdx.js-ready .cb-collage__b { animation-delay: .35s; }
.pdx.js-ready .cb-collage__c { animation-delay: .5s; }
.pdx.js-ready .cb-collage__block--1 { animation-delay: .6s; }
.pdx.js-ready .cb-collage__block--2 { animation-delay: .7s; }
[data-depth] { translate: 0 var(--depth-y, 0px); }

/* hero: tiles — the name on colour tiles */
.cb-hero--tiles .cb-hero__copy { grid-column: 1 / span 5; grid-row: 2; justify-content: flex-start; }
.cb-tiles { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(var(--len), minmax(0, 1fr)); gap: 10px; }
.cb-tile { display: grid; place-items: center; aspect-ratio: 1 / 1.1; border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); font: 700 min(8vw, 140px, calc(70vw / var(--len)))/1 var(--pdx-font-display); text-transform: uppercase; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.cb-tile--gap { background: none; }
.cb-tile:hover { transform: translateY(-10px) rotate(-4deg); }
.pdx.js-ready .cb-tile { animation: cb-drop .9s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.1s + var(--i) * 70ms); }
@keyframes cb-drop { from { opacity: 0; transform: translateY(-60px) rotate(-12deg); } to { opacity: 1; transform: none; } }
.cb-hero--tiles .cb-hero__media { grid-column: 6 / -1; grid-row: 2; margin: 0; border-radius: var(--cb-r); overflow: hidden; min-height: 320px; }

/* hero: stripes — the render behind colour bands that slide away */
.cb-hero--stripes { grid-template-rows: 1fr auto; padding-top: 0; padding-left: 0; padding-right: 0; }
.cb-hero--stripes .cb-hero__media { grid-column: 1 / -1; grid-row: 1 / span 2; position: absolute; inset: 0; margin: 0; }
.cb-stripes { position: absolute; inset: 0; z-index: 1; display: flex; pointer-events: none; }
.cb-stripes i { flex: 1; background: var(--bk); transform-origin: top; transform: scaleY(0); }
.pdx.js-ready .cb-stripes i { animation: cb-band 1.2s cubic-bezier(.7, 0, .2, 1) both; animation-delay: calc(.2s + var(--i) * 90ms); }
@keyframes cb-band { from { transform: scaleY(1); } to { transform: scaleY(.0); } }
.cb-stripes i:nth-child(2n) { transform-origin: bottom; }
.cb-hero--stripes .cb-hero__copy { grid-column: 1 / span 6; grid-row: 2; margin: 0 0 var(--pdx-gutter) var(--pdx-gutter); }
.cb-hero--stripes .cb-logo img { filter: brightness(0) invert(1); }

/* ---------- section nav: colour pills at the top-right ---------- */
.cb-nav { position: fixed; z-index: 40; right: var(--pdx-gutter); bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; transition: opacity .5s, transform .6s var(--pdx-ease); }
.cb.is-hero-view .cb-nav { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cb-nav__meter { width: 120px; height: 6px; border-radius: 3px; background: var(--pdx-line); overflow: hidden; }
.cb-nav__meter i { display: block; height: 100%; background: var(--pdx-ink); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.cb-nav ol { display: flex; gap: 6px; }
.cb-nav a { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--bk); box-shadow: 0 0 0 1.5px var(--pdx-bg); text-decoration: none; transition: transform .3s; position: relative; }
.cb-nav a span { position: absolute; right: 0; bottom: calc(100% + 30px); padding: 7px 12px; border-radius: 999px; background: var(--bk); color: var(--bk-ink); font: 700 11px/1 var(--pdx-font-text); white-space: nowrap; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .3s, transform .3s; }
.cb-nav a:hover span, .cb-nav a:focus-visible span { opacity: 1; transform: none; }
.cb-nav a:hover { transform: scale(1.3); }
.cb-nav a[aria-current="true"] { transform: scale(1.45); box-shadow: 0 0 0 2px var(--pdx-bg), 0 0 0 3.5px var(--pdx-ink); }
@media (max-width: 1099px) { .cb-nav { display: none; } }

/* ---------- prologue ---------- */
.cb-prologue { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.cb-prologue .cb-tag { grid-column: 1 / span 3; justify-self: start; align-self: start; }
.cb-lede { grid-column: 4 / -1; font: 400 clamp(26px, 2.8vw, 48px)/1.18 var(--pdx-font-text); letter-spacing: -.02em; text-wrap: pretty; }
.cb-prologue__rest { grid-column: 4 / span 7; columns: 2 280px; column-gap: 32px; font-size: 16.5px; line-height: 1.65; opacity: .8; }
.cb-prologue__rest p + p { margin-top: 1em; }

/* ---------- features ---------- */
.cb-features .cb-title { margin-bottom: clamp(30px, 5vh, 54px); }
.cb-feats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; }
.cb-feat { display: grid; align-content: space-between; gap: 30px; min-height: clamp(260px, 34vh, 360px); padding: clamp(20px, 2vw, 32px); border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); --pdx-icon-accent: var(--bk-ink); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), border-radius .6s var(--pdx-ease); }
.cb-feat:nth-child(even) { margin-top: 40px; }
.cb-feat:hover { transform: translateY(-10px) rotate(-1.5deg); border-radius: calc(var(--cb-r) * 2.5); }
.cb-feat__icon { width: clamp(68px, 6vw, 96px); }
.cb-glyph { width: 100%; height: auto; stroke-width: 1.5; }
.cb-feat__title { font: 700 clamp(17px, 1.4vw, 22px)/1.1 var(--pdx-font-title); letter-spacing: -.02em; text-transform: uppercase; }
.cb-feat__text { margin-top: 8px; font-size: 14.5px; line-height: 1.5; opacity: .85; }
.pdx.js-ready .cb-feat { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .9s var(--pdx-ease), transform .9s cubic-bezier(.3, 1.4, .5, 1), border-radius .6s; transition-delay: calc(var(--d) * .1s), calc(var(--d) * .1s), 0s; }
.pdx.js-ready .cb-feats.is-in .cb-feat { opacity: 1; transform: none; }
.pdx.js-ready .cb-feats.is-in .cb-feat:hover { transform: translateY(-10px) rotate(-1.5deg); transition-delay: 0s; }
/* chips: round colour chips */
.cb-features--chips .cb-feats { gap: clamp(14px, 2vw, 30px); }
.cb-features--chips .cb-feat { min-height: 0; aspect-ratio: 1; border-radius: 50%; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 14%; }
.cb-features--chips .cb-feat:nth-child(even) { margin-top: 0; }
.cb-features--chips .cb-feat:hover { border-radius: 50%; transform: rotate(-8deg) scale(1.04); }
.cb-features--chips .cb-feat__text { display: none; }

/* ---------- chapters ---------- */
.cb-chhead { display: grid; justify-items: start; gap: 18px; margin-bottom: clamp(30px, 5vh, 50px); }
.cb-chapter--text { margin: clamp(60px, 10vh, 120px) var(--pdx-gutter) 0; padding: clamp(40px, 6vw, 90px); border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
.cb-chapter--text .cb-tag { background: var(--bk-ink); color: var(--bk); }
.cb-chapter--text .cb-body { columns: 2 260px; column-gap: 32px; }

/* collage: overlapping photos drifting at different depths */
.cb-pile { position: relative; height: clamp(520px, 86vh, 900px); margin-bottom: clamp(30px, 5vh, 56px); }
.cb-pile__item { position: absolute; margin: 0; }
.cb-pile__item::before { content: ''; position: absolute; inset: 0; border-radius: var(--cb-r); background: var(--bk); transform: translate(14px, 14px); }
.cb-pile__item--1 { left: 0; top: 4%; width: 54%; height: 62%; }
.cb-pile__item--2 { right: 4%; top: 0; width: 34%; height: 40%; }
.cb-pile__item--3 { right: 0; top: 46%; width: 40%; height: 44%; }
.cb-pile__item--4 { left: 10%; bottom: 0; width: 30%; height: 30%; }
.cb-pile__item--5 { left: 44%; bottom: 6%; width: 18%; height: 24%; }
.cb-pile[style*="--n:1"] .cb-pile__item--1 { width: 100%; height: 92%; }
.cb-pile[style*="--n:1"] { height: clamp(380px, 70vh, 720px); }
.cb-pile[style*="--n:2"] .cb-pile__item--2 { top: 30%; height: 56%; width: 42%; }
.pdx.js-ready .cb-pile .cb-pile__item { opacity: 0; scale: .9; transition: opacity .9s var(--pdx-ease), scale 1s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--k) * .12s); }
.pdx.js-ready .cb-pile.is-in .cb-pile__item { opacity: 1; scale: 1; }
.cb-pile__extra { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: clamp(30px, 5vh, 56px); }
.cb-pile__mini { margin: 0; aspect-ratio: 1; }
.cb-chapter--collage .cb-body { columns: 2 300px; column-gap: 40px; max-width: 980px; }

/* carousel */
.cb-carousel__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(26px, 4vh, 44px); }
.cb-carousel__head .cb-chhead { margin: 0; }
.cb-carousel { margin: 0 calc(-1 * var(--pdx-gutter)); }
.cb-carousel__track { display: flex; gap: 14px; overflow-x: auto; padding: 10px var(--pdx-gutter) 20px; scroll-snap-type: x proximity; scroll-padding: 0 var(--pdx-gutter); scrollbar-width: none; cursor: grab; outline: none; }
.cb-carousel__track::-webkit-scrollbar { display: none; }
.cb-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cb-carousel__track.is-dragging .cb-photo { pointer-events: none; }
.cb-card { position: relative; flex: 0 0 auto; width: clamp(280px, 36vw, 560px); aspect-ratio: 4 / 3.2; margin: 0; padding: 12px; border-radius: calc(var(--cb-r) + 10px); background: var(--bk); scroll-snap-align: start; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.cb-card:nth-child(odd) { transform: rotate(-1.2deg); }
.cb-card:nth-child(even) { transform: rotate(1.2deg) translateY(16px); }
.cb-card:hover { transform: rotate(0) translateY(-8px); }
.cb-card figcaption { position: absolute; left: 24px; bottom: 24px; padding: 6px 10px; border-radius: 999px; background: var(--bk); color: var(--bk-ink); font: 700 12px/1 var(--pdx-font-text); pointer-events: none; }
.cb-carousel__hint { display: flex; align-items: center; gap: 14px; margin: 6px var(--pdx-gutter) 0; font: 700 12px/1 var(--pdx-font-text); text-transform: uppercase; letter-spacing: .08em; }
.cb-carousel__hint i { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--pdx-line); overflow: hidden; }
.cb-carousel__hint i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 20%); border-radius: 2px; background: var(--pdx-ink); transform: translateX(var(--tx, 0%)); }

/* split: a colour field with one big photo */
.cb-chapter--split { margin: clamp(60px, 10vh, 120px) var(--pdx-gutter) 0; padding: clamp(18px, 2vw, 30px); border-radius: calc(var(--cb-r) * 1.4); background: var(--bk); color: var(--bk-ink); }
.cb-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.cb-split__lead { margin: 0; aspect-ratio: 4 / 3.4; }
.cb-split__text { padding: clamp(10px, 2vw, 30px) clamp(10px, 2vw, 30px) clamp(10px, 2vw, 30px) 0; }
.cb-chapter--split .cb-tag { background: var(--bk-ink); color: var(--bk); }
.cb-split__row { display: flex; gap: 10px; margin-top: 26px; }
.cb-split__thumb { margin: 0; width: clamp(80px, 8vw, 120px); aspect-ratio: 1; }
.cb-split__thumb .cb-photo { border-radius: 14px; }
.pdx.js-ready .cb-split__row .cb-split__thumb { opacity: 0; translate: 0 16px; transition: opacity .7s, translate .8s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(.3s + var(--k) * .1s); }
.pdx.js-ready .cb-split__row.is-in .cb-split__thumb { opacity: 1; translate: 0 0; }

/* ---------- location ---------- */
.cb-location .cb-title { margin-bottom: clamp(26px, 4vh, 44px); }
.cb-location--continued { padding-top: clamp(30px, 5vh, 56px); }
.cb-location__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.cb-location__grid--no-map { grid-template-columns: minmax(0, 1fr); }
.cb-location__info { display: grid; align-content: end; gap: 18px; padding: clamp(24px, 3vw, 44px); border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); }
.cb-location__place { font: 700 clamp(24px, 2.3vw, 42px)/.95 var(--pdx-font-title); letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
.cb-location__coords { display: grid; gap: 2px; font: 500 15px/1.4 var(--pdx-font-text); font-variant-numeric: tabular-nums; opacity: .85; }
.cb .cb-map { position: relative; margin: 0; min-height: clamp(400px, 64svh, 680px); border-radius: var(--cb-r); overflow: hidden; }
.cb-map__canvas { position: absolute; inset: 0; }
.cb-discs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.cb-disc { display: grid; place-content: center; justify-items: center; gap: 4px; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; padding: 18px; border-radius: 50%; background: var(--bk); color: var(--bk-ink); text-align: center; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.cb-disc:hover { transform: rotate(-10deg) scale(1.06); }
.cb-disc b { font: 700 clamp(44px, 4vw, 64px)/.9 var(--pdx-font-title); letter-spacing: -.04em; }
.cb-disc i { font-style: normal; font: 700 12px/1 var(--pdx-font-text); text-transform: uppercase; letter-spacing: .1em; }
.cb-disc span { font-size: 12.5px; line-height: 1.25; max-width: 14ch; }
.pdx.js-ready .cb-discs .cb-disc { opacity: 0; scale: .6; transition: opacity .6s, scale .8s cubic-bezier(.3, 1.6, .5, 1), transform .5s; transition-delay: calc(.2s + var(--d) * .14s), calc(.2s + var(--d) * .14s), 0s; }
.pdx.js-ready .cb-discs.is-in .cb-disc { opacity: 1; scale: 1; }

/* ---------- contact ---------- */
.cb-contact { padding-bottom: clamp(80px, 12vh, 150px); }
.cb-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; }
.cb-contact__intro { display: grid; align-content: space-between; gap: 30px; padding: clamp(28px, 3.4vw, 56px); border-radius: var(--cb-r); background: var(--bk); color: var(--bk-ink); }
.cb-contact__intro p { font-size: 18px; }
.cb-contact__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.cb-contact__form { padding: clamp(28px, 3.4vw, 56px); border-radius: var(--cb-r); background: var(--pdx-surface); box-shadow: inset 0 0 0 2px var(--pdx-ink); }
.cb .pd-form-box.cb-form { display: block; width: auto; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--pdx-ink); text-align: left; backdrop-filter: none; }
.cb .cb-form form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cb .cb-form .cb-field { display: grid; gap: 8px; margin: 0; }
.cb .cb-form .cb-field--wide, .cb .cb-form button, .cb .cb-form .cb-form__consent { grid-column: 1 / -1; }
.cb .cb-form .cb-field__label { font: 700 11px/1 var(--pdx-font-text); letter-spacing: .08em; text-transform: uppercase; }
.cb .cb-form .cb-field__row { display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 2px solid var(--pdx-ink); border-radius: 16px; background: var(--pdx-bg); }
.cb .cb-form input { width: 100%; margin: 0; padding: 16px 18px; border: 2px solid var(--pdx-ink); border-radius: 16px; background: var(--pdx-bg); box-shadow: none; color: var(--pdx-ink); font: 400 17px/1.2 var(--pdx-font-text); transition: box-shadow .3s; }
.cb .cb-form .cb-field__row input { padding: 16px 0; border: 0; background: transparent; }
.cb .cb-form input:focus { outline: none; box-shadow: 4px 4px 0 var(--c1); }
.cb .cb-form .cb-field__row:focus-within { box-shadow: 4px 4px 0 var(--c1); }
.cb .cb-form .pd-phone-prefix { position: static; padding: 0; margin: 0; transform: none; font: 700 17px/1.2 var(--pdx-font-text); color: var(--pdx-ink); }
.cb .cb-form button[type="submit"] { min-height: 60px; margin-top: 4px; }
.cb .cb-form .cb-form__consent { margin: 0; font-size: 12px; line-height: 1.5; color: var(--pdx-muted); }

/* ---------- dock ---------- */
.cb-dock { display: none; }

/* ---------- tablets & phones ---------- */
@media (max-width: 899px) {
  .pdx.cb { font-size: 16px; }
  .cb-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .cb-hero__copy, .cb-hero--tiles .cb-hero__copy { grid-column: 1; grid-row: auto; order: 2; }
  .cb-hero__title { font-size: min(14vw, calc(80vw / (var(--len, 8) * .82))); }
  .cb-collage { grid-column: 1; grid-row: auto; min-height: 0; height: 70vw; order: 1; }
  .cb-tiles { grid-column: 1; grid-row: auto; gap: 5px; }
  .cb-tile { font-size: min(12vw, calc(84vw / var(--len))); border-radius: 10px; }
  .cb-hero--tiles .cb-hero__media { grid-column: 1; grid-row: auto; min-height: 56vw; order: 1; }
  .cb-hero--stripes { min-height: 100svh; grid-template-rows: 1fr auto; }
  .cb-hero--stripes .cb-hero__copy { grid-column: 1; margin: 0 var(--pdx-gutter) var(--pdx-gutter); }
  .cb-hero__actions { flex-direction: column; align-items: stretch; }
  .cb-prologue { grid-template-columns: minmax(0, 1fr); }
  .cb-prologue .cb-tag, .cb-lede, .cb-prologue__rest { grid-column: 1; }
  .cb-prologue__rest { columns: 1; }
  .cb-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-feat { min-height: 210px; }
  .cb-features--chips .cb-feat { min-height: 0; padding: 12%; }
  .cb-features--chips .cb-feat__title { font-size: 11px; overflow-wrap: anywhere; }
  .cb-features--chips .cb-feat__icon { width: 44px; }
  .cb-feat:nth-child(even) { margin-top: 24px; }
  .cb-chapter--text { grid-template-columns: minmax(0, 1fr); margin-left: 10px; margin-right: 10px; }
  .cb-chapter--text .cb-body { columns: 1; }
  .cb-pile { height: 120vw; }
  .cb-pile__item--1 { width: 78%; height: 46%; }
  .cb-pile__item--2 { width: 46%; height: 30%; top: 40%; }
  .cb-pile__item--3 { width: 56%; height: 32%; top: 62%; }
  .cb-pile__item--4 { left: 0; width: 40%; height: 24%; }
  .cb-pile__item--5 { display: none; }
  .cb-chapter--collage .cb-body { columns: 1; }
  .cb-carousel__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cb-card { width: 80vw; }
  .cb-chapter--split { margin-left: 10px; margin-right: 10px; }
  .cb-split { grid-template-columns: minmax(0, 1fr); }
  .cb-split__text { padding: 0 6px 10px; }
  .cb-location__grid, .cb-contact__grid { grid-template-columns: minmax(0, 1fr); }
  .cb .cb-map { min-height: 360px; }
  .cb-disc { width: calc((100% - 28px) / 3); padding: 8px; }
  .cb-disc b { font-size: 30px; }
  .cb-disc span { font-size: 10px; }
  .cb .cb-form form { grid-template-columns: minmax(0, 1fr); }
  .cb-contact { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .cb-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: var(--pdx-surface);
    box-shadow: inset 0 0 0 2px var(--pdx-ink), 0 16px 30px -16px rgba(0, 0, 0, .5);
    transform: translateY(calc(100% + 24px));
    transition: transform .5s var(--pdx-ease);
  }
  .cb-dock.is-visible { transform: none; }
  .cb-dock .cb-btn { min-height: 46px; padding: 0 10px; }
}

/* ---------- motion preferences ---------- */
.cb[data-motion="none"] *, .cb[data-motion="none"] *::before, .cb[data-motion="none"] *::after { animation: none !important; transition: none !important; }
.cb[data-motion="none"] .cb-stripes { display: none; }
@media (prefers-reduced-motion: reduce) { [data-depth] { translate: none; } .cb-stripes { display: none; } }
