/* Canvas totes page prototype. Everything is scoped under main.ct so the shared
   header, footer and menus keep their own styles. */
.ct {
  --ct-ink: var(--pine-700);
  --ct-muted: var(--graphite);
  --ct-rule: rgba(33, 64, 47, .2);
  --ct-sheet: #FCFAF5;
  --ct-sage: #CFE0D2;
  --ct-peach: var(--iris-300);
  --ct-gutter: clamp(18px, 4vw, 42px);
  --ct-tooth: 7px;
  --ct-section-space: clamp(52px, 7vw, 100px);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}
.ct section { padding: 0; }
.ct-wrap { width: min(1180px, calc(100% - 2 * var(--ct-gutter))); margin-inline: auto; }
.ct h1, .ct h2, .ct h3 { margin: 0; color: var(--ct-ink); font-family: var(--display); font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.ct h2 { max-width: 20ch; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; }
.ct h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.ct p { margin: 0; }
.ct a { color: inherit; }
.ct :is(a, summary, label, button):focus-visible { outline: 3px solid var(--iris-500); outline-offset: 3px; border-radius: 4px; }
.ct-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ct-section { padding-block: var(--ct-section-space) !important; }
.ct-section[id] { scroll-margin-block-start: max(0px, calc(90px - var(--ct-section-space))); }
.ct-tinted { background: #EEF2EA; }
.ct-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: clamp(26px, 3.4vw, 44px); }
.ct-head p { max-width: 54ch; color: var(--ct-muted); }
.ct-note { max-width: 86ch; margin-top: 18px !important; color: var(--stone); font-size: 13.5px; line-height: 1.5; }
.ct-note a, .ct-textlink { color: var(--pine-700); font-weight: 650; text-decoration: underline; text-decoration-color: var(--pine-300); text-underline-offset: 4px; }
.ct-note a:hover, .ct-textlink:hover { text-decoration-color: currentColor; }

/* Buttons */
.ct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 22px;
  border: 1.5px solid var(--pine-700); border-radius: 999px;
  font: 700 15.5px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.ct-btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-btn-primary { background: var(--pine-700); color: var(--paper) !important; }
.ct-btn-primary:hover { border-color: var(--pine-600); background: var(--pine-600); }
.ct-btn-outline { border-color: var(--pine-600); background: rgba(252, 250, 245, .6); color: var(--pine-700) !important; }
.ct-btn-outline:hover { border-color: var(--pine-700); background: var(--ct-sheet); }

/* ---------- Hero: headline on sage wool, real totes lined up on a cut cream sheet ---------- */
.ct .phero.ct-hero {
  padding: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85 .5' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .25 0 0 0 0 .18 .8 0 0 0 -.33'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") 0 0 / 240px 240px,
    radial-gradient(ellipse at 10% 0%, rgba(255, 255, 255, .5), transparent 58%),
    linear-gradient(115deg, #D7E6D9 10%, #CADDCD 62%, #C3D8C7);
}
.ct-crumbs { padding-top: 18px; color: var(--pine-600); font-size: 13.5px; }
.ct-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; list-style: none; }
.ct-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--pine-300); }
.ct-crumbs a { text-decoration: none; }
.ct-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct-crumbs [aria-current] { color: var(--pine-700); font-weight: 650; }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 5vw, 76px); align-items: end; padding-block: clamp(20px, 2.6vw, 34px) clamp(30px, 3.6vw, 48px); }
.ct .ct-hero h1 { margin: 0; font-size: clamp(40px, 5.5vw, 78px); line-height: .98; letter-spacing: -.045em; }
.ct .ct-hero h1 em { display: block; color: var(--pine-500); }
.ct-lede { max-width: 34ch; color: var(--ct-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; }
.ct-mobile-lead { display: none; }
.ct .phero .ctas.ct-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; }
.ct-min { display: flex; align-items: center; gap: 9px; margin-top: 16px !important; color: var(--pine-700); font-size: 15px; }
.ct-min::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ct-peach); }
.ct-min strong { font-weight: 750; }
.ct-shelf { position: relative; background: var(--ct-sheet); }
.ct-shelf::before {
  content: ""; position: absolute; inset: calc(1px - var(--ct-tooth)) 0 auto; height: var(--ct-tooth);
  background: var(--ct-sheet);
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / calc(var(--ct-tooth) * 2) var(--ct-tooth) repeat-x;
  mask: conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / calc(var(--ct-tooth) * 2) var(--ct-tooth) repeat-x;
}
.ct-lineup { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3.6vw, 52px); padding-block: clamp(22px, 2.6vw, 34px) clamp(20px, 2.4vw, 30px); list-style: none; }
.ct-lineup li { flex: var(--g) 1 0; min-width: 0; max-width: calc(var(--g) * 1.06px); }
.ct-lineup figure { margin: 0; }
.ct-lineup img { width: 100%; height: auto; mix-blend-mode: multiply; }
.ct-lineup figcaption { display: grid; gap: 1px; margin-top: 4px; padding-left: 11px; border-left: 3px solid var(--ct-peach); line-height: 1.25; }
.ct-lineup figcaption strong { color: var(--pine-700); font-size: 14.5px; font-weight: 750; }
.ct-lineup figcaption span { color: var(--ct-muted); font-size: 13px; }

