:root {
    --cream: #FFF6F3;
    --oat: #FFE6DE;
    --card: #FFFFFF;
    --ink: #3A1630;
    --muted: #715563;
    --brand: #B3174F;
    --brand-dark: #8A1039;
    --link: #A0143F;
    --sage: #7A1E5C;
    --sun: #FFB86B;
    --coral: #FF7A8A;
    --mint: #BFE3D0;
    --brand-rgb: 179 23 79;
    --sun-rgb: 255 184 107;
    --deep: #2A0F24;
    --on-deep: #FFF6F3;
    --hero-a: #FFE0D6;
    --hero-b: #F7DDF0;
    --t-cat: #FFD6D6;
    --t-bird: #D7EBDD;
    --t-fish: #D8E3FA;
    --t-small: #FFE9D2;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 1px 2px rgb(var(--brand-rgb)/.06), 0 12px 32px rgb(var(--brand-rgb)/.14);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --section: clamp(3rem, 8vw, 7rem);
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    /* sticky header must not cover #anchors, focused fields or scrollIntoView targets; --header-h is set by main.js */
    scroll-padding-top: calc(var(--header-h, 5rem) + 1rem)
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip
}

img,
svg {
    max-width: 100%;
    display: block
}

img {
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -.01em
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 800
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800
}

h3 {
    font-size: 1.25rem;
    font-weight: 600
}

p {
    margin: 0
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap
}

/* skip link: visible on keyboard focus */
.skip-link:focus {
    position: fixed !important;
    top: .75rem;
    left: .75rem;
    z-index: 100;
    width: auto;
    height: auto;
    margin: 0;
    padding: .75rem 1.25rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-weight: 700
}

main[tabindex="-1"]:focus {
    outline: 0
}

.wrap {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto
}

section {
    padding-block: var(--section)
}

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 6px
}

.notice :focus-visible,
.cta__box :focus-visible,
.pickup__box :focus-visible,
.about__card :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--sun)
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 700 1rem var(--font-body);
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease)
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgb(var(--brand-rgb)/.30)
}

.btn--primary:hover {
    background: var(--brand-dark);
    transform: translateY(-3px)
}

.btn--primary:active {
    transform: translateY(0)
}

.btn--ghost {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-3px)
}

.btn--light {
    background: #fff;
    color: var(--ink)
}

.btn--light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(0 0 0/.2)
}

/* notice */
.notice {
    background: var(--deep);
    color: var(--on-deep);
    font-size: .9rem;
    text-align: center;
    padding: .6rem 1rem
}

.notice strong {
    color: var(--sun)
}

/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--cream) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(var(--brand-rgb)/.12)
}

.site-header__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: .5rem
}

.site-header {
    transition: box-shadow .3s var(--ease)
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgb(var(--brand-rgb)/.10)
}

@media (min-width:821px) {
    .site-header__row {
        transition: min-height .3s var(--ease)
    }

    .site-header.is-scrolled .site-header__row {
        min-height: 58px
    }
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.logo svg {
    width: 30px;
    height: 30px;
    color: var(--brand)
}

.site-search {
    flex: 1 1 200px;
    display: flex;
    min-width: 0;
    max-width: 460px;
    margin-inline: auto
}

.site-search input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 0 1.1rem;
    border: 2px solid var(--oat);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: var(--card);
    color: var(--ink);
    font: inherit
}

.site-search button {
    min-width: 52px;
    min-height: 46px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    transition: background-color .3s var(--ease)
}

.site-search button:hover {
    background: var(--brand-dark)
}

.site-search button svg {
    margin: auto
}

.nav {
    display: flex;
    gap: .25rem;
    align-items: center
}

.nav a {
    padding: .6rem .9rem;
    border-radius: 999px;
    font-weight: 500;
    transition: background-color .3s var(--ease)
}

.nav a:hover {
    background: var(--oat)
}

a.cart {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--oat);
    transition: transform .3s var(--ease)
}

a.cart:hover {
    transform: translateY(-3px)
}

a.cart svg {
    width: 22px;
    height: 22px
}

