/* The street: painted blue, paper, poured concrete and asphalt, ragged paint edges, photo prints,
   and a real curb that paints your number.
   Loaded last, on top of tokens.css, components.css, theme.css and experience.css. */
:root {
  --font-stencil: "Saira Stencil One", Archivo, "Arial Narrow", sans-serif;
  --font-hand: Kalam, "Bradley Hand", cursive;
  --print: 0 28px 48px -28px rgba(0,0,0,.55), 0 3px 10px rgba(0,0,0,.14);
}

/* ---------- Materials ---------- */
body.cpk { background-image: url("../img/tex/grain.png"); background-size: 180px; }
.cpk .cpk-hero2__paint, .cpk .cpk-spotlight, .cpk .cpk-mast { background: var(--cobalt-600) url("../img/tex/grain.png") 0 0 / 180px; color: #fff; }
.cpk .cpk-road, .cpk .cpk-curbs, .cpk .cpk-footer { background-color: #1b1c1e; background-image: linear-gradient(rgba(20,21,23,.86), rgba(20,21,23,.9)), url("../img/design/asphalt.jpg"); background-image: linear-gradient(rgba(20,21,23,.86), rgba(20,21,23,.9)), image-set(url("../img/design/asphalt.avif") type("image/avif"), url("../img/design/asphalt.jpg") type("image/jpeg")); background-size: auto, 900px auto; color: var(--paper); }
.cpk .cpk-anatomy { background-color: #c6c3bb; background-image: linear-gradient(rgba(214,205,188,.38), rgba(214,205,188,.38)), url("../img/tex/concrete.jpg"); background-image: linear-gradient(rgba(214,205,188,.38), rgba(214,205,188,.38)), image-set(url("../img/tex/concrete.avif") type("image/avif"), url("../img/tex/concrete.jpg") type("image/jpeg")); background-size: auto, 520px; }

/* A ragged painted edge below (or above) a blue wall. */
.cpk-torn { position: relative; }
.cpk .cpk-torn::after, .cpk .cpk-torn--top::before { content: ""; position: absolute; left: 0; right: 0; height: 24px; background: var(--cobalt-600) url("../img/tex/grain.png") 0 0 / 180px; -webkit-mask: url("../img/tex/edge.svg") 0 0 / 1440px 100% repeat-x; mask: url("../img/tex/edge.svg") 0 0 / 1440px 100% repeat-x; pointer-events: none; z-index: 4; }
.cpk .cpk-torn::after { top: calc(100% - 1px); }
.cpk .cpk-torn--top::after { content: none; }
.cpk .cpk-torn--top::before { bottom: calc(100% - 1px); transform: scaleY(-1); }

.cpk-wide { width: 100%; max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.cpk main { overflow-x: clip; }

/* ---------- Type ---------- */
.cpk .cpk-big { margin: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(32px, 5.2vw, 72px); line-height: .98; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.cpk .cpk-big--huge { font-size: clamp(36px, 6.6vw, 94px); line-height: .94; }
.cpk .cpk-big em, .cpk .cpk-hero2__title em { font-family: var(--font-stencil); font-style: normal; font-weight: 400; font-stretch: 100%; letter-spacing: .01em; color: var(--cobalt-600); }
.cpk .cpk-curbs .cpk-big em, .cpk .cpk-spotlight .cpk-big em { color: var(--cobalt-300); }
.cpk .h1 { font-weight: 900; font-stretch: 125%; font-size: 42px; line-height: 44px; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.cpk .h2 { font-weight: 900; font-stretch: 115%; font-size: 28px; line-height: 32px; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.cpk .h2::before { display: none; }
.cpk .content h2 { font-weight: 900; font-stretch: 115%; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.cpk .cpk-hand { font-family: var(--font-hand); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.cpk .cpk-lede { max-width: 26em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }

.cpk-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cpk-head p { max-width: 30em; }
.cpk-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 56px; }
.cpk-head--split > div { display: flex; flex: 1 1 560px; flex-direction: column; align-items: flex-start; gap: 16px; }
.cpk-head--split > p { flex: 0 1 380px; }

/* A straight strip of painter's tape with torn ends. */
.cpk .cpk-tape { display: inline-block; align-self: flex-start; width: auto; max-width: 100%; margin: 0; padding: 8px 18px 7px; color: #fff; background-color: var(--cobalt-600); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px, rgba(0,0,0,.05) 4px 5px, transparent 5px 9px); font-family: var(--font-body); font-weight: 700; font-stretch: 100%; font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 17%, 100% 34%, calc(100% - 4px) 52%, calc(100% - 1px) 70%, calc(100% - 6px) 86%, 100% 100%, 0 100%, 5px 84%, 1px 66%, 6px 48%, 0 31%, 4px 14%); }
.cpk .cpk-hero2 .cpk-tape, .cpk .cpk-spotlight .cpk-tape, .cpk .cpk-mast .cpk-tape { color: var(--cobalt-700); background-color: var(--paper); }

/* ---------- Buttons that press like a block of paint ---------- */
.cpk .cpk-btn { min-height: 52px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 14px; line-height: 20px; letter-spacing: .03em; text-transform: uppercase; text-align: center; transition: transform .12s, box-shadow .12s, background-color .15s, color .15s; }
.cpk .cpk-btn--primary { background: var(--cobalt-600); color: #fff; box-shadow: 0 5px 0 #10287a; }
.cpk .cpk-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #10287a; }
.cpk a.cpk-btn--ink, .cpk .cpk-btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 5px 0 rgba(0,0,0,.32); }
.cpk a.cpk-btn--ink:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0,0,0,.32); color: #fff; }
.cpk .cpk-btn--primary:active, .cpk a.cpk-btn--ink:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.32); }
.cpk a.cpk-btn--light, .cpk button.cpk-btn--light { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.cpk a.cpk-btn--light:hover, .cpk button.cpk-btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }

/* ---------- Banner and header ---------- */
.cpk .cpk-draft { padding: 7px 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.cpk-header { background: var(--paper) url("../img/tex/grain.png") 0 0 / 180px; border-bottom: 0; box-shadow: 0 3px 0 var(--ink); }
.cpk .cpk-header__nav a { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.cpk .cpk-header__nav a[aria-current], .cpk .cpk-header__nav a:hover { box-shadow: inset 0 -5px 0 var(--cobalt-600); }
.cpk a.cpk-header__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.cpk a.cpk-header__cta:hover { background: var(--cobalt-600); }

/* ---------- Home: painted headline ---------- */
.cpk .cpk-hero2__paint { padding: clamp(22px, 2.2vw, 34px) 0 clamp(16px, 1.6vw, 24px); }
.cpk-hero2__inner { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.cpk .cpk-hero2__title { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; color: #fff; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(36px, 4.6vw, 76px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.cpk .cpk-hero2__title em { color: #fff; font-size: 1.06em; line-height: .9; -webkit-mask-image: url("../img/tex/spray.png"); mask-image: url("../img/tex/spray.png"); -webkit-mask-size: 220px; mask-size: 220px; }
.cpk-hero2__aside { display: flex; flex-direction: column; gap: 16px; padding-bottom: 4px; }
.cpk .cpk-hero2__lede { max-width: 22em; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.5; }
.cpk-hero2 .cpk-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.cpk-nowrap { white-space: nowrap; }
.cpk .cpk-hero2__point [aria-hidden] { display: inline-block; margin-left: 6px; }

/* ---------- The curb that paints your number ---------- */
.cpk-scene { position: relative; overflow: hidden; background: #b9b6ae; }
.cpk-scene__view { position: relative; aspect-ratio: 1280 / 460; container-type: inline-size; }
.cpk .cpk-scene__base, .cpk .cpk-scene__box { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
/* Less sidewalk and gutter on wide screens, so the number sits higher. */
.cpk-scene--hero .cpk-scene__view { margin-top: -6.8%; margin-bottom: -5.4%; }
.cpk-scene__at { position: absolute; left: 27.3%; top: 32.4%; width: 45.3%; height: 31.4%; transform: skewY(1.3deg); }
.cpk .cpk-scene__box { clip-path: polygon(26.7% 29.8%, 73.3% 32.8%, 73.3% 67.5%, 26.7% 64.7%); transition: clip-path .9s cubic-bezier(.4,0,.3,1); }
.cpk-scene__tint { mix-blend-mode: multiply; clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.4,0,.3,1), background-color .25s; }
.cpk-scene[data-color="yellow"] .cpk-scene__tint { background: #f2c200; }
.cpk-scene__old, .cpk .cpk-scene__view .cpk-plate, .cpk-scene__sheets { display: flex; align-items: center; justify-content: center; font-family: var(--font-stencil); font-weight: 400; font-stretch: 100%; font-size: 10.2cqw; line-height: 1; letter-spacing: .09em; white-space: nowrap; }
.cpk-scene__old, .cpk .cpk-scene__view .cpk-plate { text-indent: .09em; -webkit-mask-image: url("../img/tex/spray.png"); mask-image: url("../img/tex/spray.png"); -webkit-mask-size: 150px; mask-size: 150px; }
.cpk-scene__old { color: rgba(23,24,26,.4); mix-blend-mode: multiply; opacity: 0; clip-path: inset(0 0 0 0); }
.cpk .cpk-scene__view .cpk-plate { padding: 0; border-radius: 0; background: transparent; color: var(--ink); mix-blend-mode: multiply; clip-path: inset(-20% 0 -20% 0); transition: clip-path 1s linear; }

.cpk-scene__sheets { padding-left: .09em; pointer-events: none; }
.cpk-scene__sheets i { display: block; font-style: normal; line-height: 1.38; color: rgba(18,34,66,.5); background: linear-gradient(135deg, rgba(196,216,252,.8), rgba(136,166,214,.76)); border: .14cqw solid rgba(255,255,255,.85); border-radius: .35cqw; box-shadow: 0 .6cqw 1.4cqw rgba(0,0,0,.32); opacity: 0; transform: translateY(-70%); transition: opacity .3s, transform .45s cubic-bezier(.2,1.3,.4,1); transition-delay: calc(var(--i) * 70ms); }

.cpk-scene__paper, .cpk-scene__tape { position: absolute; transform: skewY(1.3deg); pointer-events: none; }
.cpk-scene__paper { background: #c9a172 url("../img/tex/grain.png") 0 0 / 120px; box-shadow: 0 .5cqw 1.2cqw rgba(0,0,0,.28); opacity: 0; transition: opacity .35s, translate .45s; }
.cpk-scene__paper--top { left: 20%; top: 12.5%; width: 60%; height: 17.5%; translate: 0 -30%; }
.cpk-scene__paper--bottom { left: 20%; top: 66.4%; width: 60%; height: 18%; translate: 0 30%; }
.cpk-scene__paper--left { left: 15.5%; top: 20%; width: 10.6%; height: 58%; translate: -30% 0; }
.cpk-scene__paper--right { left: 73.9%; top: 20%; width: 10.6%; height: 58%; translate: 30% 0; }
.cpk-scene__tape { background: #2e6ccd url("../img/tex/grain.png") 0 0 / 90px; box-shadow: 0 .2cqw .5cqw rgba(0,0,0,.3); scale: 0 1; transition: scale .35s cubic-bezier(.3,.8,.4,1); }
.cpk-scene__tape--top { left: 25.6%; top: 29.4%; width: 48.8%; height: 3.4%; transform-origin: left center; }
.cpk-scene__tape--bottom { left: 25.6%; top: 63.4%; width: 48.8%; height: 3.4%; transform-origin: left center; }
.cpk-scene__tape--left, .cpk-scene__tape--right { top: 29.4%; width: 1.9%; height: 37.4%; scale: 1 0; transform-origin: center top; }
.cpk-scene__tape--left { left: 25.5%; }
.cpk-scene__tape--right { left: 72.6%; }

.cpk-scene__mist { position: absolute; left: 20%; top: 24%; width: 14%; height: 48%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.5) 45%, rgba(255,255,255,0)); opacity: 0; pointer-events: none; }
.cpk .cpk-scene__brush { position: absolute; left: 22%; top: 34%; width: 23%; height: auto; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }

/* Stage 0: bare concrete with the old number. 1: scrape. 2: tape, paper, background.
   3: stencils and numbers. 4: everything lifted off. */
.cpk .cpk-scene[data-stage="0"] .cpk-scene__box, .cpk .cpk-scene[data-stage="1"] .cpk-scene__box { clip-path: polygon(26.7% 29.8%, 26.7% 29.8%, 26.7% 64.7%, 26.7% 64.7%); }
.cpk-scene[data-stage="0"] .cpk-scene__tint, .cpk-scene[data-stage="1"] .cpk-scene__tint { clip-path: inset(0 100% 0 0); }
.cpk .cpk-scene[data-stage="0"] .cpk-scene__view .cpk-plate, .cpk .cpk-scene[data-stage="1"] .cpk-scene__view .cpk-plate, .cpk .cpk-scene[data-stage="2"] .cpk-scene__view .cpk-plate { clip-path: inset(-20% 100% -20% 0); transition: none; }
.cpk-scene[data-stage="0"] .cpk-scene__old { opacity: 1; }
.cpk-scene[data-stage="1"] .cpk-scene__old { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path .6s .25s linear; }
.cpk .cpk-scene[data-stage="1"] .cpk-scene__brush { animation: cpk-brush 1s ease-in-out both; }
.cpk .cpk-scene[data-stage="2"] .cpk-scene__box { transition-delay: .35s; }
.cpk-scene[data-stage="2"] .cpk-scene__tint { transition-delay: .35s, 0s; }
.cpk-scene[data-stage="2"] .cpk-scene__paper, .cpk-scene[data-stage="3"] .cpk-scene__paper { opacity: 1; translate: 0 0; }
.cpk-scene[data-stage="2"] .cpk-scene__tape, .cpk-scene[data-stage="3"] .cpk-scene__tape { scale: 1 1; }
.cpk-scene[data-stage="2"] .cpk-scene__mist { animation: cpk-mist .85s .35s linear both; }
.cpk-scene[data-stage="3"] .cpk-scene__sheets i { opacity: 1; transform: none; }
.cpk .cpk-scene[data-stage="3"] .cpk-scene__view .cpk-plate { transition-delay: .5s; }
.cpk-scene[data-stage="3"] .cpk-scene__mist { left: 22%; background: radial-gradient(closest-side, rgba(20,21,23,.6), rgba(20,21,23,.22) 45%, rgba(20,21,23,0)); animation: cpk-mist-ink 1s .45s linear both; }
.cpk-scene[data-stage="4"] .cpk-scene__sheets i { transform: translateY(-120%); }
.cpk .cpk-scene.is-reset, .cpk .cpk-scene.is-reset * { transition: none !important; animation: none !important; }
@keyframes cpk-brush { 0% { opacity: 0; transform: translate(-12%, 0); } 12% { opacity: 1; } 32% { transform: translate(62%, 7%); } 46% { transform: translate(30%, -7%); } 72% { transform: translate(132%, 6%); } 86% { opacity: 1; } 100% { opacity: 0; transform: translate(178%, -2%); } }
@keyframes cpk-mist { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(342.86%); opacity: 0; } }
@keyframes cpk-mist-ink { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(314.29%); opacity: 0; } }

/* ---------- Controls on the road ---------- */
.cpk .cpk-road { position: relative; padding: 28px 0 30px; border-top: 10px solid #77736a; }
.cpk-road__controls { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) auto; gap: 20px 36px; align-items: end; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.cpk .cpk-road .cpk-field__label, .cpk .cpk-road legend { color: #fff; }
.cpk .cpk-road .cpk-field__input { min-height: 56px; border: 0; border-radius: var(--radius-sm); font: 400 28px/32px var(--font-stencil); letter-spacing: .1em; }
.cpk .cpk-road .cpk-swatches span { min-height: 56px; border-color: rgba(246,243,236,.45); color: var(--paper); }
.cpk .cpk-road .cpk-swatches input:checked + span { background: #fff; border-color: #fff; color: var(--cobalt-700); }
.cpk .cpk-road .cpk-swatches input:focus-visible + span { outline-color: var(--cobalt-300); }
.cpk-road__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
/* While orders are open there are two buttons, so they take their own row. */
form.cpk-road__controls .cpk-road__buttons { grid-column: 1 / -1; }
.cpk .cpk-road__note { max-width: 1248px; margin: 16px auto 0; padding: 0 24px; font-size: 13px; line-height: 20px; color: #cfccc4; }
.cpk .cpk-road__note a { color: var(--cobalt-300); }

/* ---------- Shortcuts ---------- */
.cpk-index { background: var(--card); border-bottom: 3px solid var(--ink); }
.cpk-index ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; margin-bottom: 0; list-style: none; }
.cpk-index li { display: flex; border-left: 1px solid var(--line); }
.cpk-index li:last-child { border-right: 1px solid var(--line); }
.cpk .cpk-index a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; width: 100%; padding: 28px 20px; color: var(--ink); text-decoration: none; transition: background-color .18s, color .18s; }
.cpk .cpk-index a:hover, .cpk .cpk-index a:focus-visible { background: var(--cobalt-600); color: #fff; }
.cpk .cpk-index a:hover *, .cpk .cpk-index a:focus-visible * { color: #fff; }
.cpk-index__n { grid-row: 1 / span 3; font: 400 56px/.9 var(--font-stencil); color: var(--cobalt-600); }
.cpk-index strong { font: 800 17px/22px var(--font-display); }
.cpk-index__d { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cpk-index em { align-self: end; font-style: normal; font-weight: 700; font-size: 14px; color: var(--cobalt-700); }

/* ---------- Photo prints ---------- */
.cpk figure.cpk-print { position: relative; margin: 0; padding: 10px 10px 2px; background: #fffefa; color: var(--ink); box-shadow: var(--print); }
.cpk .cpk-print img { display: block; width: 100%; height: auto; }
.cpk .cpk-print figcaption { padding: 8px 4px 8px; font-family: var(--font-hand); font-weight: 700; font-size: 19px; line-height: 1.3; }
.cpk .cpk-print figcaption b { margin-right: 8px; font-family: var(--font-display); font-weight: 900; font-stretch: 118%; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.cpk figure.cpk-print--taped::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -13px; width: 118px; height: 28px; background: rgba(112,152,240,.86) url("../img/tex/grain.png") 0 0 / 90px; translate: -50% 0; rotate: -1.6deg; clip-path: polygon(0 0, 100% 0, 96% 25%, 100% 50%, 95% 75%, 100% 100%, 0 100%, 4% 72%, 0 48%, 5% 24%); }

/* ---------- Introduction (the home page text from the editor) ---------- */
.cpk-lead { padding: 96px 0; }
.cpk-lead > .cpk-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 72px; align-items: center; }
.cpk .cpk-lead .content h2 { margin: 0 0 24px; font-weight: 900; font-stretch: 125%; font-size: clamp(30px, 3.8vw, 52px); line-height: 1; }
.cpk-lead .content p { max-width: 30em; font-size: 19px; line-height: 30px; }

/* ---------- Running tape ---------- */
.cpk-run { position: relative; z-index: 5; overflow: hidden; width: 104%; margin: -6px 0 -18px -2%; padding: 14px 0; rotate: -1.3deg; background: #2e6ccd url("../img/tex/grain.png") 0 0 / 120px; color: #fff; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
.cpk-run__track { display: flex; width: max-content; will-change: transform; }
.cpk-run__track > div { display: flex; }
.cpk-run span { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(18px, 2.2vw, 30px); line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.cpk-run span::after { content: "#"; font-family: var(--font-stencil); font-weight: 400; opacity: .7; }

/* ---------- A close look, marked in chalk ---------- */
.cpk-anatomy { padding: 120px 0 104px; }
.cpk .cpk-anatomy .cpk-big em { color: var(--cobalt-700); }
.cpk-anatomy__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px 52px; align-items: start; margin-top: 48px; }
.cpk-pinbox { position: relative; }
.cpk .cpk-chalk { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0,0,0,.65)); }
.cpk-chalk path { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 11 6 3 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cpk .cpk-chalk__word { position: absolute; color: #fff; font-size: clamp(15px, 2vw, 28px); text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.5); white-space: nowrap; translate: -50% -50%; rotate: -2deg; }
.cpk .cpk-chalk__word--end { translate: -100% -50%; }
.cpk .cpk-dot { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid #fff; border-radius: 50%; background: var(--cobalt-600); color: #fff; font: 900 15px/1 var(--font-display); box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.cpk-notes { margin: 0; padding: 0; list-style: none; }
.cpk .cpk-notes li { position: relative; margin: 0; padding: 0 0 22px 64px; }
.cpk .cpk-notes li::marker { content: none; }
.cpk .cpk-notes li + li { padding-top: 22px; border-top: 2px solid rgba(23,24,26,.35); }
.cpk-notes__n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 900 17px/1 var(--font-display); }
.cpk .cpk-notes li + li .cpk-notes__n { top: 22px; }
.cpk .cpk-notes h3 { margin: 0 0 6px; font-weight: 900; font-stretch: 118%; font-size: 21px; line-height: 26px; text-transform: uppercase; }

/* ---------- The kit on a painted wall ---------- */
.cpk .cpk-spotlight { display: block; margin-top: 0; }
.cpk-spotlight__inner { padding-top: 72px; padding-bottom: 96px; }
.cpk .cpk-spotlight .cpk-big { color: #fff; }
.cpk-spotlight__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; margin-top: 40px; }
.cpk .cpk-spotlight__media { display: block; border: 0; border-radius: 0; overflow: visible; box-shadow: var(--print); }
.cpk-spotlight__frame { overflow: hidden; }
.cpk-spotlight__pic { position: relative; transition: transform .6s cubic-bezier(.3,.8,.3,1); }
.cpk-spotlight__pic > a { display: block; }
.cpk .cpk-spotlight__media:hover img { transform: none; }
.cpk .cpk-spotlight__pic .cpk-dot { cursor: zoom-in; transition: opacity .25s; }
.cpk .is-zoomed .cpk-dot { opacity: 0; pointer-events: none; }
.cpk .cpk-textbtn { min-height: 32px; margin-left: 8px; padding: 0 4px; border: 0; background: none; color: var(--cobalt-700); font: 700 14px/20px var(--font-body); text-decoration: underline; cursor: pointer; }
.cpk .cpk-spotlight .cpk-points__title { color: #fff; }
.cpk-parts { align-self: stretch; margin: 0; padding: 0; list-style: none; }
.cpk .cpk-parts li { margin: 0; border-bottom: 2px solid rgba(255,255,255,.3); }
.cpk .cpk-parts li::marker { content: none; }
.cpk .cpk-parts button { display: flex; gap: 16px; align-items: center; width: 100%; min-height: 64px; padding: 10px 12px; border: 0; background: transparent; color: #fff; font: 500 14px/20px var(--font-body); text-align: left; cursor: pointer; transition: background-color .18s, color .18s; }
.cpk .cpk-parts button:hover { background: rgba(255,255,255,.14); }
.cpk .cpk-parts button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.cpk .cpk-parts button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.cpk-parts__n { flex: none; width: 30px; font: 400 36px/36px var(--font-stencil); text-align: center; }
.cpk-parts button > span:last-child { display: flex; flex-direction: column; }
.cpk-parts strong { font-size: 16px; line-height: 22px; }
.cpk .cpk-spotlight .cpk-product__list { color: #fff; }
.cpk .cpk-spotlight .cpk-product__list li::before { border-color: #fff; }
.cpk .cpk-spotlight .cpk-price { margin-top: 10px; }
.cpk .cpk-spotlight .cpk-price__amount, .cpk .cpk-spotlight .cpk-price__amount .amount { color: #fff; font-weight: 900; font-stretch: 125%; font-size: 52px; line-height: 56px; }
.cpk .cpk-spotlight .cpk-price__ship, .cpk .cpk-spotlight .cpk-soon-line { color: #fff; }
.cpk .cpk-spotlight .cpk-soon-line a { color: #fff; }

/* ---------- Paint day ---------- */
.cpk-day { padding: 120px 0 96px; }
.cpk .cpk-day__note { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.cpk .cpk-day [data-cpk-yours] { font-family: var(--font-stencil); font-weight: 400; font-size: 1.25em; letter-spacing: .08em; color: var(--cobalt-700); }
.cpk-day__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-top: 48px; }
.cpk-day__stick { position: sticky; top: 92px; align-self: start; }
.cpk .cpk-scene--story { border: 10px solid #fffefa; box-shadow: var(--print); }
.cpk-scene--story .cpk-scene__view { width: 136%; margin-left: -18%; }
.cpk-day__tools { position: relative; width: min(46%, 300px); margin: -18px 0 0 auto; aspect-ratio: 800 / 700; }
.cpk .cpk-day__tools figure.cpk-print { position: absolute; left: 0; right: 0; top: 0; opacity: 0; translate: 0 14px; transition: opacity .35s, translate .35s; }
.cpk .cpk-day__tools figure.cpk-print[data-on] { opacity: 1; translate: 0 0; }
.cpk-day__steps { margin: 0; padding: 0; list-style: none; }
.cpk .cpk-day__steps li { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 58vh; margin: 0; padding: 24px 0; border-top: 3px solid var(--ink); }
.cpk .cpk-day__steps li::marker { content: none; }
.cpk-day__n { font: 400 clamp(110px, 13vw, 190px)/.8 var(--font-stencil); color: var(--line-strong); transition: color .3s; }
.cpk .cpk-day__steps li.is-on .cpk-day__n { color: var(--cobalt-600); }
.cpk .cpk-day__steps h3 { margin: 0; font-weight: 900; font-stretch: 125%; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; text-transform: uppercase; text-wrap: balance; }
.cpk-day__steps p { max-width: 22em; font-size: 19px; line-height: 30px; }
.cpk-day__foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; justify-content: space-between; margin-top: 32px; padding-top: 32px; border-top: 3px solid var(--ink); }
.cpk-day__foot .cpk-notice { flex: 1 1 340px; }
.cpk-day__foot .cpk-btn { align-self: center; }

/* ---------- City color boxes ---------- */
.cpk .cpk-chip { display: grid; flex: none; place-items: center; width: 76px; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #b9b6ae; color: var(--ink); font: 400 20px/1 var(--font-stencil); font-style: normal; white-space: nowrap; }
.cpk .cpk-chip--white { background: #fff; }
.cpk .cpk-chip--yellow { background: #f2c200; }
.cpk .cpk-cities__key { font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* ---------- City rules wall ---------- */
.cpk-cities { padding: 104px 0 80px; background: var(--paper-raised) url("../img/tex/grain.png") 0 0 / 180px; border-top: 3px solid var(--ink); }
.cpk .cpk-cities .cpk-big em { display: block; }
.cpk-cities__wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.cpk .cpk-cities__wall ul { display: contents; }
.cpk .cpk-cities__wall li { display: flex; margin: 0; border: 0; }
.cpk .cpk-cities__wall li a { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; width: 100%; min-height: 0; padding: 8px 8px 18px; border: 0; border-radius: 0; background: #fffefa; box-shadow: var(--print); color: var(--ink); font-weight: 400; text-decoration: none; transition: transform .18s; }
.cpk .cpk-cities__wall li a:hover { background: #fffefa; transform: translateY(-5px); }
.cpk-mini { position: relative; display: grid; place-items: center; align-self: stretch; height: 148px; margin-bottom: 10px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.55) 0 20px, rgba(0,0,0,.25) 20px 23px, rgba(0,0,0,.02) 23px, rgba(0,0,0,.24) calc(100% - 22px), rgba(10,10,10,.86) calc(100% - 22px)), url("../img/tex/concrete.jpg") 0 0 / 340px; background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0 20px, rgba(0,0,0,.25) 20px 23px, rgba(0,0,0,.02) 23px, rgba(0,0,0,.24) calc(100% - 22px), rgba(10,10,10,.86) calc(100% - 22px)), image-set(url("../img/tex/concrete.avif") type("image/avif"), url("../img/tex/concrete.jpg") type("image/jpeg")); }
.cpk .cpk-mini .cpk-chip { position: relative; top: -2px; width: 68%; height: 68px; border: 0; font-size: 36px; -webkit-mask: url("../img/tex/box.svg") 0 0 / 100% 100% no-repeat; mask: url("../img/tex/box.svg") 0 0 / 100% 100% no-repeat; }
.cpk .cpk-mini .cpk-chip--plain { background: #8f8c85; color: #fff; }
.cpk .cpk-cities__wall strong { padding: 0 10px; font: 900 18px/23px var(--font-display); text-transform: uppercase; }
.cpk-cities__wall li a > span { padding: 0 10px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cpk-cities__wall li a > span.cpk-mini { padding: 0; }
.cpk-cities__wall li a > span.cpk-city__colors { font-weight: 700; color: var(--ink); }
.cpk-cities__yours { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px; border: 3px dashed var(--ink); }
.cpk-cities .cpk-cities__key { margin-top: 28px; max-width: 60em; }

/* City Rules page entries */
.cpk .cities summary { display: flex; align-items: center; gap: 16px; list-style: none; }
.cpk .cities summary::-webkit-details-marker { display: none; }
.cpk .cities summary::after { content: "+"; margin-left: auto; font: 500 24px/1 var(--font-mono); color: var(--cobalt-600); }
.cpk .cities details[open] summary::after { content: "\2212"; }
.cpk .cities summary h2.cpk-city-name { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 19px; line-height: 24px; text-transform: none; }

/* ---------- Curbs, up close ---------- */
.cpk-curbs { padding: 112px 0 80px; }
.cpk .cpk-curbs .cpk-big { color: #fff; }
.cpk .cpk-curbs ul.cpk-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 28px; align-items: start; margin-top: 56px; }
.cpk .cpk-curbs .cpk-gallery li { grid-column: span 4; }
.cpk .cpk-curbs .cpk-gallery li:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.cpk .cpk-curbs .cpk-gallery li:nth-child(2), .cpk .cpk-curbs .cpk-gallery li:nth-child(3) { grid-column: span 5; }
.cpk .cpk-curbs .cpk-gallery img.cpk-curb { height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.cpk .cpk-curbs .cpk-gallery li:nth-child(1) img.cpk-curb { aspect-ratio: 16 / 13; }
.cpk .cpk-curbs .cpk-gallery-note { margin-top: 24px; color: #cfccc4; }

/* ---------- Blog on the home page ---------- */
.cpk-journal { padding: 104px 0 96px; }
.cpk-journal .cpk-head { margin-bottom: 44px; }
.cpk .cpk-mag { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 22px 32px; }
.cpk .cpk-mag .cpk-post-card { padding: 10px; border: 0; border-radius: 0; background: #fffefa; box-shadow: var(--print); }
.cpk .cpk-mag .cpk-post-card:hover h3 a { color: var(--cobalt-700); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.cpk .cpk-mag .cpk-cover { border-radius: 0; }
.cpk-mag .cpk-post-card:first-child { grid-row: 1 / span 3; }
.cpk .cpk-mag .cpk-post-card:first-child .cpk-post-card__body { padding: 20px 10px 8px; }
.cpk .cpk-mag .cpk-post-card:first-child h3 { font-weight: 900; font-stretch: 118%; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.08; text-transform: uppercase; }
.cpk .cpk-mag .cpk-post-card:nth-child(n+2) { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; }
.cpk .cpk-mag .cpk-post-card:nth-child(n+2) .cpk-cover { aspect-ratio: 4 / 3; }
.cpk .cpk-mag .cpk-post-card:nth-child(n+2) .cpk-cover img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.cpk-mag .cpk-post-card:nth-child(n+2) .cpk-post-card__body { padding: 0; }
.cpk .cpk-mag .cpk-post-card:nth-child(n+2) p.muted { display: none; }

/* ---------- Questions ---------- */
.cpk-ask { padding: 96px 0 112px; border-top: 3px solid var(--ink); }
.cpk-ask > .cpk-wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.cpk .cpk-ask .cpk-big { font-size: clamp(30px, 3.8vw, 52px); }
.cpk .cpk-ask a.cpk-hand { display: inline-block; padding: 4px 0; color: var(--cobalt-700); text-decoration-thickness: 3px; }
.cpk .cpk-ask .content > * + * { margin-top: 0; }
.cpk .cpk-ask .wp-block-details { background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 0; padding: 20px 0; }
.cpk .cpk-ask .wp-block-details:first-child { border-top: 3px solid var(--ink); }
.cpk .cpk-ask summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; font: 800 20px/26px var(--font-display); }
.cpk .cpk-ask summary::-webkit-details-marker { display: none; }
.cpk .cpk-ask summary::after { content: "+"; font: 500 30px/1 var(--font-mono); color: var(--cobalt-600); }
.cpk .cpk-ask details[open] summary::after { content: "\2212"; }

/* ---------- Opening wall on inner pages ---------- */
.cpk .cpk-mast { padding: 34px 0 52px; }
.cpk-mast__inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.cpk-mast__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.cpk-mast--photo .cpk-mast__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); gap: 32px 64px; align-items: center; max-width: 1248px; }
.cpk .cpk-mast__title { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(32px, 4.4vw, 66px); line-height: 1; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.cpk .cpk-mast--post .cpk-mast__title { font-size: clamp(28px, 4vw, 52px); line-height: 1.04; }
.cpk .cpk-mast__intro { max-width: 30em; font-size: 19px; line-height: 29px; font-weight: 500; }
.cpk .cpk-mast__meta { font: 500 13px/20px var(--font-mono); }
.cpk .cpk-mast__photo img.cpk-curb { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.cpk .cpk-mast .cpk-crumbs, .cpk .cpk-mast .cpk-crumbs ol, .cpk .cpk-mast .woocommerce-breadcrumb { margin-bottom: 0; color: #fff; }
.cpk .cpk-mast .cpk-crumbs a, .cpk .cpk-mast .woocommerce-breadcrumb a, .cpk .cpk-mast__intro a { color: #fff; }
.cpk.woocommerce .cpk-mast .woocommerce-breadcrumb { margin: 0; font-size: 14px; color: #fff; }
.cpk .cpk-mast--post .cpk-mast__inner { padding-bottom: 64px; }
.cpk .cpk-post { position: relative; z-index: 5; padding-top: 0; }
.cpk .cpk-post .cpk-article > .cpk-cover { margin-top: -78px; border: 10px solid #fffefa; border-radius: 0; box-shadow: var(--print); }

.cpk-pagehead { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.cpk-pagehead:has(+ .content .woocommerce) { border-bottom: 0; padding-bottom: 0; }

/* Shared pieces on the inner pages */
.cpk .card, .cpk .cpk-icard { border: 0; border-radius: 0; box-shadow: var(--print); background: #fffefa; }
.cpk .cpk-form { border: 0; }
.cpk .content .wp-block-details, .cpk .cpk-toc { border-radius: var(--radius-sm); }
.cpk .cpk-cards--blog .cpk-post-card { padding: 10px; }
.cpk .cpk-cards--blog .cpk-cover { border-radius: 0; }
.cpk .cpk-cards--blog .cpk-post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.cpk .cpk-cards--blog .cpk-post-card:first-child .cpk-cover { height: 100%; aspect-ratio: auto; min-height: 300px; }
.cpk .cpk-cards--blog .cpk-post-card:first-child .cpk-post-card__body { padding: 28px; }
.cpk .cpk-cards--blog .cpk-post-card:first-child h2 { font-weight: 900; font-stretch: 115%; font-size: 32px; line-height: 35px; text-transform: uppercase; }
.cpk .cpk-cards--blog .cpk-post-card:first-child .cpk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
/* A last post with no neighbor takes the whole row, picture beside the words. */
@media (min-width: 601px) {
  .cpk .cpk-cards--blog .cpk-post-card:last-child:nth-child(even),
  .cpk .cpk-related .cpk-post-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
}

/* Product page */
.cpk.woocommerce div.product .product_title { font-weight: 900; font-stretch: 125%; letter-spacing: -.015em; text-transform: uppercase; }
.cpk.woocommerce div.product p.price, .cpk.woocommerce div.product p.price .amount { font-weight: 900; font-stretch: 125%; font-size: 44px; line-height: 48px; }
.cpk .woocommerce-product-gallery__image--placeholder.cpk-frame { padding: 12px; border-radius: 0; background: #fffefa; box-shadow: var(--print); }
.cpk .woocommerce-product-gallery__image--placeholder.cpk-frame::before, .cpk .woocommerce-product-gallery__image--placeholder.cpk-frame::after { content: none; }
.cpk .woocommerce-product-gallery__image--placeholder img.cpk-mock { border-radius: 0; }
.cpk div.product div.summary .cpk-points { counter-reset: part; align-self: stretch; gap: 0; }
.cpk div.product div.summary .cpk-points li { counter-increment: part; display: flex; gap: 14px; align-items: center; min-height: 52px; padding: 6px 0; border-top: 2px solid var(--line-strong); font-weight: 700; }
.cpk div.product div.summary .cpk-points li:last-child { border-bottom: 2px solid var(--line-strong); }
.cpk div.product div.summary .cpk-points li::before { content: counter(part); position: static; flex: none; width: 28px; height: auto; border: 0; font: 400 32px/1 var(--font-stencil); color: var(--cobalt-600); text-align: center; }

/* Shop */
.cpk.woocommerce ul.products li.product { border: 0; border-radius: 0; padding: 10px 10px 0; background: #fffefa; box-shadow: var(--print); }
.cpk.woocommerce ul.products li.product.cpk-soon { border: 0; border-radius: 0; padding: 10px 10px 28px; justify-content: flex-start; background: #fffefa; box-shadow: var(--print); }
.cpk.woocommerce ul.products li.product .woocommerce-loop-product__title { font-weight: 900; font-stretch: 115%; text-transform: uppercase; }
.cpk .cpk-soon__title { font-weight: 900; font-stretch: 115%; text-transform: uppercase; }
@media (min-width: 761px) {
  .cpk.woocommerce ul.products:has(> li.cpk-soon:nth-child(2)) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .cpk.woocommerce ul.products:has(> li.cpk-soon:nth-child(2)) li.cpk-soon img.cpk-curb { flex: 1; min-height: 240px; aspect-ratio: auto; }
}

/* ---------- Footer: the street at night ---------- */
.cpk .cpk-footer { position: relative; padding-top: 84px; }
.cpk-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 20px; background: linear-gradient(var(--cobalt-300) 0 6px, transparent 6px 14px, var(--cobalt-300) 14px 20px); -webkit-mask-image: url("../img/tex/spray.png"); mask-image: url("../img/tex/spray.png"); -webkit-mask-size: 120px; mask-size: 120px; }
.cpk-footer__sign { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; max-width: 1152px; margin: 0 auto 36px; padding-bottom: 32px; border-bottom: 2px solid rgba(246,243,236,.22); }
.cpk .cpk-footer__sign .cpk-hand { font-size: clamp(30px, 4vw, 52px); color: #fff; }
.cpk .cpk-footer a.cpk-btn { display: inline-flex; min-height: 52px; color: #fff; }
.cpk .cpk-footer__word { max-width: 1152px; margin: 40px auto 0; font: 400 clamp(27px, 9.2vw, 128px)/1.05 var(--font-stencil); color: rgba(246,243,236,.92); text-align: center; white-space: nowrap; overflow: hidden; -webkit-mask-image: url("../img/tex/spray.png"); mask-image: url("../img/tex/spray.png"); -webkit-mask-size: 220px; mask-size: 220px; }
.cpk-footer__fine { text-align: center; }

/* Pages wipe in like a pass of paint. */
@media (prefers-reduced-motion: no-preference) {
  html::view-transition-new(root) { animation: .34s cubic-bezier(.2,.7,.2,1) both cpk-paint-in; }
  @keyframes cpk-paint-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: reduce) { .cpk .cpk-btn:hover, .cpk .cpk-cities__wall li a:hover { transform: none; } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .cpk-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpk-index li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cpk-index li:nth-child(n+3) { border-bottom: 0; }
  .cpk-cities__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpk .cpk-curbs .cpk-gallery li, .cpk .cpk-curbs .cpk-gallery li:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .cpk .cpk-curbs .cpk-gallery li:nth-child(1), .cpk .cpk-curbs .cpk-gallery li:last-child { grid-column: span 12; }
  .cpk .cpk-curbs .cpk-gallery li:nth-child(1) img.cpk-curb { aspect-ratio: 16 / 9; }
}
@media (min-width: 721px) and (max-width: 1040px) {
  .cpk a.cpk-header__cta { display: none; }
}
@media (max-width: 960px) {
  .cpk-hero2__inner, .cpk-lead > .cpk-wide, .cpk-anatomy__grid, .cpk-spotlight__grid, .cpk-ask > .cpk-wide { grid-template-columns: minmax(0, 1fr); }
  .cpk-road__controls { grid-template-columns: minmax(0, 1fr); align-items: start; }
  /* The curb stays in view while the steps scroll under it. */
  .cpk-day__grid { display: block; }
  .cpk-day__stick { z-index: 6; top: 56px; margin: 0 -24px; padding: 10px 24px; background: var(--paper) url("../img/tex/grain.png") 0 0 / 180px; box-shadow: 0 3px 0 var(--ink); }
  .cpk .cpk-scene--story { border-width: 6px; }
  .cpk-scene--story .cpk-scene__view { width: 140%; margin-left: -20%; }
  .cpk-day__tools { display: none; }
  .cpk .cpk-day__steps li { min-height: 46vh; }
  .cpk .cpk-day__steps li:first-child { border-top: 0; }
  .cpk .cpk-mag { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .cpk-mag .cpk-post-card:first-child { grid-row: auto; }
}
@media (max-width: 860px) {
  .cpk-mast--photo .cpk-mast__inner { grid-template-columns: minmax(0, 1fr); }
  .cpk-mast__photo { max-width: 560px; }
  .cpk .cpk-cards--blog .cpk-post-card:first-child { grid-template-columns: minmax(0, 1fr); }
  .cpk .cpk-cards--blog .cpk-post-card:first-child .cpk-cover { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .cpk .cpk-cards--blog .cpk-post-card:first-child .cpk-post-card__body { padding: 18px 12px; }
}
@media (max-width: 720px) {
  .cpk a.cpk-header__cta { display: none; }
  .cpk .h1, .cpk .woocommerce-products-header__title, .cpk.woocommerce div.product .product_title { font-size: 27px; line-height: 31px; }
  .cpk .h2, .cpk .content h2 { font-size: 21px; line-height: 26px; }
  .cpk-wide { padding-left: 16px; padding-right: 16px; }
  .cpk-hero2__inner, .cpk-road__controls, .cpk .cpk-road__note, .cpk-mast__inner { padding-left: 16px; padding-right: 16px; }
  .cpk-lead, .cpk-day, .cpk-journal { padding: 64px 0; }
  .cpk-anatomy { padding: 76px 0 60px; }
  .cpk-spotlight__inner { padding-top: 48px; padding-bottom: 64px; }
  .cpk-cities, .cpk-curbs { padding: 68px 0 56px; }
  .cpk-ask { padding: 64px 0 72px; }
  .cpk-day__stick { margin: 0 -16px; padding: 8px 16px; }
  .cpk .cpk-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-width: 2px; font-size: 12px; }
}
@media (max-width: 600px) {
  .cpk-index ul { grid-template-columns: minmax(0, 1fr); }
  .cpk-index li, .cpk-index li:nth-child(n+3) { border: 0; border-bottom: 1px solid var(--line); }
  .cpk-index li:last-child { border: 0; }
  .cpk .cpk-index a { padding: 18px 4px; }
  /* Zoom the curb photo so the number stays large on a phone. */
  .cpk-scene--hero .cpk-scene__view, .cpk-scene--story .cpk-scene__view { width: 168%; margin: 0 0 0 -34%; }
  .cpk-cities__wall { grid-template-columns: minmax(0, 1fr); }
  .cpk .cpk-curbs ul.cpk-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cpk .cpk-curbs .cpk-gallery li, .cpk .cpk-curbs .cpk-gallery li:nth-child(n) { grid-column: auto; }
  .cpk .cpk-mag .cpk-post-card:nth-child(n+2) { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .cpk .cpk-chip { width: 64px; height: 46px; font-size: 17px; }
  .cpk .cpk-mini .cpk-chip { width: 68%; height: 68px; font-size: 36px; }
}
@media (max-height: 560px) and (orientation: landscape) { .cpk-day__stick { position: static; } }
@media print {
  .cpk .cpk-mast { background: none; color: var(--ink); }
  .cpk .cpk-mast__title { color: var(--ink); }
  .cpk-run, .cpk-footer__sign { display: none; }
}

/* ---------- Pictures, focus, anchors and printing ---------- */
.cpk picture { display: contents; }
html { scroll-padding-top: 88px; }
/* The focus ring is always a color that shows against what is behind it. */
.cpk .cpk-hero2__paint :focus-visible, .cpk .cpk-spotlight :focus-visible, .cpk .cpk-mast :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cpk .cpk-road :focus-visible, .cpk .cpk-footer :focus-visible, .cpk .cpk-curbs :focus-visible { outline: 3px solid var(--cobalt-300); outline-offset: 3px; }
.cpk .cpk-road .cpk-field__input:focus { outline: 3px solid var(--cobalt-300); outline-offset: 2px; }
.cpk .cpk-road .cpk-swatches input:focus-visible + span { outline: 3px solid var(--cobalt-300); outline-offset: 2px; }
.cpk .cpk-spotlight .cpk-print :focus-visible { outline-color: var(--cobalt-600); }
.cpk .cpk-spotlight .cpk-spotlight__pic > a:focus-visible { outline: 4px solid var(--cobalt-600); outline-offset: -4px; }
.cpk .cpk-parts button:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.cpk .cpk-parts button[aria-pressed="true"]:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.cpk .cpk-toc a, .cpk .content td a { display: inline-block; padding: 2px 0; }
.cpk .cpk-spotlight__media { scroll-margin-top: 90px; }

/* Without scripts: keep the menu, and drop the parts that need one to work. */
html:not(.js) .cpk-header__menu, html:not(.js) .cpk-header__search, html:not(.js) .cpk-hero2__point, html:not(.js) .cpk-road__controls { display: none; }
html:not(.js) .cpk .cpk-day__tools { display: grid; gap: 16px; aspect-ratio: auto; }
html:not(.js) .cpk .cpk-day__tools figure.cpk-print { position: static; opacity: 1; translate: none; }
@media (max-width: 720px) {
  html:not(.js) .cpk-header { flex-wrap: wrap; height: auto; padding-top: 6px; padding-bottom: 6px; }
  html:not(.js) .cpk-header__nav { display: flex; flex-wrap: wrap; gap: 0 16px; width: 100%; }
  html:not(.js) .cpk-top { position: static; }
}

@media print {
  .cpk .cpk-top, .cpk .cpk-draft, .cpk .cpk-footer, .cpk .cpk-run, .cpk .cpk-road, .cpk .cpk-buybar { display: none !important; }
  .cpk .cpk-mast, .cpk .cpk-hero2__paint, .cpk .cpk-spotlight, .cpk .cpk-curbs { background: none; color: var(--ink); }
  .cpk .cpk-mast :is(h1, p, a, li, time), .cpk .cpk-hero2__paint :is(h1, p, a, span, em), .cpk .cpk-spotlight :is(h2, h3, p, span, strong, button), .cpk .cpk-curbs :is(h2, p) { color: var(--ink) !important; }
  .cpk .cpk-torn::after, .cpk .cpk-torn--top::before { content: none; }
}

/* Cookie notice and the footer button that reopens it */
.cpk-linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.cpk-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 12px; max-width: 580px; margin: 0 auto; padding: 16px 18px; background: #fffefa; color: #17181a; border: 2px solid #17181a; box-shadow: 0 8px 0 rgba(0,0,0,.25); font-size: 15px; line-height: 22px; }
.cpk-consent[hidden] { display: none; }
.cpk-consent p { margin: 0; }
.cpk-consent a { color: inherit; text-decoration: underline; }
.cpk-consent__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cpk-consent__btn { flex: 1 1 150px; min-height: 44px; padding: 10px 16px; border: 2px solid #17181a; background: #fffefa; color: #17181a; font: 800 14px/20px var(--font-display); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cpk-consent__btn:hover, .cpk-consent__btn:focus-visible { background: #17181a; color: #fff; }
@media print { .cpk-consent { display: none; } }