/* Key facts */
.ct-facts { border-bottom: 1px solid var(--line); background: var(--paper); }
.ct-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.ct-facts dl > div { padding: 20px clamp(12px, 2vw, 26px) 18px; border-left: 1px solid var(--line); }
.ct-facts dl > div:first-child { padding-left: 0; border-left: 0; }
.ct-facts dt { color: var(--stone); font-size: 13.5px; }
.ct-facts dd { margin: 3px 0 0; color: var(--pine-700); font: 500 clamp(21px, 2vw, 27px)/1.15 var(--display); letter-spacing: -.02em; }
.ct-facts dd small { display: block; margin-top: 4px; color: var(--ct-muted); font: 400 13.5px/1.35 var(--sans); letter-spacing: 0; }
.ct-facts .ct-note { margin: 0 !important; padding-block: 0 16px; }
.ct-jump-label { color: var(--pine-700); font-size: 14px; font-weight: 750; }
.ct-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 8px 16px; list-style: none; }
.ct-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--pine-700); font-size: 14.5px; font-weight: 650; text-decoration: none; }
.ct-jump a:hover { border-color: var(--pine-500); }

/* ---------- Styles ---------- */
.ct-styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); list-style: none; }
.ct-style { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); overflow: hidden; }
.ct-flat { display: block; width: 100%; height: auto; aspect-ratio: 1.12; background: var(--ct-sheet); border-bottom: 1px solid var(--line); }
.ct-flat .ink { fill: none; stroke: #21402F; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ct-flat .body { fill: #FFFDF8; }
.ct-flat .sage { fill: #D2E4D6; stroke: none; }
.ct-flat .pine { fill: #8FBDA0; }
.ct-flat .peach { fill: #F4C8B8; }
.ct-flat .stitch { fill: none; stroke: #21402F; stroke-width: 1.3; stroke-dasharray: 3 3.4; stroke-linecap: round; opacity: .75; }
.ct-style-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px clamp(14px, 1.5vw, 20px) 18px; }
.ct-style-spec { color: var(--pine-600); font-size: 14px; font-weight: 700; }
.ct-style-body > p:not([class]) { color: var(--ct-muted); font-size: 15.5px; line-height: 1.45; }
.ct-style h3 a { text-decoration: none; }
.ct-style h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ct-style-foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ct-price { color: var(--pine-700); font: 500 24px/1 var(--display); letter-spacing: -.02em; }
.ct-price small { color: var(--stone); font: 400 13.5px/1 var(--sans); letter-spacing: 0; }
.ct-price .ct-price-basis { display: block; margin-top: 5px; font-size: 12.5px; }
.ct-style-foot > .ct-textlink { display: inline-flex; align-items: center; min-height: 44px; }
.ct-styles-note { margin: 0 0 16px !important; }
.ct-section:has(.ct-styles) .ct-head { margin-bottom: 14px; }
.ct-related { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 22px !important; font-size: 15px; }
.ct-related span { color: var(--stone); }

/* ---------- Fabric: weights and colours ---------- */
.ct-fabric { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 60px); align-items: stretch; }
.ct-wt { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-wt-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ct-wt-tabs label { position: relative; display: grid; gap: 2px; min-height: 76px; padding: 12px 12px 11px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); cursor: pointer; line-height: 1.2; }
.ct-wt-tabs label i { display: block; width: 34px; height: var(--t); margin-bottom: 7px; border-radius: 2px; background: var(--pine-300); align-self: end; }
.ct-wt-tabs label b { color: var(--pine-700); font-size: 16.5px; font-weight: 750; }
.ct-wt-tabs label span { color: var(--stone); font-size: 13px; }
.ct-wt-tabs label em { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--iris-100); color: var(--iris-600); font: 700 11.5px/1.4 var(--sans); }
.ct-wt-tabs label:hover { border-color: var(--pine-500); }
.ct-wt-panel { display: none; margin-top: 12px; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); }
.ct-wt-panel .big { color: var(--pine-700); font: 500 clamp(44px, 5vw, 66px)/1 var(--display); letter-spacing: -.04em; }
.ct-wt-panel .big small { margin-left: 8px; color: var(--stone); font: 400 16px/1 var(--sans); letter-spacing: 0; }
.ct-wt-panel h3 { margin-top: 14px; }
.ct-wt-panel p { margin-top: 8px; max-width: 46ch; color: var(--ct-muted); }
.ct-wt-panel .best { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--pine-50); color: var(--pine-700); font-size: 14px; font-weight: 700; }
#ct-w6:checked ~ .ct-wt-tabs label[for="ct-w6"], #ct-w8:checked ~ .ct-wt-tabs label[for="ct-w8"],
#ct-w14:checked ~ .ct-wt-tabs label[for="ct-w14"], #ct-w18:checked ~ .ct-wt-tabs label[for="ct-w18"] { border-color: var(--pine-700); box-shadow: inset 0 0 0 1px var(--pine-700); background: var(--pine-50); }
#ct-w6:checked ~ .ct-wt-tabs label[for="ct-w6"] i, #ct-w8:checked ~ .ct-wt-tabs label[for="ct-w8"] i,
#ct-w14:checked ~ .ct-wt-tabs label[for="ct-w14"] i, #ct-w18:checked ~ .ct-wt-tabs label[for="ct-w18"] i { background: var(--pine-700); }
#ct-w6:focus-visible ~ .ct-wt-tabs label[for="ct-w6"], #ct-w8:focus-visible ~ .ct-wt-tabs label[for="ct-w8"],
#ct-w14:focus-visible ~ .ct-wt-tabs label[for="ct-w14"], #ct-w18:focus-visible ~ .ct-wt-tabs label[for="ct-w18"] { outline: 3px solid var(--iris-500); outline-offset: 3px; }
#ct-w6:checked ~ .ct-wt-panels [data-for="ct-w6"], #ct-w8:checked ~ .ct-wt-panels [data-for="ct-w8"],
#ct-w14:checked ~ .ct-wt-panels [data-for="ct-w14"], #ct-w18:checked ~ .ct-wt-panels [data-for="ct-w18"] { display: block; }
.ct-swatch-photo { position: relative; margin: 0; min-height: 300px; height: 100%; border-radius: 18px; overflow: hidden; background: #E9DFC8; }
.ct-swatch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-swatch-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 5px; background: var(--surface); box-shadow: inset 3px 0 0 var(--ct-peach); color: var(--pine-700); font-size: 13.5px; font-weight: 650; }
.ct-colours { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); align-items: center; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ct-rule); }
.ct-colours h3 { font-size: clamp(24px, 2.4vw, 32px); }
.ct-colours p { margin-top: 10px; max-width: 44ch; color: var(--ct-muted); }
.ct-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); list-style: none; }
.ct-chips li { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 8px; color: var(--pine-700); font-size: 14.5px; font-weight: 700; }
.ct-chip {
  display: block; width: 100%; aspect-ratio: 1.15; border-radius: 12px 12px 4px 4px;
  background: var(--c) url("/tote-studio/assets/fabrics/cotton-canvas-relief.webp") center / 340px auto;
  background-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(33, 64, 47, .14);
  /* a pinked bottom edge, like a cut swatch */
  -webkit-mask: conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 0 100% / 12px 6px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 5px) no-repeat;
  mask: conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 0 100% / 12px 6px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 5px) no-repeat;
}

