
    :root{--ink:#161512;--paper:#f3f1ec;--line:#d5d0c6;--accent:#e5ae14;--muted:#69645c;--night:#171714;--selected:#756656}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:ui-sans-serif,"Helvetica Neue",Arial,"Noto Sans JP",sans-serif;line-height:1.75}button,a{font:inherit}.header{height:72px;background:#11110f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,5vw,72px);letter-spacing:.1em}.brand{font-size:24px;font-weight:800;color:#fff;text-decoration:none;letter-spacing:-.05em}.brand:after{content:"";display:inline-block;background:var(--accent);width:26px;height:3px;margin:0 0 4px 10px}.back{font-size:11px;color:#fff;text-decoration:none;letter-spacing:.13em}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;margin:0 0 16px;color:inherit}.hero{position:relative;isolation:isolate;min-height:calc(100svh - 72px);display:grid;align-items:end;background:#24201d;color:white;overflow:hidden}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:opacity .45s ease}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.15) 60%,rgba(0,0,0,.08));z-index:-1}.hero-copy{padding:clamp(32px,6vw,88px);max-width:800px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(52px,7vw,112px);font-weight:400;letter-spacing:-.04em;line-height:.9;margin:0}.hero-lead{font-family:Georgia,"Times New Roman",serif;font-size:clamp(19px,2vw,30px);margin:20px 0 0}.hero .eyebrow{color:#f4c02c}.wrap{max-width:1260px;margin:auto;padding:clamp(64px,9vw,132px) clamp(22px,5vw,72px)}h2{font-family:Georgia,"Times New Roman","Noto Serif JP",serif;font-size:clamp(35px,4.2vw,64px);font-weight:400;line-height:1.18;letter-spacing:-.04em;margin:0}.intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-bottom:1px solid var(--line)}.intro p:last-child{max-width:560px;margin:0;font-size:17px}.cta{display:inline-flex;gap:34px;align-items:center;justify-content:space-between;background:var(--accent);padding:20px 24px;color:#111;text-decoration:none;font-weight:700;min-width:min(100%,370px);margin-top:26px}.cta b{font-size:24px;font-weight:400}.dark{background:var(--night);color:#fff}.picker-head{display:flex;justify-content:space-between;gap:45px;align-items:end;margin-bottom:38px}.picker-head p:last-child{max-width:420px;margin:0;color:#c7c3ba}.design-stage{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.7fr);background:#27231f}.design-photo{position:relative;min-height:500px;overflow:hidden}.design-photo img{width:100%;height:100%;position:absolute;object-fit:cover;inset:0}.design-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%)}.design-caption{position:absolute;z-index:1;bottom:30px;left:32px;right:32px}.design-caption h3{font-family:Georgia,"Times New Roman",serif;font-size:40px;font-weight:400;margin:0}.design-caption p{margin:8px 0 0;color:#e7e2d9}.picker-panel{padding:34px;background:#292620}.design-picker-label{font-size:11px;font-weight:700;letter-spacing:.14em;color:#ddd5ca;margin:0 0 12px}.design-buttons{display:grid;gap:8px;margin-bottom:32px}.design-button{border:1px solid #5d574f;background:transparent;color:#fff;text-align:left;padding:13px 15px;cursor:pointer;display:flex;justify-content:space-between}.design-button[aria-pressed=true]{border-color:var(--accent);background:#3c372f}.design-button span{font-size:12px;color:#b9b1a6}.colour-row{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.colour{min-height:66px;border:1px solid #5d574f;background:var(--swatch);cursor:pointer;color:#fff;padding:5px;font-size:10px;text-align:left;display:flex;align-items:end}.colour[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.chosen{border-top:1px solid #5d574f;margin-top:34px;padding-top:20px;color:#d8d1c5;font-size:14px}.chosen b{color:#fff;display:block;font-size:18px;margin-top:3px}.note{font-size:12px;color:#aaa297;margin:18px 0 0}.cad-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.cad-grid article{padding:26px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cad-grid em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.14em;color:#8c6c10}.cad-grid h3{font-size:19px;line-height:1.35;margin:15px 0 10px}.cad-grid p{font-size:14px;margin:0;color:#57524b}.material-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:80px}.material-grid>p{margin:0;max-width:560px}.facts{border-top:1px solid var(--line)}.facts article{padding:24px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:160px 1fr;gap:20px}.facts b{font-size:11px;letter-spacing:.12em}.facts p{margin:0}.boundary{background:#e7e3db;border-left:4px solid var(--accent);padding:28px 30px;margin-top:42px}.boundary h3{margin:0 0 10px;font-size:20px}.boundary p{margin:0;max-width:760px}.process{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:48px}.process article{border-top:1px solid #746f66;padding-top:18px}.process em{color:#e8b519;font-size:12px;font-style:normal;font-weight:700}.process h3{font-size:18px;line-height:1.35;margin:12px 0}.process p{font-size:13px;color:#c9c4bb;margin:0}.final{text-align:center;max-width:820px;margin:auto}.final p{max-width:630px;margin:25px auto 0}.footer{background:#11110f;color:#8d887e;font-size:11px;letter-spacing:.08em;padding:28px clamp(22px,5vw,72px)}.floating{position:fixed;z-index:5;right:24px;bottom:24px;background:var(--accent);color:#111;text-decoration:none;padding:15px 22px;font-weight:700;box-shadow:0 8px 22px #0003}.floating[hidden]{display:none}
    @media(max-width:760px){.header{height:62px}.brand{font-size:20px}.hero{min-height:calc(82svh - 62px)}.hero-copy{padding:28px 22px}.hero h1{font-size:55px}.intro,.material-grid{grid-template-columns:1fr;gap:28px}.picker-head{display:block}.picker-head p:last-child{margin-top:18px}.design-stage{grid-template-columns:1fr}.design-photo{min-height:370px}.picker-panel{padding:24px 20px}.cad-grid{grid-template-columns:1fr 1fr}.cad-grid article{padding:20px}.facts article{grid-template-columns:1fr;gap:7px}.process{grid-template-columns:1fr 1fr}.process article:last-child{grid-column:span 2}.floating{right:16px;bottom:16px}.wrap{padding:68px 22px}.cta{min-width:100%}}
    .colour-row{grid-template-columns:repeat(3,1fr)}
    .hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-playback{position:absolute;z-index:2;top:20px;right:22px;border:1px solid #ffffff70;border-radius:2px;background:#161512a6;color:#fff;padding:8px 13px;font-size:12px;cursor:pointer}.hero-playback:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:760px){.hero video{object-position:68% center}.hero-playback{top:14px;right:16px}}

    /* Slat Panel fixed-page layout: room preview + real sample + independent selection. */
    .headboard-picker{background:var(--paper);color:var(--ink)}
    .headboard-picker .picker-head p:last-child{color:var(--muted)}
    .headboard-preview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.7fr);gap:30px;align-items:start}
    .headboard-scene{margin:0;position:relative;background:#ddd7cf;aspect-ratio:16/10;display:flex;align-items:center;overflow:hidden;touch-action:pan-y}
    .headboard-scene>img{width:100%;height:100%;object-fit:contain;display:block}
    .design-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;background:var(--paper);color:var(--ink);border:0;border-radius:50%;cursor:pointer;font-size:22px}
    .design-arrow--prev{left:14px}.design-arrow--next{right:14px;background:var(--accent)}
    .scene-status{position:absolute;bottom:0;left:0;right:0;margin:0;padding:10px 16px;background:#161512cc;color:white;font-size:12px}.scene-status[hidden]{display:none}
    .headboard-caption{padding-top:17px}.headboard-caption>span{font-size:10px;letter-spacing:.12em}.headboard-caption h3{font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:1.2;margin:9px 0}.headboard-caption p{font-size:13px;color:var(--muted);margin:0}
    .colour-detail{background:#e8e2d8;padding:28px}.colour-detail .eyebrow{font-size:10px}.colour-detail h3{font-size:20px;line-height:1.4;font-weight:500;margin:18px 0 8px}.colour-detail p{font-size:12px;margin:10px 0}.colour-detail small{font-size:11px;color:var(--muted);display:block}
    #colour-detail-photo{display:block;width:100%;height:150px;overflow:hidden}#colour-detail-photo svg{display:block;width:100%;height:100%}
    .headboard-design-controls,.headboard-colour-controls{margin-top:34px}.control-heading{display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:.12em;margin:0 0 13px}
    .headboard-design-buttons,.headboard-colours{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
    .headboard-design-buttons button{padding:15px 12px;border:1px solid var(--line);background:transparent;text-align:left;cursor:pointer;min-width:0}.headboard-design-buttons small,.headboard-design-buttons span{display:block;font-size:10px;color:var(--muted)}.headboard-design-buttons b{display:block;font-size:11px;line-height:1.4;letter-spacing:.035em;margin:8px 0}
    .headboard-colours button{padding:12px 8px;background:transparent;border:1px solid transparent;cursor:pointer;text-align:center;min-width:0}.sample-photo{width:70px;height:70px;display:block;margin:0 auto 9px;border-radius:8px;overflow:hidden}.sample-photo svg{display:block;width:100%;height:100%}
    .headboard-colours b,.headboard-colours small{display:block}.headboard-colours b{font-size:12px;font-weight:500}.headboard-colours small{font-size:9px;color:var(--muted);letter-spacing:.07em}
    .headboard-design-buttons button[aria-pressed=true],.headboard-colours button[aria-pressed=true]{border-color:var(--ink);background:#e8e3da}
    .source-colour-button{border:1px solid var(--line);padding:8px 12px;background:transparent;color:var(--ink);cursor:pointer;margin-top:16px;font-size:12px}.source-colour-button small{margin-left:16px;font-size:10px}.source-colour-button[aria-pressed=true]{border-color:var(--ink);background:#e8e3da}.source-colour-label{margin-left:15px;font-size:11px;color:var(--muted)}
    .headboard-selected{font-size:12px;margin:20px 0 0}.headboard-selected b{font-weight:600}.picker-disclaimer{font-size:11px;color:var(--muted);max-width:940px;margin:30px 0 0}
    .headboard-consultation{display:flex;align-items:center;gap:26px;margin-top:24px}.headboard-consultation .cta{margin:0}.headboard-consultation p{font-size:11px;color:var(--muted);margin:0}
    .headboard-picker button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
    @media(max-width:760px){.headboard-preview-grid{grid-template-columns:1fr;gap:22px}.headboard-scene{aspect-ratio:16/10}.colour-detail{padding:22px;display:grid;grid-template-columns:100px 1fr;gap:0 18px}.colour-detail>.eyebrow{grid-column:1/-1;margin-bottom:12px}.colour-detail>a{grid-column:1;grid-row:2/6}.colour-detail>h3,.colour-detail>p,.colour-detail>small{grid-column:2}.colour-detail h3{margin:0 0 6px;font-size:16px}.colour-detail p{margin:4px 0;font-size:10px}#colour-detail-photo{height:100px}.headboard-design-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.headboard-colours{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sample-photo{width:62px;height:62px}.headboard-consultation{display:block}.headboard-consultation .cta{width:100%;min-width:0}.headboard-consultation p{margin-top:15px}.source-colour-label{display:block;margin:8px 0 0}.headboard-design-controls{margin-top:28px}}
    .headboard-order-bar{border-bottom:1px solid var(--line)}.headboard-order-bar .wrap{padding-top:34px;padding-bottom:34px;display:flex;align-items:center;justify-content:space-between;gap:32px}.headboard-order-bar .eyebrow{margin-bottom:7px;font-size:10px}.headboard-order-bar p:not(.eyebrow){margin:0;font-size:18px;line-height:1.5}.headboard-order-bar small{display:block;margin-top:9px;color:var(--muted);font-size:11px}.headboard-order-bar .cta{margin-top:0;min-width:280px}@media(max-width:760px){.headboard-order-bar .wrap{display:block;padding-top:26px;padding-bottom:26px}.headboard-order-bar .cta{margin-top:20px;width:100%;min-width:0}.headboard-order-bar p:not(.eyebrow){font-size:16px}}
    .copy-selection{border:1px solid var(--ink);background:transparent;padding:9px 15px;font-size:12px;cursor:pointer;color:var(--ink)}.copy-selection:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.headboard-consultation>div{max-width:470px}.headboard-consultation>div>p{margin:10px 0 0;font-size:11px;color:var(--muted)}@media(max-width:760px){.headboard-consultation>div{margin-top:20px}}
  
/* Typography matched by role to the live SLAT PANEL fixed page, 2026-10-10.
 * Reference: https://modernova.jp/masterpeaces/slat-panel/
 * Only the brand, kickers, controls and CTAs use the reference's bold weights.
 * Editorial headings and step headings must not inherit the browser's bold h3 default.
 */
:root {
  --sans: "Helvetica Neue", "Yu Gothic", Arial, sans-serif;
  --serif: "Times New Roman", "Yu Mincho", serif;
}

body { font: 400 15px/2 var(--sans); }
button, a { font-family: var(--sans); }
.brand { font-size: 26px; font-weight: 800; letter-spacing: -.06em; }
.back { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.hero .eyebrow { font-size: clamp(9px, .85vw, 12px); }
.hero h1 { font: 400 clamp(40px, 7.5vw, 112px)/.95 var(--serif); letter-spacing: -.055em; }
.hero-lead { font: 400 clamp(16px, 1.8vw, 26px)/1.5 var(--serif); letter-spacing: .02em; }
.hero-playback { font: 800 10px/1 var(--sans); letter-spacing: .12em; }

h2 { font: 400 clamp(31px, 4vw, 64px)/1.38 var(--serif); letter-spacing: -.055em; }
h3 { font: 500 18px/1.6 var(--sans); letter-spacing: .02em; }
.headboard-picker h2 { font: 400 clamp(31px, 4vw, 64px)/1.38 var(--serif); letter-spacing: -.055em; }
#material-title { font: 400 clamp(34px, 4.3vw, 67px)/1.32 var(--serif); letter-spacing: -.055em; }
.final h2 { font: 400 clamp(33px, 3.8vw, 56px)/1.34 var(--serif); letter-spacing: -.055em; }

.intro p:not(.eyebrow) { font-size: 15px; font-weight: 400; line-height: 2; }
.headboard-order-bar p:not(.eyebrow) { font-size: 14px; font-weight: 400; line-height: 2; }
.headboard-order-bar small { font-size: 11px; font-weight: 400; line-height: 2; }
.material-grid > p { font-size: 14px; font-weight: 400; line-height: 2; }
.facts b { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.facts p, .boundary p { font-size: 13px; font-weight: 400; line-height: 1.9; }
.boundary h3 { font: 500 18px/1.6 var(--sans); letter-spacing: .02em; }
.cad-grid em, .process em { font: 400 36px/1 var(--serif); letter-spacing: normal; }
.cad-grid h3, .process h3 { font: 400 25px/1.3 var(--serif); letter-spacing: normal; }
.cad-grid p, .process p { font-size: 12px; font-weight: 400; line-height: 2; }
.final p:not(.eyebrow) { font-size: 13px; font-weight: 400; line-height: 2; }
.final .eyebrow { font-size: 13px; }

.picker-head p:last-child { font-size: 12px; font-weight: 400; line-height: 1.8; }
.headboard-caption > span { font-size: 9px; font-weight: 700; line-height: 1.8; letter-spacing: .1em; }
.headboard-caption h3 { font: 500 20px/1.4 var(--sans); letter-spacing: .04em; }
.headboard-caption p { font-size: 12px; font-weight: 400; line-height: 1.8; }
.colour-detail .eyebrow { font: 700 9px/1.5 var(--sans); letter-spacing: .13em; }
.colour-detail h3 { font: 500 20px/1.4 var(--sans); letter-spacing: .04em; }
.colour-detail p { font-size: 12px; font-weight: 400; line-height: 1.8; }
.colour-detail small { font-size: 12px; font-weight: 400; line-height: 1.7; }
.design-arrow { font-size: 22px; font-weight: 400; line-height: 1; }
.scene-status { font-size: 12px; font-weight: 400; line-height: 1.6; }
.control-heading { font-size: 10px; font-weight: 800; line-height: 2; letter-spacing: .13em; }
.control-heading span + span { font-size: 11px; letter-spacing: .05em; }
.headboard-design-buttons b { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.headboard-design-buttons small, .headboard-design-buttons span { font-size: 10px; font-weight: 400; line-height: 1.4; }
.headboard-colours b { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.headboard-colours small { font-size: 10px; font-weight: 400; line-height: 1.4; letter-spacing: normal; }
.headboard-selected { font-size: 12px; font-weight: 700; line-height: 1.5; }
.headboard-selected b { font-weight: inherit; }
.source-colour-button, .source-colour-label { font-weight: 400; }
.picker-disclaimer { font-size: 12px; font-weight: 400; line-height: 1.85; }
.headboard-consultation p, .headboard-consultation > div > p { font-size: 12px; font-weight: 400; line-height: 1.8; }

.cta { font-size: 11px; font-weight: 800; line-height: 2; letter-spacing: .08em; }
.cta b { font-size: 22px; font-weight: 400; line-height: 1; }
.copy-selection { font-size: 12px; font-weight: 400; line-height: 1.8; }
.floating { font-size: 10px; font-weight: 800; line-height: 2; letter-spacing: .08em; }
.footer { font-size: 10px; font-weight: 400; letter-spacing: .05em; }

@media (min-width: 761px) {
  .hero h1 { font-size: clamp(44px, min(7.5vw, 12svh), 112px); }
  .hero-lead { font-size: clamp(18px, 2.8svh, 26px); white-space: nowrap; }
  .hero-lead br { display: none; }
  .headboard-picker h2 { font-size: clamp(31px, 3.25vw, 48px); line-height: 1.3; }
  .headboard-picker h2 br { display: none; }
  #material-title { font-size: clamp(32px, 3.4vw, 52px); }
}

@media (max-width: 760px) {
  .back { font-size: 9px; }
  .hero .eyebrow { font-size: 9px; }
  .hero h1 { font-size: clamp(36px, 8vw, 60px); }
  .hero-lead { font-size: 16px; }
  .headboard-order-bar p:not(.eyebrow) { font-size: 13px; }
  .headboard-order-bar small { font-size: 12px; }
  .picker-head p:last-child { font-size: 13px; }
  .headboard-design-buttons b, .headboard-colours b { font-size: 12px; }
  .headboard-colours small { letter-spacing: .04em; }
  .cad-grid p, .process p { font-size: 14px; }
  .final h2 { font-size: 39px; }
  .floating { font-size: 9px; }
}

@media (min-width: 761px) and (max-height: 600px) {
  .headboard-picker h2 { font-size: 27px; }
  .picker-head p:last-child { font-size: 11px; }
  .colour-detail h3 { font-size: 17px; }
  .colour-detail p, .colour-detail small { font-size: 11px; }
  .colour-detail p:not(.eyebrow) { line-height: 1.7; }
}

/* Follow the Slat Panel simulator: room left, large material right, colours below.
 * Preserve the source photographs and the shared 16:9 image frame.
 */
html { scroll-behavior: auto; }
/* Slat page-width parity: full-bleed sections, capped content inside gutters.
 * Do not cap the outer section (the old 1260px .wrap included its padding).
 * Slat content measures: standard 1440px, selector 1280px, order flow 1200px.
 */
:root { --pad: clamp(22px, 5vw, 80px); }
.wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--pad), calc((100% - 1440px) / 2));
}
.header, .footer { padding-inline: var(--pad); }
/* Match the Slat Panel's left-aligned closing inquiry section. */
.final { max-width: none; margin: 0; text-align: left; }
.final h2 { max-width: 720px; margin: 0; }
.final p { max-width: 560px; margin: 24px 0 0; }
.final .eyebrow { margin-bottom: 20px; }
.headboard-order-flow > .wrap { padding-inline: max(var(--pad), calc((100% - 1200px) / 2)); }
.headboard-picker > .wrap {
  padding-top: 24px;
  padding-bottom: 28px;
  padding-inline: max(var(--pad), calc((100% - 1280px) / 2));
}
.headboard-picker .picker-head { align-items: center; gap: 30px; margin-bottom: 18px; }
.headboard-picker .picker-head > div { min-width: 0; }
.headboard-picker .picker-head .eyebrow { margin-bottom: 6px; }
.headboard-picker .picker-head > p { max-width: 330px; flex: 0 0 330px; }
.headboard-simulator {
  --headboard-preview-height: clamp(150px, calc(100svh - 420px), 360px);
  --headboard-image-height: min(var(--headboard-preview-height), calc(55cqw * 9 / 16));
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, min(55%, calc(var(--headboard-preview-height) * 16 / 9))) minmax(0, 1fr);
  gap: 12px 30px;
  width: 100%;
  margin-inline: auto;
  align-items: start;
}
.headboard-preview-grid, .headboard-control-panel { display: contents; }
.headboard-preview-grid > div { grid-area: 1 / 1; width: 100%; min-width: 0; }
.headboard-scene { position: relative; width: 100%; aspect-ratio: 16/9; height: var(--headboard-image-height); margin: 0; }
.headboard-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.design-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: #f4f3eef0; color: var(--ink); }
.headboard-caption { display: none; }
.headboard-preview-grid .colour-detail {
  grid-area: 1 / 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: var(--headboard-image-height);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 18px 22px;
  color: var(--ink);
}
.colour-detail > #colour-detail-photo { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.colour-detail > .eyebrow, .colour-detail > h3, .colour-detail > p, .colour-detail > small { position: relative; z-index: 1; pointer-events: none; margin: 0; color: inherit; }
.colour-detail h3 { margin-top: 5px; }
.colour-detail p:not(.eyebrow) { margin-top: 8px; }
.colour-detail small { margin-top: 7px; }
.colour-detail[data-tone="dark"] { color: #fff; }
.colour-detail[data-tone="dark"] > :not(#colour-detail-photo) { text-shadow: 0 1px 2px #000b; }
.headboard-design-controls { grid-area: 2 / 1; min-width: 0; margin: 0; }
.headboard-design-controls > .control-heading, .headboard-design-buttons { display: none; }
.compact-design-picker { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 12px; }
.compact-design-picker select { width: 100%; min-height: 44px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 12px/1.4 var(--sans); }
.compact-design-picker select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.headboard-colour-controls { grid-area: 3 / 1 / auto / -1; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; min-width: 0; margin: 0; }
.headboard-colour-controls > .control-heading, .headboard-colours { grid-column: 1 / -1; }
.control-heading { margin: 0; gap: 8px; }
.control-heading span + span { white-space: nowrap; }
.headboard-colours { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.headboard-colours button { display: block; min-width: 0; min-height: 44px; padding: 5px; text-align: center; }
.sample-photo { display: block; width: 88px; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0 auto 6px; border-radius: 9px; }
.headboard-colours b, .headboard-colours small { display: block; min-height: 0; }
.headboard-colours small { margin-top: 2px; }
.headboard-colours button[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--ink); }
.source-colour-button { grid-area: 3 / 2; margin: 0; min-height: 36px; padding: 5px 8px; font-size: 12px; }
.source-colour-button small { margin-left: 8px; }
.source-colour-label { display: none; }
.headboard-selected { grid-area: 3 / 1; align-self: center; margin: 0; overflow-wrap: anywhere; }
.picker-disclaimer { margin-top: 18px; max-width: none; }
.headboard-consultation { margin-top: 14px; }

@media (min-width: 761px) and (max-width: 1050px) {
  .headboard-picker .picker-head > p { display: none; }
  .compact-design-picker { grid-template-columns: 58px minmax(0,1fr); }
}
@media (min-width: 761px) and (max-height: 600px) {
  .headboard-picker > .wrap { padding-top: 16px; }
  .headboard-picker .picker-head > p { display: none; }
  .headboard-simulator { --headboard-preview-height: clamp(130px, calc(100svh - 350px), 300px); gap: 10px 24px; }
  .sample-photo { width: 58px; }
  .headboard-colours { gap: 8px 6px; }
  .colour-detail { padding: 12px 16px; }
}
@media (max-width: 760px) {
  .headboard-picker > .wrap { padding: 16px 22px 24px; }
  .headboard-picker .picker-head { display: block; margin-bottom: 10px; }
  .headboard-picker .picker-head > p, .headboard-picker .picker-head .eyebrow { display: none; }
  /* Keep the existing phrase break instead of leaving two orphaned characters. */
  .headboard-picker h2 br { display: initial; }
  .headboard-simulator { display: block; }
  .headboard-scene { height: auto; aspect-ratio: 16/9; }
  .headboard-preview-grid .colour-detail { display: none; }
  .headboard-design-controls { margin-top: 9px; }
  .compact-design-picker { grid-template-columns: 58px minmax(0,1fr); }
  .headboard-colour-controls { margin-top: 9px; gap: 5px 8px; }
  .headboard-colours { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px 8px; }
  .headboard-colours button { padding: 3px; }
  .sample-photo { width: 88px; margin-bottom: 3px; border-radius: 8px; }
  .headboard-colours b { font-size: 12px; }
  .headboard-colours small { font-size: 10px; margin-top: 1px; }
  .source-colour-button { min-height: 44px; }
}
/* Keep image and all choices together even in short mobile browser windows. */
@media (max-width: 760px) and (max-height: 650px) {
  /* Fit the extra design/source controls through spacing, never smaller type. */
  .headboard-picker > .wrap { padding-top: 12px; }
  .headboard-picker .picker-head { margin-bottom: 6px; }
  .headboard-design-controls, .headboard-colour-controls { margin-top: 6px; }
  .headboard-colour-controls { display: block; }
  .control-heading { margin-bottom: 4px; }
  .headboard-colours { gap: 4px; }
  .headboard-colours button { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 0 6px; padding: 4px; min-height: 44px; text-align: left; }
  .sample-photo { grid-column: 1; grid-row: 1 / 3; width: 24px; height: 24px; margin: 0; }
  .headboard-colours b, .headboard-colours small { grid-column: 2; }
  .source-colour-button { margin-top: 5px; }
  .headboard-selected { margin-top: 3px; }
}

/* Modernova home / SWIPE: same 1.25s pulse, 120ms stagger and 2px travel.
 * Mirror the whole group for the previous button, including its pulse direction.
 */
.modernova-sequential-chevrons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
  line-height: 1;
}
.modernova-sequential-chevrons--prev { transform: scaleX(-1); }
.modernova-sequential-chevrons i {
  display: block;
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  opacity: .22;
  animation: map-swipe-chevron 1.25s ease-in-out infinite;
}
.modernova-sequential-chevrons i:nth-of-type(2) { animation-delay: 120ms; }
.modernova-sequential-chevrons i:nth-of-type(3) { animation-delay: 240ms; }
@keyframes map-swipe-chevron {
  0%, 100% { opacity: .22; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .modernova-sequential-chevrons i { animation: none; opacity: 1; transform: none; }
}

/* Local product-page additions. Typography and two-column specification cards
 * follow the live Slat Panel fixed page; selector and hero styles stay untouched.
 */
.headboard-proposal, .headboard-material, .headboard-specifications {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.headboard-section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: end;
}
.headboard-section-head > p { margin: 0; font: 400 13px/2 var(--sans); color: var(--muted); }
/* Heading sizes live in headboard-typography.css. A shared shorthand here
 * previously shrank CAD/specification headings and overrode the material role.
 */
.headboard-material .headboard-section-head > p { font-size: 14px; }
.headboard-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}
.headboard-document-figure { margin: 0; min-width: 0; }
.headboard-document-figure a { display: block; background: #fff; }
.headboard-document-figure img { display: block; width: 100%; height: auto; }
.headboard-document-figure a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.headboard-document-figure figcaption { margin-top: 16px; font: 400 11px/1.9 var(--sans); color: var(--muted); }
.headboard-material .headboard-document-figure figcaption { line-height: 1.8; }
.headboard-proposal-copy { padding-top: 18px; }
.headboard-proposal-copy h3 { margin: 0 0 24px; font: 400 clamp(25px, 2.7vw, 38px)/1.5 var(--serif); letter-spacing: -.035em; }
.headboard-proposal-copy > p:not(.eyebrow) { font: 400 13px/2 var(--sans); margin: 0 0 20px; }
.headboard-proposal-copy > .headboard-proposal-note { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.headboard-order-flow .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.headboard-order-flow .process em { display: block; }
.headboard-order-flow .process h3 { min-height: calc(2.6em + 20px); margin: 12px 0 0; padding-bottom: 20px; }
.headboard-order-flow .process p { margin: 0; }
/* Shared heading rows keep every description aligned, including longer wraps. */
@media (min-width: 761px) {
  .headboard-order-flow .process { row-gap: 0; }
  .headboard-order-flow .process article { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
}
.headboard-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
.headboard-spec { padding: 25px 30px 27px 0; border-bottom: 1px solid var(--line); }
.headboard-spec-grid > .headboard-spec:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.headboard-spec b { font: 700 10px/2 var(--sans); letter-spacing: .12em; }
.headboard-spec h3 { margin: 10px 0 0; font: 500 18px/1.6 var(--sans); letter-spacing: .02em; }
.headboard-spec p { margin: 13px 0 0; font: 400 13px/2 var(--sans); color: var(--muted); }
.headboard-layer-cards .headboard-spec { padding-right: 0; }
.headboard-layer-cards .headboard-spec:first-child { padding-top: 0; }
.headboard-layer-cards .headboard-spec p { font-size: 13px; line-height: 1.9; }
.headboard-section-note { margin: 24px 0 0; font: 400 12px/1.85 var(--sans); color: var(--muted); }
/* Same BEFORE INSTALLATION band, measure and type roles as Slat Panel. */
.headboard-installation { padding: clamp(70px, 8vw, 120px) clamp(22px, 5vw, 80px); background: #dddcd5; scroll-margin-top: 24px; }
.headboard-installation-inner { max-width: 980px; margin: auto; }
.headboard-installation .eyebrow { color: #5e5d55; margin: 0 0 20px; }
.headboard-installation h2 { font: 400 clamp(29px, 3.8vw, 52px)/1.4 var(--serif); letter-spacing: -.05em; }
.headboard-installation-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.headboard-installation-notes article { min-width: 0; }
.headboard-installation-notes h3 { margin: 10px 0 0; font: 500 18px/1.6 var(--sans); letter-spacing: .02em; }
.headboard-installation-notes p { margin: 12px 0 0; font: 400 13px/1.9 var(--sans); color: #55554e; }
@media (max-width: 760px) {
  .headboard-installation-notes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .headboard-installation-notes p { font-size: 14px; }
  .headboard-order-flow .process { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .headboard-order-flow .process article:last-child { grid-column: auto; }
  .headboard-section-head, .headboard-diagram-grid, .headboard-spec-grid { grid-template-columns: minmax(0, 1fr); }
  .headboard-section-head { gap: 24px; }
  .headboard-material .headboard-document-figure figcaption { line-height: 1.7; }
  .headboard-diagram-grid { gap: 28px; margin-top: 32px; }
  .headboard-proposal-copy { padding-top: 0; }
  .headboard-proposal-copy > p:not(.eyebrow), .headboard-spec p { font-size: 14px; }
  .headboard-spec-grid { margin-top: 32px; }
  .headboard-spec-grid > .headboard-spec, .headboard-spec-grid > .headboard-spec:nth-child(even) { padding: 24px 0; border-left: 0; }
}
