/* =============================================================================
   SCULPT SIXTYTWO — Main Stylesheet
   Based on approved design mockup (sculpt-sixtytwo-final-mockup.html)
   ============================================================================= */

/* -----------------------------------------------------------------------------
   CSS Custom Properties
   ----------------------------------------------------------------------------- */
:root {
    --color-bg:              #FAF9F7;
    --color-bg-cream:        #F3F1ED;
    --color-surface:         #FFFFFF;
    --color-text:            #1A1A1A;
    --color-text-secondary:  #5A5A5A;
    --color-text-tertiary:   #8A8A8A;
    --color-accent:          #8B7355;
    --color-accent-hover:    #6E5A43;
    --color-accent-soft:     rgba(139, 115, 85, 0.1);
    --color-accent-gold:     #C4A265;
    --color-border:          #E4E0DA;
    --color-border-light:    #F0EDE8;

    --font-serif:    'DM Serif Display', Georgia, serif;
    --font-sans:     'Nunito Sans', system-ui, -apple-system, sans-serif;

    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s ease;
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --container-max:     1280px;
    --container-content: 960px;
    --container-narrow:  680px;

    --header-height: 70px;

    --spacing-xs:  0.25rem;
    --spacing-sm:  0.5rem;
    --spacing-md:  1rem;
    --spacing-lg:  1.5rem;
    --spacing-xl:  2rem;
    --spacing-2xl: 2.5rem;
    --spacing-3xl: 3.75rem;
    --spacing-4xl: 6.25rem;
}

/* -----------------------------------------------------------------------------
   Reset & Base
   ----------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* -----------------------------------------------------------------------------
   Typography
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* -----------------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 40px;
}

.container--content { max-width: var(--container-content); }
.container--narrow  { max-width: var(--container-narrow); }

.section {
    padding: 100px 40px;
}

.section--cream   { background-color: var(--color-bg-cream); }
.section--white   { background-color: var(--color-surface); }
.section--warm    { background-color: var(--color-bg); }
.section--dark    { background-color: var(--color-text); }

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .eyebrow {
    display: block;
    margin-bottom: 14px;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header p {
    font-size: 0.88rem;
    max-width: 560px;
    margin: 16px auto 0;
    line-height: 1.8;
}

.section-divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 18px auto 0;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Page body offset for fixed header */
.page-body { padding-top: var(--header-height); }

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */
.btn-accent {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-surface);
    background-color: var(--color-text);
    text-decoration: none;
    padding: 14px 40px;
    border: 1px solid var(--color-text);
    transition: all var(--transition-base);
}

.btn-accent:hover {
    background-color: #2A2A2A;
    border-color: #2A2A2A;
}

.btn-outline {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    padding: 14px 40px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background-color: var(--color-accent-soft);
}

/* Keep old .btn classes working (archive, etc.) */
.btn { display: inline-block; }
.btn--primary { @extend .btn-accent; }

/* -----------------------------------------------------------------------------
   Header & Navigation
   ----------------------------------------------------------------------------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    transition: box-shadow 0.4s var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--header-height);
}

.header-logo {
    grid-column: 2;
    text-align: center;
}

.header-logo a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1;
}

.header-nav {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav a {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline hover effect — per mockup */
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.4s var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-text);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-actions a {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.header-actions a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.4s var(--transition);
}

.header-actions a:hover,
.header-actions a.active {
    color: var(--color-text);
}

.header-actions a:hover::after,
.header-actions a.active::after {
    width: 100%;
}

.nav-icon {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-tertiary);
    stroke-width: 1.5;
    fill: none;
    cursor: pointer;
    transition: stroke 0.3s ease;
}

.nav-icon:hover { stroke: var(--color-text); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--color-text);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--color-accent); }

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-text);
    line-height: 1;
    padding: 8px;
}

/* -----------------------------------------------------------------------------
   HERO — Full-bleed background image, centered text, CTAs below
   ----------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-text); /* fallback if no image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: calc(var(--header-height) + 80px) 40px 100px;
}

/* Dark gradient overlay for text legibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.42) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 100%;
}

.hero-tagline-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.2s forwards;
}

.hero-brand-name {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    font-weight: 400;
    color: var(--color-surface);
    line-height: 1.0;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.35s forwards;
}

.hero-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeIn 1s var(--transition) 0.55s forwards;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
    margin: 0 0 44px;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.65s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s var(--transition) 0.8s forwards;
}

/* Light button variants for dark/image backgrounds */
.btn-accent--light {
    background-color: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-surface);
}

