.reference-page { background:var(--story-paper); }
.reference-head { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); background:var(--charcoal-surface); color:#fafafa; }
.reference-copy { padding:clamp(2rem,6vw,6rem) var(--pad); align-self:center; }
.reference-copy .caption { margin-top:2rem; color:#d4d4d8; }
.reference-copy h1 { font-size:clamp(2.8rem,4.75vw,6rem); margin-block:.5rem 1rem; text-wrap:balance; }
.reference-copy p:not(.caption) { max-width:38ch; margin-bottom:1.4rem; }
.aztec-warranty { border-inline-start:2px solid var(--action); padding-inline-start:.75rem; margin-block:0 1.4rem; }
.aztec-warranty strong,.aztec-warranty span { display:block; }
.aztec-warranty span { color:#d4d4d8; font-size:.875rem; }
.reference-head figure { position:relative; align-self:stretch; background:var(--mist-gray); }
.reference-head img { height:100%; min-height:19rem; max-height:36rem; object-fit:contain; }
.reference-head figcaption { position:absolute; bottom:0; right:0; padding:.5rem 1rem; background:var(--charcoal); font-size:.75rem; }
.reference-detail { display:grid; grid-template-columns:minmax(9rem,.55fr) 1fr; gap:clamp(1rem,5vw,5rem); align-items:center; max-width:70rem; padding:clamp(1.5rem,5vw,5rem) var(--pad); margin:auto; }
.reference-detail img { max-height:17rem; object-fit:contain; }
.reference-detail h2 { font-size:var(--section-heading-size); }
.reference-detail p { margin:.65rem 0; max-width:45ch; }
@media(max-width:660px) { .reference-head,.reference-detail { grid-template-columns:1fr; } .reference-head img { height:15rem; min-height:0; } }

@media (min-width: 661px) and (max-width: 820px) {
  .reference-copy { padding-block: 1.8rem; }
  .reference-copy .caption { margin-top: 1.2rem; }
  .reference-copy h1 { font-size: clamp(2.6rem, 5.65vw, 4rem); }
  .reference-head img { max-height: 26rem; }
}


.reference-photographs :is(.reference-head, .reference-detail) img { object-fit: cover; }
.reference-photographs .reference-head img { max-height: none; }

@media(min-width:661px) {
  .aztec-head { padding-inline:max(0px, calc((100% - var(--page-width)) / 2)); }
  .aztec-head .reference-copy { padding-block:clamp(2rem,5vw,4rem); }
  .aztec-head figure { background:transparent; }
  .aztec-head figure > img {
    position:absolute;
    inset:0;
    width:100%;
    min-height:0;
    mask-image:linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  }
}

.reference-section { max-width:var(--page-width); margin-inline:auto; padding:clamp(2.5rem,5vw,5rem) var(--pad); }
.reference-section > h2 { margin:.5rem 0 1.5rem; }
.reference-section > p:not(.caption) { max-width:58ch; margin-bottom:2rem; }
.reference-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.25rem,3vw,3rem); }
.reference-columns h3 { margin-bottom:.7rem; }
.reference-columns p + p { margin-top:1rem; }
.reference-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:2rem; }
.reference-examples article { display:grid; grid-template-rows:subgrid; grid-row:span 3; row-gap:.8rem; align-items:start; }
.reference-examples img { width:100%; height:auto; aspect-ratio:293/200; object-fit:cover; background:white; }
.reference-examples figcaption,.reference-diagram figcaption { font-size:.8rem; line-height:1.45; margin-top:.8rem; color:var(--muted); }
.reference-band { background:var(--mist-gray); }
.reference-two,.reference-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,5vw,5rem); }
.reference-links { display:flex; flex-direction:column; align-items:flex-start; gap:1.1rem; }
.reference-links h3 { margin-bottom:.2rem; }
.reference-products article { border-top:1px solid var(--rule); padding-top:1.5rem; }
.reference-products img { width:100%; height:16rem; object-fit:contain; margin-bottom:1.5rem; }
.reference-products h3 { margin-bottom:.8rem; }
.reference-products p { margin-bottom:1rem; }
.reference-products a { display:block; margin-top:1rem; }
.reference-diagram { width:min(100%,293px); justify-self:center; }
.reference-diagram img { width:100%; height:auto; }
.reference-two h2 { margin:.5rem 0 1rem; }
@media(max-width:740px) {
 .reference-columns,.reference-examples,.reference-two,.reference-products { grid-template-columns:1fr; }
 .reference-examples { gap:2rem; }
 .reference-examples article { grid-template-rows:auto; grid-row:auto; }
}

.reference-two p + .reference-links { margin-top:1.5rem; }
.silca-hero .resource-hero-copy h1 { font-size:clamp(2.8rem,4.5vw,5.5rem); }
.silca-hero .resource-hero-copy > p:not(.caption) { margin-bottom:1.5rem; }
@media (max-width:740px) {
  .silca-hero .resource-hero-copy { position:relative; isolation:isolate; }
  .silca-hero .resource-hero-copy::after {
    content:""; position:absolute; inset:0 0 0 auto; width:48%; z-index:-1; pointer-events:none;
    background:repeating-linear-gradient(112deg,transparent 0 62px,#ffffff0b 63px 64px,transparent 65px 112px);
    mask-image:linear-gradient(0deg,transparent,#000 25% 75%,transparent);
  }
}

.reference-manufacturer { width:auto; max-width:15rem; height:4rem; object-fit:contain; margin-bottom:1.5rem; }
.reference-table { max-width:65rem; margin-bottom:1.5rem; }
.reference-table table { width:100%; border-collapse:collapse; font-size:.95rem; }
.reference-table th,.reference-table td { padding:.8rem; border-bottom:1px solid #bcb8b1; text-align:left; vertical-align:top; }
.reference-table thead { background:#e2dfd8; }
@media(max-width:520px) { .reference-table table { font-size:.78rem; } .reference-table th,.reference-table td { padding:.65rem .35rem; } }

.reference-copy img.reference-manufacturer { width:min(15rem,100%); height:auto; min-height:0; max-height:none; object-fit:contain; margin:1.5rem 0 .75rem; }

.silca-section-links { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; }
.silca-section-links a { color:inherit; text-underline-offset:.2em; }
.silca-hero ~ :is(#boards,#sealing-rope) { scroll-margin-top:5rem; }
.silca-section-divider {
  width:min(52%,32rem); height:1px; margin:clamp(1.5rem,3vw,3rem) auto 0;
  border:0; background:var(--section-divider);
}
.silca-rope-photo { margin:0 0 1.5rem; }
.silca-rope-photo img { width:100%; height:auto; min-height:7.5rem; object-fit:cover; }
.silca-rope-photo figcaption { margin-top:.65rem; font-size:.8rem; color:var(--muted); }
.silca-rope-copy p + p { margin-top:.75rem; }

.silca-board-note { border-top:1px solid var(--rule); margin-top:2rem; padding-top:1.5rem; }
@media(min-width:741px) {
  #sealing-rope .reference-links { justify-self:center; margin-top:0; }
}
