/* Shared style.css is copied unchanged from the current website. */
.terrain-story-page.home.work-page{display:block;height:auto;min-height:100svh}
.terrain-story-page.home.work-page::after{content:none}
.terrain-story-page .work-shell{position:relative;inset:auto}
.terrain-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;background:url('/assets/uploads/terrain/9e5d9756-3aa9-480f-b756-2841e9fc0886.jpg') center center/cover no-repeat}
.terrain-extra{margin-top:24px;border-top:1px solid var(--line);padding-top:17px}
.terrain-extra summary{font-size:16px;line-height:1.6;cursor:pointer}
.terrain-extra>div{padding-top:18px}
.section-work .terrain-extra p{font-size:16px;line-height:1.7;margin-bottom:17px}
.terrain-extra .portfolio-link{font-size:16px;margin-top:2px}
.section-work .terrain-range-copy>.portfolio-kicker{font-size:11px;margin-bottom:22px;line-height:1.6}
.section-work .terrain-range-copy h2{margin-top:0}
.terrain-ireland .terrain-extra{max-width:570px}
.terrain-story-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,3vw,42px);align-items:start}
.terrain-story-row>div{min-width:0}
.terrain-story-row h2,.terrain-story-prose h2{font-size:clamp(30px,3vw,40px);margin:0 0 16px}
.terrain-story-row h3,.terrain-story-prose h3{margin-bottom:16px}
.section-work .terrain-story-row p,.section-work .terrain-story-prose p{font-size:16px;line-height:1.65;margin-bottom:16px}
.terrain-story-row>.portfolio-photo img{max-height:380px;object-fit:contain}
.terrain-story-prose>p,.terrain-story-prose>details{max-width:750px}
.terrain-story-prose>.portfolio-photo{max-width:750px}
.terrain-photo-pair,.terrain-photo-trio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}
.terrain-photo-trio{grid-template-columns:repeat(3,minmax(0,1fr))}
.terrain-photo-pair .portfolio-photo img,.terrain-photo-trio .portfolio-photo img{height:230px;object-fit:contain}
.terrain-story-row details,.terrain-story-prose details{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;max-width:800px}
.terrain-story-row summary,.terrain-story-prose summary{font-size:16px;cursor:pointer;line-height:1.6;margin-bottom:20px}
.terrain-story-prose .credit-panel{padding:0}
.terrain-story-prose .small{font-size:14px}
.terrain-return{margin-bottom:18px!important}
.terrain-return .portfolio-link{font-size:15px}
.terrain-skip{position:absolute;top:8px;left:20px;transform:translateY(-200%);background:#030303;color:#eee7d8;padding:12px;z-index:20}
.terrain-skip:focus{transform:translateY(0)}
.portfolio-photo a{cursor:zoom-in}
.page-band>.portfolio-photo{max-width:780px;margin-inline:auto}
@media(max-width:850px){.terrain-story-row{grid-template-columns:1fr;gap:28px}.terrain-photo-trio{grid-template-columns:1fr 1fr}.terrain-photo-trio .portfolio-photo:last-child{grid-column:1/-1;max-width:600px;justify-self:center}.section-work .section-introduction .work-title{flex-shrink:1}}
@media(max-width:700px){.terrain-extra{margin-top:22px}.terrain-extra summary{font-size:15px}.section-work .terrain-extra p,.terrain-extra .portfolio-link{font-size:15px}.terrain-story-row h2,.terrain-story-prose h2{font-size:32px;margin-bottom:20px}.section-work .terrain-story-row p,.section-work .terrain-story-prose p{font-size:16px}.terrain-photo-pair,.terrain-photo-trio{grid-template-columns:1fr;gap:24px}.terrain-photo-trio .portfolio-photo:last-child{grid-column:auto}.terrain-photo-pair .portfolio-photo img,.terrain-photo-trio .portfolio-photo img{height:auto;max-height:460px;object-fit:contain}.terrain-return{margin-bottom:22px!important}.terrain-return .portfolio-link{font-size:14px}}

.terrain-process-overview{width:min(470px,100%);margin-inline:auto}.terrain-story-row>.terrain-process-overview img{width:100%;height:auto;max-height:520px;object-fit:contain}
.section-work .portfolio-terrain .work-projects>.page-band{padding-block:30px}
.section-work .portfolio-terrain .work-projects>.terrain-story-credits{padding-block:18px}
.terrain-story-page .section-work .section-introduction{margin-bottom:24px;padding-bottom:18px}
.terrain-story-page .portfolio-kicker{margin-bottom:16px}
.terrain-story-page .portfolio-photo figcaption{font-size:12px;padding-top:9px}
.terrain-story-gallery{width:100%;max-width:600px;justify-self:center}
.terrain-story-gallery .project-gallery-slide>a{height:380px;aspect-ratio:auto}
.terrain-story-gallery .project-gallery-slide img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
.terrain-grid-gallery .project-gallery-slide>a{height:480px}
.terrain-story-gallery .project-gallery-controls{padding-top:8px}
.section-work .page-band>.light-study-making{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}
.light-study-making>summary{font-size:16px;line-height:1.6;cursor:pointer}
.light-study-making-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:20px}
.light-study-making-grid .portfolio-photo{min-width:0;margin:0}
.light-study-making-grid .portfolio-photo img{width:100%;height:320px;object-fit:contain}
@media(max-width:850px){.light-study-making-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.light-study-making-grid{grid-template-columns:1fr;gap:22px}.light-study-making-grid .portfolio-photo img{height:auto;max-height:440px}}
@media(max-width:700px){.terrain-story-gallery .project-gallery-slide>a{height:330px}.terrain-grid-gallery .project-gallery-slide>a{height:380px}}
@media(max-width:700px){.section-work .portfolio-terrain .work-projects>.page-band{padding-block:22px}.terrain-story-page .section-work .section-introduction{margin-bottom:20px;padding-bottom:15px}.terrain-story-row{gap:20px}.terrain-story-row>.portfolio-photo img{max-height:330px}.terrain-photo-pair,.terrain-photo-trio{gap:18px;margin:18px 0}.terrain-photo-pair .portfolio-photo img,.terrain-photo-trio .portfolio-photo img{max-height:290px}.terrain-story-row>.terrain-process-overview img{max-height:440px}}

/* Oak veneer study: individual, enlargable photographs. */
.roundwood-story .terrain-story-row{gap:24px}
.roundwood-story .terrain-story-row>.portfolio-photo img{max-height:300px}
.roundwood-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.roundwood-photo-grid .portfolio-photo{min-width:0;margin:0}
.roundwood-photo-grid .portfolio-photo img{width:100%;height:220px;object-fit:contain}
.terrain-model-enquiry .portfolio-link{margin-top:4px}
@media(max-width:600px){.roundwood-story .terrain-story-row{gap:16px}.roundwood-story .terrain-story-row>.portfolio-photo img{max-height:250px}.roundwood-photo-grid{gap:16px 14px;margin-top:16px}.roundwood-photo-grid .portfolio-photo img{height:140px}.terrain-story-page .roundwood-photo-grid figcaption{font-size:11px;line-height:1.5}}

/* Keep the oak study compact until more photographs are requested. */
.roundwood-story>.roundwood-more{max-width:none;margin-top:18px;padding-top:12px}
.roundwood-more>summary{margin-bottom:0}

/* Centre the label in the Ireland enquiry panel. */
.terrain-story-page .terrain-ireland-enquiry .portfolio-kicker{margin-left:auto;margin-right:auto;text-align:center}
