/* Navigation and discovery */
.top { flex-wrap:wrap; padding-block:16px; }
.top nav { flex-wrap:wrap; gap:.8rem 1.2rem; }
.header-search { display:flex; flex:1 1 280px; max-width:390px; margin:0 1rem; }
.header-search input { width:100%; min-width:0; border:1px solid #8f8378; border-radius:4px 0 0 4px; padding:.6rem .75rem; font:inherit; background:#fffaf3; color:var(--ink); }
.header-search button { border:1px solid #a22c28; border-radius:0 4px 4px 0; background:#a22c28; color:white; padding:.6rem .8rem; font:inherit; font-weight:700; cursor:pointer; }
.new-badge { display:inline-block; vertical-align:middle; margin-left:.55rem; padding:.3rem .48rem; border-radius:3px; background:#ffe15b; color:#282011; font:800 .8rem/1 system-ui,sans-serif; letter-spacing:.045em; white-space:nowrap; }
.tile strong .new-badge { vertical-align:2px; }
.workshop-head { position:relative; overflow:hidden; background:linear-gradient(110deg,#102934,#254956); color:#fff7e8; }
.workshop-head:after { content:''; position:absolute; right:-50px; top:-100px; width:350px; height:350px; border:60px solid #f4b85a18; border-radius:50%; pointer-events:none; }
.workshop-head .shell { position:relative; z-index:1; }
.workshop-head a { color:#ffdf95; }
.workshop-head h1 .new-badge { vertical-align:middle; font-size:1rem; letter-spacing:.08em; padding:.5rem .65rem; margin-bottom:.4rem; }
.workshop-head p { max-width:620px; color:#f3e8d5; }

/* Image banners share the original AVITRON category artwork. */
.site-layout { display:grid; grid-template-areas:'main main' 'left right'; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; max-width:1656px; margin:auto; }
.site-content { grid-area:main; min-width:0; }
.side-promo { min-width:0; padding:0 24px 28px; }
.side-promo--left { grid-area:left; padding-right:0; }
.side-promo--right { grid-area:right; padding-left:0; }
.side-promo-inner { display:grid; gap:9px; }
.promo-kicker { display:block; font-size:.75rem; color:var(--muted); font-weight:750; text-transform:uppercase; letter-spacing:.09em; }
.promo-card { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; min-width:0; min-height:245px; padding:23px; border-radius:8px; text-decoration:none; color:white; background:#173e42; }
.promo-card img { pointer-events:none; position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; }
.promo-card:after { pointer-events:none; content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,#061c2400 15%,#061c2438 38%,#061c24e8 100%); }
.promo-card strong { font:700 clamp(1.6rem,2.3vw,2rem)/1.05 var(--serif); text-wrap:balance; text-shadow:0 1px 5px #0008; }
.promo-description { display:block; margin-top:.5rem; font-size:.88rem; line-height:1.4; color:#fff; text-shadow:0 1px 3px #000; }
.promo-cta { align-self:flex-start; display:inline-block; margin-top:1rem; padding:.65rem .8rem; border-radius:4px; color:#173747; background:#fff; font-size:.78rem; font-weight:800; line-height:1.3; }
.promo-card:hover .promo-cta { background:#ffe0a2; }
.promo-card:hover { outline:2px solid #b98549; outline-offset:2px; }
.promo-card--tall { min-height:340px; padding:22px; }
.promo-card--tall img { object-position:center; }
.promo-controls { display:flex; flex-wrap:wrap; align-items:center; gap:6px; color:var(--muted); font-size:.75rem; }
.promo-controls span { margin-right:auto; }
.promo-controls button { cursor:pointer; border:1px solid var(--edge); color:var(--ink); background:#fffaf3; border-radius:4px; padding:.4rem .6rem; font:600 .78rem system-ui,sans-serif; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #278eac; outline-offset:3px; }
.promo-disclosure { font-size:.75rem; line-height:1.4; color:var(--muted); }
.shopping-section { margin-block:0 50px; }
.shopping-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; align-items:baseline; margin-bottom:18px; }
.shopping-heading h2 { font-size:1.85rem; }
.shopping-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.shopping-section>.promo-disclosure { margin-top:12px; }
.has-promo-grid .side-promo { display:none; }
.request-strip { margin-block:0 48px; border:1px solid var(--edge); border-left:4px solid var(--accent); background:#fffaf3; border-radius:5px; padding:24px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.request-strip h2 { font-size:1.6rem; margin-bottom:.4rem; }
.request-strip p { color:var(--muted); max-width:560px; }
.request-strip .button { flex-shrink:0; }

/* Search and book requests */
.discovery-page { padding-block:38px 60px; }
.discovery-page>h1 { font-size:clamp(2.8rem,5vw,4.5rem); margin-bottom:14px; }
.page-intro { max-width:740px; color:var(--muted); margin-bottom:28px; }
.search-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,.55fr) auto; gap:14px; align-items:end; background:#e9ddce; border-radius:6px; padding:20px; margin-bottom:22px; }
.search-form label,.request-form label { display:block; font-weight:700; font-size:.95rem; }
.search-form input,.search-form select,.request-form input,.request-form select,.request-form textarea,.request-preview textarea { display:block; width:100%; padding:.75rem; margin-top:.4rem; border:1px solid #b5a694; border-radius:4px; background:#fffdf9; color:var(--ink); font:inherit; }
.search-form select,.request-form select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23594a3d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; }
.search-form .button,.request-form .button { border:0; font:700 1rem system-ui,sans-serif; cursor:pointer; min-height:50px; }
.search-status { margin-bottom:16px; color:var(--muted); font-weight:650; }
.search-results { display:grid; gap:16px; }
.search-card { display:grid; grid-template-columns:115px minmax(0,1fr); background:#fffaf3; border:1px solid var(--edge); border-radius:5px; overflow:hidden; }
.search-cover { display:grid; place-items:center; padding:15px; background:#e9ddce; }
.search-cover img { max-width:100%; max-height:145px; height:auto; }
.search-copy { padding:20px; }
.search-copy h2 { font-size:1.45rem; margin-bottom:.55rem; }
.search-copy h2 a { text-decoration:none; }
.search-category { font-size:.8rem; color:#8c211e; font-weight:750; margin-bottom:.4rem; }
.search-description { font-size:.92rem; color:var(--muted); margin-bottom:14px; }
.search-empty-help { margin-top:25px; padding-top:20px; border-top:1px solid var(--edge); }
.request-form { max-width:780px; padding:28px; background:#fffaf3; border:1px solid var(--edge); border-radius:6px; }
.field-trap { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.request-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.request-fields .full-width { grid-column:1 / -1; }
.request-form textarea { resize:vertical; min-height:160px; }
.field-help { display:block; margin-top:.4rem; font-size:.85rem; font-weight:400; color:var(--muted); }
.request-actions { margin-top:24px; display:flex; gap:12px; flex-wrap:wrap; }
.button-secondary { color:#8c211e; background:#f0e3d2; }
.button-secondary:hover { color:white; }
.request-delivery { font-size:.9rem; color:var(--muted); margin-top:18px; }
.request-status { margin-top:18px; max-width:780px; font-weight:650; }
.request-preview { max-width:780px; margin-top:20px; }
.request-preview textarea { min-height:230px; }
.request-note { max-width:780px; margin-top:22px; color:var(--muted); font-size:.9rem; }
@media(min-width:1280px) {
  .site-layout { grid-template-areas:'left main right'; grid-template-columns:160px minmax(0,1140px) 160px; gap:16px; padding-inline:14px; justify-content:center; }
  .side-promo,.has-promo-grid .side-promo { display:block; padding:28px 0; }
  .side-promo-inner { position:sticky; top:24px; }
  .promo-card--tall { min-height:570px; padding:20px 15px; }
  .promo-card--tall strong { font-size:1.8rem; overflow-wrap:break-word; }
  .promo-card--tall .promo-description { font-size:.85rem; }
}
@media(min-width:1600px) { .site-layout { grid-template-columns:200px minmax(0,1140px) 200px; gap:24px; } .promo-card--tall { min-height:610px; } }
@media(max-width:850px) { .shopping-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .header-search { order:3; flex-basis:100%; max-width:none; margin:0; } .request-strip { align-items:flex-start; flex-direction:column; } }
@media(max-width:600px) { .search-form { grid-template-columns:1fr; } .request-fields { grid-template-columns:1fr; } .request-form { padding:20px; } .search-card { grid-template-columns:85px minmax(0,1fr); } .search-copy { padding:15px; } .search-copy h2 { font-size:1.25rem; } .search-description { font-size:.88rem; } .promo-card { padding:18px; min-height:240px; } .promo-card strong { font-size:1.55rem; } .promo-card--tall { min-height:320px; } .promo-cta { font-size:.72rem; padding:.6rem; } .top nav a { font-size:.8rem; } }
@media(max-width:420px) { .shopping-grid { grid-template-columns:1fr; } .site-layout { gap:0 12px; } .side-promo--left { padding-left:14px; } .side-promo--right { padding-right:14px; } .promo-card--tall { padding:14px; } .promo-card--tall strong { font-size:1.4rem; } .promo-description { font-size:.8rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Book video previews: load media only when the visitor chooses to play. */
.book-video { margin:0 0 2rem; padding:clamp(1rem,3vw,1.75rem); border:1px solid var(--edge); border-radius:6px; background:#fffaf3; }
.book-video-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.65rem; }
.book-video-heading h2 { margin:.15rem 0 0; font-size:clamp(1.65rem,3vw,2.3rem); }
.video-length { flex-shrink:0; color:var(--muted); font-size:.85rem; }
.book-video video { display:block; width:100%; height:auto; aspect-ratio:16/9; margin-top:1.2rem; border-radius:4px; background:#0a2233; }
.book-video .video-help { margin:.65rem 0; color:var(--muted); font-size:.87rem; }
.video-transcript { margin-top:1rem; }
.video-transcript summary { cursor:pointer; font-weight:700; text-underline-offset:.15em; }
.video-transcript p { max-width:75ch; margin-top:.75rem; line-height:1.6; }
@media(max-width:600px) { .book-video-heading { align-items:flex-start; flex-direction:column; gap:.3rem; } }

/* Home-page collection preview. */
.home-video-shell { margin:2rem auto 0; }
.home-video .book-video-heading h2 { font-size:clamp(1.65rem,3vw,2.15rem); }
.video-stage { position:relative; margin-top:1.2rem; }
.book-video .video-stage video { margin-top:0; }
.video-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:84px; height:84px; padding:0; border:2px solid #fff; border-radius:50%; background:#f6c547; color:#112b3c; box-shadow:0 5px 25px #0007; cursor:pointer; }
.video-play[hidden] { display:none; }
.video-play:hover { background:#ffda70; }
.video-play:focus-visible { outline:4px solid #fff; outline-offset:5px; }
@media(max-width:600px) { .video-play { width:64px; height:64px; } .home-video-shell { margin-top:1.25rem; } }
