/* Mr Mahjong — brand tokens (C2 palette) */
:root {
  --white: #FFFFFF;
  --cornflower: #6FA8EC;
  --denim: #34518F;
  --bubblegum: #FF9DCA;
  --coral: #F26B6B;
  --lemon: #F7E26B;
  --pistachio: #B5E0B8;
  --ice: #E6F0FC;
  --cherry: #D93B4A;
  --muted: #4A5C84;
  --line: #DCE3EE;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-card: 18px;
  --radius-button: 999px;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--denim);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--denim); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; }
h3 { font-size: 26px; line-height: 1.2; }
.label { margin: 0 0 10px; font-size: 16px; font-weight: 700; }

.stripe { height: 18px; background: repeating-linear-gradient(90deg, var(--white) 0 18px, var(--coral) 18px 36px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-button);
  font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--denim); transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: var(--denim); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--coral); }
.btn-ghost { background: transparent; color: var(--denim); }
.btn-ghost:hover { background: var(--ice); }
.btn-wide { width: 100%; }
.btn:focus-visible, a:focus-visible, .chip input:focus-visible + span, .swatch input:focus-visible + span {
  outline: 3px solid var(--coral); outline-offset: 3px;
}
.btn[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; text-decoration: none; color: var(--denim); margin: 0; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-cta { background: var(--denim); color: var(--white); padding: 10px 18px; border-radius: var(--radius-button); }
@media (max-width: 820px) { .nav a:not(.nav-cta) { display: none; } .wordmark { font-size: 24px; } }

/* Hero */
.hero { background: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { max-width: 12ch; }
.hero-sub { max-width: 520px; margin: 20px 0 0; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.hero-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 75%; border-radius: 28px;
  border: 8px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 12px 0 var(--coral);
  transform: rotate(2deg);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 36px; transform: rotate(-4deg);
  background: var(--lemon); padding: 10px 18px; border-radius: var(--radius-button);
  font-weight: 700; font-size: 15px; box-shadow: 0 4px 0 rgba(52,81,143,.18);
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .hero-photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-badge { left: 8px; }
}

/* Pattern band: brand rule, text sits on a solid white panel */
.pattern-band {
  background: var(--cornflower) url("images/pattern-tossed.svg") center / 420px 420px repeat;
  padding: 96px 0;
}
.band-panel {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--white);
  border-radius: 28px; padding: 40px 32px; box-shadow: 0 10px 0 var(--denim);
}
.band-facts { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.band-facts li {
  display: flex; flex-direction: column; align-items: center; min-width: 130px;
  padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 0 var(--coral);
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.band-facts li:nth-child(2) { box-shadow: 0 6px 0 var(--cornflower); }
.band-facts li:nth-child(3) { box-shadow: 0 6px 0 var(--pistachio); }
.band-num { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--denim); }
@media (max-width: 600px) { .pattern-band { padding: 56px 0; background-size: 300px 300px; } .band-panel { padding: 32px 16px; } .band-facts { flex-wrap: nowrap; gap: 8px; } .band-facts li { min-width: 0; flex: 1; padding: 12px 6px; font-size: 12px; } .band-num { font-size: 32px; } }

.pattern-strip { height: 140px; background: var(--bubblegum) url("images/pattern-mr-tiles.svg") center / 300px 300px repeat; }

/* Builder */
.builder-section { padding: 88px 0; }
.builder {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--white); border-radius: 28px; overflow: hidden;
  box-shadow: 0 2px 0 var(--line), 0 24px 60px rgba(52, 81, 143, .18);
}
.stage { background: var(--ice); padding: 28px 28px 20px; display: flex; flex-direction: column; justify-content: center; position: relative; min-height: 460px; }
.stage-badge { position: absolute; top: 20px; left: 20px; background: var(--lemon); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-button); }
.table-svg svg { width: 100%; height: auto; display: block; }
.stage-note { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.options { padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 24px; }
.opt-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt-group legend { padding: 0; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.opt-group legend .label { margin: 0; }
.opt-current { font-size: 15px; color: var(--muted); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span {
  display: block; width: 48px; height: 48px; border-radius: 14px;
  background: var(--sw); border: 1px solid rgba(52,81,143,.18);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--sw) 70%, #1d2c52);
  transition: transform .15s;
}
.swatch span.custom-sw { background: conic-gradient(var(--coral), var(--lemon), var(--pistachio), var(--cornflower), var(--bubblegum), var(--coral)); box-shadow: 0 5px 0 #9aa6c0; }
.swatch:hover span { transform: translateY(-2px); }
.swatch input:checked + span { outline: 3px solid var(--denim); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { cursor: pointer; flex: 1 1 140px; }
.chips.small .chip { flex: 0 1 auto; }
.chip span {
  display: flex; flex-direction: column; gap: 2px; min-height: 48px; justify-content: center;
  padding: 10px 16px; border: 2px solid var(--line); border-radius: 16px;
  font-weight: 700; font-size: 15px; line-height: 1.25; transition: border-color .15s, background .15s;
}
.chip small { font-weight: 400; font-size: 13px; color: var(--muted); }
.chip .chip-price { font-weight: 500; font-size: 13px; color: var(--muted); }
.chip:hover span { border-color: var(--cornflower); }
.chip input:checked + span { border-color: var(--denim); background: var(--ice); }

.custom-colour { margin-top: 14px; }
.custom-colour label, .field label, .field legend { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--denim);
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white);
}
input::placeholder, textarea::placeholder { color: #7a87a6; }
input:focus, textarea:focus { outline: none; border-color: var(--cornflower); box-shadow: 0 0 0 3px var(--ice); }

.price-bar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 2px dashed var(--line); }
.price-label { margin: 0; font-size: 15px; font-weight: 700; }
.price { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.1; }
.price-extra { margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .stage { min-height: 0; padding: 56px 12px 16px; }
  .options { padding: 28px 20px; }
}

/* SVG table transitions */
.tbl-paint { transition: fill .35s ease, stop-color .35s ease; }
.tbl-variant { transition: opacity .3s ease; }

/* Gallery */
.gallery-section { padding: 64px 0 96px; }
.gallery-section h2 { margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--ice); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.gallery .g-main { grid-row: span 2; }
.gallery .g-main img { aspect-ratio: auto; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: 2 / 1; object-position: center 40%; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content;
  background: var(--white); padding: 6px 12px; border-radius: var(--radius-button); font-size: 13px; font-weight: 700;
}
@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-main { grid-column: span 2; grid-row: auto; }
  .gallery .g-main img { aspect-ratio: 1 / 1; }
}

/* How it works: illustrated, on pistachio */
.how-section { background: var(--pistachio); padding: 72px 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.scene svg { width: 100%; height: auto; display: block; transform: rotate(-3deg); filter: drop-shadow(0 18px 24px rgba(52,81,143,.18)); }
.how-section h2 { margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 18px; align-items: center; background: rgba(255,255,255,.72); border-radius: 22px; padding: 16px 22px 16px 16px; }
.step h3 { font-size: 22px; margin: 0 0 2px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.step-icon { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 20px; background: var(--white); box-shadow: 0 5px 0 var(--coral); display: flex; align-items: center; justify-content: center; }
.step:nth-child(2) .step-icon { box-shadow: 0 5px 0 var(--cornflower); }
.step:nth-child(3) .step-icon { box-shadow: 0 5px 0 var(--lemon); }
.step-icon svg { width: 64px; height: 64px; }
.specs { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.specs div { display: flex; gap: 8px; align-items: baseline; }
.specs dt { font-size: 16px; font-weight: 700; }
.specs dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .scene { max-width: 440px; margin: 0 auto; width: 100%; }
}

/* Order */
.order-section { padding: 96px 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.summary { background: var(--ice); border-radius: 24px; padding: 28px; position: sticky; top: 92px; }
.table-svg.mini { background: var(--white); border-radius: var(--radius-card); padding: 12px; margin-bottom: 18px; }
.summary-list { list-style: none; margin: 0 0 16px; padding: 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list li span:first-child { font-weight: 700; }
.summary-list li span:last-child { color: var(--muted); text-align: right; }
.summary-price { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 18px; }
.summary-price span { font-weight: 700; }
.summary-price strong { font-family: var(--font-display); font-weight: 600; font-size: 30px; }
.lede { color: var(--muted); margin: 14px 0 28px; max-width: 560px; }

.order-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field.invalid input { border-color: var(--cherry); }
.field-error { display: block; color: var(--cherry); font-size: 13px; font-weight: 700; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; font-size: 15px; font-weight: 700; min-height: 0; }
.form-status.error { color: var(--cherry); }
.form-status:empty { display: none; }

.success { text-align: center; padding: 48px 24px; background: var(--ice); border-radius: 24px; }
.success:focus { outline: none; }
.success-tile {
  width: 72px; height: 92px; margin: 0 auto 20px; background: var(--white); border-radius: 14px; box-shadow: 0 7px 0 var(--coral);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 34px;
}
.success p { color: var(--muted); max-width: 440px; margin: 12px auto 24px; }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; gap: 32px; }
  .summary { position: static; order: 2; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--denim); color: var(--white); }
.site-footer a { color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; padding-top: 48px; padding-bottom: 24px; }
.wordmark-light { color: var(--white); font-size: 36px; }
.tagline { margin: 4px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; color: var(--ice); }
.footer-links { display: flex; gap: 24px; font-weight: 700; }
.copyright { margin: 0 auto; padding-bottom: 32px; font-size: 13px; color: var(--ice); }

/* ---------- Softer, more playful layer ---------- */

/* Scalloped section edges, echoing the wavy mat */
.edge { height: 20px; background: radial-gradient(circle at 20px 0, var(--from) 19.5px, transparent 20.5px) 0 0 / 40px 20px repeat-x, var(--to); }
.edge-up { background: radial-gradient(circle at 20px 20px, var(--from) 19.5px, transparent 20.5px) 0 0 / 40px 20px repeat-x, var(--to); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { margin: 0; color: var(--muted); }

/* Hero decoration */
.hero { overflow: hidden; }
.hero-blob {
  position: absolute; inset: -16% -22% -14% -20%; z-index: 0;
  background: radial-gradient(closest-side, #FFD3E8 0 99%, transparent 100%) 92% 8% / 58% 58% no-repeat,
              radial-gradient(closest-side, var(--ice) 0 99%, transparent 100%) 6% 96% / 64% 64% no-repeat;
}
.hero-photo img { position: relative; z-index: 1; }
.hero-badge { z-index: 3; }
.hero-tiles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ft { position: absolute; width: 74px; height: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(52,81,143,.15)); }
.ft-1 { top: -26px; left: -30px; }
.ft-2 { top: 18%; right: -34px; animation-delay: -1.5s; width: 64px; }
.ft-3 { bottom: -18px; right: 14%; animation-delay: -3s; width: 66px; }
.ft-4 { top: 46%; left: -42px; animation-delay: -4.5s; width: 58px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .ft { animation: none; } }
@media (max-width: 820px) { .ft-1 { left: -6px; } .ft-2 { right: -6px; } .ft-4 { display: none; } }

/* Colourways */
.colourways-section { background: var(--ice); padding: 56px 0 64px; }
.colourways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cw {
  appearance: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--denim);
  background: var(--white); border-radius: 24px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 6px 0 var(--cw-edge, var(--line)); transition: transform .2s, box-shadow .2s;
}
.cw:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--cw-edge, var(--line)); }
.cw:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.cw-art { border-radius: 16px; background: var(--cw-bg); padding: 10px 6px 0; }
.cw-art svg { width: 100%; height: auto; display: block; }
.cw-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; padding: 0 4px; }
.cw-name em { font-weight: 500; }
@media (max-width: 900px) { .colourways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cw-name { font-size: 18px; } }