.cart__count.bump {
    animation: bump .4s var(--ease)
}

@keyframes bump {
    40% {
        transform: scale(1.35)
    }
}

.cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font: 700 .75rem/20px var(--font-body);
    text-align: center
}

.menu-btn,
.nav__close,
.nav-overlay {
    display: none
}

@media (max-width:820px) {
    .site-header {
        backdrop-filter: none;
        background: var(--cream)
    }

    .site-header__row {
        gap: .5rem .75rem;
        padding-block: .6rem
    }

    .menu-btn {
        order: 1;
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 0;
        background: var(--oat);
        color: var(--ink);
        cursor: pointer;
        transition: transform .3s var(--ease), background-color .3s var(--ease)
    }

    .menu-btn:hover {
        transform: translateY(-2px)
    }

    .menu-btn svg {
        width: 22px;
        height: 22px
    }

    .logo {
        order: 2;
        font-size: 1.3rem
    }

    a.cart {
        order: 3;
        margin-left: auto
    }

    .site-search {
        order: 4;
        max-width: none;
        flex-basis: 100%;
        margin: 0
    }

    .nav {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 70;
        width: min(84vw, 320px);
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: 4.5rem 1rem 1.5rem;
        background: var(--cream);
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .3s var(--ease), visibility 0s .3s;
        overflow-y: auto
    }

    .nav a {
        padding: .9rem 1rem;
        font-size: 1.1rem;
        border-radius: var(--radius-sm)
    }

    .nav__close {
        display: grid;
        place-items: center;
        position: absolute;
        top: .9rem;
        right: .9rem;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: var(--oat);
        color: var(--ink);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 60;
        background: rgb(var(--brand-rgb)/.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s var(--ease)
    }

    .site-header.nav-open .nav {
        transform: none;
        visibility: visible;
        transition: transform .3s var(--ease)
    }

    .site-header.nav-open .nav-overlay {
        opacity: 1;
        pointer-events: auto
    }
}

/* hero */
.hero {
    padding-block: clamp(1rem, 3vw, 2rem) 0
}

.hero__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: clamp(28px, 5vw, 56px);
    color: var(--ink);
    background: radial-gradient(700px 420px at 90% 0%, rgb(var(--sun-rgb)/.35) 0, transparent 60%), radial-gradient(600px 400px at 0% 100%, rgb(var(--brand-rgb)/.12) 0, transparent 60%), linear-gradient(135deg, var(--hero-a), var(--cream) 55%, var(--hero-b));
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(5rem, 9vw, 7.5rem);
    box-shadow: var(--shadow)
}

.hero__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23000'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Ccircle cx='42' cy='24' r='5'/%3E%3Ccircle cx='54' cy='24' r='5'/%3E%3Ccircle cx='66' cy='30' r='5'/%3E%3Cellipse cx='48' cy='46' rx='13' ry='10'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 90px
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid rgb(var(--brand-rgb)/.12);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--link);
    margin-bottom: 1.25rem
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 4px rgb(var(--sun-rgb)/.25)
}

.hero h1 {
    color: var(--ink)
}

.hero h1 em {
    font-style: normal;
    color: var(--link);
    background: linear-gradient(transparent 62%, rgb(var(--sun-rgb)/.55) 62%)
}

.hero__lead {
    margin-block: 1.5rem 2rem;
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.15rem
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem
}

.hero__proof {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 2rem;
    font-size: .95rem;
    color: var(--muted)
}

.avatars {
    display: flex
}

.avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 800 .9rem var(--font-display);
    color: var(--ink);
    border: 3px solid var(--cream);
    margin-left: -10px
}

.avatars span:first-child {
    margin-left: 0
}

.hero__proof b {
    display: block;
    color: var(--ink)
}

.hero__proof .stars {
    margin: 0;
    font-size: .85rem
}

.hero__art {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 440px;
    width: 100%;
    margin-inline: auto
}

.hero__ring {
    position: absolute;
    inset: -14px;
    border-radius: 999px 999px 44px 44px;
    border: 2px dashed rgb(var(--brand-rgb)/.35)
}

