/* TIMBER FRAME KITS PAGE */
.timber-frame-page .timber-hero .solution-hero-media { background-image: url("assets/images/mobione-panorama.webp"); background-position: 57% center; filter: saturate(.72) contrast(1.08); }
.timber-frame-page .timber-hero .solution-hero-overlay { background: linear-gradient(90deg,rgba(10,10,10,.94) 0%,rgba(10,10,10,.79) 46%,rgba(10,10,10,.23) 76%,rgba(10,10,10,.42) 100%),linear-gradient(0deg,rgba(0,0,0,.58),transparent 50%); }
.timber-hero-panel { background: rgba(231,218,191,.96); border-color: rgba(43,36,28,.16); box-shadow: 0 18px 44px rgba(0,0,0,.16); color: var(--ink); }
.timber-hero-panel .eyebrow { color: rgba(32,27,22,.52); }
.timber-hero-panel dt { color: rgba(32,27,22,.58); }
.timber-hero-panel dd { color: #2d2924; }
.timber-hero-panel dl > div { border-bottom-color: rgba(32,27,22,.12); }
.timber-proofbar { background: var(--cream); }
.timber-intro-images .intro-image-large img { object-position: center; }
.timber-intro-images .intro-image-small img { object-position: 54% center; }

/* KIT SCOPE */
.timber-kit-scope { background: var(--soft); }
.kit-scope-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 55px; background: var(--line); border: 1px solid var(--line); }
.kit-scope-card { position: relative; min-height: 530px; padding: 34px; background: white; display: flex; flex-direction: column; overflow: hidden; }
.kit-scope-card > span { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.kit-scope-card h3 { margin: 90px 0 18px; font-size: clamp(30px,2.5vw,44px); }
.kit-scope-card > p { color: #5f5951; font-size: 12px; }
.kit-scope-card ul { margin: auto 0 0; padding: 19px 0 0; border-top: 1px solid var(--line); list-style: none; }
.kit-scope-card li { padding: 6px 0; color: #5f5951; font-size: 10px; }
.kit-scope-card li::before { content: "—"; margin-right: 9px; color: var(--red); }
.kit-scope-card.cream-card { background: var(--cream); }
.kit-scope-card.dark-card { background: var(--ink); color: white; }
.kit-scope-card.dark-card > span { color: var(--cream); }
.kit-scope-card.dark-card > p,.kit-scope-card.dark-card li { color: rgba(255,255,255,.68); }
.kit-scope-card.dark-card ul { border-color: rgba(255,255,255,.19); }
.kit-scope-card.red-card { background: var(--red); color: white; }
.kit-scope-card.red-card > span { color: var(--cream); }
.kit-scope-card.red-card > p,.kit-scope-card.red-card li { color: rgba(255,255,255,.77); }
.kit-scope-card.red-card ul { border-color: rgba(255,255,255,.25); }
.kit-scope-card.red-card li::before,.kit-scope-card.dark-card li::before { color: var(--cream); }
.kit-scope-card.image-card { padding: 0; color: white; }
.kit-scope-card.image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kit-scope-card.image-card:hover img { transform: scale(1.045); }
.kit-scope-card.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.05) 75%); }
.kit-scope-card.image-card > div { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 34px; }
.kit-scope-card.image-card span { color: var(--cream); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.kit-scope-card.image-card h3 { margin: 18px 0 12px; }
.kit-scope-card.image-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 12px; }

