/* Public navigation, editorial placements and links between sections. */
.site-end {
  margin-block-start: auto;
  border-block-start: 1px solid var(--border);
  background: var(--background);
  color: var(--heading);
  scroll-margin-block-start: var(--home-header-height, 1rem);
}
.site-end > .shell { container: footer / inline-size; }
.end-directory {
  display: grid;
  align-items: start;
  gap: clamp(26px, 4cqi, 56px);
  padding-block: clamp(26px, 4.1cqi, 62px);
}
.end-identity { min-inline-size: 0; }
.end-identity .brand-logo { max-inline-size: 100%; }
.end-identity img { width: 145px; }
.end-identity p { color: var(--muted-foreground); font-size: 13px; line-height: 1.5; margin-block-start: 13px; }
.end-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 14px;
}
.end-directory nav { display:flex; flex-direction:column; align-items:flex-start; min-inline-size:0; }
.end-directory h2 { font-size:15px; font-weight:665; margin-bottom:8px; letter-spacing: var(--tracking-snug); }
.end-directory nav a,.end-directory nav button { display:inline-flex; align-items:center; min-height:32px; padding:0; color:var(--muted-foreground); font-size:13px; text-align:start; }
.end-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:7px 18px; color:var(--muted-foreground); font-size:11px; padding:9px 0; min-height:42px; border-top:1px solid var(--border); }
.end-meta nav { display:flex; flex-wrap:wrap; gap:6px 20px; }.end-meta a { color:var(--muted-foreground); display:inline-flex; align-items:center; gap:5px; min-height:28px; }.end-meta .icon { width:11px; }
@container footer (min-width: 32rem) {
  .end-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.25cqi, 34px); }
}
@container footer (min-width: 40rem) {
  .end-directory { grid-template-columns: minmax(145px, .8fr) minmax(0, 2.5fr); }
}
/* Footer and engraving are one block: the links rest on the open paper of the engraving,
   and the picture melts into the page above it (its paper matches --background). */