.hero__arch {
    position: absolute;
    inset: 0;
    border-radius: 999px 999px 32px 32px;
    background: linear-gradient(160deg, var(--sun), var(--coral));
    overflow: hidden;
    box-shadow: 0 24px 50px rgb(var(--brand-rgb)/.25)
}

.hero__arch img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.float {
    position: absolute;
    display: flex;
    gap: .7rem;
    align-items: center;
    padding: .75rem 1rem;
    border-radius: 18px;
    background: var(--card);
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.25;
    box-shadow: 0 12px 30px rgb(var(--brand-rgb)/.2)
}

.float small {
    display: block;
    font-weight: 400;
    color: var(--muted)
}

.float__icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sun);
    color: var(--ink)
}

.float__icon svg {
    width: 20px;
    height: 20px
}

.float--a {
    left: -10%;
    top: 16%;
    animation: bob 4s ease-in-out infinite
}

.float--b {
    right: -8%;
    bottom: 9%;
    animation: bob 5s ease-in-out infinite reverse
}

.sticker {
    position: absolute;
    right: -3%;
    top: -5%;
    width: 112px;
    height: 112px;
    animation: spin 18s linear infinite
}

@keyframes bob {
    50% {
        transform: translateY(-8px)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width:820px) {
    .hero__grid {
        grid-template-columns: 1fr
    }

    .hero__art {
        order: -1;
        max-width: 300px
    }

    .float--a {
        left: -6%
    }

    .float--b {
        right: -6%
    }

    .float {
        font-size: .85rem;
        padding: .6rem .8rem
    }

    .sticker {
        width: 88px;
        height: 88px
    }
}

/* trust strip */
.trust {
    padding-block: 0;
    margin-top: -3rem;
    position: relative;
    z-index: 2
}

.trust__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow)
}

.trust__item {
    display: flex;
    gap: .8rem;
    align-items: center
}

.trust__item svg {
    flex: none;
    width: 36px;
    height: 36px;
    color: var(--brand)
}

.trust__item b {
    display: block
}

.trust__item span {
    font-size: .9rem;
    color: var(--muted)
}

/* section heads */
.head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem
}

.head p {
    color: var(--muted);
    max-width: 46ch;
    margin-top: .75rem
}

.link-arrow {
    font-weight: 700;
    color: var(--link);
    border-bottom: 2px solid currentColor
}

/* why */
.why {
    background: var(--oat);
    border-radius: clamp(28px, 5vw, 64px);
    margin-inline: clamp(.5rem, 2vw, 1.5rem)
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem
}

.why__card {
    background: var(--card);
    padding: 1.75rem;
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease)
}

.why__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.why__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--brand);
    margin-bottom: 1rem
}

.why__icon svg {
    width: 26px;
    height: 26px
}

.why__card p {
    color: var(--muted);
    margin-top: .5rem
}

/* pickup */
.pickup__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--sage);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden
}

.pickup__box h2 {
    color: #fff
}

.pickup__box p {
    margin-block: 1rem 1.5rem;
    opacity: .95
}

.pickup__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.stat {
    background: rgb(255 255 255/.14);
    border-radius: var(--radius-sm);
    padding: 1.25rem
}

.stat b {
    display: block;
    font: 800 2rem var(--font-display)
}

@media (max-width:820px) {
    .pickup__box {
        grid-template-columns: 1fr
    }
}

/* reviews */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem
}

.review {
    margin: 0;
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgb(var(--brand-rgb)/.06);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease)
}

.review:nth-child(2) {
    transform: translateY(1.25rem)
}

.review:hover {
    box-shadow: var(--shadow)
}

.stars {
    color: var(--sun);
    letter-spacing: .15em;
    margin-bottom: .75rem
}

.review figcaption {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--oat);
    color: var(--link);
    font-family: var(--font-display);
    font-weight: 800
}

.review small {
    display: block;
    font-weight: 400;
    color: var(--muted)
}

.review blockquote {
    margin: 0
}