/* ---------- Decoration and build options ---------- */
.ct-build { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
/* Interactive tote sketch. The numbered points and the four topic buttons are
   two linked sets of buttons, and one topic is always selected. Without
   scripts the sketch is static and every line and buying tip stays open. */
.ct-sketch { padding: clamp(8px, 1.4vw, 16px); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--ct-sheet); }
.ct-sketch-stage { position: relative; margin-inline: auto; }
.ct-anatomy { display: block; width: 100%; height: auto; }
.ct-anatomy .ink { fill: none; stroke: #21402F; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-anatomy .body { fill: #FFFDF8; }
.ct-anatomy .sage { fill: #D2E4D6; stroke: none; }
.ct-anatomy .strap { fill: #E9F1EB; }
.ct-anatomy .peach { fill: #F4C8B8; }
.ct-anatomy .stitch { fill: none; stroke: #21402F; stroke-width: 1.4; stroke-dasharray: 3.4 3.8; stroke-linecap: round; opacity: .75; }
.ct-anatomy .dim { fill: none; stroke: #3E6B54; stroke-width: 1.5; stroke-linecap: round; }
.ct-anatomy .pin circle { fill: #21402F; }
.ct-anatomy .pin text { fill: #FAF6EE; font: 700 15px var(--sans); text-anchor: middle; dominant-baseline: central; }
.ct-anatomy .hl { opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease); }
.ct-anatomy .hl.is-active { opacity: 1; }
.ct-anatomy .hl-fill { fill: #BCD5C1; mix-blend-mode: multiply; }
.ct-anatomy .hl-trace { fill: none; stroke: var(--pine-300); stroke-width: 9; stroke-linecap: round; mix-blend-mode: multiply; }
.ct-anatomy .hl-patch { fill: var(--iris-100); stroke: var(--iris-500); stroke-width: 2; stroke-dasharray: 4 3; mix-blend-mode: multiply; }
.ct-anatomy .hl-line { fill: none; stroke: var(--iris-500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-anatomy .hl-text { fill: var(--iris-600); font: 700 17px var(--sans); text-anchor: middle; }
[data-ct-anatomy="ready"] .ct-anatomy .pin { display: none; }
.ct-sketch-hint { margin-top: 4px !important; color: var(--stone); text-align: center; font-size: 14px; }
.ct-sketch-hint[hidden] { display: none; }
.ct-pin {
  position: absolute; display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--pine-700);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ct-pin[hidden] { display: none; }
.ct-pin span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ct-sheet); box-shadow: inset 0 0 0 1.5px var(--pine-700);
  font: 700 14.5px/1 var(--sans);
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.ct-pin[aria-pressed="true"] span { background: var(--pine-700); box-shadow: 0 0 0 3px var(--ct-peach); color: var(--paper); transform: scale(1.1); }
.ct .ct-pin:focus-visible { outline-offset: -2px; border-radius: 50%; }
.ct-options { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ct-options > li { border-top: 1px solid var(--ct-rule); border-radius: 8px; }
.ct-options > li:last-child { border-bottom: 1px solid var(--ct-rule); }
.ct-opt-head {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 52px; padding: 11px 14px 3px;
  border: 0; border-radius: 8px; background: none; color: var(--pine-700);
  font: inherit; text-align: left;
}
button.ct-opt-head { cursor: pointer; }
.ct .ct-opt-head:focus-visible { border-radius: 8px; }
.ct-opt-num {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pine-700); color: var(--paper); font: 700 14.5px/1 var(--sans);
}
.ct-opt-head strong { font: 500 21px/1.15 var(--display); letter-spacing: -.02em; }
.ct-opt-body { padding: 0 14px 14px 58px; }
.ct-opt-line { color: var(--ct-muted); font-size: 16px; }
.ct-opt-tip { margin-top: 10px !important; padding: 10px 12px; border-radius: 6px; background: var(--ct-sheet); box-shadow: inset 0 0 0 1px var(--ct-rule); color: var(--ct-muted); font-size: 15.5px; line-height: 1.45; }
.ct-opt-tip b { display: block; color: var(--iris-600); font-size: 13.5px; font-weight: 750; }
[data-ct-anatomy="ready"] .ct-opt-num { background: none; box-shadow: inset 0 0 0 1.5px var(--pine-700); color: var(--pine-700); }
[data-ct-anatomy="ready"] .ct-options > li:not(.is-selected) .ct-opt-tip { display: none; }
[data-ct-anatomy="ready"] .ct-options > li.is-selected { background: var(--pine-50); box-shadow: inset 3px 0 0 var(--ct-peach); }
[data-ct-anatomy="ready"] li.is-selected .ct-opt-num { background: var(--pine-700); box-shadow: none; color: var(--paper); }
@media (hover: hover) {
  .ct-pin:hover span { background: var(--pine-100); }
  .ct-pin[aria-pressed="true"]:hover span { background: var(--pine-700); }
  .ct-options > li:has(> button.ct-opt-head:hover) { background: var(--pine-50); }
}
.ct .ct-build-cta { margin-top: 0; }
.ct-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(34px, 4.4vw, 60px); list-style: none; }
.ct-methods li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.ct-methods svg { grid-row: span 2; width: 52px; height: 52px; padding: 6px; box-sizing: border-box; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); fill: none; stroke: #21402F; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ct-methods svg .sage { fill: #D2E4D6; stroke: none; }
.ct-methods svg .peach { fill: #F4C8B8; stroke: none; }
.ct-methods h3 { font-size: 19px; }
.ct-methods p { color: var(--ct-muted); font-size: 15.5px; line-height: 1.45; }

/* ---------- Customer work ---------- */
.ct-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 20px); list-style: none; }
.ct-work > li { grid-column: span 4; }
.ct-work > li.wide { grid-column: span 5; }
.ct-work > li.narrow { grid-column: span 3; }
.ct-work figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
.ct-work .tile { --pad: clamp(14px, 2vw, 26px); position: relative; flex: 1; min-height: clamp(220px, 27vw, 360px); border-radius: 18px; background: var(--tile, #FFFFFF); overflow: hidden; }
.ct-work .tile > img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; mix-blend-mode: multiply; }
.ct-work .tile.photo > .harrison-photo { position: absolute; inset: 0; aspect-ratio: auto; }
main.ct .tile.photo .harrison-photo img { mix-blend-mode: normal; }
.ct-work figcaption { display: grid; gap: 1px; margin-top: 10px; padding-left: 11px; border-left: 3px solid var(--ct-peach); line-height: 1.3; }
.ct-work figcaption strong { color: var(--pine-700); font-size: 15px; font-weight: 750; }
.ct-work figcaption span { color: var(--ct-muted); font-size: 14px; }
.ct-work > li.note { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); }
.ct-work li.note ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ct-work li.note ul li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--ct-rule); }
.ct-work li.note ul li span { color: var(--ct-muted); font-size: 15px; }
.ct-work li.note .ct-textlink { justify-self: start; font-size: 17px; }
.ct .ct-guides-title { margin-top: 24px; color: var(--stone); font: 700 14px/1.35 var(--sans); letter-spacing: 0; }
.ct-uses { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 26px !important; font-size: 15.5px; }
.ct-uses span { color: var(--stone); }

/* ---------- Pricing ---------- */
.ct-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); overflow: hidden; }
.ct-tiers li { display: grid; align-content: start; gap: 6px; padding: clamp(20px, 2.6vw, 32px); border-left: 1px solid var(--line); }
.ct-tiers li:first-child { border-left: 0; }
.ct-tiers li.pick { background: var(--pine-50); box-shadow: inset 0 4px 0 var(--pine-500); }
.ct-tiers .qty { color: var(--pine-600); font-size: 15px; font-weight: 750; }
.ct-tiers .amt { color: var(--pine-700); font: 500 clamp(40px, 4.6vw, 60px)/1 var(--display); letter-spacing: -.04em; }
.ct-tiers .amt small { margin-left: 6px; color: var(--stone); font: 400 15px/1 var(--sans); letter-spacing: 0; }
.ct-tiers .why { color: var(--ink); font-weight: 650; }
.ct-tiers ul { display: grid; gap: 5px; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ct-rule); list-style: none; color: var(--ct-muted); font-size: 15.5px; }
.ct-tiers ul li { display: flex; gap: 9px; padding: 0; border: 0; }
.ct-tiers ul li::before { content: ""; flex: none; width: 12px; height: 0; margin-top: .72em; border-top: 2px dashed var(--pine-500); }
.ct-price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }

/* ---------- Process ---------- */
.ct-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 34px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ct-steps li { padding-top: 16px; border-top: 2px solid var(--pine-700); counter-increment: step; }
.ct-steps li::before { content: "Step " counter(step); display: block; margin-bottom: 8px; color: var(--pine-600); font-size: 14px; font-weight: 750; }
.ct-steps p { margin-top: 7px; color: var(--ct-muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.ct-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "head faq" "guides faq"; grid-template-rows: auto 1fr; gap: 0 clamp(22px, 5vw, 80px); align-items: start; }
.ct-faq-grid > .ct-head { grid-area: head; }
.ct-guides-wrap { grid-area: guides; }
.ct-faq-grid > .ct-faq { grid-area: faq; }
.ct-faq-grid .ct-head { margin-bottom: 0; }
.ct-guides { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 16px; }
.ct-guides a { display: inline-flex; min-height: 40px; align-items: center; }
.ct .ct-faq details { margin: 0; border: 0; border-top: 1px solid var(--ct-rule); border-radius: 0; background: none; overflow: visible; }
.ct .ct-faq details:last-of-type { border-bottom: 1px solid var(--ct-rule); }
.ct .ct-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; color: var(--pine-700); font: 500 20px/1.25 var(--display); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.ct .ct-faq summary::-webkit-details-marker { display: none; }
.ct .ct-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pine-100); color: var(--pine-700); font: 500 20px/1 var(--sans); }
.ct .ct-faq details[open] summary::after { content: "–"; background: var(--pine-700); color: var(--paper); }
.ct .ct-faq details p { max-width: 62ch; padding: 0 2px 20px; color: var(--ct-muted); }

