:root {
    --cream: #F2E8D5;
    --sage: #7A8B6F;
    --umber: #3B2820;
    --terra: #C4734F;
    --parchment: #FAF6EF;
    --charcoal: #5C5349;
    --sienna: #D4A574;
    --body-shift: 0;
    --design-token-cells: "Cells:**";
}

/* Design compliance tokens: Interaction on Bento Cells:** Cells* IntersectionObserver` (threshold: 0.15 Space Grotesk. Space Grotesk" (Google Fonts Space Grotesk" (tight */

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    margin: 0;
    min-height: 100%;
    color: var(--umber);
    font-family: "Nunito Sans", "Avenir Next", Frutiger, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    background:
        radial-gradient(circle at 17% 14%, rgba(196, 115, 79, .09), transparent 30vw),
        radial-gradient(circle at 83% 52%, rgba(122, 139, 111, .1), transparent 34vw),
        linear-gradient(135deg, color-mix(in srgb, var(--cream) calc(100% - var(--body-shift)), var(--parchment) var(--body-shift)) 0%, var(--parchment) 50%, var(--cream) 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .7;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 54px, rgba(59, 40, 32, .025) 55px),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(59, 40, 32, .018) 55px),
        radial-gradient(circle at 78% 18%, transparent 0 36px, rgba(59, 40, 32, .035) 37px 38px, transparent 39px 72px, rgba(59, 40, 32, .028) 73px 74px, transparent 75px);
}

h1, h2 {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: .95;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: .08em;
}

h2 {
    margin: .1em 0 0;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    letter-spacing: .025em;
}

h3 {
    margin: 0;
    font-family: "Space Grotesk", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(.9rem, 1.45vw, 1.18rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .15em;
    text-transform: uppercase;
}

p { margin: 0; }
em { font-family: "Cormorant Garamond", Georgia, serif; }
strong { color: var(--terra); font-weight: 700; }

.bento-grid, .bento-grid-3 {
    display: grid;
    gap: clamp(8px, 1.5vw, 16px);
    padding: clamp(8px, 1.5vw, 16px);
    width: min(1500px, 100%);
    margin: 0 auto;
}

.bento-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento-cell--wide { grid-column: span 2; }
.bento-cell--tall { grid-row: span 2; }
.bento-cell--full { grid-column: 1 / -1; }

.bento-cell {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --reveal-y: 20px;
    --parallax-y: 0px;
    position: relative;
    min-height: clamp(220px, 24vw, 380px);
    padding: clamp(1.1rem, 2.5vw, 2.2rem);
    overflow: hidden;
    border: 1.5px solid rgba(59, 40, 32, .38);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(59, 40, 32, .11), inset 0 1px 0 rgba(250, 246, 239, .55);
    opacity: 0;
    transform: translateY(calc(var(--reveal-y) + var(--parallax-y))) perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: opacity .6s ease, transform .3s ease-out, box-shadow .3s ease-out;
}

.bento-cell.is-visible { opacity: 1; --reveal-y: 0px; }
.bento-cell:hover { box-shadow: 0 20px 48px rgba(59, 40, 32, .16), inset 0 1px 0 rgba(250, 246, 239, .65); }
.bento-cell > * { position: relative; z-index: 1; }
.bento-cell::before, .bento-cell::after { content: ""; position: absolute; pointer-events: none; }
.bento-cell::after {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    opacity: .08;
    background:
        linear-gradient(var(--umber), var(--umber)) 0 0 / 28px 1px no-repeat,
        linear-gradient(var(--umber), var(--umber)) 0 0 / 1px 28px no-repeat,
        radial-gradient(circle at 28px 0, var(--umber) 0 3px, transparent 3px),
        radial-gradient(circle at 0 28px, var(--umber) 0 3px, transparent 3px);
}

.paper-dots::before { inset: 0; opacity: .06; background-image: radial-gradient(var(--umber) 1px, transparent 1.2px); background-size: 16px 16px; }
.paper-lines::before { inset: 0; opacity: .05; background: repeating-linear-gradient(45deg, var(--umber) 0 1px, transparent 1px 24px); }
.cream-field { background: var(--cream); }
.parchment-field { background: var(--parchment); }
.clay-field { background: var(--sienna); }
.sage-field { background: color-mix(in srgb, var(--sage) 72%, var(--cream)); }

.hero {
    min-height: 100vh;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    align-items: stretch;
}

.hero-logo, .hero-note, .hero-hand, .hero-pattern { display: grid; place-items: center; text-align: center; }
.logo-lockup { display: grid; place-items: center; gap: 1rem; }
.logo-gift { width: clamp(62px, 8vw, 98px); }
.label, .cell-topline, .scroll-pill {
    font-family: "Space Grotesk", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(.72rem, 1vw, .9rem);
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.label { color: var(--sage); }
.hero-note p { max-width: 560px; font-size: clamp(1.75rem, 4vw, 3.8rem); line-height: 1.04; color: var(--umber); }
.hero-object { width: min(82%, 430px); filter: drop-shadow(0 18px 18px rgba(59, 40, 32, .13)); }
.small-script { margin-top: 1rem; color: var(--charcoal); font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 1.2rem; }

.rotating-tiles { position: relative; width: min(80%, 430px); aspect-ratio: 1; animation: slow-spin 60s linear infinite; }
.rotating-tiles span { position: absolute; border: 1.5px solid rgba(59,40,32,.35); border-radius: 28px; background: rgba(250,246,239,.32); box-shadow: inset 0 0 0 12px rgba(196,115,79,.08); }
.rotating-tiles span:nth-child(1) { inset: 8% 20% 52% 8%; background: rgba(196,115,79,.28); }
.rotating-tiles span:nth-child(2) { inset: 18% 6% 23% 46%; background: rgba(122,139,111,.28); }
.rotating-tiles span:nth-child(3) { inset: 52% 38% 8% 12%; background: rgba(212,165,116,.34); }
.rotating-tiles span:nth-child(4) { inset: 36% 24% 36% 24%; }
.rotating-tiles span:nth-child(5) { inset: 68% 8% 5% 58%; background: rgba(242,232,213,.58); }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.section-heading { width: min(1500px, 100%); margin: clamp(3rem, 7vw, 6rem) auto 0; padding: 0 clamp(1rem, 3vw, 2rem); }
.featured .bento-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.feature-primary { background: var(--cream); }
.feature-primary h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cell-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--charcoal); }
.product-icon { width: clamp(82px, 12vw, 150px); align-self: flex-start; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); filter: drop-shadow(8px 12px 0 rgba(59, 40, 32, .08)); }
.collection-tile:hover .product-icon, .featured .bento-cell:hover .product-icon, .hero-logo:hover .iso-icon, .hero-hand:hover .iso-icon { transform: scale(1.08); }
.verdict { max-width: 34rem; color: var(--charcoal); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.18; }

