/* A quiet, image-led extension of the existing BigDecks palette. */
.materials-page{background:#f8f6f0}
.materials-page .material-hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center;padding:38px 0 42px}
.material-hero h1{font-size:clamp(3.2rem,5.2vw,5.1rem);line-height:1.01;letter-spacing:-.025em;margin:18px 0 24px}
.material-hero p:not(.eyebrow){font-size:1.05rem;line-height:1.85;max-width:440px;margin:0 0 28px}
.material-hero figure,.material-stone figure,.material-application{margin:0}
.material-hero img{width:100%;height:360px;object-fit:cover;display:block}
.material-hero figcaption,.material-stone figcaption,.material-application figcaption{font-size:.65rem;letter-spacing:.015em;line-height:1.6;color:#686b5e;margin-top:10px}
.material-index{display:flex;gap:32px;align-items:center;flex-wrap:wrap;border-block:1px solid #cbd0bf;padding:20px 0}
.material-index>span{font-size:.65rem;text-transform:uppercase;letter-spacing:.13em;margin-right:auto}
.material-index a{display:flex;gap:9px;align-items:center;font-size:.78rem;text-decoration:none;padding:8px 0}
.material-index a span{font-size:.6rem;color:#737766}
.material-index a:hover,.material-project-link:hover,.material-section-link a:hover{text-decoration:underline;text-underline-offset:5px}
.material-section{padding:66px 0 0;scroll-margin-top:24px}
.material-section-heading{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:end;margin-bottom:30px}
.material-section-heading h2{font-size:clamp(2.7rem,4vw,3.8rem);line-height:1.06;margin:12px 0 0;letter-spacing:-.015em}
.material-section-heading>p{max-width:440px;line-height:1.85;font-size:.92rem;margin:0}
.material-stone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 28px}
.material-stone{min-width:0;scroll-margin-top:24px}
.material-stone img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e8e5dc}
.material-stone-watercolor img{object-fit:contain;background:#f8f6f0}
.material-stone-copy{padding-top:20px}
.material-stone h3{font-size:2.3rem;line-height:1.15;margin:0 0 15px}
.material-stone-copy>p{font-size:.9rem;line-height:1.85;max-width:520px;margin:0 0 20px}
.material-project-link{display:inline-flex;gap:16px;font-size:.75rem;font-weight:600;text-decoration:none;line-height:1.7}
.material-details{border-top:1px solid #cbd0bf;margin-top:24px}
.material-details summary{padding:15px 0;cursor:pointer;list-style:none;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;display:flex;justify-content:space-between;gap:20px}
.material-details summary::-webkit-details-marker{display:none}
.material-details summary span{font-size:1rem;line-height:1;transition:transform .2s}
.material-details[open] summary span{transform:rotate(45deg)}
.material-details>div{padding:0 0 8px}
.material-details dl{margin:4px 0 20px}
.material-details dt{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600;margin:15px 0 5px}
.material-details dd{margin:0;font-size:.8rem;line-height:1.8}
.material-code{font-size:.62rem!important;color:#6c725f}
.material-stone-wide{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:28px;border-top:1px solid #cbd0bf;padding-top:38px}
.material-stone-wide img{aspect-ratio:16/9;max-height:310px}
.material-stone-wide .material-stone-copy{padding:10px 22px 0}
.material-sample-note{font-size:.76rem;line-height:1.8;max-width:700px;margin:28px 0 0;color:#646b59}
.material-application img{display:block;width:100%;object-fit:cover;background:#e8e5dc}
.material-wood-photo img{height:450px;object-position:center 62%}
.material-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px;margin-top:30px}
.material-choice{min-width:0;padding:24px 0 0;border-top:1px solid #cbd0bf}
.material-choice h3{font-size:1.85rem;line-height:1.15;margin:0 0 12px}
.material-choice>p{font-size:.82rem;line-height:1.85;margin:0}
.material-choice .material-details{margin-top:18px;border-color:#dde0d3}
.material-preference .material-project-link{margin-top:16px}
.material-preference h3{font-size:1.6rem}
.material-watercolor{margin:0 0 18px;background:transparent}
.material-watercolor img{display:block;width:100%;height:220px;object-fit:contain}
.material-guides .material-choice-grid article{border-top:1px solid #cbd0bf;padding-top:24px}
.material-guides .material-choice-grid h3{font-size:1.7rem;line-height:1.2;margin:0 0 12px}
.material-guides .material-choice-grid p{font-size:.82rem;line-height:1.8;margin:0 0 16px}
.material-guides .material-choice-grid a{font-size:.76rem;font-weight:600;text-underline-offset:4px}
.material-section-link{font-size:.78rem;font-weight:600;margin-top:25px}
.material-garden-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:start}
.material-garden-layout img{height:620px;object-position:center 70%}
.material-garden-choices .material-choice:first-child{padding-top:0;border:0}
.material-garden-choices .material-choice+ .material-choice{margin-top:26px}
.material-garden-choices>.material-project-link{margin-top:20px}
.material-pool-photo img{height:420px;object-position:center 54%}
.material-close{margin-top:72px;padding:54px;background:#e7eadf}
.material-close h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1.08;margin:15px 0 22px}
.material-close>p:not(.eyebrow){max-width:640px;font-size:.95rem;line-height:1.85}
.material-close>div{display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:30px}
.material-close>div>a:not(.button){font-size:.78rem}
.material-reference{margin:30px 0 60px;border-block:1px solid #cbd0bf}
.material-reference summary{cursor:pointer;padding:20px 0;font-size:.73rem;line-height:1.6}
.material-reference details>div{padding:0 0 20px;max-width:850px}
.material-reference p{font-size:.76rem;line-height:1.8}
.materials-page :focus-visible{outline:2px solid #355a40;outline-offset:5px}
@media(max-width:900px){.materials-page .material-hero{gap:30px}.material-index{gap:18px}.material-index>span{width:100%}.material-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-pool-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.material-garden-layout{gap:30px}.material-garden-layout img{height:560px}}
@media(max-width:680px){.materials-page .material-hero{grid-template-columns:1fr;gap:28px;padding:20px 0 30px}.material-hero h1{font-size:3.5rem;margin-top:13px}.material-hero p:not(.eyebrow){font-size:.92rem;margin-bottom:22px}.material-hero img{height:240px}.material-index{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;padding:16px 0}.material-index>span{grid-column:1/-1;margin-bottom:8px}.material-index a{font-size:.7rem;min-height:36px}.material-section{padding-top:46px}.material-section-heading{grid-template-columns:1fr;gap:17px;margin-bottom:24px}.material-section-heading h2{font-size:2.9rem}.material-section-heading>p{font-size:.85rem}.material-stone-grid{grid-template-columns:1fr;gap:32px}.material-stone h3{font-size:2rem}.material-stone-copy>p{font-size:.85rem}.material-stone-wide{display:block;padding-top:32px}.material-stone-wide .material-stone-copy{padding:20px 0 0}.material-stone-wide img{aspect-ratio:4/3}.material-wood-photo img{height:360px;object-position:center 60%}.material-choice-grid,.material-pool-choices{grid-template-columns:1fr;gap:10px;margin-top:22px}.material-choice h3{font-size:1.9rem}.material-garden-layout{grid-template-columns:1fr;gap:30px}.material-garden-layout img{height:430px}.material-pool-photo img{height:260px}.material-close{padding:32px 24px;margin-top:48px}.material-close h2{font-size:2.8rem}.material-close>div{gap:20px}.material-reference{margin-bottom:35px}}

.material-pool-choices .material-project-link{margin-top:16px}
@media(max-width:680px){.material-hero h1{font-size:clamp(2.4rem,9vw,3rem)}}
@media(prefers-reduced-motion:reduce){.material-details summary span{transition:none}}

/* Each wood option has its own specimen or clearly labelled application. */
.material-wood-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px}
.material-wood{min-width:0;scroll-margin-top:24px}
.wood-visuals{aspect-ratio:4/3;display:grid;grid-template-columns:1fr;min-width:0}
.wood-visuals.wood-pair{grid-template-columns:1fr 1fr;gap:12px}
.wood-figure{margin:0;min-width:0;display:flex;flex-direction:column;scroll-margin-top:24px}
.wood-image{background:#fff;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden}
.wood-image img{width:100%;height:100%;max-height:360px;object-fit:contain;padding:25px;display:block}
.wood-application .wood-image img{object-fit:cover;padding:0}
.wood-grain .wood-image{background:#ece8dc}.wood-grain .wood-image img{height:auto}
.wood-figure figcaption{font-size:.65rem;line-height:1.6;color:#686b5e;margin-top:10px}
.material-wood-copy{padding-top:23px}
.material-wood h3{font-size:2.25rem;line-height:1.12;margin:0 0 15px}
.material-wood-copy>p{font-size:.88rem;line-height:1.85;margin:0 0 20px}
@media(max-width:680px){.material-wood-grid{grid-template-columns:1fr;gap:34px}.material-wood h3{font-size:2rem}.wood-image img{max-height:300px;padding:20px}.wood-application .wood-image img{padding:0}.wood-visuals.wood-pair{gap:8px}.wood-pair .wood-image img{padding:8px}.wood-pair .wood-application .wood-image img{padding:0}.material-wood-copy>p{font-size:.85rem}}

/* Individual garden and pool options receive their own material image. */
.material-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px}
.material-photo-choice{border:0;padding:0;scroll-margin-top:24px}
.material-photo-choice figure{margin:0 0 22px}
.material-photo-choice img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.material-pool-choices .material-photo-choice img{object-fit:contain;background:transparent}
.material-photo-choice figcaption{font-size:.65rem;line-height:1.6;color:#686b5e;margin-top:10px}
.material-photo-grid .material-choice+.material-choice{margin-top:0}
@media(max-width:680px){.material-photo-grid{grid-template-columns:1fr;gap:34px}}

.material-photo-choice#pl-01 img{object-position:50% 55%}

.wood-application img[src$="thermory-ash-reference.webp"],.wood-application img[src$="thermory-spruce-reference.webp"]{object-position:50% 85%}
