/* Style pages (inc/style.php). Plan: _work/site-plan.md "Style pages"; design plan: drawn to measure, 8px / 3px. */
.wf .st-open__copy, .wf .st-sheet, .wf .st-facts { visibility: hidden; }

/* ---------- OPENER: photo band, the window drawn to measure, a title-block strip of facts ---------- */
.st-open { position: relative; overflow: clip; isolation: isolate; min-height: max(68vh, 580px); display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--hdr) + clamp(28px, 3vw, 48px)); background: var(--graphite); color: var(--silver-hi); }
.st-open__ph { position: absolute; inset: 0 0 0 42%; z-index: -3; overflow: clip; }
.st-open__ph img { position: absolute; inset: -8% 0; height: 116%; }
.st-open__ph img { width: 100%; object-fit: cover; object-position: 50% 45%; }
.st-open__wash { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, var(--graphite) 0%, var(--graphite) 41%, rgba(28, 33, 37, .5) 48%, rgba(28, 33, 37, .06) 62%, rgba(28, 33, 37, 0) 100%),
    linear-gradient(0deg, rgba(20, 24, 27, .6) 0%, rgba(20, 24, 27, 0) 30%); }
/* drafting grid over the solid graphite side only */
.st-open::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 46%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(183, 192, 198, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .07) 1px, transparent 1px),
    linear-gradient(rgba(183, 192, 198, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 192, 198, .03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask: linear-gradient(90deg, #000 60%, transparent); mask: linear-gradient(90deg, #000 60%, transparent); animation: gridDrift 40s linear infinite; }
.rm .st-open::before { animation: none; }
.st-open__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-bottom: clamp(24px, 3vw, 40px); }
.st-crumb { font-size: .9rem; color: var(--muted-d); margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.st-crumb a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; color: var(--silver-hi); text-decoration: none; }
.st-crumb a:hover { color: var(--oak-hi); }
.st-crumb [aria-current] { color: var(--oak-hi); }
.st-h { font-size: clamp(2.4rem, 3.9vw, 4.2rem); line-height: 1.03; color: #fff; margin-bottom: .4em; }
.st-h em { display: block; color: var(--oak-hi); }
.st-lede { font-size: clamp(1.06rem, 1.2vw, 1.2rem); line-height: 1.6; color: var(--silver-hi); margin: 0 0 clamp(22px, 2.4vw, 32px); }

.st-sheet { position: relative; z-index: 2; margin: 0; justify-self: start; align-self: end; width: min(100%, 330px); background-color: rgba(21, 48, 74, .86);
  background-image: linear-gradient(rgba(183, 205, 225, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 205, 225, .1) 1px, transparent 1px),
    linear-gradient(rgba(183, 205, 225, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 205, 225, .045) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  border: 1px solid rgba(183, 205, 225, .35); border-radius: var(--r); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(4px); transform-style: preserve-3d; }
.st-sheet__hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(183, 205, 225, .22); }
.st-sheet__rd { min-width: 19ch; text-align: right; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--oak-hi); }
.st-sheet__dw { padding: 10px 14px 4px; }
.st-sheet__dw svg { width: 100%; height: auto; max-height: min(28vh, 250px); overflow: visible; display: block; margin: 0 auto; }
.st-sheet__tb { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 16px 13px; border-top: 1px solid rgba(183, 205, 225, .22); }
.st-sheet__tb b { font: 400 1.15rem/1.2 var(--f-d); color: #fff; }

/* drawing strokes */
.sd .sd-out { fill: rgba(227, 232, 235, .04); stroke: var(--silver-hi); stroke-width: 1.7; stroke-linejoin: round; }
.sd .sd-pn { fill: none; stroke: var(--silver); stroke-width: 1; }
.sd .sd-raise { stroke: rgba(183, 205, 225, .6); }
.sd .sd-lv { fill: rgba(183, 205, 225, .5); }
.sd .sd-glz { fill: none; stroke: rgba(183, 205, 225, .45); stroke-width: .8; }
.sd .sd-wall { fill: none; stroke: rgba(183, 205, 225, .5); stroke-width: 1.2; stroke-dasharray: 5 4; }
.sd .sd-arc { fill: none; stroke: rgba(183, 205, 225, .35); stroke-width: .8; stroke-dasharray: 3 3; }
.sd .sd-dim { fill: none; stroke: var(--oak-hi); stroke-width: 1.1; }
.sd .sd-track { fill: none; stroke: var(--oak-hi); stroke-width: 2.2; stroke-linecap: round; }
.sd .sd-blind { fill: rgba(8, 18, 28, .78); }
.sd .sd-tx { fill: var(--oak-hi); font: 600 11px var(--f-b); letter-spacing: .04em; }
.sd .sd-tx--note { fill: var(--silver); }
.sd .sd-laser { fill: var(--oak-hi); filter: drop-shadow(0 0 4px rgba(201, 150, 104, .9)); opacity: 0; }
.sd .sd-leaf--plan .sd-pn { stroke: var(--silver-hi); stroke-width: 2.2; stroke-linecap: round; }

/* facts: the drawing sheet's title block, run across the foot of the opener */
.st-facts { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(20, 24, 27, .9); border-top: 1px solid rgba(183, 192, 198, .24); backdrop-filter: blur(6px); }
.st-facts li { padding: 15px 20px 16px; min-width: 0; border-left: 1px solid rgba(183, 192, 198, .18); }
.st-facts li:first-child { border-left: 0; padding-left: 0; }
.st-facts .k { margin-bottom: 5px; }
.st-facts b { display: block; font: 400 clamp(1.1rem, 1.35vw, 1.35rem)/1.2 var(--f-d); color: #fff; }
.st-facts__tel a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; font: 400 clamp(1.1rem, 1.35vw, 1.35rem)/1.2 var(--f-d); color: var(--oak-hi); text-decoration: none; font-variant-numeric: lining-nums; }
.st-facts__tel a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  /* phones and tablets: the job photo is a band across the top, the title and drawing sit under it */
  .st-open { min-height: 0; justify-content: flex-start; padding-top: var(--hdr); --phh: min(58vw, 420px); }
  .st-open__ph { position: relative; inset: auto; order: -1; height: var(--phh); flex: none; }
  .st-open__ph::after { content: "";  position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(0deg, rgba(28, 33, 37, .9), rgba(28, 33, 37, 0)); }
  .st-open__wash { inset: var(--phh) 0 0; background: var(--graphite); }
  .st-open::before { width: 100%; top: var(--phh); }
  .st-open__grid { padding-top: 6px; }
  .st-open__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .st-sheet { justify-self: stretch; align-self: auto; width: 100%; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st-sheet__hd { grid-column: 1 / -1; }
  .st-sheet__dw svg { max-height: 200px; }
  .st-sheet__tb { flex-direction: column; justify-content: center; align-items: flex-start; border-top: 0; border-left: 1px solid rgba(183, 205, 225, .22); }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .st-facts li:nth-child(n+3) { border-top: 1px solid rgba(183, 192, 198, .18); }
  .st-facts li { padding: 12px 14px; }
}
@media (max-width: 600px) {
  .st-h { font-size: clamp(2.2rem, 9.6vw, 3rem); }
  .st-open .btns { flex-direction: column; align-items: stretch; }
  .st-sheet { grid-template-columns: 1fr; }
  .st-sheet__tb { border-left: 0; border-top: 1px solid rgba(183, 205, 225, .22); flex-direction: row; justify-content: space-between; align-items: baseline; }
  .st-sheet__dw svg { max-height: 190px; }
}

/* ---------- WHY ---------- */
.st-why { padding: clamp(52px, 5vw, 84px) 0; }
.st-why__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.st-why__txt h2 { margin-bottom: 22px; }
.st-why__txt > p:not(.lede) { color: var(--muted); }
.st-pts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.st-pt { position: relative; padding: 14px 0 12px; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 18px; align-items: baseline; }
.st-pt:last-child { border-bottom: 1px solid rgba(21, 48, 74, .2); }
.st-pt__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(21, 48, 74, .2); }
.st-pt__rule::before { content: ''; position: absolute; inset: -1px auto -1px 0; width: 100%; background: var(--oak-deep); transform: scaleX(var(--s, .12)); transform-origin: left; }
.st-pt h3 { font-size: clamp(1.1rem, 1.3vw, 1.3rem); margin: 0; }
.st-pt p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--muted); }
.st-why__pics { position: relative; padding: 0 0 clamp(60px, 7vw, 100px) 0; }
.st-why__a { width: 100%; }
.st-why__a .ph { aspect-ratio: 4 / 3.3; }
.st-why__b { position: absolute; left: clamp(-36px, -2.4vw, -16px); bottom: 0; width: 46%; margin: 0; z-index: 2; }
.st-why__b .ph { aspect-ratio: 4 / 3; outline: 6px solid var(--paper); box-shadow: 0 26px 50px rgba(21, 48, 74, .25); }
.st-why__b figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 7px 11px; background: rgba(28, 33, 37, .88); border-radius: calc(var(--r) - 4px); font-size: .875rem; line-height: 1.35; color: #fff; font-weight: 500; }
.st-why__icon { position: absolute; right: -14px; bottom: 6px; width: clamp(90px, 9vw, 130px); z-index: 1; }
.st-why__icon svg path, .st-relc__ic svg path { fill: none; stroke: var(--oak-deep); stroke-width: 2.4; stroke-linejoin: round; }
@media (max-width: 600px) { .st-pt { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 900px) {
  .st-why__grid { grid-template-columns: minmax(0, 1fr); }
  .st-why__pics { padding-bottom: 80px; }
  .st-why__b { left: 0; width: 56%; }
  .st-why__a { width: 92%; }
}

/* ---------- GALLERY FILMSTRIP ---------- */
.st-gal { padding: clamp(56px, 5vw, 76px) 0; }
.st-gal .sec__head { margin-bottom: clamp(24px, 2.6vw, 36px); }
.st-gal__head { align-items: end; }
.st-gal__meta .lede { margin: 0 0 16px; }
.st-gal__ctl { display: flex; align-items: center; gap: 10px; }
.st-gal__n { font: 400 1.5rem/1 var(--f-d); color: #fff; font-variant-numeric: tabular-nums lining-nums; margin-right: auto; }
.st-gal__n b { font-weight: 400; color: var(--oak-hi); }
.st-gal__ctl button { width: 48px; height: 48px; border: 1px solid rgba(183, 205, 225, .4); border-radius: var(--rb); background: transparent; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.st-gal__ctl button:hover, .st-gal__ctl button:focus-visible { background: var(--oak); border-color: var(--oak); }
.st-gal__ctl button:hover path, .st-gal__ctl button:focus-visible path { stroke: var(--graphite); }
.st-gal__ctl svg { width: 16px; height: 12px; } .st-gal__ctl svg path { fill: none; stroke: var(--silver-hi); stroke-width: 1.6; }
.st-gal__track { overflow: hidden; cursor: grab; outline-offset: -3px; touch-action: pan-y; }
.st-gal__track.is-drag { cursor: grabbing; }
.st-gal__row { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.st-slide { --h: clamp(260px, 47vh, 480px); margin: 0; flex: none; width: min(calc(var(--h) * var(--ar, 1.333)), 78vw); transition: opacity .6s var(--ease); }
.st-slide__ph { position: relative; width: 100%; aspect-ratio: var(--ar, 1.333); border-radius: var(--r); overflow: hidden; background: var(--ink-2); border: 1px solid rgba(183, 205, 225, .22); }
.st-slide__ph img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.st-gal__cap { display: flex; gap: 14px; align-items: baseline; margin: 14px 0 0; min-height: 2.7em; font-size: .97rem; line-height: 1.35; color: var(--silver-hi); }
.st-gal__cap [data-gal-capn] { font-weight: 600; color: var(--oak-hi); font-variant-numeric: tabular-nums; }
.js .st-slide:not(.is-on) { opacity: .5; }
.st-gal__bar { margin-top: 18px; height: 2px; background: rgba(183, 205, 225, .18); position: relative; overflow: hidden; }
.st-gal__bar i { position: absolute; inset: 0; background: var(--oak-hi); transform: scaleX(0); transform-origin: left; }
.no-js .st-gal__track, .rm .st-gal__track { overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .st-slide, .rm .st-slide { scroll-snap-align: start; opacity: 1 !important; }
@media (max-width: 700px) { .st-slide { width: 84vw; } .st-slide__ph { aspect-ratio: 4 / 3; } }

/* ---------- RANGES ---------- */
.st-rng__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-rng__row { display: grid; grid-template-columns: 40px max-content minmax(0, 1fr) max-content minmax(150px, max-content); gap: 18px; align-items: center;
  padding: 14px 20px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(126, 85, 48, .2); border-radius: var(--r); text-decoration: none; color: var(--text);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; position: relative; overflow: hidden; }
a.st-rng__row::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
a.st-rng__row:hover, a.st-rng__row:focus-visible { transform: translateX(6px); border-color: var(--oak); box-shadow: 0 16px 34px rgba(126, 85, 48, .14); }
a.st-rng__row:hover::after, a.st-rng__row:focus-visible::after { transform: scaleX(1); }
.st-rng__ok { width: 34px; height: 34px; display: grid; place-items: center; border: 1.4px solid var(--oak-deep); border-radius: var(--rb); }
.st-rng__ok svg { width: 18px; height: 18px; } .st-rng__ok path { fill: none; stroke: var(--oak-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-rng__name b { display: block; font: 400 1.45rem/1.1 var(--f-d); }
.st-rng__name small { display: block; font-size: .9rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
@media (min-width: 1001px) { .st-rng__name small { white-space: nowrap; } .st-rng__name { min-width: 250px; } }
.st-rng__chips { display: flex; align-items: center; gap: 0; }
.st-rng__chips i { width: 26px; height: 40px; margin-right: -7px; border-radius: 3px; background-size: cover; box-shadow: 0 2px 6px rgba(21, 48, 74, .2), inset 0 0 0 1px rgba(21, 48, 74, .12); transform: rotate(var(--rt, 0deg)); transform-origin: 50% 100%; }
.st-rng__chips em { font-style: normal; font-size: .875rem; font-weight: 600; color: var(--muted); margin-left: 16px; white-space: nowrap; }
.st-rng__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.st-rng__price small { font-weight: 500; color: var(--muted); font-size: .9rem; }
.st-rng__say { font-size: .92rem; font-weight: 600; color: var(--oak-deep); text-align: right; }
.st-rng__row.is-off { background: rgba(255, 255, 255, .4); border-style: dashed; }
.st-rng__row.is-off .st-rng__ok { border-color: rgba(75, 85, 92, .5); } .st-rng__row.is-off .st-rng__ok path { stroke: var(--muted); }
.st-rng__row.is-off .st-rng__chips { opacity: .45; filter: grayscale(.6); }
.st-rng__row.is-off .st-rng__say, .st-rng__row.is-off .st-rng__name b { color: var(--muted); }
.st-rng__foot { margin-top: clamp(24px, 2.6vw, 36px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.st-rng__foot p { margin: 0; color: var(--muted); flex: 1 1 380px; }
@media (max-width: 1000px) {
  .st-rng__row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px 14px; }
  .st-rng__chips { grid-column: 2 / -1; grid-row: 2; }
  .st-rng__price { grid-column: 3; grid-row: 1; text-align: right; }
  .st-rng__say { grid-column: 2 / -1; grid-row: 3; text-align: left; }
}
@media (max-width: 600px) {
  .st-rng__row { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 16px; }
  .st-rng__price { grid-column: 2; grid-row: 2; text-align: left; }
  .st-rng__chips { grid-row: 3; }
  .st-rng__say { grid-row: 4; }
}

/* ---------- QUESTIONS ---------- */
.st-faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.st-faq__side { position: sticky; top: calc(var(--hdr) + 24px); }
.st-faq__side .lede { margin: 18px 0 26px; }
.st-faq__side .lede a { color: var(--oak-deep); font-weight: 600; white-space: nowrap; }
.st-faq__ph .ph { aspect-ratio: 16 / 10; }
.st-faq__ph .ph img { animation: stPush 14s ease-in-out infinite alternate; }
@keyframes stPush { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
.rm .st-faq__ph .ph img { animation: none; }
.st-acc { border-top: 1px solid rgba(21, 48, 74, .18); }
.st-q { border-bottom: 1px solid rgba(21, 48, 74, .18); }
.st-q summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 18px; align-items: center; padding: 15px 2px; cursor: pointer; font: 400 clamp(1.15rem, 1.4vw, 1.4rem)/1.25 var(--f-d); }
.st-q summary::-webkit-details-marker { display: none; }
.st-q summary:hover { color: var(--oak-deep); }
.st-q summary i { position: relative; width: 30px; height: 30px; border: 1.3px solid rgba(26, 31, 35, .35); border-radius: var(--rb); transition: background .3s, border-color .3s; }
.st-q summary i::before, .st-q summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.st-q summary i::after { transform: rotate(90deg); }
.st-q[open] summary i { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.st-q[open] summary i::after { transform: rotate(0deg); }
.st-q__a { overflow: hidden; }
.st-q__a p { margin: 0; padding: 0 48px 18px 2px; color: var(--muted); }
.st-faq { padding: clamp(56px, 5.5vw, 84px) 0; }
@media (max-width: 900px) { .st-faq__grid { grid-template-columns: minmax(0, 1fr); } .st-faq__side { position: static; } .st-faq__ph { display: none; } .st-q__a p { padding-right: 0; } }

/* ---------- RELATED ---------- */
.st-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.st-relc { position: relative; display: block; text-decoration: none; color: var(--text); }
.st-relc .frame, .st-relc .ph { display: block; }
.st-relc .ph { aspect-ratio: 4 / 3; }
.st-relc .ph img { transition: transform 1.1s var(--ease); }
.st-relc:hover .ph img, .st-relc:focus-visible .ph img { transform: scale(1.06); }
.st-relc__ic { position: absolute; right: 12px; top: 12px; z-index: 3; width: 58px; height: 58px; padding: 6px; background: rgba(247, 247, 244, .94); border-radius: calc(var(--r) - 3px); box-shadow: 0 8px 20px rgba(21, 48, 74, .18); }
.st-relc__ic svg { width: 100%; height: 100%; }
.st-relc__ic svg path { stroke-width: 3.2; }
.st-relc__t { display: block; padding-top: 18px; }
.st-relc__t b { display: block; font: 400 clamp(1.35rem, 1.6vw, 1.7rem)/1.15 var(--f-d); margin-bottom: 6px; transition: color .3s; }
.st-relc:hover .st-relc__t b { color: var(--oak-deep); }
.st-relc__t span { display: block; color: var(--muted); font-size: .97rem; line-height: 1.5; }
@media (max-width: 800px) { .st-rel__grid { grid-template-columns: 1fr; } .st-relc { display: grid; grid-template-columns: 40% 1fr; gap: 16px; align-items: start; } .st-relc__t { padding-top: 0; } .st-relc__ic { width: 44px; height: 44px; right: auto; left: calc(40% - 52px); } }
