:root {
    color-scheme: light;
    --ink: #292139;
    --muted: #5d546b;
    --purple: #5a3c84;
    --purple-dark: #452b6c;
    --lavender: #f0eaf7;
    --pale: #f8f5fc;
    --line: #ddd3e7;
    --paper: #fffdfa;
    --white: #fff;
    --rose: #faeee9;
    --radius: 1.2rem;
    --body: "Trebuchet MS", system-ui, sans-serif;
    --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.58 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: var(--purple-dark); text-underline-offset: .18em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7751b2; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(2.65rem, 2rem + 3vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.7rem + 1.45vw, 3rem); letter-spacing: -.035em; }
h3 { line-height: 1.22; }
small { font-size: .85rem; }
.wrap { width: min(100% - 3rem, 1240px); margin-inline: auto; }
.section-space { padding-block: clamp(3rem, 6vw, 5.5rem); }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: .8rem; transform: translateY(-200%); padding: .5rem .8rem; background: var(--white); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; white-space: nowrap; font: 700 1.35rem/1 var(--display); letter-spacing: -.04em; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; justify-content: center; background: var(--purple); border-radius: 50%; width: 2.15rem; height: 2.15rem; padding: .56rem .41rem; transform: rotate(-9deg); }
.brand-mark i { width: 4px; border-radius: 10px; background: var(--white); height: 45%; }
.brand-mark i:nth-child(2) { height: 70%; }
.brand-mark i:nth-child(3) { height: 94%; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.65rem); }
.site-header nav a, .site-footer nav a { text-decoration: none; font-weight: 650; color: var(--ink); font-size: .94rem; }
.site-header nav a:hover, .site-footer nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.2rem; padding: .72rem 1.15rem; border: 1px solid var(--purple); border-radius: .6rem; background: var(--purple); color: var(--white); text-decoration: none; font-size: .95rem; font-weight: 700; line-height: 1.25; }
.button:hover, .button:active { background: var(--purple-dark); border-color: var(--purple-dark); }
.button-small { min-height: 2.65rem; padding: .48rem .85rem; font-size: .88rem; }
.text-link { display: inline-flex; align-items: baseline; gap: .35rem; font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: .52rem; color: var(--purple-dark); font-weight: 750; font-size: .77rem; line-height: 1.25; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-line { width: 1.6rem; height: 1px; background: var(--purple); }
.hero-area { background: linear-gradient(132deg, #f1e9fa 0%, #f5effa 55%, #f9f2eb 100%); border-bottom: 1px solid var(--line); }
.hero { display: grid; align-items: center; grid-template-columns: .93fr 1.07fr; grid-template-areas: "copy finder" "image finder"; gap: 1.1rem clamp(1.75rem, 5vw, 5rem); padding-block: clamp(2.5rem, 4vw, 4rem) 2.35rem; }
.hero-copy { grid-area: copy; padding-block: .35rem; }
.hero-copy h1 { margin: .82rem 0 1rem; font-size: clamp(3.45rem, 2.5rem + 3.8vw, 6.45rem); line-height: .96; letter-spacing: -.065em; }
.hero-copy h1 em { display: block; color: var(--purple); font-weight: 400; }
.hero-copy p { max-width: 31rem; color: var(--muted); font-size: clamp(1.03rem, .95rem + .33vw, 1.24rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.25rem; margin-top: 1.6rem; }
.hero-image { grid-area: image; position: relative; overflow: hidden; border-radius: 1.1rem 3.25rem 1.1rem 1.1rem; box-shadow: 0 16px 38px #49335025; }
.hero-image img { height: clamp(8rem, 14vw, 12rem); object-fit: cover; object-position: 50% 58%; }
.hero-image figcaption, .picture-note { position: absolute; bottom: .65rem; right: .65rem; background: #25202adf; color: white; padding: .22rem .52rem; border-radius: .35rem; font-size: .7rem; }
.finder { grid-area: finder; display: grid; gap: 1.15rem; background: var(--paper); padding: clamp(1.15rem, 3vw, 2.65rem); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 25px #49335010; }
.finder h2 { margin: .45rem 0 .5rem; font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.65rem); }
.finder-intro p, .section-heading p { color: var(--muted); }
.finder-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; align-content: start; }
.finder-choice { display: flex; text-align: left; justify-content: space-between; align-items: center; gap: .75rem; min-height: 3.15rem; padding: .55rem .75rem; background: var(--pale); color: var(--ink); border: 1px solid var(--line); border-radius: .55rem; font-weight: 650; line-height: 1.25; }
.finder-choice:hover, .compare-pick:hover { background: var(--lavender); border-color: var(--purple); }
.finder-choice span { color: var(--purple); }
.finder-controls { display: flex; gap: 1rem; margin-top: .65rem; }
.plain-button { border: 0; background: transparent; color: var(--purple-dark); text-decoration: underline; text-underline-offset: .2em; font-weight: 700; min-height: 2.65rem; padding: .25rem .3rem; }
.result-link { min-height: 3rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .55rem; text-decoration: none; font-weight: 700; background: var(--pale); }
.result-link:hover { border-color: var(--purple); }
.result-resource { grid-column: 1 / -1; align-self: center; }
.emergency { display: flex; justify-content: space-between; gap: .55rem 1rem; align-items: baseline; flex-wrap: wrap; padding: .85rem 1rem; background: var(--rose); border-left: 3px solid #a96052; border-radius: .4rem; margin-block: .75rem; }
.emergency p { font-size: .96rem; }
.emergency a { font-size: .88rem; }
.section-heading { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.4rem; }
.section-heading p, .page-intro > p, .intro-text { margin-top: .65rem; }
.department-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.department-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: .85rem; text-decoration: none; color: var(--ink); }
.department-card:hover, .guide-card:hover { border-color: var(--purple); }
.department-image { display: block; min-height: 5.5rem; aspect-ratio: 1.85; overflow: hidden; }
.department-image img, .card-picture img, .detail-image img { height: 100%; width: 100%; object-fit: cover; }
.department-copy { background: var(--paper); flex: 1; padding: .8rem; display: grid; align-content: start; gap: .3rem; line-height: 1.28; }
.department-copy > span { justify-self: end; color: var(--purple); }
.department-copy small { color: var(--muted); }
.guide-band { background: var(--pale); border-block: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.guide-card { display: grid; align-content: start; gap: .62rem; padding: 1.05rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); text-decoration: none; color: var(--ink); }
.guide-card p { color: var(--muted); font-size: .91rem; }
.guide-card span { justify-self: end; color: var(--purple); }
.site-footer { background: #ece3f4; border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner { align-items: flex-start; }
.footer-inner p { margin-top: .65rem; color: var(--muted); font-size: .83rem; }
.page-intro { padding-block: 2.55rem 1.45rem; }
.page-intro p { max-width: 48rem; color: var(--muted); }
.page-intro .text-link { margin-top: .65rem; }
.crumb { margin: 0 0 .8rem !important; color: var(--muted); font-size: .86rem; }
.catalog { padding-bottom: 5rem; }
.department-nav { display: flex; flex-wrap: wrap; gap: .45rem; border-block: 1px solid var(--line); padding-block: .75rem; }
.department-nav a { font-size: .88rem; padding: .42rem .66rem; border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; }
.department-nav a[aria-current], .department-nav a:hover { background: var(--lavender); border-color: var(--purple); }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .55rem; padding-block: .9rem; }
.catalog-toolbar label { display: grid; gap: .25rem; color: var(--ink); font-size: .85rem; font-weight: 700; }
.catalog-toolbar input { min-height: 2.65rem; width: min(20rem, 100%); border: 1px solid var(--line); border-radius: .5rem; padding: .35rem .7rem; background: var(--white); color: var(--ink); }
.catalog-toolbar p, .empty { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.product-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .9rem; background: var(--white); }
.card-picture, .detail-image { position: relative; display: grid; align-items: center; overflow: hidden; aspect-ratio: 1.78; text-decoration: none; }
.picture-doors { background: #e8dcef; }
.picture-gps { background: linear-gradient(135deg, #e7dcf3, #d9d9ed); }
.picture-water { background: #d9edf0; }
.picture-home { background: #eee0d4; }
.picture-fire { background: #f0dbd8; }
.model-art { display: grid; gap: .35rem; justify-items: start; padding: clamp(.9rem, 4vw, 2.5rem); color: var(--purple-dark); }
.model-art strong { font: 400 clamp(1.25rem, 1rem + 1.3vw, 2.2rem)/1.12 var(--display); overflow-wrap: anywhere; }
.product-body { display: grid; align-content: start; flex: 1; gap: .5rem; padding: 1rem; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { text-decoration: underline; }
.product-body p { color: var(--muted); }
.card-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; padding-top: .25rem; font-size: .86rem; }
.compare-pick { background: var(--pale); border: 1px solid var(--line); color: var(--purple-dark); border-radius: .4rem; font-size: .82rem; line-height: 1.2; padding: .3rem .55rem; min-height: 2.25rem; }
.compare-pick[aria-pressed="true"] { border-color: var(--purple); background: var(--lavender); font-weight: 700; }
.product-hero { display: grid; align-items: start; grid-template-columns: .9fr 1.1fr; gap: clamp(1.25rem, 4vw, 3.5rem); }
.product-hero h1 { margin: .55rem 0 .6rem; font-size: clamp(2.3rem, 1.8rem + 2.2vw, 4.2rem); }
.product-hero p + p { margin-top: .45rem; }
.detail-image { border-radius: var(--radius); aspect-ratio: 1.35; }
.product-lead { font-weight: 700; color: var(--muted); }
.variant { display: grid; grid-template-columns: auto 1fr; gap: .3rem .7rem; font-size: .9rem; }
.variant dd { margin: 0; }
.variant dt { font-weight: 700; }
.disclosure { color: var(--muted); font-size: .82rem; margin-top: .45rem; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.detail-grid section, .shop-note { padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--pale); }
.detail-grid h2 { font-size: 1.5rem; margin-bottom: .45rem; }
.shop-note { margin-top: 1rem; }
.guide-page { max-width: 1000px; }
.guide-page .intro-text { max-width: 42rem; color: var(--muted); font-size: 1.15rem; }
.guide-content { max-width: 46rem; display: grid; gap: 1.35rem; margin-block: 2rem; }
.guide-content h2 { font-size: clamp(1.65rem, 1.3rem + 1vw, 2.3rem); margin-bottom: .35rem; }
.guide-page > .text-link { margin-top: .8rem; }
.guide-products { margin-top: 2.25rem; }
.guide-products h2, .guide-index > h2 { margin-bottom: .8rem; }
.guide-index { padding-top: .5rem; }
.guide-index > h2 { margin-top: 2rem; }
.resource-list { list-style: none; padding: 0; margin: .75rem 0; max-width: 48rem; display: grid; gap: .55rem; }
.resource-list a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .85rem; gap: .75rem; border: 1px solid var(--line); border-radius: .55rem; text-decoration: none; font-weight: 700; background: var(--white); }
.resource-list a:hover { background: var(--pale); }
.resource-list small { display: block; color: var(--muted); font-weight: 400; }
.compare-bar { position: fixed; z-index: 3; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 1.5rem), 28rem); gap: .6rem; padding: .55rem .65rem .55rem .85rem; background: var(--paper); border: 1px solid var(--purple); border-radius: .65rem; box-shadow: 0 8px 24px #29213938; font-weight: 700; }
.comparison { width: min(calc(100% - 1rem), 58rem); max-height: 85vh; padding: 0; border: 1px solid var(--line); border-radius: .88rem; color: var(--ink); background: var(--paper); }
.comparison::backdrop { background: #292139aa; }
.dialog-head, .dialog-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1rem; }
.dialog-head h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.25rem); }
.dialog-foot { border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; padding: .2rem .8rem .7rem; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 33rem; }
.table-scroll th, .table-scroll td { padding: .6rem; vertical-align: top; text-align: left; border: 1px solid var(--line); }
.table-scroll td { min-width: 10rem; }
.table-scroll th { background: var(--pale); }
@media (max-width: 900px) {
    .department-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .wrap { width: min(100% - 2rem, 1240px); }
    .header-inner { min-height: 67px; gap: .55rem; }
    .site-header nav { gap: .7rem; justify-content: flex-end; }
    .site-header nav a { font-size: .81rem; }
    .header-cta { display: none; }
    .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "finder" "image"; padding-top: 1.65rem; gap: 1.2rem; }
    .hero-copy h1 { font-size: clamp(3.05rem, 2rem + 6.5vw, 5rem); }
    .hero-image { border-radius: .8rem 2rem .8rem .8rem; }
    .hero-image img { height: auto; aspect-ratio: 2.1; }
    .finder { grid-template-columns: 1fr; gap: .75rem; }
    .product-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-hero { grid-template-columns: 1fr; }
    .product-hero .detail-image { max-height: 19rem; }
}
@media (max-width: 450px) {
    .brand { font-size: 1.18rem; gap: .4rem; }
    .brand-mark { width: 1.8rem; height: 1.8rem; padding: .43rem .35rem; }
    .site-header nav { gap: .47rem; }
    .hero-actions { margin-top: 1.1rem; }
    .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid, .detail-grid { grid-template-columns: 1fr; }
    .guide-card { padding: .75rem; }
    .footer-inner { flex-direction: column; }
}
.picture-gps .department-image {
    position: relative;
    background:
        repeating-linear-gradient(32deg, transparent 0 1.8rem, #faf7ffab 1.8rem 2rem, transparent 2rem 3.6rem),
        repeating-linear-gradient(119deg, transparent 0 2.5rem, #f8f4fd88 2.5rem 2.8rem, transparent 2.8rem 4.1rem),
        linear-gradient(136deg, #dad3ef, #c8bedf);
}
.picture-gps .department-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.8rem;
    height: 1.8rem;
    transform: translate(-50%, -66%) rotate(-45deg);
    border: .45rem solid var(--purple);
    border-radius: 50% 50% 50% 0;
    background: var(--white);
    box-shadow: -.15rem .14rem .6rem #452b6c50;
}

.product-media-link { display: block; color: inherit; text-decoration: none; }
.product-visual { position: relative; }
.product-visual.has-product-inset { padding-bottom: .85rem; }
.product-visual .picture-note { top: .65rem; bottom: auto; }
.product-inset {
    position: absolute;
    z-index: 1;
    left: .9rem;
    bottom: 0;
    display: flex;
    align-items: center;
    max-width: calc(100% - 1.8rem);
    gap: .6rem;
    padding: .35rem .75rem .35rem .35rem;
    border: 1px solid #dacbe8;
    border-radius: .72rem;
    background: #f8f3fb;
    color: var(--purple-dark);
    box-shadow: 0 .25rem .8rem #29213925;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.product-inset img {
    width: 4.4rem;
    height: 3.8rem;
    object-fit: contain;
    border-radius: .42rem;
    background: white;
}
.product-card:focus-within .product-inset { transform: translateY(-.2rem); }
@media (hover: hover) {
    .product-card:hover .product-inset { transform: translateY(-.24rem); box-shadow: 0 .45rem 1rem #29213932; }
}
@media (prefers-reduced-motion: reduce) {
    .product-inset { transition: none; }
}
.product-hero .product-inset { left: 1.1rem; font-size: .85rem; }
.product-hero .product-inset img { width: 5.85rem; height: 5rem; }
.standalone-photo {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: .45rem;
    width: 100%;
    height: 100%;
    padding: .65rem;
    color: var(--purple-dark);
    font-size: .76rem;
    font-weight: 700;
}
.standalone-photo img {
    height: 100%;
    width: auto;
    max-width: 84%;
    object-fit: contain;
    border-radius: .55rem;
    background: white;
}
.photo-credit { margin-top: .55rem; color: var(--muted); font-size: .82rem; }