/* Softer builder card */
.builder { box-shadow: 0 30px 70px rgba(52, 81, 143, .14); }
.chip span { border-width: 1.5px; border-radius: 18px; }
.edge-over-next { position: relative; z-index: 1; margin-bottom: -20px; }
.edge-over-prev { position: relative; z-index: 1; margin-top: -20px; }
.tbl-line { stroke: var(--t-line); }

/* ================= Redesign: Pistachio block ================= */

/* Edges get a coral outline, like the mat's stitched edge */
.edge { height: 24px; background: radial-gradient(circle at 24px 0, var(--from) 19.5px, var(--edge-line, var(--coral)) 20px 23.5px, transparent 24px) 0 0 / 48px 24px repeat-x, var(--to); }
.edge-up { background: radial-gradient(circle at 24px 24px, var(--from) 19.5px, var(--edge-line, var(--coral)) 20px 23.5px, transparent 24px) 0 0 / 48px 24px repeat-x, var(--to); }

/* Hero: pattern with a centred white card */
.hero-c { background: var(--cornflower) url("images/pattern-tossed.svg") center / 420px 420px repeat; padding: 110px 24px 120px; }
.hero-card {
  max-width: 880px; margin: 0 auto; padding: 64px 56px; background: var(--white); border-radius: 28px;
  box-shadow: 0 10px 0 var(--denim); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.hero-card .hero-sub { margin: 0; max-width: 560px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-card .hero-actions { margin: 0; justify-content: center; gap: 14px; }
@media (max-width: 600px) { .hero-c { padding: 56px 16px 64px; background-size: 300px 300px; } .hero-card { padding: 40px 22px; } }

/* Your table, your way */
.choices-section { padding: 84px 24px; background: var(--pistachio); }
.choices-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: center; }
.choices-intro { display: flex; flex-direction: column; gap: 20px; }
.choices-intro h2 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.choices-intro p { margin: 0; font-size: 18px; color: var(--muted); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 16px; align-self: flex-start; }
.choices-card { padding: 12px 36px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.choice-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: 24px; align-items: center; padding: 24px 0; }
.choice-row + .choice-row { border-top: 1px solid var(--line); }
.choice-num {
  width: 56px; height: 56px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 6px 0 var(--edge);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 26px;
}
.choice-text { display: flex; flex-direction: column; gap: 4px; }
.choice-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; }
.choice-sub { font-size: 15px; line-height: 1.5; color: var(--muted); }
.choice-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.dot { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); }
.dot-plus { border: 2px dashed var(--denim); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.choice-thumbs { display: flex; gap: 8px; }
.choice-thumb { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; background: #F4F8FD; font-size: 13px; font-weight: 700; }
.choice-art { height: 64px; display: flex; align-items: center; }
.choice-art svg { max-height: 64px; width: auto; max-width: 100%; }
@media (max-width: 980px) {
  .choices-grid { grid-template-columns: 1fr; gap: 32px; }
  .choice-row { grid-template-columns: 56px minmax(0, 1fr); }
  .choice-row > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .choices-section { padding: 56px 16px; } .choices-card { padding: 4px 18px; } }

.builder-section { padding: 88px 0 136px; }

/* Colourways: custom card */
.cw-custom .cw-art svg { aspect-ratio: 560 / 410; }
.cw-sub { font-size: 14px; line-height: 1.4; color: var(--muted); padding: 0 4px; }

/* Packs away */
.fold-section { background: var(--ice); padding: 96px 0; }
.fold-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.fold-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fold-kicker { margin: 0; font-size: 16px; font-weight: 700; }
.fold-copy h2 { font-size: clamp(32px, 4.4vw, 44px); }
.fold-lede { margin: 0 0 8px; color: var(--muted); max-width: 480px; }
.fold-step {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: 18px;
  border: 2px solid var(--line); background: transparent; cursor: pointer; font: inherit; color: var(--denim); min-height: 44px;
  transition: background .2s, border-color .2s;
}
.fold-step.is-on { border-color: var(--denim); background: var(--white); }
.fold-step:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.fold-dot { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--white); color: var(--denim); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.fold-step.is-on .fold-dot { background: var(--coral); color: var(--white); }
.fold-text { display: flex; flex-direction: column; gap: 2px; }
.fold-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; }
.fold-sub { font-size: 15px; line-height: 1.5; color: var(--muted); }
.fold-card { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; background: var(--white); box-shadow: 0 10px 0 var(--cornflower); }
.fold-stage { min-height: 392px; display: flex; align-items: center; justify-content: center; }
.fold-frame { width: 100%; display: flex; justify-content: center; animation: foldIn .35s ease; }
.fold-frame[hidden] { display: none; }
.fold-frame svg { width: 100%; max-width: 560px; height: auto; }
.fold-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fold-count { font-size: 15px; font-weight: 700; }
@keyframes foldIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .fold-section { padding: 64px 0; } .fold-card { padding: 18px; } .fold-stage { min-height: 0; } .fold-nav .btn { padding: 0 18px; } }

/* Gallery: one large photo and two stacked */
.gallery-3 { grid-template-columns: 1.5fr 1fr; }
.gallery-3 .g-main img { aspect-ratio: auto; height: 100%; }
.gallery-3 figure:not(.g-main) img { aspect-ratio: 4 / 3; }
@media (max-width: 820px) {
  .gallery-3 { grid-template-columns: 1fr; }
  .gallery-3 .g-main { grid-column: auto; }
  .gallery-3 .g-main img { aspect-ratio: 4 / 3; }
}
.fold-photo img { width: 100%; max-width: 560px; aspect-ratio: 600 / 420; object-fit: cover; border-radius: 18px; }

/* Option boxes in a row are all the same size */
.chips:not(.small) { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.chip { display: flex; }
.chip span { flex: 1; justify-content: flex-start; }
