.scene-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(390px, 53vw, 660px);
    margin-top: 1rem;
    background: #171b1b;
    color: #fff;
    overflow: hidden;
}
.scene-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.scene-hero img { object-position: 50% 57%; }
.scene-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, #080a0a 0%, #080a0ad9 23%, transparent 78%);
}
.scene-intro { padding: clamp(1.15rem, 4vw, 3rem); max-width: 50rem; }
.scene-intro h1 { margin: .18em 0; max-width: 14ch; }
.scene-intro p { margin: 0; max-width: 45ch; }
.scene-intro .eyebrow { color: #c9ff38; }
.scene-picks h2 { margin: .25rem 0; }
.scene-picks p { margin: .35rem 0; }
.scene-category { scroll-margin-top: 1rem; margin-bottom: 1.5rem; }
.scene-category > h3 { margin: 0; font-size: 1.55rem; }
.scene-products {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding: 0;
    list-style: none;
}
.scene-products li { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1rem; background: var(--white); border-top: 3px solid #9c9f93; }
.scene-products li:first-child { background: #222625; border-top-color: #c9ff38; color: #fff; }
.scene-products li:nth-child(2) { border-top-color: #72952f; }
.scene-products li:first-child .eyebrow { color: #c9ff38; }
.scene-product-name { display: block; margin: .45rem 0; line-height: 1.25; font-size: 1.15rem; }
.scene-products a { color: inherit; font-size: .95rem; }
.scene-products .product-photo { width: 100%; }
.scene-products li:first-child .product-photo figcaption { color: #e0e6dd; }
.scene-products .product-offer { margin: .65rem 0 0; }
.scene-products .product-offer small { display: inline-block; margin-top: .2rem; }
.scene-products li:first-child .product-offer strong { color: #c9ff38; }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: .9rem;
}
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: .55rem; color: var(--muted); }
.site-head [aria-current="page"], .site-foot [aria-current="page"] { text-decoration-thickness: .16em; }
.section-head {
    display: grid;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.2rem, 4vw, 2.6rem);
    background: #242827;
    color: #fff;
    border-radius: .6rem;
    overflow: hidden;
}
.section-head--image { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.section-head h1 { font-size: clamp(2.15rem, 5vw, 4.2rem); }
.section-head p { max-width: 54ch; margin: .65rem 0; }
.section-head .eyebrow { color: #c9ff38; }
.section-head img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .4rem; }
.section-head img[src$=".svg"] { object-fit: contain; }
.section-tiles, .site-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: .8rem;
}
.section-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    gap: .6rem 1rem;
    align-items: start;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
}
.section-tile:hover h3, .section-tile:focus-visible h3 { text-decoration: underline; }
.section-tile img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .3rem; background: #242827; }
.section-tile { overflow: hidden; transition: border-color .18s, box-shadow .18s; }
a.section-tile:hover { border-color: #7c8c62; box-shadow: 0 8px 22px #19252210; }
.section-tile--pending { grid-template-columns: 1fr; }
.section-status { display: inline-block; margin: .1rem 0 .4rem; padding: .15rem .55rem; border-radius: 2rem; background: #ecefef; color: #495351; font: 650 .72rem/1.5 system-ui, sans-serif; }
#debuter .section-tile { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; align-items: center; }
#debuter .section-tile > img { grid-column: auto; grid-row: 1; }
.map-department > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .4rem; margin-bottom: .7rem; }
.site-map-grid .section-tree { list-style: none; padding: 0; }
.section-tree-row { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); align-items: center; gap: .7rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.section-tree-row > img { display: block; width: 4.25rem; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .25rem; }
.section-tree-row .section-pending { display: block; margin: .15rem 0 0; font-size: .73rem; }
.section-tree .section-tree { margin-left: 1rem; }
.map-department h2 { margin-top: .4rem; }
.section-tile img[src$=".svg"] { object-fit: contain; object-position: left; background: #242827; }
.section-tile p { color: var(--muted); margin: .25rem 0; }
.section-arrow, .starter-number { display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: 50%; background: #c9ff38; color: #242827; font-weight: 800; }
.starter-department { display: inline-block; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--white); font-size: .9rem; }
.department-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .65rem; list-style: none; padding: 0; }
.department-plan li { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--muted); }
.department-plan strong { display: block; color: var(--ink); }
.section-pending { color: var(--muted); margin-inline-start: .25rem; }
.section-criteria { max-width: 72ch; padding-left: 1.4rem; }
.section-criteria li, .site-map-grid li { margin-bottom: .3rem; }
.site-map-grid h2:first-child { margin-top: 0; }
.site-map-grid ul { padding-left: 1.25rem; }
.starter-card { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.starter-card p { margin: 0 0 .75rem; }
.starter-department { margin-top: auto; }
.starter-card > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .35rem; margin-bottom: .5rem; }
.lesson-photo { margin: 1.5rem 0; }
.lesson-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .5rem; }
.catalogue-jumps { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.catalogue-jumps a { padding: .6rem .95rem; border: 1px solid var(--line); border-radius: 2rem; text-decoration: none; background: var(--white); }
.catalogue-jumps a:hover, .catalogue-jumps a:focus-visible { background: #c9ff38; color: #242827; }
.product-story { font-size: .93rem; line-height: 1.6; }
.product-story p { margin: .7rem 0; }
.product-facts { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: .5rem 0; list-style: none; }
.scene-products .product-facts li, .product-facts li { display: block; padding: .25rem .55rem; border: 1px solid #cfd5cf; border-radius: .25rem; background: transparent; color: inherit; font-size: .75rem; font-weight: 650; }
.product-detail { padding-left: .65rem; border-left: 2px solid #9ba68a; }
.product-artist { padding: .65rem; background: #c9ff3817; border-radius: .3rem; }
.scene-products .product-photo, .gear-card .product-photo { order: -4; }
.scene-products > li > .eyebrow { order: -3; }
.scene-products .scene-product-name, .gear-card > h3 { order: -2; }
.scene-products .product-offer, .gear-card .product-offer { order: -1; margin: .3rem 0 .7rem; }
.scene-picks, #section-comparison, #section-criteria, #section-articles { scroll-margin-top: 1rem; }
.product-detail-button { display: inline-block; padding: .65rem .85rem; margin: .5rem 0; border: 1px solid currentColor; border-radius: .3rem; text-decoration: none; font-weight: 750; }
.scene-products .product-detail-button, .gear-card .product-detail-button { order: -1; }
.diagram-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style-position: inside; padding: 0; }
.diagram-key li { padding: .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.5rem); align-items: start; }
.product-intro h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; margin: .7rem 0 1rem; }
.product-purchase { display: flex; flex-direction: column; align-items: flex-start; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; }
.product-purchase .product-photo { width: 100%; --photo-height: clamp(16rem, 30vw, 24rem); }
.product-purchase .product-offer strong { font-size: 1.7rem; }
.product-purpose { padding: 1rem; border-left: 3px solid #87ac28; background: #c9ff3814; }
.product-reading { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.product-reading p { max-width: 72ch; line-height: 1.8; }
.product-kit { margin-top: 2rem; padding: 1.4rem; background: #222625; color: #fff; border-radius: .5rem; }
.product-kit h2, .product-kit h3 { color: #c9ff38; }
.product-kit .notice { color: #d4d9d2; }
.product-kit li { margin-bottom: .6rem; }
.product-spec-table { overflow-x: auto; }
.product-spec-table table { border-collapse: collapse; width: 100%; }
.product-spec-table th, .product-spec-table td { text-align: left; vertical-align: top; padding: .9rem; border-bottom: 1px solid var(--line); }
.product-spec-table th { width: 32%; background: #e9eeea; }
.product-sources { font-size: .9rem; color: var(--muted); }
.guide-diagram img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.card > img { max-width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: .35rem; }
.guide-steps strong { display: block; margin-bottom: .3rem; }
@media(max-width: 760px) { .product-intro, .product-reading { grid-template-columns: 1fr; } .product-kit { margin-top: 0; } }
@media (min-width: 961px) {
    .section-tiles, .site-map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #debuter .section-tiles { grid-template-columns: 1fr; }
    #guides > .section-tiles > .section-tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: center; }
    #guides > .section-tiles > .section-tile:last-child:nth-child(3n + 1) > img { grid-column: auto; grid-row: 1; }
}
@media (max-width: 620px) {
    .scene-hero img { object-position: 43% 58%; }
    .scene-products, .section-head--image { grid-template-columns: 1fr; }
    .section-head img { max-height: none; }
    #debuter .section-tile { grid-template-columns: minmax(0, 1fr) auto; }
    #debuter .section-tile > img { grid-column: 1 / -1; }
}
