/* Building collection and concept pages */
.concept-layout, .concept-consider, .concept-faq, .concept-related {
  padding-block: clamp(2.75rem, 6vw, 6rem);
}
.concept-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 2.25rem;
}
.concept-text h2 { max-width: 16ch; margin: 0; }
.concept-text p { margin: 0; max-width: 65ch; color: var(--muted); }
.design-cards, .concept-consider ul, .concept-related ul { margin: 0; padding: 0; list-style: none; }
.design-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.design-card { display: block; height: 100%; text-decoration: none; }
.design-card-image { overflow: hidden; background: #d9d5cd; }
.design-card-image img {
  width: 100%; aspect-ratio: 1.85; object-fit: cover;
  transition: transform .4s ease;
}
.design-card:hover .design-card-image img { transform: scale(1.025); }
.design-card-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
  padding-block: 1rem .3rem;
}
.design-card-title :is(h2, h3) { font-size: clamp(1.3rem, 2vw, 1.75rem); margin: 0; }
.design-card-title span { color: #655744; font-size: 1.4rem; }
.design-card p { color: var(--muted); max-width: 52ch; }
.design-card:hover h2, .design-card:focus-visible h2 { text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 960px) {
  .design-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.concept-mast {
  padding-block: clamp(.8rem, 1.5vw, 1.3rem) clamp(1.05rem, 2vw, 1.65rem);
  background: #f5f3ed; color: var(--ink); border-bottom: 1px solid var(--line);
}
.concept-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .84rem; color: #4b5951; }
.concept-crumbs a, .concept-actions > a:not(.btn), .concept-plan figcaption a { text-underline-offset: .23em; }
.concept-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start; gap: clamp(1.5rem, 4vw, 4rem); margin-top: .65rem;
}
.concept-heading h1 { color: #20382f; margin: 0; font-size: var(--fs-h1); font-weight: 600; }
.concept-heading p { color: #46534c; margin: 0 0 .6rem; max-width: 58ch; }
.concept-actions { display: flex; align-items: center; gap: .3rem 1.1rem; flex-wrap: wrap; }
.concept-actions .btn { --btn-bg: #264336; --btn-fg: #fff; --btn-border: #264336; min-height: 44px; padding: .6rem 1rem; text-transform: none; letter-spacing: normal; }
.concept-actions .btn:hover { --btn-bg: #15291f; }
.concept-actions > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: #253e30; font-size: .92rem; }
.gym-layouts { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-top: .7rem; }
.gym-layouts > span { font-size: .88rem; font-weight: 600; }
.gym-layouts > div { display: inline-flex; border: 1px solid #9aa49b; border-radius: .4rem; }
.gym-layouts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 4.5rem; padding: .35rem .85rem; border-radius: .3rem; color: #253e30; font-weight: 600; text-decoration: none; }
.gym-layouts a[aria-current="page"] { background: #294437; color: #fff; }
.gym-layouts a:hover { text-decoration: underline; text-underline-offset: .2em; }
.gym-layouts a:focus-visible { outline: 2px solid #81572e; outline-offset: 2px; }
.concept-cover { margin: 0; position: relative; background: #d9d5cd; }
.concept-cover img { width: 100%; height: clamp(280px, 42vw, 700px); object-fit: cover; object-position: center 53%; }
.concept-cover figcaption {
  position: absolute; bottom: .8rem; right: var(--gutter); background: rgba(23,26,25,.85);
  color: #fff; padding: .25rem .6rem; font-size: .8rem;
}
.concept-cover--full { max-width: 68rem; margin-inline: auto; background: transparent; }
.concept-cover--full img { height: auto; aspect-ratio: 3/2; object-fit: contain; }
.concept-cover--full figcaption {
  position: static; padding: .45rem var(--gutter) 0; background: transparent; color: var(--muted); text-align: right;
}
.concept-plan { margin: 0; }
.concept-plan > a { display: block; background: #f7f6f2; }
.concept-plan img { width: 100%; max-height: 535px; object-fit: contain; }
.concept-plan figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin-top: 1.1rem; }
.concept-plan figcaption span { max-width: 68ch; }
.concept-plan figcaption a { flex-shrink: 0; font-weight: 600; }
.concept-note { margin: .8rem 0 0; font-size: .875rem; color: var(--muted); }
.concept-model { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: #f4f3ef; }
.concept-model h2, .concept-consider h2, .concept-related h2 { margin-bottom: 1.5rem; }
.concept-consider ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.8rem); }
.concept-consider li { border-top: 2px solid #ad9a82; padding-top: 1.1rem; }
.concept-consider h3 { margin-bottom: .75rem; }
.concept-consider p, .concept-faq p { color: var(--muted); }
.concept-faq {
  display: grid; grid-template-columns: 1fr 1.65fr; gap: 2rem;
  padding-top: 0;
}
.concept-faq details { border-block-end: 1px solid var(--line); }
.concept-faq details:first-child { border-block-start: 1px solid var(--line); }
.concept-faq summary { padding: 1.1rem 0; font-weight: 600; cursor: pointer; }
.concept-faq details p { padding: 0 0 1.2rem; }
.concept-enquire { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: #252a28; color: #ebede7; }
.concept-enquire .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.concept-enquire h2 { color: #fff; max-width: 22ch; }
.concept-enquire p { max-width: 56ch; }
.concept-related h2 { font-size: clamp(1.5rem, 2.7vw, 2.2rem); }
.concept-related ul { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.concept-related li a { display: inline-block; padding: .65rem 0; font-weight: 600; text-underline-offset: .25em; }
@media (max-width: 760px) {
  .concept-text, .concept-heading, .concept-consider ul, .concept-faq { grid-template-columns: 1fr; gap: 1.2rem; }
  .concept-heading { gap: .5rem; }
  .design-cards { column-gap: 1rem; row-gap: 1.75rem; }
  .concept-cover img { height: auto; aspect-ratio: 1.5; }
  .concept-enquire .container, .concept-plan figcaption { flex-direction: column; align-items: start; gap: 1rem; }
}
@media (max-width: 540px) {
  .design-cards { grid-template-columns: 1fr; }
  .concept-actions .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .design-card:hover .design-card-image img { transform: none; }
}

/* Buyer guides */
.guide-links { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.guide-links h2 { margin-bottom: .8rem; font-size: 1.4rem; }
.guide-links ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.guide-links a, .guide-body a:not(.btn) { text-underline-offset: .23em; }
.guide-links a { display: inline-block; padding-block: .4rem; font-weight: 600; }
.guide-mast { padding-block: clamp(1rem, 2vw, 1.65rem); background: #f5f3ed; color: #48564e; border-bottom: 1px solid var(--line); }
.guide-mast h1 { max-width: 31ch; color: #20382f; margin-block: .7rem .45rem; font-size: var(--fs-h1); font-weight: 600; }
.guide-mast p { max-width: 68ch; font-size: 1.02rem; }
.guide-body { padding-block: clamp(2.8rem, 5vw, 5rem); }
.guide-section + .guide-section { margin-top: clamp(2.5rem, 5vw, 4.4rem); }
.guide-section > p { max-width: 72ch; }
.guide-plans, .guide-checklist, .guide-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.guide-plan, .guide-list, .guide-examples section { border-top: 2px solid #ad9a82; padding-top: 1.1rem; }
.guide-plan figure { margin: 1rem 0; }
.guide-plan figcaption, .guide-note { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.guide-plan img { width: 100%; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.guide-actions a:not(.btn) { font-weight: 600; }
.guide-rows { margin: 0; border-top: 1px solid var(--line); }
.guide-rows > div { display: grid; grid-template-columns: minmax(11rem, .55fr) minmax(0, 1.45fr); gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.guide-rows dt { font-weight: 600; }
.guide-rows dd { margin: 0; max-width: 74ch; }
.guide-callout { background: #f5f3ee; padding: clamp(1.5rem, 3vw, 3rem); }
.guide-list ul { list-style: none; margin: 0; padding: 0; }
.guide-list li + li { margin-top: .7rem; }
.guide-list label { display: flex; align-items: baseline; gap: .75rem; cursor: pointer; }
.guide-list input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #304f48; }
.guide-check-intro { max-width: 65ch; margin-bottom: 1.5rem; }
@media (max-width: 720px) {
  .guide-plans, .guide-examples, .guide-checklist { grid-template-columns: 1fr; gap: 1.75rem; }
  .guide-rows > div { grid-template-columns: 1fr; gap: .4rem; }
}
@media print {
  body:has(.buyer-guide) .site-header, body:has(.buyer-guide) .site-footer,
  .buyer-guide .concept-crumbs, .buyer-guide .guide-links, .buyer-guide .guide-actions { display: none; }
  .guide-mast { color: #16181b; background: none; padding: 0 0 1rem; }
  .guide-mast h1 { color: inherit; font-size: 26pt; margin: 0 0 .3rem; }
  .guide-body { padding-block: .5rem; }
  .guide-section + .guide-section { margin-top: 1rem; }
  .guide-list, .guide-plan, .guide-rows > div { break-inside: avoid; }
  .guide-list input { appearance: auto; }
}

.range-catalogue { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.range-group > h2 { margin-bottom: 1rem; }
.range-group + .range-group { margin-top: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .range-group .design-cards:has(> :nth-child(2)):not(:has(> :nth-child(5))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