/* ---------- Closing ---------- */
.ct-close { background: linear-gradient(115deg, #D7E6D9 10%, #CADDCD 62%, #C3D8C7); }
.ct-close-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 5vw, 72px); align-items: end; }
.ct-close h2 { max-width: 16ch; font-size: clamp(34px, 4.4vw, 60px); }
.ct-close p { max-width: 46ch; color: var(--ct-muted); }
.ct-close .ct-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; }

/* ---------- Tablets ---------- */
@media (max-width: 1000px) {
  .ct-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .ct-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-facts dl > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ct-facts dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ct-work > li, .ct-work > li.wide, .ct-work > li.narrow { grid-column: span 6; }
}
@media (max-width: 820px) {
  .ct-hero-grid, .ct-fabric, .ct-colours, .ct-build, .ct-faq-grid, .ct-close-grid { grid-template-columns: minmax(0, 1fr); }
  /* Stacked sketch: four topic buttons in a two-by-two grid, with the selected
     line and buying tip always opening directly beneath them. */
  .ct-sketch-stage { max-width: 380px; }
  [data-ct-anatomy="ready"] .ct-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  [data-ct-anatomy="ready"] .ct-options > li { display: contents; }
  [data-ct-anatomy="ready"] .ct-opt-head { gap: 10px; min-height: 48px; padding: 8px 10px; box-shadow: inset 0 0 0 1px var(--ct-rule); }
  [data-ct-anatomy="ready"] .ct-opt-head strong { font-size: 19px; }
  [data-ct-anatomy="ready"] li.is-selected .ct-opt-head { background: var(--pine-50); box-shadow: inset 0 0 0 2px var(--pine-700); }
  [data-ct-anatomy="ready"] .ct-opt-body { grid-column: 1 / -1; order: 1; padding: 12px 14px; border-radius: 8px; background: var(--pine-50); box-shadow: inset 3px 0 0 var(--ct-peach); }
  [data-ct-anatomy="ready"] li:not(.is-selected) .ct-opt-body { display: none; }
  [data-ct-anatomy="ready"] .ct-opt-tip { margin-top: 6px !important; padding: 0; background: none; box-shadow: none; }
  [data-ct-anatomy="ready"] .ct-opt-tip b { display: inline; margin-right: 4px; font-size: inherit; }
  .ct-faq-grid { grid-template-areas: "head" "faq" "guides"; grid-template-rows: auto; }
  .ct-faq-grid > .ct-faq { margin-top: 20px; }
  .ct-hero-grid { align-items: start; gap: 14px; }
  .ct-swatch-photo { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .ct-tiers { grid-template-columns: minmax(0, 1fr); }
  .ct-tiers li { border-left: 0; border-top: 1px solid var(--line); }
  .ct-tiers li:first-child { border-top: 0; }
  .ct-tiers li.pick { box-shadow: inset 4px 0 0 var(--pine-500); }
}
/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .ct { font-size: 16px; }
  .ct .ct-hero h1 { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.02; }
  .ct .ct-hero h1 em { display: inline; }
  .ct-hero-grid { padding-bottom: 22px; }
  .ct-pitch { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 12px; }
  .ct-lede { font-size: 16px; }
  .ct-mobile-lead { display: block; margin: 0; padding: 8px 8px 6px; border: 1px solid var(--ct-rule); border-radius: 14px; background: var(--ct-sheet); }
  .ct-mobile-lead img { display: block; width: 100%; height: auto; max-height: 154px; object-fit: contain; mix-blend-mode: multiply; }
  .ct-mobile-lead figcaption { margin-top: 4px; color: var(--pine-700); text-align: center; font-size: 12px; line-height: 1.25; font-weight: 700; }
  .ct .phero .ctas.ct-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .ct-btn { min-height: 48px; }
  .ct-lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .ct-lineup li { max-width: none; }
  .ct-lineup .ct-lineup-lead { display: none; }
  .ct-lineup img { width: auto; max-width: 100%; height: clamp(76px, 25vw, 146px); margin-inline: auto; object-fit: contain; object-position: 50% 100%; }
  .ct-lineup figcaption { padding-left: 6px; border-left-width: 2px; }
  .ct-lineup figcaption strong { font-size: 13px; }
  .ct-lineup figcaption span { font-size: 12px; }
  .ct-facts dl > div { padding: 14px 12px 13px; }
  .ct-facts dl > div:nth-child(odd) { padding-left: 0; }
  .ct-jump { gap: 6px; }
  .ct-jump a { min-height: 44px; padding-inline: 12px; font-size: 14px; }
  .ct-styles { grid-template-columns: minmax(0, 1fr); }
  .ct-style { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .ct-flat { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .ct-style-body { padding: 14px; gap: 6px; }
  .ct .ct-style h3 { font-size: 20px; }
  .ct-wt-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .ct-wt-tabs label { min-height: 70px; }
  .ct-chips { gap: 8px; }
  .ct-methods { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #decoration .ct-head { gap: 9px; margin-bottom: 18px; }
  .ct-build { gap: 12px; }
  .ct-sketch-stage { max-width: 216px; }
  .ct-opt-body { padding-left: 14px; }
  .ct-build-cta .ct-btn { width: 100%; }
  .ct-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ct-work { gap: 20px 12px; }
  .ct-work > li:first-child, .ct-work > li.note { grid-column: span 12; }
  .ct-work .tile { --pad: 12px; flex: none; min-height: 0; aspect-ratio: 1; }
  .ct-work > li:first-child .tile { aspect-ratio: 16 / 11; }
  .ct-work figcaption strong { font-size: 14px; }
  .ct-work figcaption span { font-size: 13px; }
  .ct .ct-faq summary { font-size: 18px; }
  .ct-close .ct-actions { display: grid; }
}
@media (max-width: 360px) {
  .ct-sketch-stage { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-btn { transition: none; }
  .ct-anatomy .hl, .ct-pin span { transition: none; }
}
.ct-flat .pale { fill: #E9F1EB; }
