/* Montana range page. Design plan: _work/design-plan.md (service opener = split screen; signature = drawn to measure). */
.wf .mt-open__copy, .wf .mt-cap { visibility: hidden; }

/* ---------- OPENER ---------- */
.mt-open { position: relative; overflow: clip; isolation: isolate; min-height: 66vh; display: flex; align-items: center;
  padding: calc(var(--hdr) + clamp(24px, 2.6vw, 40px)) 0 clamp(28px, 3vw, 40px); }
.mt-grain { position: absolute; inset: 0 -20% 0 -20%; z-index: -1; pointer-events: none; opacity: .75;
  /* timber grain from layered gradients: fine lines, medium bands and wide figure, each at a slightly different slope */
  background:
    repeating-linear-gradient(.5deg, rgba(181, 129, 79, 0) 0 5px, rgba(181, 129, 79, .09) 5px 6px, rgba(181, 129, 79, 0) 6px 13px),
    repeating-linear-gradient(-.35deg, rgba(201, 150, 104, 0) 0 9px, rgba(201, 150, 104, .07) 9px 11px, rgba(201, 150, 104, 0) 11px 23px),
    repeating-linear-gradient(.2deg, rgba(126, 85, 48, 0) 0 31px, rgba(126, 85, 48, .14) 31px 35px, rgba(126, 85, 48, 0) 35px 67px),
    repeating-linear-gradient(-.15deg, rgba(181, 129, 79, 0) 0 70px, rgba(181, 129, 79, .06) 70px 92px, rgba(181, 129, 79, 0) 92px 151px);
  -webkit-mask: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 75%); mask: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 75%);
  animation: mtGrain 26s ease-in-out infinite alternate; }