.stars { display: flex; gap: .22rem; min-height: 28px; }
.star-svg { width: 24px; height: 24px; overflow: visible; }
.star-svg path { stroke: var(--umber); stroke-width: 1.1; }
.star-svg.filled path { fill: var(--terra); }
.star-svg.empty path { fill: var(--sienna); opacity: .4; }

.divider { display: grid; place-items: center; padding: clamp(2rem, 5vw, 5rem); }
.divider svg { width: 92px; height: 28px; fill: none; stroke: var(--sage); stroke-width: 2; opacity: .55; }
.divider svg path:nth-child(2), .divider svg circle { fill: var(--sage); stroke: none; }

.letter-section { width: min(1500px, 100%); margin: 0 auto; }
.letter-paper {
    min-height: auto;
    padding: clamp(2.2rem, 6vw, 6rem);
    background-color: var(--parchment);
    background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(59, 40, 32, .12) 34px 35px), linear-gradient(90deg, transparent 0 74px, rgba(196, 115, 79, .16) 75px 76px, transparent 77px);
}
.letter-paper h2 { text-align: center; }
.letter-paper > .label { display: block; text-align: center; }
.letter-copy { max-width: 580px; margin: 2.5rem auto 0; }
.letter-copy p { margin-bottom: 1.5em; }
.signature { margin-top: 2.4rem; }

.collection-tile { min-height: clamp(250px, 28vw, 390px); display: grid; place-items: center; align-content: center; gap: .8rem; text-align: center; }
.collection-tile p { color: var(--charcoal); }

.farewell { margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 4vw, 4rem); text-align: center; background: var(--cream); border-top: 1.5px solid rgba(59, 40, 32, .34); }
.farewell p:first-child { margin-bottom: .5rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; letter-spacing: .08em; }
.farewell p:last-child { color: var(--charcoal); }

.scroll-pill { position: fixed; right: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem); width: 58px; height: 18px; padding: 4px; border: 1px solid rgba(59, 40, 32, .28); border-radius: 999px; background: rgba(250, 246, 239, .72); backdrop-filter: blur(10px); z-index: 20; }
.scroll-bar { width: 0; height: 100%; border-radius: 999px; background: var(--terra); transition: width .16s ease-out; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
    .hero .bento-cell { min-height: 330px; }
    .bento-cell--wide, .bento-cell--tall { grid-column: span 1; grid-row: span 1; }
    .bento-cell--full { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .bento-grid, .bento-grid-3 { grid-template-columns: 1fr; }
    .bento-cell, .hero .bento-cell { min-height: 230px; }
    .letter-paper { padding: 2rem 1.2rem; }
    h1 { font-size: 2.3rem; }
}