.btn-accent--light:hover {
    background-color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.88);
}

.btn-outline--light {
    color: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline--light:hover {
    border-color: var(--color-surface);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s var(--transition) 1.3s forwards;
}

.hero-scroll span {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Hero slideshow transition */
.hero-section {
    transition: background-image 0s;
}
.hero-section.hero-fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Slide counter dots */
.hero-slide-counter {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-slide-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.3s, transform 0.3s;
}

.hero-slide-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* -----------------------------------------------------------------------------
   How It Works
   ----------------------------------------------------------------------------- */
.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: var(--spacing-3xl);
}

.how-it-works__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    text-align: center;
}

.how-it-works__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.how-it-works__icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.how-it-works__item p {
    font-size: 0.875rem;
    max-width: 20ch;
}

/* -----------------------------------------------------------------------------
   The Measure — Featured + Side Layout (per mockup)
   ----------------------------------------------------------------------------- */
.measure-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.measure-featured {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.measure-featured-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-cream);
}

.measure-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.measure-featured:hover .measure-featured-image img {
    transform: scale(1.03);
}

.measure-featured-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, #D4CBC0 0%, #C2B8AA 50%, #CBBFB2 100%);
    transition: transform var(--transition-slow);
}

.measure-featured:hover .measure-featured-placeholder {
    transform: scale(1.03);
}

.measure-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.4) 60%, transparent 100%);
}

.measure-category {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
    display: block;
}

.measure-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-surface);
    line-height: 1.3;
    margin-bottom: 10px;
}

.measure-excerpt {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

.measure-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.measure-side-card {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 20px;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
}

.measure-side-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-bg-cream);
}

.measure-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.measure-side-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.measure-side-placeholder.tone-2 { background: linear-gradient(165deg, #C9C1B5 0%, #B8AFA2 50%, #C0B7AB 100%); }
.measure-side-placeholder.tone-3 { background: linear-gradient(165deg, #DED7CD 0%, #CEC6BA 50%, #D5CDC2 100%); }

.measure-side-card:hover .measure-side-image img,
.measure-side-card:hover .measure-side-placeholder {
    transform: scale(1.03);
}

.measure-side-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0;
}

.measure-side-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.measure-side-card:hover .measure-side-title { color: var(--color-accent); }

.measure-side-excerpt {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.measure-read-more {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    position: relative;
}

.measure-read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.4s var(--transition);
}

.measure-side-card:hover .measure-read-more::after,
.measure-featured:hover .measure-read-more::after {
    width: 100%;
}

/* -----------------------------------------------------------------------------
   Curated Finds Preview (Homepage)
   ----------------------------------------------------------------------------- */
.measure-cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.products-cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Affiliate disclosure — bottom variant (homepage, after products) */
.affiliate-disclosure--bottom {
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    margin-top: 40px;
    margin-bottom: 0;
    padding: 24px 0 0;
}

/* Product grid handled in Product Grid section below */

/* -----------------------------------------------------------------------------
   Tall Explainer
   ----------------------------------------------------------------------------- */
.tall-explainer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: var(--spacing-3xl);
}

.tall-explainer__card {
    padding: 40px;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
}

.tall-explainer__card .eyebrow {
    display: block;
    margin-bottom: 16px;
}

.tall-explainer__card h3 {
    margin-bottom: 16px;
    font-size: 1.375rem;
}

.tall-explainer__card p {
    font-size: 0.9rem;
    line-height: 1.75;
}

.tall-explainer__closing {
    text-align: center;
    margin-top: 32px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text);
}

/* -----------------------------------------------------------------------------
   About Teaser
   ----------------------------------------------------------------------------- */
.about-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-teaser__content .eyebrow {
    display: block;
    margin-bottom: 16px;
}

.about-teaser__content h2 {
    margin-bottom: 20px;
}

.about-teaser__content p {
    margin-bottom: 32px;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.about-teaser__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--color-bg-cream);
}

.about-teaser__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-teaser__image:hover img { transform: scale(1.03); }

.about-teaser__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(170deg, #DED8D0 0%, #CCC5BA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-teaser__image-placeholder span {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(139, 115, 85, 0.4);
}

/* -----------------------------------------------------------------------------
   Newsletter — Dark section (per mockup)
   ----------------------------------------------------------------------------- */