@keyframes mtGrain { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8%, 6px, 0); } }
.rm .mt-grain { animation: none; }
.mt-open__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(clamp(360px, calc(66vh - var(--hdr) - 110px), 600px) * 1.2 + 46px)); gap: clamp(32px, 5vw, 96px); align-items: center; }
.mt-h { font-size: clamp(2.4rem, 3.5vw, 4rem); line-height: 1.02; color: #fff; margin-bottom: .42em; }
.mt-h em { color: var(--oak-hi); }
.mt-lede { font-size: clamp(1.06rem, 1.18vw, 1.2rem); line-height: 1.6; color: var(--muted-d); margin: 0 0 clamp(22px, 2.4vw, 32px); }
.mt-facts { list-style: none; margin: 0 0 clamp(22px, 2.6vw, 34px); padding: 0; display: grid; grid-template-columns: 1.15fr 1.1fr 1fr;
  border: 1px solid rgba(183, 192, 198, .26); border-radius: var(--r); background: rgba(20, 24, 27, .55); }
.mt-facts li { padding: 14px 16px; min-width: 0; }
.mt-facts li + li { border-left: 1px solid rgba(183, 192, 198, .2); }
.mt-facts .k { margin-bottom: 6px; }
.mt-facts b { display: block; font: 400 clamp(1.2rem, 1.5vw, 1.5rem)/1.12 var(--f-d); color: #fff; font-variant-numeric: lining-nums; }
.mt-facts b i { font-style: normal; font-variant-numeric: tabular-nums lining-nums; }
.mt-facts .mt-facts__fig { color: var(--oak-hi); }
.mt-facts li > span:last-child { display: block; margin-top: 4px; font-size: .92rem; color: var(--muted-d); line-height: 1.3; }

.mt-stage { position: relative; display: flex; justify-content: flex-end; padding: 34px 46px 16px 0; }
.mt-photo { position: relative; height: clamp(360px, calc(66vh - var(--hdr) - 110px), 600px); width: min(100%, calc(clamp(360px, calc(66vh - var(--hdr) - 110px), 600px) * 1.2)); perspective: 1200px; }
.mt-photo__clip { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; background: var(--graphite-3); transform-style: preserve-3d; box-shadow: 0 40px 80px rgba(0, 0, 0, .4); }
.mt-photo__in { position: absolute; inset: 0; will-change: transform; }
.mt-photo__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mt-photo__light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: radial-gradient(circle at var(--lx, 70%) var(--ly, 20%), rgba(255, 236, 205, .75) 0%, rgba(255, 236, 205, 0) 42%),
    linear-gradient(115deg, transparent 38%, rgba(255, 240, 220, .35) 48%, transparent 58%) var(--sx, -140%) 0 / 300% 100% no-repeat; }
.mt-tk { position: absolute; width: 22px; height: 22px; border: 0 solid var(--oak-hi); pointer-events: none; z-index: 3; }
.mt-tk--tl { left: -10px; top: -10px; border-width: 1.5px 0 0 1.5px; }
.mt-tk--tr { right: -10px; top: -10px; border-width: 1.5px 1.5px 0 0; }
.mt-tk--bl { left: -10px; bottom: -10px; border-width: 0 0 1.5px 1.5px; }
.mt-tk--br { right: -10px; bottom: -10px; border-width: 0 1.5px 1.5px 0; }
/* dimension lines: drawn in, then a light runs along them like a laser measure */
.mt-dim { position: absolute; pointer-events: none; z-index: 3; color: var(--silver-hi); }
.mt-dim__l { position: absolute; background: var(--silver); overflow: hidden; }
.mt-dim__l::after { content: ''; position: absolute; background: linear-gradient(90deg, transparent, var(--oak-hi), transparent); animation: mtRun 3.6s cubic-bezier(.6, 0, .4, 1) infinite; }
.mt-dim__e { position: absolute; background: var(--silver); }
.mt-dim span { position: absolute; white-space: nowrap; font-size: .875rem; font-weight: 600; font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase;
  color: var(--silver-hi); background: var(--graphite); padding: 3px 10px; border: 1px solid rgba(183, 192, 198, .3); border-radius: calc(var(--r) - 4px); }
.mt-dim--w { left: 0; right: 0; top: -30px; height: 13px; }
.mt-dim--w .mt-dim__l { left: 0; right: 0; top: 6px; height: 1px; }
.mt-dim--w .mt-dim__l::after { top: 0; bottom: 0; width: 30%; left: 0; }
.mt-dim--w .mt-dim__e { top: 0; width: 1px; height: 13px; }
.mt-dim--w .mt-dim__e:nth-child(2) { left: 0; } .mt-dim--w .mt-dim__e:nth-child(3) { right: 0; }
.mt-dim--w span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mt-dim--h { top: 0; bottom: 0; right: -34px; width: 13px; }
.mt-dim--h .mt-dim__l { top: 0; bottom: 0; left: 6px; width: 1px; }
.mt-dim--h .mt-dim__l::after { left: 0; right: 0; height: 30%; top: 0; background: linear-gradient(180deg, transparent, var(--oak-hi), transparent); animation-name: mtRunV; animation-delay: 1.8s; }
.mt-dim--h .mt-dim__e { left: 0; height: 1px; width: 13px; }
.mt-dim--h .mt-dim__e:nth-child(2) { top: 0; } .mt-dim--h .mt-dim__e:nth-child(3) { bottom: 0; }
.mt-dim--h span { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
@keyframes mtRun { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@keyframes mtRunV { from { transform: translateY(-100%); } to { transform: translateY(340%); } }
.rm .mt-dim__l::after { animation: none; opacity: 0; }
.mt-cap { position: absolute; left: -22px; bottom: 26px; z-index: 4; margin: 0; display: flex; align-items: center; gap: 12px;
  background: rgba(28, 33, 37, .94); border: 1px solid rgba(183, 192, 198, .3); border-radius: var(--r); padding: 11px 16px; color: #fff;
  font: 400 1.08rem/1.25 var(--f-d); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.mt-cap .k { color: var(--oak-hi); padding-right: 12px; border-right: 1px solid rgba(183, 192, 198, .3); }

@media (max-width: 900px) {
  .mt-open { min-height: 0; padding-top: calc(var(--hdr) + 18px); }
  .mt-open__grid { grid-template-columns: 1fr; gap: 0; }
  .mt-stage { order: -1; padding: 0 0 26px; }
  .mt-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .mt-photo__in img { object-position: 50% 42%; }
  .mt-dim--w { top: auto; bottom: 14px; left: 14px; right: 14px; }
  .mt-dim--w .mt-dim__l, .mt-dim--w .mt-dim__e { background: rgba(255, 255, 255, .85); }
  .mt-dim--h { display: none; }
  .mt-cap { left: 10px; top: 10px; bottom: auto; padding: 8px 12px; font-size: 1rem; }
  .mt-tk { display: none; }
  .mt-h { font-size: clamp(2.3rem, 9.4vw, 3.4rem); }
  .mt-facts { grid-template-columns: 1fr 1fr; }
  .mt-facts li:first-child { grid-column: 1 / -1; border-bottom: 1px solid rgba(183, 192, 198, .2); }
  .mt-facts li:nth-child(2) { border-left: 0; }
  .mt-facts li { padding: 11px 13px; }
  .mt-open .btns { flex-direction: column; align-items: stretch; }
}

/* ---------- WHY MONTANA ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.why__pics { position: relative; padding: 0 0 70px; }
.why__main { width: min(82%, calc(var(--media-cap) * .8)); }
.why__main .ph { aspect-ratio: 1; }
.why__push { position: absolute; inset: 0; animation: whyPush 12s ease-in-out infinite alternate; }
.why__push img { position: absolute; inset: 0; }
@keyframes whyPush { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, 1%); } }
.rm .why__push { animation: none; }
.why__gable { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; z-index: 2; }
.why__gable .ph { aspect-ratio: 563 / 401; box-shadow: 0 24px 50px rgba(21, 48, 74, .25); outline: 6px solid var(--paper); }
.why__gable figcaption { margin-top: 12px; font-size: .92rem; line-height: 1.35; color: var(--muted); font-weight: 500; }
.why__port { position: absolute; right: 0; top: -6%; width: 31%; margin: 0; z-index: 2; }
.why__port figcaption { position: relative; margin: 14px 0 0 -18%; padding: 8px 12px; background: var(--paper); border: 1px solid rgba(21, 48, 74, .14); border-radius: calc(var(--r) - 3px); font-size: .875rem; line-height: 1.35; color: var(--text); font-weight: 500; box-shadow: 0 10px 24px rgba(21, 48, 74, .12); }
.why__porthole { aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; outline: 6px solid var(--paper); box-shadow: 0 0 0 7px var(--oak), 0 24px 50px rgba(21, 48, 74, .3); }
/* the porthole is a crop of the narrowboat photo, painted at the circle's own size (no oversized img) */
.why__porthole i { position: absolute; inset: 0; background: url('../img/round-porthole-plantation-shutters-narrowboat-1200.webp') 80.74% 32% / 800% auto no-repeat; }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__item { position: relative; padding: 24px 0 24px; border-top: 1px solid rgba(21, 48, 74, .16); }
.why__item:last-child { border-bottom: 1px solid rgba(21, 48, 74, .16); }
.why__rule { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--oak-deep); transform: scaleX(.08); transform-origin: left; transition: transform .8s var(--ease); }
.why__item:hover .why__rule, .why__item.is-lit .why__rule { transform: scaleX(1); }
.why__rule::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; background: linear-gradient(90deg, transparent, #F2D3AE, transparent); opacity: 0; animation: mtRun 4.2s cubic-bezier(.6, 0, .4, 1) infinite; }
.why__item.is-lit .why__rule::after { opacity: 1; }
.rm .why__rule::after { display: none; }
.why__item h3 { margin-bottom: .35em; }
.why__item p { margin: 0; color: var(--muted); }
.why__item--fan p { margin-bottom: 14px; }
/* sample fan: three real finishes from the 2026 brochure on a pin, like the fan deck we bring to your visit (it opens the full deck below) */
.fan { position: relative; display: block; height: 128px; width: min(420px, 100%); text-decoration: none; color: inherit; border-radius: var(--r); }
.fan__b { position: absolute; left: 14px; top: 12px; width: 196px; height: 34px; border-radius: 4px; transform-origin: 14px 50%; transform: rotate(var(--r0, 0deg)); overflow: hidden;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; background-size: cover; box-shadow: 0 6px 14px rgba(21, 48, 74, .2), inset 0 0 0 1px rgba(21, 48, 74, .12); }
/* the swatch runs along the blade, so wood grain follows its length */
.fan__b::before { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 196px; transform: translate(-50%, -50%) rotate(90deg); background: inherit; background-size: cover; }
.fan__b em { position: relative; font: 500 .875rem/1 var(--f-b); font-style: normal; letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.fan__b em b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fan__b.is-dark em { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.fan__b:nth-child(1) { --r0: -4deg; } .fan__b:nth-child(2) { --r0: 10deg; } .fan__b:nth-child(3) { --r0: 24deg; }
.fan__pin { position: absolute; left: 21px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--silver-hi); border: 2px solid var(--graphite); z-index: 2; }

.lv-card { margin-top: clamp(36px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center;
  background: var(--graphite); color: var(--silver-hi); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); position: relative; overflow: hidden; }
.lv-card__draw { position: relative; height: 240px; cursor: ns-resize; touch-action: pan-y; }
.lv-card__draw svg { width: 100%; height: 100%; overflow: visible; }
.lv-frame { fill: none; stroke: var(--silver); stroke-width: 1.2; }
.lv-blade { fill: rgba(201, 150, 104, .22); stroke: var(--silver-hi); stroke-width: 1.3; }
.lv-ray { stroke-width: 7; stroke-linecap: round; fill: none; }
.lv-dim { fill: none; stroke: var(--oak-hi); stroke-width: 1; }
.lv-tx { fill: var(--silver); font: 600 14px var(--f-b); letter-spacing: .06em; text-transform: uppercase; }
.lv-card__read { position: absolute; right: 0; bottom: 0; text-align: right; }
.lv-card__read b { display: block; font: 400 1.4rem/1 var(--f-d); color: #fff; margin-top: 4px; }
.lv-card h3 { color: #fff; margin-bottom: .4em; }
.lv-card p { margin: 0; color: var(--muted-d); }
.lv-card__txt { padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid rgba(183, 192, 198, .2); }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__pics { padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-items: start; }
  .why__main { grid-column: 1 / -1; width: 100%; }
  .why__main .ph { aspect-ratio: 4 / 3; }
  .why__gable, .why__port { position: relative; inset: auto; width: auto; }
  .why__port { padding: 0 10px; }
  .why__port figcaption { margin: 14px -10px 0; }
  .mt-cap { display: none; }
  .mt-open__copy { display: flex; flex-direction: column; }
  .mt-open__copy .btns { order: 3; margin-bottom: 22px; }
  .mt-facts { order: 4; margin-bottom: 0; }
  .lv-card { grid-template-columns: 1fr; }
  .lv-card__txt { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid rgba(183, 192, 198, .2); }
  .lv-card__draw { height: 200px; }
}

/* ---------- REVIEW BAND ---------- */
.mt-rev { padding: clamp(80px, 10vw, 150px) 0; }
.mt-rev::after { background: linear-gradient(100deg, rgba(20, 24, 27, .92) 0%, rgba(20, 24, 27, .8) 55%, rgba(20, 24, 27, .55) 100%); }
.mt-rev__in { position: relative; }
.mt-rev__stars { display: flex; gap: 6px; margin-bottom: 26px; }
.mt-rev__stars svg { width: 26px; height: 26px; fill: var(--oak-hi); }
.mt-rev__q { position: relative; margin: 0; font: 400 clamp(1.7rem, 2.9vw, 3rem)/1.24 var(--f-d); color: #fff; text-wrap: pretty; display: flow-root; }
.mt-rev__q::before { content: '\201C'; position: absolute; left: -.55em; top: -.08em; color: var(--oak-hi); }
.mt-rev__q mark { background: linear-gradient(var(--oak-hi), var(--oak-hi)) 0 92% / var(--mu, 100%) 2px no-repeat; color: var(--oak-hi); font-style: italic; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mt-rev__foot { margin-top: clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(227, 232, 235, .22); }
.mt-rev__foot p { margin: 0; color: var(--muted-d); }
.mt-rev__foot b { color: #fff; }
.mt-rev .link { color: var(--oak-hi); }
@media (max-width: 1100px) { .mt-rev__q::before { position: static; display: block; line-height: .7; font-size: 1.8em; } }

/* ---------- CONFIGURATIONS ---------- */
.mt-cfg { padding: clamp(56px, 4.6vw, 70px) 0; }
.mt-cfg .sec__head { margin-bottom: clamp(24px, 2.6vw, 36px); }
.cfg__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(183, 205, 225, .26); border-radius: var(--r); margin-bottom: 18px; background: rgba(10, 26, 41, .4); }
.cfg__tab { position: relative; min-height: 60px; padding: 10px 18px; border: 0; background: none; color: var(--muted-d); text-align: left; display: flex; align-items: center; gap: 12px; transition: color .3s, background .3s; }
.cfg__tab + .cfg__tab { border-left: 1px solid rgba(183, 205, 225, .2); }
.cfg__tab span { font: 400 clamp(1.2rem, 1.5vw, 1.5rem)/1.1 var(--f-d); transition: transform .45s var(--ease); }
.cfg__tab::before { content: ''; width: 9px; height: 9px; flex: none; border: 1.5px solid currentColor; border-radius: 2px; transition: background .3s, border-color .3s; }
.cfg__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--oak-hi); transform: scaleX(var(--p, 0)); transform-origin: left; }
.cfg__tab[aria-selected="true"] { color: #fff; background: rgba(183, 205, 225, .07); }
.cfg__tab[aria-selected="true"]::before { background: var(--oak-hi); border-color: var(--oak-hi); }
.cfg__tab:hover { color: #fff; }
.cfg__tab:first-child { border-radius: var(--r) 0 0 var(--r); } .cfg__tab:last-child { border-radius: 0 var(--r) var(--r) 0; }
.cfg__stage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: stretch; height: clamp(400px, calc(100vh - 420px), 520px); }
.cfg__sheet { position: relative; display: flex; flex-direction: row; border: 1px solid rgba(183, 205, 225, .28); border-radius: var(--r); background: rgba(8, 22, 36, .45); overflow: hidden; }
.cfg__draw { flex: 1; min-width: 0; min-height: 0; padding: 18px 14px 14px; }
.cfg__draw svg { width: 100%; height: 100%; overflow: visible; }
.cfg-floor { stroke: rgba(183, 205, 225, .45); stroke-width: .8; stroke-dasharray: 4 3; }
.cfg-frame { fill: rgba(227, 232, 235, .03); stroke: var(--silver-hi); stroke-width: 1.5; }
.cfg-sill { stroke: var(--silver-hi); stroke-width: 2.4; stroke-linecap: round; }
.cfg-track { stroke: var(--oak-hi); stroke-width: 2.2; stroke-linecap: round; }
.cfg-glass rect { fill: rgba(170, 205, 235, .1); stroke: rgba(183, 205, 225, .5); stroke-width: .7; }
.cfg-glass line { stroke: rgba(183, 205, 225, .55); stroke-width: 1.2; }
.cfg-leaf rect.o { fill: rgba(21, 48, 74, .82); stroke: var(--silver-hi); stroke-width: 1; }
.cfg-leaf rect.i { stroke: rgba(183, 205, 225, .55); stroke-width: .6; }
.cfg-blade { fill: rgba(183, 205, 225, .62); }
.cfg-dim { fill: none; stroke: var(--oak-hi); stroke-width: 1; }
.cfg-tx { fill: var(--oak-hi); font-family: var(--f-b); font-weight: 600; font-variant-numeric: tabular-nums; }
.cfg__tb { position: absolute; right: 14px; top: 14px; width: clamp(170px, 14vw, 200px); display: grid; border: 1px solid rgba(183, 205, 225, .28); border-radius: calc(var(--r) - 3px); background: rgba(8, 22, 36, .78); }
.cfg__tb > div:last-of-type { border-bottom: 0; }
.cfg__tb > div { padding: 12px 16px; min-width: 0; }
.cfg__tb > div { border-bottom: 1px solid rgba(183, 205, 225, .2); }
.cfg__tb > div:first-child b { font-size: 1.4rem; color: var(--oak-hi); }
.cfg__tb b { display: block; font: 400 1.12rem/1.2 var(--f-d); color: #fff; margin-top: 3px; }
.cfg__bar { position: absolute; display: block; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(183, 205, 225, .14); }
.cfg__bar i { display: block; height: 100%; background: var(--oak-hi); transform: scaleX(0); transform-origin: left; }
.cfg__side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 20px; min-height: 0; }
.cfg__photo { min-height: 0; }
.cfg__photo .ph { position: absolute; inset: 0; }
.cfg__pic { position: absolute; inset: 0; display: none; }
.cfg__pic.is-on { display: block; }
.cfg__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cfg__copy h3 { color: #fff; margin-bottom: .3em; }
.cfg__copy p { color: var(--muted-d); margin: 0 0 4px; min-height: 3.2em; line-height: 1.5; }
.cfg-scale path { fill: none; stroke: var(--silver); stroke-width: 1; }
.cfg-scale rect { fill: var(--silver); }
.cfg-scale text, .cfg-tx--s { fill: var(--silver); font-family: var(--f-b); font-weight: 600; }
.cfg-dim--s { stroke: var(--silver); }
.cfg__copy .link { color: var(--oak-hi); }
@media (max-width: 900px) {
  .cfg__tabs { grid-template-columns: 1fr 1fr; }
  .cfg__tab:nth-child(3) { border-left: 0; }
  .cfg__tab:nth-child(n+3) { border-top: 1px solid rgba(183, 205, 225, .2); }
  .cfg__tab { border-radius: 0 !important; min-height: 52px; padding: 8px 14px; }
  .cfg__stage { grid-template-columns: 1fr; height: auto; }
  .cfg__draw { flex: none; height: 270px; padding: 12px 8px 4px; }
  .cfg__sheet { flex-direction: column; }
  .cfg__tb { position: static; width: auto; grid-template-columns: 1fr 1fr; border: 0; border-radius: 0; border-top: 1px solid rgba(183, 205, 225, .24); }
  .cfg__tb > div { border-bottom: 0; }
  .cfg__tb > div + div { border-left: 1px solid rgba(183, 205, 225, .2); }
  .cfg__tb > div:nth-child(3) { display: none; }
  .cfg__side { grid-template-rows: auto auto; }
  .cfg__photo { aspect-ratio: 4 / 3; }
}

/* ---------- PRICE COMPARE ---------- */
.pc { position: relative; background: rgba(255, 255, 255, .78); border: 1px solid rgba(126, 85, 48, .22); border-radius: var(--r); padding: 18px clamp(18px, 2.4vw, 32px) 36px; --nw: clamp(200px, 22%, 290px); }
.pc__axis { position: relative; height: 26px; margin-left: var(--nw); }
.pc__axis span { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); font-size: .875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.pc__axis span:first-child { transform: none; } .pc__axis span:last-child { transform: translateX(-100%); }
.pc__rows { list-style: none; margin: 0; padding: 0; position: relative; }
.pc__track { background: linear-gradient(90deg, transparent calc(100% - 1px), rgba(126, 85, 48, .22) 0), repeating-linear-gradient(90deg, rgba(126, 85, 48, .22) 0 1px, transparent 1px 20%); }
.pc__row { display: grid; grid-template-columns: var(--nw) minmax(0, 1fr); align-items: center; min-height: 66px; text-decoration: none; color: var(--text); border-top: 1px solid rgba(126, 85, 48, .16); position: relative; }
.pc__name { padding-right: 18px; }
.pc__name b { display: block; font: 400 1.4rem/1.1 var(--f-d); transition: color .3s; }
.pc__name small { display: block; font-size: .9rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
a.pc__row:hover .pc__name b, a.pc__row:focus-visible .pc__name b { color: var(--oak-deep); }
.pc__track { position: relative; height: 66px; }
.pc__band { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 50%; height: 14px; margin-top: -7px; background: var(--graphite); border-radius: 2px; transform-origin: left; overflow: hidden; }
.pc__band::before, .pc__band::after { content: ''; position: absolute; top: -4px; bottom: -4px; width: 2px; background: inherit; }
.pc__lab { position: absolute; left: calc(var(--b) + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1rem; }
.pc__row.is-me { background: linear-gradient(90deg, rgba(181, 129, 79, .14), rgba(181, 129, 79, .04)); margin: 0 calc(clamp(18px, 2.4vw, 32px) * -1); padding: 0 clamp(18px, 2.4vw, 32px); grid-template-columns: var(--nw) minmax(0, 1fr); }
.pc__row.is-me .pc__name b { color: var(--oak-deep); font-size: 1.6rem; }
.pc__row.is-me .pc__band { background: var(--oak); height: 22px; margin-top: -11px; }
.pc__row.is-me .pc__band i { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -150% 0 / 200% 100% no-repeat; animation: pcSheen 3.8s var(--ease) infinite; }
@keyframes pcSheen { 0%, 20% { background-position: -150% 0; } 80%, 100% { background-position: 250% 0; } }
.rm .pc__row.is-me .pc__band i { animation: none; }
.pc__row.is-me .pc__lab { font-size: 1.15rem; color: var(--oak-deep); }
a.pc__row:hover .pc__band { background: var(--oak-deep); }
.pc__row.is-hit .pc__band { background: var(--oak-deep); }
.pc__row.is-hit .pc__name b { color: var(--oak-deep); }
.pc__row.is-me.is-hit .pc__band { background: var(--oak); }
.pc__read { position: absolute; top: 44px; bottom: 34px; left: 0; width: 1px; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 2; }
.pc__read i { position: absolute; inset: 0; background: var(--ink); }
.pc__read span { position: absolute; bottom: -28px; left: 0; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; padding: 2px 8px; border-radius: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc.is-reading .pc__read { opacity: 1; }
.pc__foot { margin-top: clamp(24px, 2.6vw, 36px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.pc__foot p { margin: 0; flex: 1 1 420px; color: var(--muted); }
@media (max-width: 900px) {
  .pc { --nw: 0px; padding: 14px 16px 6px; }
  .pc__axis { margin-left: 0; }
  .pc__row { grid-template-columns: 1fr; padding-top: 12px; }
  .pc__row.is-me { margin: 0 -16px; padding: 12px 16px 0; grid-template-columns: 1fr; }
  .pc__name { padding: 0; position: relative; z-index: 1; }
  .pc__name b { font-size: 1.3rem; }
  .pc__track { height: 56px; margin-top: 6px; }
  .pc__band { top: 38px; }
  .pc__lab { font-size: .95rem; top: 4px; transform: none; left: min(var(--a), calc(100% - 8.4em)); }
  .pc__row.is-me .pc__band { top: 38px; }
  .pc__axis span { font-size: .875rem; }
  .pc__row.is-me .pc__lab { font-size: 1rem; }
  .pc__read { display: none; }
}

/* ---------- BOOK ---------- */
.mt-card { position: relative; }
.mt-card__dim { position: absolute; left: clamp(22px, 3vw, 44px); right: clamp(22px, 3vw, 44px); top: 14px; height: 9px; pointer-events: none; }
.mt-card__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--oak); transform-origin: center; transform: scaleX(var(--d, 1)); }
.mt-card__dim::after { content: ''; position: absolute; inset: 0; border-left: 1px solid var(--oak); border-right: 1px solid var(--oak); }
.mt-book .card-form h3 { margin-top: 8px; }

/* ---------- SWATCH FAN DECK (shared component: swatch.css) ---------- */
.mt-deck { padding: clamp(64px, 6.5vw, 100px) 0; }
.mt-deck .sec__head { margin-bottom: clamp(24px, 2.8vw, 40px); }
.mt-deck__foot { margin: clamp(20px, 2.4vw, 32px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; color: var(--muted-d); padding-top: 18px; border-top: 1px solid rgba(183, 205, 225, .2); }
.mt-deck__foot .link { color: var(--oak-hi); }
.mt-facts .mt-facts__fig { white-space: nowrap; }