/* CONFIGURATOR */
.frame-configurator { padding: 120px 0; background: var(--ink); color: white; }
.frame-configurator-heading { display: grid; grid-template-columns: 1.05fr .55fr; gap: 90px; align-items: end; }
.frame-configurator-heading h2 { max-width: 900px; }
.frame-configurator-heading > p { margin-bottom: 10px; color: rgba(255,255,255,.62); font-size: 13px; }
.frame-tabs { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 55px; border: 1px solid rgba(255,255,255,.2); }
.frame-tab { padding: 22px; border: 0; border-right: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.55); text-align: left; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .25s,color .25s; }
.frame-tab:last-child { border-right: 0; }
.frame-tab span { margin-right: 16px; color: var(--cream); font-size: 9px; }
.frame-tab.active { background: var(--red); color: white; }
.frame-panels { min-height: 650px; }
.frame-panel { display: none; grid-template-columns: 1.15fr .85fr; min-height: 650px; background: #171717; }
.frame-panel.active { display: grid; }
.frame-panel-copy { padding: clamp(45px,6vw,95px); display: flex; flex-direction: column; justify-content: center; }
.frame-panel-copy > span { color: var(--cream); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.frame-panel-copy h3 { margin: 42px 0 20px; font-size: clamp(38px,3.7vw,62px); }
.frame-panel-copy p { color: rgba(255,255,255,.65); }
.frame-panel-copy ul { margin: 35px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.frame-panel-copy li { padding: 8px 0; color: rgba(255,255,255,.72); font-size: 11px; }
.frame-panel-copy li::before { content: "—"; margin-right: 10px; color: var(--cream); }
.layer-visual { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: clamp(40px,6vw,95px); background: var(--cream); color: var(--ink); }
.layer { min-height: 63px; padding: 14px 19px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; border: 1px solid rgba(17,17,17,.15); box-shadow: 0 11px 22px rgba(17,17,17,.08); transform-origin: center; transition: transform .25s,box-shadow .25s; }
.layer:hover { transform: translateX(8px); box-shadow: 0 17px 30px rgba(17,17,17,.13); }
.layer b { font-size: 12px; }
.layer small { color: #5d574f; font-size: 10px; }
.layer-finish { background: #d0b892; }
.layer-cavity { margin-left: 3%; background: #f3ecdc; }
.layer-board { margin-left: 6%; background: #b8ab94; }
.layer-frame { margin-left: 9%; min-height: 95px; background: repeating-linear-gradient(90deg,#d8bd8f 0,#d8bd8f 13%,#efe3c9 13%,#efe3c9 25%); }
.layer-membrane { margin-left: 12%; min-height: 34px; background: var(--red); color: white; }
.layer-membrane small { color: rgba(255,255,255,.76); }
.layer-service { margin-left: 15%; background: #e6d4b3; }
.layer-inside { margin-left: 18%; background: #f7f3e8; }
.interior-visual .layer { margin-left: 0; }
.interior-visual .layer-frame { margin: 0 8%; }
.interior-visual .layer-acoustic { margin: 0 12%; background: #c7a96f; }
.floor-visual { padding: clamp(45px,6vw,90px); background: var(--cream); display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
.floor-visual > div { padding: 18px 22px; border: 1px solid rgba(17,17,17,.15); text-align: center; font-size: 11px; font-weight: 700; }
.floor-top { background: #f4efe4; }
.floor-deck { background: #b9aa91; }
.floor-beams { height: 185px; padding: 0!important; display: flex; align-items: stretch; justify-content: space-around; background: #efe2c8; }
.floor-beams i { width: 42px; background: #c39e63; border-left: 1px solid rgba(17,17,17,.16); border-right: 1px solid rgba(17,17,17,.16); }
.floor-zone { background: #dbc79f; }
.floor-ceiling { background: white; }
.roof-visual { position: relative; min-height: 650px; background: var(--cream); overflow: hidden; }
.roof-pitch { position: absolute; top: 22%; width: 48%; height: 22px; background: #b18f60; }
.roof-pitch.left { left: 8%; transform: rotate(-28deg); transform-origin: right; }
.roof-pitch.right { right: 8%; transform: rotate(28deg); transform-origin: left; }
.roof-core { position: absolute; top: 45%; left: 20%; right: 20%; padding: 30px; border: 1px solid rgba(17,17,17,.16); background: rgba(255,255,255,.72); text-align: center; }
.roof-core b,.roof-core small,.flat-roof b,.flat-roof small { display: block; }
.roof-core b,.flat-roof b { font-size: 13px; }
.roof-core small,.flat-roof small { margin-top: 6px; color: #625c54; font-size: 10px; }
.flat-roof { position: absolute; left: 13%; right: 13%; bottom: 12%; padding: 27px; border-top: 22px solid #b18f60; background: rgba(255,255,255,.74); text-align: center; }
.configurations-strip { display: grid; grid-template-columns: 2fr repeat(5,.7fr) 1.5fr; margin-top: 1px; background: rgba(255,255,255,.18); gap: 1px; }
.configurations-strip > * { min-height: 76px; padding: 18px; background: #181818; display: flex; align-items: center; justify-content: center; }
.configurations-strip > span { justify-content: flex-start; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.configurations-strip strong { color: var(--cream); font-size: 13px; }
.configurations-strip button { border: 0; cursor: pointer; }
.configurations-strip i { font-style: normal; }


/* CATALOG SYSTEM RENDERS */
.system-render-visual { min-height: 650px; padding: clamp(28px,4vw,58px); background: var(--cream); color: var(--ink); display: grid; align-items: stretch; gap: 18px; }
.system-render-visual figure { margin: 0; min-width: 0; background: rgba(255,255,255,.58); border: 1px solid rgba(17,17,17,.12); display: flex; flex-direction: column; overflow: hidden; }
.system-render-visual img { width: 100%; min-height: 0; flex: 1 1 auto; object-fit: contain; padding: 20px; }
.system-render-visual figcaption { min-height: 82px; padding: 16px 18px; border-top: 1px solid rgba(17,17,17,.12); background: rgba(255,255,255,.78); display: flex; flex-direction: column; justify-content: center; }
.system-render-visual figcaption span { color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.system-render-visual figcaption strong { margin-top: 7px; font-size: 12px; line-height: 1.35; }
.exterior-render-pair { grid-template-columns: 1fr 1fr; }
.single-system-render { grid-template-columns: 1fr; }
.single-system-render figure { height: 100%; }
.single-system-render img { max-height: 535px; }

/* FACTORY SEQUENCE */
.factory-sequence { background: white; }
.factory-sequence-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 55px; }
.factory-sequence-grid article { position: relative; min-height: 590px; background: var(--soft); overflow: hidden; }
.factory-sequence-grid article > span { position: absolute; z-index: 3; top: 18px; left: 18px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: white; font-size: 9px; font-weight: 700; }
.factory-sequence-grid img { width: 100%; height: 300px; object-fit: cover; transition: transform .75s var(--ease); }
.factory-sequence-grid article:hover img { transform: scale(1.04); }
.factory-sequence-grid article > div { height: 290px; padding: 26px; display: flex; flex-direction: column; }
.factory-sequence-grid h3 { margin: 35px 0 14px; font-size: clamp(25px,2vw,34px); }
.factory-sequence-grid p { color: #625c54; font-size: 11px; }
.factory-sequence-grid small { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: #756e65; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timber-performance .programme-image img { object-position: center; }

/* CASE STUDY SECONDARY COPY */
.case-study-secondary article > div { padding: 25px; }
.case-study-secondary h3 { margin: 26px 0 12px; font-size: clamp(25px,2vw,34px); }
.case-study-secondary p { color: #625c54; font-size: 11px; }

/* RESOURCES */
.technical-resources { background: var(--cream); }
.technical-resources-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.technical-resources-copy h2 { font-size: clamp(44px,4.3vw,72px); }
.technical-resources-copy > p { margin-bottom: 34px; color: #5d574f; }
.resource-document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(17,17,17,.18); border: 1px solid rgba(17,17,17,.18); }
.resource-document-grid article { min-height: 190px; padding: 25px; background: var(--cream); display: flex; flex-direction: column; transition: background .25s,color .25s; }
.resource-document-grid article:hover { background: var(--ink); color: white; }
.resource-document-grid span { color: var(--red); font-size: 9px; font-weight: 700; }
.resource-document-grid strong { margin: auto 0 10px; font-size: 16px; }
.resource-document-grid small { color: #696158; font-size: 9px; }
.resource-document-grid article:hover small { color: rgba(255,255,255,.62); }
.timber-contact { background: var(--red); }

@media (max-width: 1180px) {
  .kit-scope-grid { grid-template-columns: 1fr 1fr; }
  .frame-configurator-heading,.technical-resources-grid { grid-template-columns: 1fr; gap: 28px; }
  .factory-sequence-grid { grid-template-columns: 1fr 1fr; }
  .configurations-strip { grid-template-columns: 1.6fr repeat(5,.65fr); }
  .configurations-strip button { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .frame-tabs { grid-template-columns: 1fr 1fr; }
  .frame-tab:nth-child(2) { border-right: 0; }
  .frame-tab:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .frame-panel { grid-template-columns: 1fr; }
  .layer-visual,.floor-visual,.roof-visual,.system-render-visual { min-height: 590px; }
  .exterior-render-pair { grid-template-columns: 1fr 1fr; }
  .frame-panel-copy { min-height: 500px; }
  .configurations-strip { grid-template-columns: repeat(3,1fr); }
  .configurations-strip > span { grid-column: 1 / -1; }
  .configurations-strip button { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .timber-frame-page .timber-hero .solution-hero-media { background-position: 66% center; }
  .kit-scope-grid,.factory-sequence-grid,.resource-document-grid { grid-template-columns: 1fr; }
  .kit-scope-card { min-height: 470px; }
  .frame-configurator { padding: 85px 0; }
  .frame-tabs { grid-template-columns: 1fr; }
  .frame-tab { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .frame-tab:last-child { border-bottom: 0; }
  .layer-visual { padding: 35px 20px; }
  .layer { grid-template-columns: 1fr; gap: 5px; margin-left: 0!important; }
  .roof-visual,.floor-visual,.layer-visual,.system-render-visual { min-height: 500px; }
  .system-render-visual { padding: 18px; }
  .exterior-render-pair { grid-template-columns: 1fr; }
  .system-render-visual img { min-height: 320px; padding: 12px; }
  .configurations-strip { grid-template-columns: 1fr 1fr; }
  .configurations-strip > span,.configurations-strip button { grid-column: 1 / -1; }
  .factory-sequence-grid article { min-height: 535px; }
  .factory-sequence-grid article > div { height: 235px; }
  .technical-resources-grid { gap: 50px; }
}