.site-end {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-block-size: clamp(30rem, 72svh, 46rem);
  border-block-start: 0;
  background: var(--background);
}
.site-end > .shell { display: flex; flex: 1; flex-direction: column; width: min(100%, 1600px); }
.site-end .end-meta { margin-block-start: auto; border-top: 0; }
.footer-art {
  --engraving: url("assets/footer-engraving-light-hd.webp");
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: var(--engraving) right max(2rem, calc((100% - 1600px) / 2 + 4vw)) bottom / auto 96% no-repeat;
  mix-blend-mode: multiply;
  /* Lift the printed paper to white so only the ink multiplies onto the page. */
  filter: brightness(1.07) contrast(1.04);
  /* The top of the picture dissolves, so the links float on paper. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
}
:root.dark .footer-art { --engraving: url("assets/footer-engraving-dark-hd.webp"); mix-blend-mode: screen; filter: contrast(1.08) brightness(.96); }
.site-end .end-directory, .site-end .end-meta { max-width: min(100%, 60rem); }
.site-end :is(.end-directory h2) { color: var(--heading); }
.site-end :is(.end-directory a, .end-directory button, .end-meta a) { color: var(--muted-foreground); }
@media (max-width: 900px) {
  .site-end { min-block-size: auto; }
  .site-end > .shell { padding-block-end: min(110vw, 34rem); }
  .footer-art { background-position: center bottom; background-size: auto min(108vw, 33rem); }
  .site-end .end-meta { margin-block-start: 1rem; }
}
.preview-note { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 15px; margin-top:13px; padding:7px 12px; border-radius:var(--radius); background:var(--muted); font-size:12px; }
.preview-note a { display:inline-flex; align-items:center; gap:6px; min-height:25px; color:var(--link); }
.poster-caption p { overflow-wrap:anywhere; }
.home-routes { display:grid; grid-template-columns:1fr 1fr; gap:clamp(12px,1.6vw,26px); margin-block:clamp(32px,4vw,66px); }
.home-routes > a { display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:2px solid var(--primary); background:var(--card); padding:clamp(17px,2.8vw,40px); }
.home-routes h2 { font-size:clamp(23px,2.4vw,40px); color:var(--heading); line-height:1.06; letter-spacing: var(--tracking-display); font-weight:590; }
.home-routes p { margin-top:7px; color:var(--muted-foreground); font-size:14px; }.home-routes .icon { width:25px; height:25px; color:var(--link); }
.about-hero { display:grid; grid-template-columns:.9fr 1.15fr; border-radius:var(--panel-radius); overflow:hidden; background:var(--muted); }
.about-hero > div { align-self:center; padding:clamp(23px,4vw,66px); }.about-name { color:var(--link); font-size:13px; font-weight:620; }
.about h1 { color:var(--heading); font-size:clamp(42px,5vw,86px); text-wrap:wrap; letter-spacing: var(--tracking-display); line-height:1; margin:12px 0 20px; font-weight:605; }
.about-lead { color:var(--muted-foreground); max-width:33ch; font-size:clamp(18px,1.65vw,28px); line-height:1.3; }.about-hero .button { margin-top:21px; }
.about-hero > img { width:100%; height:clamp(340px,32vw,530px); object-fit:cover; }
.about-body { display:grid; grid-template-columns:1.35fr 1fr; gap:clamp(20px,6vw,93px); margin-top:clamp(32px,4.3vw,70px); }
.about-body h2,.support-faq h2 { margin-bottom:15px; color:var(--heading); font-size:clamp(26px,2.5vw,42px); font-weight:590; letter-spacing: var(--tracking-display); line-height:1.1; }
.about-body > div > p { line-height:1.65; max-width:65ch; color:var(--muted-foreground); }.about-actions { display:flex; gap:17px; flex-wrap:wrap; margin-top:8px; }
.about-contacts { border-top:1px solid var(--border); align-self:start; padding-top:clamp(14px,1.6vw,22px); }.about-contacts > p { color:var(--muted-foreground); font-size:13px; }.about-contacts > a { display:block; color:var(--link); margin-top:6px; }.about-contacts > .text-link { display:inline-flex; }
.support-faq { margin-top:36px; max-width:900px; }.support-faq details { border-top:1px solid var(--border); }.support-faq details:last-child { border-bottom:1px solid var(--border); }
.support-faq summary { cursor:pointer; padding:14px 4px; color:var(--heading); font-weight:590; }.support-faq details p { color:var(--muted-foreground); max-width:72ch; padding:0 3px 15px; }.support-faq details a { color:var(--link); text-decoration:underline; text-underline-offset:3px; }
.related-story { display:flex; align-items:center; gap:clamp(13px,2vw,27px); width:min(100%,850px); padding:12px 0; border-block:1px solid var(--border); margin-top:clamp(25px,3vw,47px); color:var(--heading); }
.related-story img { width:clamp(83px,12vw,170px); height:clamp(58px,7.5vw,100px); object-fit:cover; border-radius:var(--radius); background:var(--secondary); }.related-story small { display:block; color:var(--muted-foreground); font-size:12px; }.related-story strong { display:block; font-size:clamp(17px,1.7vw,28px); font-weight:600; letter-spacing: var(--tracking-snug); line-height:1.2; margin-top:3px; }.related-story > svg { width:18px; margin-left:auto; }
.discovery-form { max-width:740px; }.discovery-form label { display:block; color:var(--muted-foreground); font-size:14px; font-weight:580; margin-bottom:6px; }.discovery-form > div { display:flex; gap:7px; }.discovery-form input { padding:8px 12px; flex:1; min-width:0; }
.find-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:18px 0; }.find-tabs button { min-height:38px; padding:6px 11px; border:1px solid var(--input); color:var(--muted-foreground); border-radius:var(--radius); font-size:13px; }.find-tabs button[aria-pressed="true"] { color:var(--primary-foreground); background:var(--primary); border-color:var(--primary); }
.find-count { margin-block:15px 7px; font-size:13px; color:var(--muted-foreground); }.find-results { max-width:960px; display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
.find-results a,.find-suggest a { display:grid; grid-template-columns:1fr auto; align-content:center; gap:2px 8px; padding:11px 3px; border-top:1px solid var(--border); color:var(--heading); }
.find-results strong,.find-suggest strong { font-size:16px; font-weight:600; }.find-results small,.find-suggest small { color:var(--muted-foreground); font-size:12px; grid-row:2; }.find-results a > span,.find-suggest a > span { grid-area:1/2/3/3; align-self:center; color:var(--link); }
.find-suggest { margin-top:18px; }.find-suggest strong { font-size:14px; }.find-suggest p { color:var(--muted-foreground); font-size:14px; }
@media (hover:hover) { .site-end a:hover,.site-end button:hover,.find-results a:hover strong,.find-suggest a:hover strong,.related-story:hover strong,.home-routes > a:hover h2 { color:var(--link); text-decoration:underline; text-underline-offset:3px; } }
@media(max-width:760px) {
  .end-identity img { width:124px; }.end-directory h2 { font-size:14px; }
  .end-meta nav { gap:12px; }
  .home-routes { grid-template-columns:1fr; }.home-routes p { font-size:13px; }.about-hero,.about-body { grid-template-columns:1fr; }.about-hero > img { height:clamp(200px,47vw,310px); }.about-body > div > p { font-size:15px; }
}
@media(max-width:520px) { .end-meta { align-items:flex-start; }.find-results { grid-template-columns:1fr; }.retail-product-link { font-size:13px; }.related-story strong { font-size:17px; }.feature .poster-caption p { max-width:100%; } }
