:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--text-body)/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #9c7954; outline-offset: 4px; }
::selection { color: var(--white); background: var(--wood); }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: clamp(72px, 9vw, 132px); }
.section-pad-small { padding-block: clamp(56px, 7vw, 88px); }
.section-muted { background: var(--paper-dark); }
.home-materials { padding-bottom: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, .quote-text { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 26px; font-size: var(--heading-page); line-height: .99; }
h2 { margin-bottom: 22px; font-size: var(--heading-section); line-height: 1.04; }
h3 { margin-bottom: 9px; font-size: 19px; line-height: 1.25; font-weight: 500; }
p { margin-bottom: 18px; }
.lead { max-width: 640px; color: #55534d; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; }
.eyebrow { margin-bottom: 17px; color: var(--wood); font-size: 14.3px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: #d4c4ae; }
.section-aside { max-width: 390px; align-self: end; color: var(--muted); }
.page-lead { max-width: 680px; margin-bottom: 0; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border: 1px solid transparent; border-radius: 2px; font-size: var(--text-small); font-weight: 600; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--wood-deep); }
.button-outline { border-color: #999186; color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-paper { color: var(--ink); background: var(--paper); }
.button-paper:hover { background: var(--white); }
.button-quiet { border-color: var(--line); background: transparent; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 5px; border-bottom: 1px solid #aaa397; font-size: var(--text-body); font-weight: 600; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 31px; }

/* The shared header is inserted by scripts/site.js so every page stays in step. */
#site-header { position: sticky; z-index: 30; top: 0; }
.site-header { position: relative; border-bottom: 1px solid rgba(60, 55, 48, .18); background: rgba(245, 243, 238, .98); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 82px; align-items: center; gap: 30px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--wood); border-radius: 50%; color: var(--wood); }
.brand-mark::before { width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.brand-mark::after { position: absolute; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.brand-copy { display: grid; gap: 2px; line-height: 1.1; }
.brand-title { font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.brand-subtitle { color: var(--muted); font-family: var(--serif); font-size: var(--text-small); font-style: italic; }
.top-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(13px, 2vw, 29px); }
.top-nav a { position: relative; padding-block: 8px; color: #535149; font-size: var(--text-small); white-space: nowrap; }
.top-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--wood); content: ""; transition: transform .2s ease; }
.top-nav a:hover::after, .top-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.header-phone { display: grid; line-height: 1.25; text-align: right; }
.header-phone strong { font-size: var(--text-small); font-weight: 650; white-space: nowrap; }
.header-phone span { color: var(--muted); font-size: 10px; }
.header-cta { min-height: 42px; padding-inline: 14px; font-size: 11px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }

.intro-band { border-block: 1px solid var(--line); }
.intro-band-grid { display: grid; grid-template-columns: .65fr 1.4fr auto; align-items: center; gap: 30px; }
.intro-band-grid .eyebrow { margin: 0; }
.intro-statement { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); line-height: 1.25; }

.section-heading { margin-bottom: 44px; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading .section-aside { margin-bottom: 4px; }
.wood-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.wood-card { position: relative; display: flex; min-height: 255px; flex-direction: column; justify-content: space-between; padding: 25px; border-right: 1px solid var(--line); background: #eeeae1; transition: background .25s ease, color .25s ease; }
.wood-card:last-child { border-right: 0; }
.wood-card:hover { background: #ded5c8; }
.wood-card-featured { background: linear-gradient(155deg, #e7ddcf, #d6c2a9); }
.wood-card-dark { color: var(--white); background: #4b4237; }
.wood-card-dark:hover { background: #39332c; }
.wood-card-light { background: #f9f7f1; }
.wood-number { color: var(--wood); font-size: 10px; letter-spacing: .12em; }
.wood-card-dark .wood-number { color: #d7c2a7; }
.wood-name { margin-top: auto; padding-top: 43px; font-family: var(--serif); font-size: 35px; }
.wood-description { max-width: 210px; margin-top: 7px; color: var(--muted); font-size: var(--text-small); }
.wood-card-dark .wood-description { color: #d0c7ba; }
.wood-arrow { position: absolute; right: 25px; bottom: 27px; font-size: 18px; }
.section-link-row { display: flex; justify-content: flex-end; margin-top: 24px; }

.home-gallery { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 245px 245px; gap: 17px; }
.gallery-card, .portfolio-item { position: relative; overflow: hidden; margin: 0; background: #ddd5c9; }
.gallery-card img, .portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img, .portfolio-item:hover img { transform: scale(1.025); }
.gallery-tall { grid-row: span 2; }
.gallery-tall img { object-position: 53% center; }
.gallery-wide img { object-position: center; }
.gallery-card figcaption, .portfolio-item figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: rgba(245, 243, 238, .94); font-size: 11px; }
.gallery-card figcaption span:first-child, .portfolio-item figcaption span:first-child { color: var(--wood); font-weight: 700; }
.portfolio-item figcaption span:first-child::before { content: "• "; }
.gallery-card figcaption span:last-child, .portfolio-item figcaption span:last-child { color: #55534d; text-align: right; }

.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 140px); }
.process-intro { max-width: 400px; }
.process-intro p:not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 21px 0; border-top: 1px solid var(--line); }
.process-count { color: var(--wood); font-family: var(--serif); font-size: 18px; }
.process-list p, .principle-grid p { max-width: 540px; margin: 0; color: var(--muted); font-size: var(--text-small); }
.process-list h3 { margin-bottom: 6px; }

.wood-callout { position: relative; overflow: hidden; color: var(--white); background: var(--wood-deep); }
.wood-callout::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 32, 25, .94), rgba(43, 35, 27, .77) 50%, rgba(43, 35, 27, .55)), url("../assets/wood-grain-concept.png") center / cover; content: ""; }
.wood-callout-inner { position: relative; display: flex; min-height: 360px; align-items: center; justify-content: space-between; gap: 42px; padding-block: 67px; }
.wood-callout h2 { margin-bottom: 17px; }
.wood-callout p:not(.eyebrow) { max-width: 490px; color: #e0d8cc; }
.wood-callout .button { flex: 0 0 auto; }

.faq-preview, .faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 100px); }
.faq-preview > div:first-child .section-aside { margin-bottom: 25px; }
.faq-lines { border-top: 1px solid var(--line); }
.faq-lines details { border-bottom: 1px solid var(--line); }
.faq-lines summary { position: relative; padding: 20px 38px 20px 0; font-family: var(--serif); font-size: 19px; cursor: pointer; list-style: none; }
.faq-lines summary::-webkit-details-marker { display: none; }
.faq-lines summary::after { position: absolute; top: 20px; right: 2px; color: var(--wood); font-family: var(--sans); font-size: 19px; content: "+"; }
.faq-lines details[open] summary::after { content: "−"; }
.faq-lines details p { max-width: 700px; margin: -2px 35px 20px 0; color: var(--muted); font-size: var(--text-reading); }

.page-hero { padding-bottom: 48px; }
.page-hero h1 { margin-bottom: 23px; }
.page-hero::after { display: block; width: min(var(--container), calc(100% - 64px)); height: 1px; margin: 50px auto 0; background: var(--line); content: ""; }
.about-grid, .material-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.about-photo, .material-feature-image { margin: 0; }
.about-photo img { width: 100%; height: 590px; object-fit: cover; object-position: center; }
.about-photo figcaption, .material-feature-image figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; }
.about-copy { max-width: 500px; }
.about-copy p:not(.eyebrow) { color: #5d5a53; }
.about-copy .button { margin-top: 17px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.principle-grid article { min-height: 190px; padding: 25px 22px; border: 1px solid var(--line); background: rgba(255, 254, 250, .38); }
.principle-grid h3 { margin: 28px 0 8px; }
.quote-panel { max-width: 800px; }
.quote-text { margin: 20px 0 28px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15; }

.material-feature { align-items: stretch; }
.material-feature-copy { align-self: center; max-width: 480px; }
.material-feature-copy p:not(.eyebrow) { color: var(--muted); }
.material-feature-copy .button { margin-top: 15px; }
.material-feature-image { position: relative; min-height: 440px; overflow: hidden; background: #d2bda4; }
.material-feature-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.material-feature-image figcaption { position: absolute; right: 14px; bottom: 12px; left: 14px; width: fit-content; margin: 0; padding: 8px 10px; background: rgba(245, 243, 238, .9); }
.material-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.material-photo { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--white); }
.material-photo img { width: 100%; height: 190px; object-fit: cover; }
.material-photo figcaption { display: grid; gap: 7px; padding: 15px; }
.material-photo strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.material-photo figcaption span { min-height: 34px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.material-photo figcaption small { color: var(--wood); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.material-photo-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.specs-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 50px; }
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.spec-cards div { display: grid; min-height: 165px; align-content: center; justify-items: center; gap: 10px; padding: 20px; border-right: 1px solid var(--line); text-align: center; }
.spec-cards div:last-child { border-right: 0; }
.spec-cards strong { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 29px); font-weight: 400; }
.spec-cards span { color: var(--muted); font-size: var(--text-small); }

.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 330px; gap: 20px; }
.portfolio-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); color: var(--muted); background: var(--paper); }
.portfolio-large { grid-row: span 2; }
.portfolio-wide { grid-column: span 2; }
.portfolio-large img { object-position: center 40%; }
.portfolio-note { max-width: 760px; }
.portfolio-note h2 { margin-bottom: 18px; }
.portfolio-note p:not(.eyebrow) { max-width: 480px; margin-bottom: 26px; color: var(--muted); }

.quiz-section { padding-top: 18px; }
.quiz-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(36px, 7vw, 92px); }
.quiz-aside { position: sticky; top: 115px; max-width: 390px; }
.quiz-aside h2 { font-size: clamp(39px, 4vw, 53px); }
.quiz-aside > p:not(.eyebrow) { color: var(--muted); }
.quiz-aside-note { display: flex; align-items: center; gap: 14px; margin: 25px 0; padding: 15px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.quiz-aside-note .note-mark { color: var(--wood); font-family: var(--serif); font-size: 20px; }
.quiz-aside-image { height: 190px; overflow: hidden; }
.quiz-aside-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.quiz-card { padding: clamp(24px, 4vw, 46px); border: 1px solid #ded9d0; background: var(--white); box-shadow: 0 18px 50px rgba(51, 42, 33, .06); }
.quiz-top { margin-bottom: 35px; }
.quiz-progress-label { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.quiz-progress-label span:first-child { color: var(--wood); font-weight: 700; }
.progress-track { height: 2px; background: #e4dfd7; }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--wood); transition: width .25s ease; }
.quiz-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-step[hidden] { display: none; }
.quiz-step legend { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(26px, 3vw, 35px); letter-spacing: -.02em; }
.quiz-hint { margin-bottom: 24px; color: var(--muted); font-size: var(--text-small); }
.choice { position: relative; display: flex; min-height: 57px; align-items: center; gap: 14px; padding: 10px 13px; border-bottom: 1px solid #e5e1da; cursor: pointer; transition: background .15s ease; }
.choice:hover { background: #f8f6f1; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-check { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border: 1px solid #b9b2a6; border-radius: 50%; }
.choice input:checked + .choice-check { border-color: var(--wood); background: var(--wood); box-shadow: inset 0 0 0 4px var(--white); }
.choice input:focus-visible + .choice-check { outline: 2px solid var(--wood); outline-offset: 3px; }
.choice-arrow { margin-left: auto; color: #625a4e; }
.measure-inputs, .contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-fields { grid-template-columns: 1fr; }
.measure-inputs label, .contact-fields label, .simple-form label { display: grid; gap: 8px; margin-bottom: 13px; color: #656158; font-size: 11px; }
.measure-inputs input, .contact-fields input, .contact-fields textarea, .simple-form input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d8d2c8; border-radius: 0; background: #fffefa; color: var(--ink); font-size: var(--text-small); }
.contact-fields textarea { min-height: 112px; padding-block: 12px; resize: vertical; }
.quiz-comment { margin-top: 18px; color: #656158; font-size: 11px; }
.quiz-comment textarea { min-height: 72px; }
.measure-inputs input::placeholder, .contact-fields input::placeholder, .contact-fields textarea::placeholder, .simple-form input::placeholder { color: #6c665d; }
.check-row { display: inline-flex; align-items: center; gap: 9px; margin-top: 11px; color: var(--muted); font-size: var(--text-small); cursor: pointer; }
.check-row input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--wood); }
.field-note { margin-top: 14px; color: var(--muted); font-size: 11px; }
.quiz-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.quiz-controls [hidden] { display: none; }
.quiz-success { display: grid; min-height: 440px; align-content: center; text-align: center; }
.success-check { display: grid; width: 50px; height: 50px; margin: 0 auto 20px; place-items: center; border: 1px solid var(--wood); border-radius: 50%; color: var(--wood); font-family: Arial, sans-serif; font-size: 20px; line-height: 1; }
.quiz-success h2 { margin-bottom: 14px; font-size: 44px; }
.quiz-success p:not(.eyebrow) { color: var(--muted); }
.narrow-copy { max-width: 800px; }
.narrow-copy p:not(.eyebrow) { max-width: 700px; color: var(--muted); }

.delivery-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(46px, 8vw, 110px); }
.delivery-copy { max-width: 760px; }
.delivery-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.delivery-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.delivery-steps li > span { color: var(--wood); font-family: var(--serif); font-size: 18px; }
.delivery-steps p { margin: 0; color: var(--muted); font-size: var(--text-small); }
.delivery-side { display: grid; align-content: start; }
.delivery-stat { display: grid; gap: 6px; padding: 25px; border: 1px solid var(--line); border-bottom: 0; }
.delivery-stat:last-child { border-bottom: 1px solid var(--line); }
.delivery-stat strong { color: var(--wood); font-family: var(--serif); font-size: 42px; font-weight: 400; }
.delivery-stat span { color: var(--muted); font-size: 11px; }
.split-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 100px); }
.split-content > div:last-child { max-width: 680px; }
.split-content > div:last-child p { color: #5d5a53; }
.call-note { padding-top: 15px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }

.care-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 110px); }
.care-note { position: relative; align-self: start; min-height: 430px; overflow: hidden; padding: 28px; background: #e3ddd2; }
.care-note .care-number { position: relative; z-index: 1; margin: 28px 0 8px; font-family: var(--serif); font-size: clamp(48px, 5vw, 66px); }
.care-note p:not(.eyebrow) { position: relative; z-index: 1; max-width: 240px; color: #625e55; font-size: var(--text-small); }
.care-note img { position: absolute; right: -22px; bottom: -60px; width: 112%; height: 230px; object-fit: cover; mix-blend-mode: multiply; opacity: .78; }
.care-content > h2 { margin-bottom: 30px; }
.care-rule { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid var(--line); }
.care-rule > span { color: var(--wood); font-family: var(--serif); font-size: 17px; }
.care-rule h3 { margin-bottom: 5px; }
.care-rule p { max-width: 640px; margin: 0; color: var(--muted); font-size: var(--text-small); }

.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 8vw, 110px); }
.contact-primary { padding: 25px 0; }
.contact-phone { display: block; margin: 15px 0 6px; font-family: var(--serif); font-size: clamp(31px, 4.5vw, 54px); letter-spacing: -.03em; }
.contact-hours { margin-bottom: 26px; color: var(--muted); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; max-width: 420px; gap: 13px; margin-top: 44px; padding-top: 19px; border-top: 1px solid var(--line); }
.contact-details div { display: grid; gap: 4px; }
.contact-details span { color: var(--muted); font-size: 10px; }
.contact-details strong { font-size: var(--text-small); font-weight: 600; }
.contact-form-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: var(--white); }
.contact-form-card h2 { margin-bottom: 12px; font-size: 38px; }
.contact-form-card > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-small); }
.simple-form { margin-top: 25px; }
.simple-form .button { width: 100%; margin-top: 7px; }
.form-success { display: grid; min-height: 260px; align-content: center; }
.form-success h2 { font-size: 40px; }
.contacts-foot { display: flex; justify-content: space-between; gap: 30px; }
.contacts-foot p { align-self: end; color: var(--muted); text-align: right; }

.site-footer { padding-block: 55px 24px; color: #e8e2d7; background: #28251f; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 44px; padding-bottom: 42px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.footer-brand .brand-mark { border-color: #c2a582; color: #c2a582; }
.footer-brand .brand-title { color: var(--white); }
.footer-brand .brand-subtitle { color: #bcb2a4; }
.footer-about { max-width: 320px; color: #bcb5a9; font-size: var(--text-small); }
.footer-heading { margin-bottom: 13px; color: #c2a582; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { width: fit-content; color: #e1dbd0; font-size: var(--text-small); }
.footer-links a:hover { color: #c2a582; }
.footer-contact { display: grid; align-content: start; gap: 8px; }
.footer-contact a { width: fit-content; color: var(--white); font-family: var(--serif); font-size: 25px; }
.footer-contact span { color: #bcb5a9; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 19px; border-top: 1px solid #4d4840; color: #a8a093; font-size: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 16px; color: #bcb5a9; font-size: 12px; }
.footer-legal a:hover { color: var(--white); }
.legal-content { max-width: 900px; }
.legal-content h1 { max-width: 900px; }
.legal-content h2 { margin: 34px 0 12px; font-size: 25px; }
.legal-content p:not(.eyebrow) { max-width: 850px; }
.cookie-notice { position: fixed; z-index: 80; right: 20px; bottom: 20px; left: 20px; display: flex; width: min(750px, calc(100% - 40px)); align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; padding: 20px 24px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #f3f1ed; box-shadow: 0 12px 40px rgba(36, 35, 31, .2); }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #278cc8; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .button { min-width: 76px; flex: 0 0 auto; }

.case-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
[id="case-list"], [id="case-worries"] { scroll-margin-top: 96px; }
.case-card { display: flex; min-height: 250px; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); background: #f8f6f1; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.case-card:hover { transform: translateY(-3px); border-color: #afa18c; background: var(--white); }
.case-card-kicker { margin-bottom: 24px; color: var(--wood); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.case-card strong { max-width: 340px; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 29px); font-weight: 400; letter-spacing: -.025em; line-height: 1.13; }
.case-card > span:not(.case-card-kicker):not(.case-card-link) { max-width: 350px; margin-top: 12px; color: var(--muted); font-size: var(--text-small); }
.case-card-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--ink); font-size: 11px; font-weight: 650; }
.case-card-link b { color: var(--wood); font-size: 17px; font-weight: 400; }
.case-overview { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(42px, 8vw, 110px); }
.case-overview-copy { max-width: 500px; }
.case-overview-copy p:not(.eyebrow) { color: var(--muted); }
.case-overview-photo { position: relative; margin: 0; }
.case-overview-photo img { width: 100%; height: 520px; object-fit: cover; }
.case-overview-photo figcaption, .case-hero-photo figcaption { padding: 11px 13px; color: var(--muted); background: var(--paper-dark); font-size: 10px; }
.case-hero { padding-top: clamp(42px, 6vw, 78px); padding-bottom: 48px; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); align-items: center; gap: clamp(42px, 7vw, 100px); }
.case-hero-copy { max-width: 620px; }
.case-hero-copy h1 { font-size: clamp(41px, 5.1vw, 66px); }
.case-hero-copy .lead { max-width: 560px; }
.case-hero-copy .button { margin-top: 13px; }
.case-hero-photo { position: relative; margin: 0; overflow: hidden; background: #d8d0c3; }
.case-hero-photo img { width: 100%; height: clamp(400px, 43vw, 560px); object-fit: cover; }
.case-hero-photo-workshop img { object-position: center 48%; }
.case-hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; width: fit-content; max-width: calc(100% - 24px); background: rgba(245, 243, 238, .94); }
.case-hero::after { display: block; width: min(var(--container), calc(100% - 64px)); height: 1px; margin: 50px auto 0; background: var(--line); content: ""; }
.case-worry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); }
.case-worry { min-height: 210px; padding: 21px 0 0; border-top: 1px solid #aaa397; }
.case-worry > span { color: var(--wood); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-worry h3 { max-width: 330px; margin: 25px 0 10px; font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.case-worry > p { max-width: 370px; margin: 0; color: var(--muted); font-size: var(--text-reading); }
.case-solution-layout { display: grid; grid-template-columns: .76fr 1.24fr; align-items: start; gap: clamp(42px, 8vw, 110px); }
.case-solution-layout > div:first-child { max-width: 460px; }
.case-solution-intro { color: var(--muted); }
.case-step-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.case-step-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.case-step-list li > span { color: var(--wood); font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.case-step-list h3 { margin: 0 0 6px; }
.case-step-list p { max-width: 650px; margin: 0; color: var(--muted); font-size: var(--text-small); }
.case-checklist { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); }
.case-checklist h2 { max-width: 470px; font-size: clamp(34px, 4.2vw, 52px); }
.case-check-items { display: grid; align-content: start; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.case-check-items li { position: relative; padding: 15px 0 15px 25px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--text-small); }
.case-check-items li::before { position: absolute; left: 1px; color: var(--wood); font-size: 17px; content: "•"; }
.order-context { max-width: 680px; margin-top: 24px; padding: 15px 18px; border-left: 2px solid var(--wood); color: var(--ink); background: var(--paper-dark); font-size: var(--text-small); }
.order-context[hidden] { display: none; }

@media (max-width: 1120px) {
  .header-inner { gap: 20px; }
  .top-nav { gap: 14px; }
  .top-nav a { font-size: var(--text-small); }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .header-inner { position: relative; min-height: 72px; justify-content: space-between; }
  .menu-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .top-nav { position: absolute; top: 100%; right: -20px; left: -20px; display: none; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .top-nav.is-open { display: grid; gap: 0; }
  .top-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--text-small); }
  .top-nav a::after { display: none; }
  .wood-grid { grid-template-columns: repeat(2, 1fr); }
  .wood-card:nth-child(2) { border-right: 0; }
  .wood-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-band-grid { grid-template-columns: .65fr 1.35fr; }
  .intro-band-grid .text-link { grid-column: 2; }
  .process-layout, .delivery-layout, .care-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-aside { position: static; display: grid; grid-template-columns: 1fr 180px; align-items: start; gap: 0 22px; max-width: none; }
  .quiz-aside .eyebrow, .quiz-aside h2, .quiz-aside > p, .quiz-aside-note { grid-column: 1; }
  .quiz-aside-image { grid-column: 2; grid-row: 1 / span 4; height: 150px; }
  .quiz-aside-note { margin: 9px 0 25px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: span 2; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .text-link { font-size: var(--text-small); }
  .container { width: calc(100% - 36px); }
  .section-pad { padding-block: 72px; }
  .section-pad-small { padding-block: 48px; }
  h1 { font-size: clamp(34px, 10.4vw, 50px); }
  h2 { font-size: clamp(36px, 11vw, 48px); }
  .lead { font-size: 17px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-title { font-size: 10px; }
  .header-actions { display: none; }
  .top-nav { right: -18px; left: -18px; }
  .intro-band-grid { grid-template-columns: 1fr; gap: 14px; }
  .intro-band-grid .text-link { grid-column: auto; }
  .intro-statement { font-size: 26px; }
  .split-heading { display: block; }
  .split-heading .section-aside { margin-top: 18px; }
  .section-heading { margin-bottom: 30px; }
  .wood-card { min-height: 205px; padding: 17px; }
  .wood-name { font-size: 29px; }
  .wood-description { font-size: 10px; }
  .wood-arrow { right: 17px; bottom: 19px; }
  .home-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 205px; gap: 10px; }
  .gallery-tall { grid-column: span 2; grid-row: auto; }
  .gallery-wide { min-height: 205px; }
  .gallery-card figcaption, .portfolio-item figcaption { right: 7px; bottom: 7px; left: 7px; flex-direction: column; gap: 2px; padding: 9px; font-size: 9px; }
  .gallery-card figcaption span:last-child, .portfolio-item figcaption span:last-child { text-align: left; }
  .process-layout, .about-grid, .material-feature, .specs-grid, .delivery-layout, .split-content, .care-layout, .faq-preview, .faq-layout, .contacts-layout { grid-template-columns: 1fr; gap: 34px; }
  .process-list li { grid-template-columns: 38px 1fr; gap: 12px; }
  .wood-callout-inner { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 60px; }
  .wood-callout .button { width: 100%; }
  .page-hero::after { width: calc(100% - 36px); margin-top: 38px; }
  .page-hero { padding-bottom: 24px; }
  .about-photo img { height: 400px; }
  .principle-grid { grid-template-columns: 1fr; gap: 12px; }
  .principle-grid article { min-height: 0; }
  .principle-grid h3 { margin-top: 20px; }
  .material-feature-image, .material-feature-image img { min-height: 300px; }
  .material-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .material-photo img { height: 130px; }
  .material-photo figcaption { gap: 5px; padding: 12px; }
  .material-photo strong { font-size: 19px; }
  .material-photo figcaption span { min-height: 48px; font-size: 10px; }
  .spec-cards { grid-template-columns: 1fr; }
  .spec-cards div { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-cards div:last-child { border-bottom: 0; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 235px; gap: 10px; }
  .portfolio-large { grid-column: span 2; grid-row: auto; }
  .portfolio-wide { grid-column: span 2; }
  .portfolio-note { padding-block: 0; }
  .quiz-section { padding-top: 0; }
  .quiz-aside { grid-template-columns: 1fr 100px; gap: 0 13px; }
  .quiz-aside h2 { font-size: 38px; }
  .quiz-aside-image { grid-column: 2; grid-row: 1 / span 3; height: 130px; }
  .quiz-aside-note { font-size: 10px; }
  .quiz-card { padding: 21px 17px; }
  .quiz-top { margin-bottom: 27px; }
  .quiz-progress-label { font-size: 9px; }
  .quiz-step legend { font-size: 28px; }
  .measure-inputs { grid-template-columns: 1fr; gap: 0; }
  .quiz-controls .button { min-height: 48px; padding-inline: 13px; font-size: 11px; }
  .care-note { min-height: 340px; }
  .care-note img { height: 175px; }
  .contacts-layout { gap: 22px; }
  .contact-primary { padding: 0; }
  .contact-phone { font-size: 36px; }
  .contact-form-card { padding: 24px 18px; }
  .contacts-foot { flex-direction: column; }
  .contacts-foot p { align-self: flex-start; text-align: left; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-main > div:first-child { grid-column: span 2; }
  .footer-contact a { font-size: 19px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-legal { flex-direction: column; gap: 10px; }
  .cookie-notice { right: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); align-items: flex-start; gap: 14px; padding: 16px; }
  .cookie-notice .button { min-width: 58px; min-height: 44px; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 860px) {
  .case-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-overview, .case-hero-grid, .case-solution-layout, .case-checklist { grid-template-columns: 1fr 1fr; gap: 34px; }
  .case-hero-copy h1 { font-size: clamp(38px, 5.4vw, 51px); }
  .case-hero-photo img { height: 440px; }
  .case-worry-grid { gap: 18px; }
}

@media (max-width: 620px) {
  .case-card-grid, .case-overview, .case-hero-grid, .case-worry-grid, .case-solution-layout, .case-checklist { grid-template-columns: 1fr; gap: 20px; }
  .case-card { min-height: 215px; padding: 22px; }
  .case-card-kicker { margin-bottom: 20px; }
  .case-overview-photo img { height: 340px; }
  .case-hero { padding-top: 30px; }
  .case-hero-copy h1 { font-size: clamp(38px, 9.6vw, 54px); }
  .case-hero-photo img { height: 370px; }
  .case-hero::after { width: calc(100% - 36px); margin-top: 38px; }
  .case-worry { min-height: 0; padding-bottom: 8px; }
  .case-worry h3 { margin-top: 17px; }
  .case-checklist h2 { font-size: 37px; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  html { scroll-behavior: auto; }
  body { color: #24231f; background: #fffefa; font-size: 10.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #site-header { position: static; }
  .site-header { position: static; background: #f5f3ee; backdrop-filter: none; }
  .header-inner { min-height: 48px; }
  .top-nav, .menu-toggle, .header-cta, .site-footer, .skip-link { display: none !important; }
  .header-actions { margin-left: auto; }
  .header-phone { display: grid; }
  .section-pad { padding-block: 16mm; }
  .section-pad-small { padding-block: 12mm; }
  .hero-visual img, .case-hero-photo img { max-height: 128mm; }
  .case-overview-photo img { max-height: 118mm; }
  .case-card, .case-worry, .case-step-list li, .case-check-items li, figure, .wood-card, .portfolio-item, .material-photo { break-inside: avoid; }
  .case-hero-grid, .case-overview, .case-solution-layout, .case-checklist { break-inside: avoid; }
  .wood-callout-inner { min-height: 0; padding-block: 18mm; }
  a { color: inherit; }
}

/* Shared featured-model strip used on all public pages. */
.mini-catalog { overflow: hidden; color: #2a211b; background: #efe7de; }
.mini-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.mini-catalog-heading h2 { margin: 0; }
.mini-catalog-actions { display: flex; align-items: center; gap: 10px; }
.mini-catalog-actions > button { width: 44px; height: 44px; border: 1px solid #5e4938; border-radius: 50%; color: #33251b; background: transparent; font-size: 20px; }
.mini-catalog-track { display: grid; grid-auto-columns: minmax(230px, 1fr); grid-auto-flow: column; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.mini-slab-card { overflow: hidden; scroll-snap-align: start; border: 1px solid #d1c3b5; background: #fffdfa; }
.mini-slab-card > a { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.mini-slab-card img { width: 100%; height: 100%; object-fit: cover; }
.mini-slab-card > div { display: grid; gap: 7px; padding: 14px; }
.mini-slab-card h3 { margin: 0; font-size: 18px; }
.mini-slab-card p { margin: 0; }
.mini-slab-card .text-link { justify-self: start; }
.demo-chip, .reserved-chip { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 2px; color: #372418; background: #ead8c4; font-size: var(--text-small); font-weight: 700; }
.reserved-chip { color: #fff; background: #71472d; }
.mini-catalog-loading { padding: 24px; color: #392d23; }
.mini-catalog-demo-note { margin: -7px 0 12px; color: #504438; font-size: var(--text-small); }
.form-error { padding: 12px; border-left: 4px solid #a33329; color: #601b17; background: #fce8e5; }
@media (max-width: 620px) {
  .mini-catalog-heading { align-items: start; flex-direction: column; }
  .mini-catalog-actions { width: 100%; flex-wrap: wrap; }
  .mini-catalog-actions .button { margin-left: auto; }
  .mini-catalog-track { grid-auto-columns: minmax(78%, 1fr); }
}