@media (max-width:820px) {
    .review:nth-child(2) {
        transform: none
    }
}

/* cta */
.cta {
    text-align: center;
    padding-top: 0
}

.cta__box {
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2.5rem, 6vw, 5rem) 1.5rem
}

.cta__box h2 {
    color: #fff;
    max-width: 18ch;
    margin-inline: auto
}

.cta__box p {
    margin: 1rem auto 2rem;
    max-width: 48ch;
    opacity: .95
}

/* footer */
.site-footer {
    background: var(--deep);
    color: var(--on-deep);
    padding-block: 3.5rem 2rem
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem
}

.site-footer h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--sun)
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem
}

.site-footer a {
    opacity: .85;
    transition: opacity .3s var(--ease)
}

.site-footer a:hover {
    opacity: 1;
    text-decoration: underline
}

.site-footer address {
    margin-top: 1.25rem;
    font-style: normal;
    opacity: .85
}

.site-footer__tagline {
    margin-top: 1rem;
    opacity: .8;
    max-width: 34ch
}

.copy {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 246 243/.2);
    font-size: .9rem;
    opacity: .7
}

.site-footer li a {
    display: inline-block;
    padding: .3rem 0
}

@media (max-width:820px) {
    .site-footer__grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:560px) {
    .notice {
        font-size: .82rem;
        padding: .5rem .75rem
    }

    .trust {
        margin-top: -2rem
    }

    .trust__row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem .75rem;
        padding: 1.1rem
    }

    .trust__item {
        gap: .55rem;
        align-items: flex-start
    }

    .trust__item svg {
        width: 28px;
        height: 28px
    }

    .trust__item span {
        font-size: .8rem;
        line-height: 1.35
    }

    .pickup__stats {
        gap: .75rem
    }

    .stat {
        padding: 1rem
    }

    .stat b {
        font-size: 1.6rem
    }

    .head {
        margin-bottom: 1.75rem
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* ===== header layout fix: desktop single row, tablet 2 rows ===== */
/* desktop: one row, nav never wraps, cart stays on the right */
@media (min-width:821px) {
    .site-header__row {
        flex-wrap: nowrap;
        gap: .75rem 1rem
    }

    .logo {
        flex: none;
        white-space: nowrap
    }

    /* search takes leftover space (170-360px) */
    .site-search {
        flex: 1 1 200px;
        min-width: 170px;
        max-width: 360px;
        margin: 0
    }

    /* nav keeps full width, pushed toward cart */
    .nav {
        flex: none;
        flex-wrap: nowrap;
        margin-left: auto;
        gap: .1rem
    }

    .nav a {
        white-space: nowrap;
        padding: .6rem .65rem;
        font-size: .95rem
    }

    a.cart {
        flex: none
    }
}

/* below 1200px 7 links + search don't fit one row:
   row 1 = logo | nav | cart, row 2 = search full width.
   nav flex-basis 0 so cart never drops. menu grew? raise 1199 */
@media (min-width:821px) and (max-width:1199px) {
    .site-header__row {
        flex-wrap: wrap
    }

    .nav {
        flex: 1 1 0;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: flex-end
    }

    .site-search {
        order: 5;
        flex: 1 1 100%;
        max-width: none
    }
}

/* narrow tablet (iPad Pro 11 portrait = 834): tighter links so nav stays one line */
@media (min-width:821px) and (max-width:899px) {
    .nav a {
        padding: .5rem .45rem;
        font-size: .9rem
    }
}

/* ===== nav active state ===== */
/* aria-current="page" = current item, "true" = parent/ancestor (e.g. Shop on a product) */
.nav a[aria-current] {
    background: rgb(var(--brand-rgb)/.1);
    color: var(--link)
}

/* keep active look on hover (plain :hover sets --oat) */
.nav a[aria-current]:hover {
    background: rgb(var(--brand-rgb)/.16)
}

/* forced-colors / high-contrast: bg ignored, so mark with underline */
@media (forced-colors:active) {
    .nav a[aria-current] {
        text-decoration: underline;
        text-underline-offset: .3em
    }
}