.newsletter-section {
    background-color: var(--color-text);
    color: var(--color-surface);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.newsletter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-inner {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-inner .eyebrow {
    display: block;
    color: var(--color-accent-gold);
    margin-bottom: 14px;
}

.newsletter-inner h2 {
    color: var(--color-surface);
    line-height: 1.2;
}

.newsletter-inner p {
    font-size: 0.88rem;
    color: rgba(249, 248, 246, 0.55);
    margin-top: 16px;
    line-height: 1.8;
}

/* Unified border form — per mockup */
.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 36px;
    border: 1px solid rgba(249, 248, 246, 0.12);
    overflow: hidden;
}

.newsletter-form input[type="email"] {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--color-surface);
    padding: 16px 20px;
    border: none;
    background: transparent;
    outline: none;
    letter-spacing: 0.03em;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(249, 248, 246, 0.4);
}

/* White submit button — per mockup */
.newsletter-form button {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: none;
    padding: 16px 32px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #E8E5E0;
}

.newsletter-disclaimer {
    font-size: 0.6875rem;
    color: rgba(249, 248, 246, 0.3);
    margin-top: 16px;
    font-family: var(--font-sans);
    font-weight: 300;
}

/* -----------------------------------------------------------------------------
   Footer — Light background (per mockup)
   ----------------------------------------------------------------------------- */
#site-footer {
    background-color: var(--color-bg-cream);
    border-top: 1px solid var(--color-border);
    padding: 60px 40px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 14px;
    display: block;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.footer-brand p {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 280px;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: 20px;
}

.footer-column ul { list-style: none; }

.footer-column li { margin-bottom: 10px; }

.footer-column a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover { color: var(--color-text); }

.footer-bottom {
    max-width: var(--container-max);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: var(--color-text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover { color: var(--color-text); }

/* -----------------------------------------------------------------------------
   Admin Bar — push fixed header down when WP toolbar is visible
   ----------------------------------------------------------------------------- */
.admin-bar #site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar #site-header {
        top: 46px;
    }
}

/* -----------------------------------------------------------------------------
   Product Card
   ----------------------------------------------------------------------------- */
.product-card {
    position: relative;
    cursor: pointer;
}

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--color-bg-cream);
    margin-bottom: 14px;
}

.product-card__image-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--transition);
}

.product-card:hover .product-card__image { transform: scale(1.03); }

/* Sale / New Badge */
.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
}

.product-card__badge--sale {
    background-color: var(--color-text);
    color: var(--color-surface);
}

.product-card__badge--new {
    background-color: var(--color-accent);
    color: var(--color-surface);
}

/* Shop This Find overlay */
.product-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 13px;
    text-align: center;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-surface);
    transform: translateY(100%);
    transition: transform 0.4s var(--transition);
    text-decoration: none;
    display: block;
    width: 100%;
}

.product-card:hover .product-card__overlay { transform: translateY(0); }

/* Product Info */
.product-card__info {
    padding: 0 2px;
}

.product-card__brand {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: 3px;
    display: block;
}

.product-card__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 5px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.product-card__name:hover { color: var(--color-accent); }

.product-card__pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card__price {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.product-card__price--sale { color: var(--color-accent); }

.product-card__price--original {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
}

.product-card__retailer {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
    margin-top: 3px;
}

/* Source / retailer line ("via BRAND") */
.product-card__meta {
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.product-card__source {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
}

/* Image placeholder — cycling tone gradients matching mockup */
.product-card__placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--transition);
}

.product-card:hover .product-card__placeholder { transform: scale(1.03); }

