/* Compact spacing for product catalogue pages (spacing only: no wording, image, colour or font changes). Scoped by body.compact-products. */
body.compact-products main p{line-height:1.5}
body.compact-products .hero{padding:36px 0 28px;gap:36px}
body.compact-products .hero h1{margin:14px 0}
body.compact-products .hero .lead{margin:0 0 4px}
body.compact-products .hero .actions{margin-top:16px}
body.compact-products .service-strip{padding:16px 0;gap:30px}
body.compact-products .catalogue-jumps{padding:14px 0;gap:8px 22px}
body.compact-products section.block{padding-top:28px;padding-bottom:28px}
body.compact-products section.block>.eyebrow{margin:0 0 4px}
body.compact-products section.block>h2{margin:4px 0 10px}
body.compact-products section.block>p{margin:0 0 8px}
body.compact-products .dimensions-notice{margin:10px 0}
body.compact-products p.dimensions-notice,body.compact-products .dimensions-notice p{margin:6px 0;line-height:1.5}
body.compact-products .dimensions-notice h3{margin:0 0 6px}
body.compact-products .grid{gap:16px}
body.compact-products .catalogue-group-heading{margin-top:24px;margin-bottom:12px}
body.compact-products .catalogue-product{padding:14px}
body.compact-products .catalogue-product h3{margin:10px 0 4px;line-height:1.2}
body.compact-products .catalogue-product p{margin:0 0 6px}
body.compact-products .catalogue-product p.product-measurement-notice{margin:2px 0 8px}
body.compact-products .catalogue-product details.source-drawing{margin:0 0 10px}
body.compact-products .catalogue-product details.source-drawing>summary{padding:6px 0}
body.compact-products .catalogue-product details.source-drawing>p{margin:2px 0 8px}
body.compact-products .catalogue-product details.source-drawing details{margin:0;padding:0;border-top:1px solid var(--line)}
body.compact-products .catalogue-product details.source-drawing details>summary{padding:7px 0;cursor:pointer}
body.compact-products .catalogue-product .drawing-dimensions{gap:3px 14px;margin:2px 0 6px}
body.compact-products .catalogue-product .drawing-dimensions dt,body.compact-products .catalogue-product .drawing-dimensions dd{margin:0}
body.compact-products .catalogue-product p.drawing-dimensions-notice{margin:2px 0 8px}
body.compact-products .source-drawing figure{margin:6px 0 10px}
body.compact-products .source-drawing figcaption{margin-top:6px;line-height:1.4}
body.compact-products .catalogue-product>p:last-child,body.compact-products .catalogue-product>p:has(>.button){margin:8px 0 0}
body.compact-products details.drawing-group{padding:6px 12px}
body.compact-products .drawing{margin:10px 0;padding:8px}
@media(max-width:760px){
body.compact-products .hero{padding:16px 0 18px;gap:14px;row-gap:14px}
body.compact-products .hero h1{margin:8px 0 10px}
body.compact-products .hero .actions{margin-top:12px;gap:8px}
body.compact-products .service-strip{padding:14px 0;gap:6px}
body.compact-products .catalogue-jumps{padding:12px 0;gap:6px 18px}
body.compact-products section.block{padding-top:20px;padding-bottom:20px}
body.compact-products section.block>h2{margin:2px 0 8px}
body.compact-products .grid{gap:12px}
body.compact-products .catalogue-product{padding:12px}
body.compact-products .catalogue-group-heading{margin-top:16px;margin-bottom:10px}
}
/* plain .product cards (Light coves) and beam cards share the same compact rhythm */
body.compact-products .product{padding:14px}
body.compact-products .product h2{margin:10px 0 4px;line-height:1.2}
body.compact-products .product p{margin:0 0 6px}
body.compact-products .product p.product-measurement-notice{margin:2px 0 8px}
body.compact-products .product>details{margin:0 0 8px;padding-top:6px}
body.compact-products .product>details>summary{padding:6px 0}
body.compact-products .product .details-images{gap:6px;padding-top:8px}
body.compact-products .product details.source-drawing>p{margin:6px 0}
body.compact-products .product>p:has(>.button){margin:8px 0 6px}
body.compact-products .product>p:last-child{margin:8px 0 0}
body.compact-products .catalogue-product details.beam-profile-detail{margin:0 0 4px}
@media(max-width:760px){body.compact-products .product{padding:12px}}

/* Hero banner card: a quiet, light card with an outline button. Plain CSS, no images, no layout shift.
   Desktop (1001px and up): the hero grid gets two rows (photo, then its caption) so the left column ends exactly level with the bottom of the photo;
   the card stretches to fill whatever room is left, and the photo grows instead if the text column is ever taller. Phones keep the normal stack. */
.hero-card{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:14px 18px;background:rgba(255,255,255,.55);border:1px solid var(--line);border-radius:14px}
.hero-card .hero-card__main{flex:1 1 auto;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:3px;align-content:center;align-items:start}
.hero-card .hero-card__icon{grid-column:1;grid-row:1 / span 3;box-sizing:content-box;width:20px;height:20px;padding:8px;border-radius:10px;background:rgba(203,223,154,.45);fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-card .hero-card__title{grid-column:2;margin:0;font:500 1.12rem/1.25 Georgia,serif;letter-spacing:-.01em;color:var(--ink)}
.hero-card .hero-card__text{grid-column:2;margin:0;font-size:.9rem;line-height:1.5;color:var(--muted)}
.hero-card .hero-card__button{grid-column:2;justify-self:start;display:inline-flex;align-items:center;justify-content:center;margin-top:8px;min-height:40px;padding:6px 16px;border-radius:10px;border:1.5px solid var(--ink);background:transparent;color:var(--ink);font-size:13.5px;font-weight:600;text-decoration:none}
.hero-card .hero-card__button:hover{background:rgba(23,53,54,.07)}
.hero-card .hero-card__points{list-style:none;margin:0;padding:10px 0 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:4px 18px;font-size:.8rem;line-height:1.4;color:var(--muted)}
.hero-card .hero-card__points li{position:relative;margin:0;padding:0 0 0 16px}
.hero-card .hero-card__points li::before{content:"";position:absolute;left:2px;top:.28em;width:4px;height:8px;border:solid var(--ink);border-width:0 1.6px 1.6px 0;transform:rotate(45deg);opacity:.65}
@media(min-width:1001px){
.hero.hero--card,body.compact-products .hero.hero--card{grid-template-rows:minmax(550px,auto) auto;row-gap:0;align-items:stretch}
.hero.hero--card>div:first-child{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-width:0}
.hero.hero--card>div:first-child>.eyebrow:first-child{margin-top:0}
.hero.hero--card .hero-visual{display:contents}
.hero.hero--card .hero-visual>*:not(figcaption){grid-column:2;grid-row:1;position:relative;display:block}
.hero.hero--card .hero-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero.hero--card .hero-visual figcaption{grid-column:2;grid-row:2}
.hero.hero--card .hero-card{flex:1 1 auto}
}
/* Tablets (761-1000px): same clean stack as phones (text, banner, photo) instead of a cramped two-column hero. */
@media(min-width:761px) and (max-width:1000px){
.hero.hero--card,body.compact-products .hero.hero--card{grid-template-columns:1fr;row-gap:24px}
}
@media(max-width:760px){.hero-card{margin-top:16px;padding:14px;gap:8px}.hero-card .hero-card__main{column-gap:12px}.hero-card .hero-card__button{grid-column:1 / -1;justify-self:stretch;width:100%;margin-top:10px}.hero-card .hero-card__points{padding-top:8px;gap:3px 14px;font-size:.78rem}}

