:root {
    --ink: #202722;
    --muted: #777b75;
    --line: #e6e8e3;
    --accent: #315948;
    --warm: #f7f6f1;
    --cream: #e9e6dd
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    font: 15px/1.5 Inter, Arial, sans-serif;
    background: #fff
}

button,
input,
select {
    font: inherit
}

button {
    cursor: pointer
}

.container {
    max-width: 1240px;
    padding: 0 32px;
    margin: auto
}

.announcement {
    background: #2d493c;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    letter-spacing: 1.2px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    border-bottom: 1px solid var(--line)
}

.brand {
    font-family: Georgia, serif;
    letter-spacing: 3px;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
}

.navlinks {
    display: flex;
    gap: 28px;
    font-size: 12px;
    letter-spacing: 1px;
    flex:1;
    justify-content: center;
    align-items: center;
}

.nav a {
    color: inherit;
    text-decoration: none
}

.icons {
    font-size: 20px;
    letter-spacing: 12px
}

.hero {
    background: linear-gradient(115deg, #f5f4ef, #eaece5);
    text-align: center;
    padding: 65px 20px 62px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700
}

.hero h1 {
    font: normal 52px/1.1 Georgia, serif;
    margin: 12px 0
}

.hero p {
    color: #656d65;
    max-width: 610px;
    margin: 0 auto 23px
}

.btn {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 3px;
    font-size: 12px;
    letter-spacing: .5px;
    text-decoration: none;
}

.btn.ghost {
    background: transparent;
    color: var(--accent)
}

h2 {
    font: normal 34px Georgia, serif;
    margin: 0
}

.section {
    padding-top: 62px;
    padding-bottom: 64px
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 27px
}

.sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px
}

.ratings {
    display: flex;
    gap: 16px
}

.rating {
    min-width: 0;
    border: 1px solid var(--line);
    padding: 23px;
    text-align: center;
    background: #fff
}

.rating .provider {
    font-weight: 700;
    font-size: 17px
}

.stars {
    color: #b08446;
    letter-spacing: 3px
}

.score {
    font: 32px Georgia, serif;
    margin: 8px 0 0
}

.rating small {
    color: var(--muted)
}

.disclosure {
    font-size: 11px;
    color: #858983;
    margin-top: 13px
}

.features {
    background: var(--warm)
}

.featuregrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.feature {
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #d3d8d1;
    text-align: left;
    aspect-ratio: 4/3;
    cursor: pointer
}

.feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.feature:hover img {
    transform: scale(1.05)
}

.feature:after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .66))
}

.feature .copy {
    position: absolute;
    z-index: 1;
    bottom: 20px;
    left: 22px;
    right: 20px;
    color: white
}

.feature strong {
    font: normal 25px Georgia, serif;
    display: block
}

.feature span {
    font-size: 12px
}

.view {
    font-size: 13px;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 5px;
    background: none;
    border: 0
}

.filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 24px 0 27px
}

.chip {
    border: 1px solid #d6dbd5;
    background: white;
    color: #414a43;
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 12px
}

.chip.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent)
}

select {
    padding: 9px 14px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 3px;
    margin-left: auto
}

.gallery {
    columns: 4 220px;
    column-gap: 16px
}

.tile {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 17px;
    cursor: pointer;
    border: 1px solid #eee;
    background: white;
    text-align: left;
    padding: 0
}

.tile img {
    width: 100%;
    height: auto;
    display: block
}

.tile .info {
    padding: 13px 14px
}

.tile .source {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase
}

.tile .title {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0
}

.tile .desc {
    font-size: 12px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tile .smallstar {
    font-size: 12px;
    color: #aa8042
}

.tile > .review-video-note { margin: 0; padding: 0 16px 16px; }
.review-video-note a { display: block; margin-top: 6px; }

.video-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #fff;
    background: #0009;
    padding: 5px 9px;
    border-radius: 18px;
    font-size: 11px
}

.pic {
    position: relative
}

.center {
    text-align: center;
    margin-top: 26px
}

.footer {
    background: #283e34;
    color: #f5f5f0;
    padding: 40px 0;
    margin-top: 15px
}

.footrow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.footer small {
    opacity: .7
}

.overlay {
    position: fixed;
    inset: 0;
    background: #000a;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 20
}

.overlay.open {
    display: flex
}

.dialog {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 370px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    background: white;
    overflow: auto
}

.dialog img {
    width: 100%;
    height: 100%;
    max-height: 75vh;
    object-fit: cover
}

.dialog .body {
    padding: 38px 30px
}

.close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 23px
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 40px
}