.product-card__placeholder.tone-1 { background: linear-gradient(160deg, #E8E3DC 0%, #D9D2C8 100%); }
.product-card__placeholder.tone-2 { background: linear-gradient(160deg, #DCD5CC 0%, #CEC6BB 100%); }
.product-card__placeholder.tone-3 { background: linear-gradient(160deg, #E5DFD7 0%, #D5CEC4 100%); }
.product-card__placeholder.tone-4 { background: linear-gradient(160deg, #F0EBE4 0%, #E2DBD1 100%); }
.product-card__placeholder.tone-5 { background: linear-gradient(160deg, #DBD4CA 0%, #CBC3B7 100%); }

.product-card__curation-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid var(--color-border);
    color: var(--color-text-tertiary);
    margin-top: 4px;
}

.product-card__curation-tag--designed-tall {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Editor's Notes */
.product-card__notes-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: 8px;
    transition: color 0.3s ease;
    text-align: left;
    letter-spacing: 0.04em;
    position: relative;
}

.product-card__notes-toggle::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.product-card__notes-toggle:hover::after,
.product-card__notes-toggle.expanded::after {
    width: 100%;
}

.product-card__notes-toggle svg {
    width: 10px;
    height: 10px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.product-card__notes-toggle.expanded svg { transform: rotate(180deg); }

.product-card__notes-content {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

/* -----------------------------------------------------------------------------
   Breadcrumbs
   ----------------------------------------------------------------------------- */
.breadcrumbs {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 12px 40px 0;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--color-text-tertiary);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
}

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

.breadcrumbs__item a:hover {
    color: var(--color-text);
}

.breadcrumbs__sep {
    margin: 0 4px;
    color: var(--color-text-tertiary);
}

/* -----------------------------------------------------------------------------
   Product Grid
   ----------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* No products */
.no-products {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.no-products h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* -----------------------------------------------------------------------------
   Archive — Curated Finds
   ----------------------------------------------------------------------------- */
.archive-header {
    padding: 80px 40px 40px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.archive-header h1 { margin-bottom: 8px; }

.affiliate-disclosure {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-text-tertiary);
    font-style: italic;
    line-height: 1.8;
    padding: 24px 0;
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.affiliate-disclosure a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Filter Bar — text+underline style (per mockup) */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 16px;
}

.filter-categories {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-text);
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

/* Right side: toggles + sort */
.filter-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Curation toggle group */
.toggle-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toggle-btn {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
}

.toggle-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s var(--transition);
}

.toggle-btn:hover,
.toggle-btn.active {
    color: var(--color-text);
}

.toggle-btn.active::after,
.toggle-btn:hover::after {
    width: 100%;
}

/* Sort control */
.sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.sort-select {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    letter-spacing: 0.04em;
    padding: 4px 24px 4px 0;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238A8A8A' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    outline: none;
}

/* Sale toggle */
.sale-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.sale-toggle-track {
    position: relative;
    width: 32px;
    height: 18px;
    background-color: var(--color-border);
    border-radius: 9px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.sale-toggle-track.active { background-color: var(--color-accent); }

.sale-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sale-toggle-track.active .sale-toggle-thumb { transform: translateX(14px); }

.sale-toggle-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* Loading state */
.product-grid-wrap {
    position: relative;
    min-height: 400px;
}

.product-grid-wrap.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(250,249,247,0.7);
    z-index: 10;
}

.product-grid-wrap.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    z-index: 11;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--color-border);
    color: var(--color-text);
}

.pagination .current {
    background-color: var(--color-text);
    color: white;
}

/* -----------------------------------------------------------------------------
   Scroll Reveal Animations
   ----------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------------------------
   Keyframe Animations
   ----------------------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.7; }
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root { --header-height: 64px; }

    .header-inner { grid-template-columns: auto 1fr auto; padding: 0 24px; }
    .header-logo  { grid-column: 1; text-align: left; }
    .header-nav   { display: none; }
    .header-actions { grid-column: 3; }
    .hamburger    { display: flex; }

    .how-it-works__grid { grid-template-columns: repeat(2, 1fr); }
    .tall-explainer__grid { grid-template-columns: 1fr; }
    .about-teaser__inner  { grid-template-columns: 1fr; gap: 40px; }
    .about-teaser__image  { aspect-ratio: 16 / 9; max-height: 400px; }

    .product-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 24px; }
    .newsletter-section { padding: 70px 24px; }
    .archive-header { padding: 60px 24px 32px; }

    .container { padding-inline: 24px; }
    .header-inner { padding: 0 24px; }

    .hero-section { padding-inline: 24px; padding-bottom: 80px; }
    .hero-brand-name { font-size: clamp(2.6rem, 10vw, 3.8rem); }
    .hero-cta-group { flex-direction: column; align-items: center; }

    .measure-grid { grid-template-columns: 1fr; }
    .measure-side { gap: 20px; }
    .measure-side-card { grid-template-columns: 1fr; }
    .measure-side-image { aspect-ratio: 16 / 9; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .filter-bar { flex-direction: column; align-items: flex-start; }
    .filter-right { flex-direction: column; align-items: flex-start; gap: 16px; }

    .newsletter-form { flex-direction: column; }

    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