@media(max-width:750px) {
    .container {
        padding: 0 18px
    }

    .nav {
        height: 64px
    }

    .brand {
        font-size: 19px
    }

    .navlinks {
        display: none
    }

    .hero {
        padding: 54px 15px
    }

    .hero h1 {
        font-size: 38px
    }

    .section {
        padding-top: 44px;
        padding-bottom: 45px
    }

    .ratings {
        gap: 9px
    }

    .rating {
        padding: 13px
    }

    .score {
        font-size: 25px
    }

    .featuregrid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .feature:first-child {
        grid-column: 1/-1;
        aspect-ratio: 1.75
    }

    .feature {
        aspect-ratio: 1
    }

    .feature .copy {
        bottom: 12px;
        left: 13px
    }

    .feature strong {
        font-size: 21px
    }

    .heading {
        align-items: start
    }

    h2 {
        font-size: 29px
    }

    .gallery {
        columns: 2 150px;
        column-gap: 10px
    }

    .tile {
        margin-bottom: 11px
    }

    .tile .info {
        padding: 10px
    }

    .dialog {
        grid-template-columns: 1fr;
        max-width: 440px
    }

    .dialog img {
        max-height: 42vh
    }

    .dialog .body {
        padding: 20px
    }

    .footrow {
        display: block
    }

    select {
        margin-left: 0
    }
}

dialog.story-dialog {
    border: 0;
    max-width: 850px;
    width: calc(100% - 36px);
    max-height: 90vh;
    padding: 34px;
    color: var(--ink)
}

dialog.story-dialog::backdrop {
    background: #0009
}

.detail-photos {
    margin: 10px 0 24px
}

.detail-photo-stage {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(220px, 55vh, 520px);
    overflow: hidden;
    border-radius: 6px;
    background: var(--warm);
    touch-action: pan-y pinch-zoom
}

.detail-photos img,
.detail-photos video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain
}

.detail-photo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fffffff0;
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 2px 10px #0001
}

.detail-photo-prev { left: 10px }
.detail-photo-next { right: 10px }
.detail-photo-arrow:hover { background: #fff }

.detail-photo-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 8px
}

.detail-photo-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    display:none;
}

.detail-photo-dot {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent
}

.detail-photo-dot::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c3c8c0
}

.detail-photo-dot[aria-pressed="true"]::before {
    background: var(--accent)
}

.detail-photo-counter {
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums
}

.review-body {
    white-space: pre-wrap
}

.feature {
    text-decoration: none
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #b08446;
    outline-offset: 3px
}

.story-photo {
    position: relative
}

.story-photo-open,
.story-review-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left
}

.story-shop {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 10px #0002;
    text-decoration: none
}

.story-shop svg {
    width: 23px;
    height: 23px
}

.story-shop:hover {
    background: var(--accent);
    color: #fff
}

.story-shop-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    padding: 2px 5px;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    line-height: 15px;
    text-align: center
}

@media(hover:hover) and (pointer:fine) {
    .story-shop {
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease
    }

    .tile:hover .story-shop,
    .tile:focus-within .story-shop {
        opacity: 1;
        pointer-events: auto
    }
}

#stories-notice {
    min-height: 1.5em;
    margin: 0 0 12px
}

[hidden] {
    display: none !important
}

.creator-visual{position:relative}
.creator-visual video{width:100%;display:block;max-height:520px;background:#edf0ea}
.creator-count,.video-pill{position:absolute;top:12px;right:12px;background:#fff;color:#24342d;font-size:11px;border-radius:12px;padding:4px 9px;pointer-events:none}
.creator-count {
    display:none;
}
.video-pill{right:auto;left:12px}
.creator-card-links{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 14px}
.creator-link{font-size:12px;color:var(--accent);overflow-wrap:anywhere}
.creator-links{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
.creator-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.story-shop.creator-detail-shop{position:relative;right:auto;bottom:auto;flex-shrink:0;opacity:1;pointer-events:auto}
.creator-author{display:flex;align-items:center;gap:10px;margin:20px 0 12px}
.creator-author img{width:38px;height:38px;object-fit:cover;border-radius:50%}
dialog.creator-products-dialog{max-width:520px;padding-top:46px}
.creator-products-dialog h2{font-size:28px;margin:8px 0 20px}
.creator-products{display:grid;gap:12px}
.creator-product{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:6px;padding:12px;color:var(--ink);text-decoration:none}
.creator-product:hover{border-color:var(--accent);background:var(--warm)}
.creator-product-image{display:grid;place-items:center;width:72px;height:72px;flex-shrink:0;border-radius:4px;background:var(--warm);overflow:hidden}
.creator-product-image img{width:100%;height:100%;object-fit:contain}
.creator-product-image svg{width:26px;height:26px;color:var(--muted)}
.creator-product-copy{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}
.creator-product-copy strong{font-size:14px;line-height:1.4}
.creator-product-cta{font-size:12px;color:var(--accent)}
@media(max-width:480px){dialog.creator-products-dialog{padding:46px 20px 24px}.creator-product-image{width:58px;height:58px}.creator-product{padding:10px;gap:10px}}

.score .stars {
    font-size: 17px;
}

.featuregrid .feature {
    background: linear-gradient(125deg, #c6cfc3, #607668);
}

.ratings-single {
    grid-template-columns: 1fr;
}
