/* ============================================================
   Oasis Labs — mobile-first stylesheet
   ============================================================ */

:root {
    /* Palette */
    --color-olive: #5D5F42;
    --color-olive-hover: #4A4B34;
    --color-olive-deep: #3A3B28;
    --color-taupe: #B5AB98;
    --color-ink: #2E2A1D;
    --color-ink-soft: #3E3A2D;
    --color-sand: #D4BEA6;
    --color-cream: #E7DCCF;
    --color-cream-light: #F4EEE4;
    --color-cream-deep: #DDD1C0;
    --color-white: #FFFFFF;
    --color-text: #2E2A1D;
    --color-text-muted: #7A7563;
    --color-text-subtle: #9A9383;
    --color-border: #D4C9B8;
    --color-border-soft: #E2D9CA;
    --color-success: #5D5F42;
    --color-error: #8B3A3A;

    /* Typography */
    --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(46, 42, 29, 0.04), 0 2px 4px rgba(46, 42, 29, 0.04);
    --shadow-md: 0 4px 14px rgba(46, 42, 29, 0.06), 0 2px 6px rgba(46, 42, 29, 0.04);
    --shadow-lg: 0 22px 44px rgba(46, 42, 29, 0.09), 0 10px 20px rgba(46, 42, 29, 0.05);
    --shadow-hero: 0 8px 32px rgba(46, 42, 29, 0.25);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-max: 1180px;
    --container-narrow: 720px;
    --container-prose: 660px;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.45vw, 1.0625rem);
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

img, svg, video { display: block; max-width: 100%; height: auto; }

button { touch-action: manipulation; font-family: inherit; }

a {
    color: var(--color-olive);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease);
}
a:hover { color: var(--color-olive-hover); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--color-ink);
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

em, i { font-style: italic; }

:focus-visible {
    outline: 2px solid var(--color-olive);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: var(--color-olive);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout primitives ---------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.container--narrow { max-width: var(--container-narrow); }
.container--prose  { max-width: var(--container-prose); }

@media (min-width: 640px) {
    .container { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1024px) {
    .container { padding-left: 40px; padding-right: 40px; }
}

/* Section helpers */

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-olive);
    margin: 0 0 16px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--color-ink);
    margin: 0 0 16px;
}

.section-sub {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 52ch;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
    -webkit-appearance: none;
    appearance: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-olive);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(46, 42, 29, 0.12);
}
.btn--primary:hover {
    background: var(--color-olive-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(46, 42, 29, 0.18);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: transparent;
    color: var(--color-olive);
    border-color: var(--color-olive);
}
.btn--ghost:hover {
    background: var(--color-olive);
    color: var(--color-white);
}

.btn--lg {
    min-height: 58px;
    padding: 18px 40px;
    font-size: 1rem;
}

/* ---------- Site header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    background: color-mix(in oklab, var(--color-cream-light) 55%, transparent);
    backdrop-filter: saturate(1.5) blur(22px);
    -webkit-backdrop-filter: saturate(1.5) blur(22px);
    border-bottom: 1px solid color-mix(in oklab, var(--color-border) 55%, transparent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 2px 14px rgba(46, 42, 29, 0.05);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Fallback for browsers without backdrop-filter support — use a less transparent background */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .site-header {
        background: color-mix(in oklab, var(--color-cream-light) 92%, transparent);
    }
}

@media (min-width: 768px) {
    .site-header { padding: 18px 0; }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 44px;
}

.site-header__logo-image {
    display: block;
    height: auto;
    width: 132px;
}

@media (min-width: 768px) {
    .site-header__logo-image { width: 156px; }
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.site-header__nav a {
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--color-ink-soft);
    text-decoration: none;
    border-radius: var(--radius-xs);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.site-header__nav a:hover {
    background: color-mix(in oklab, var(--color-olive) 8%, transparent);
    color: var(--color-olive);
}

/* ---------- Site footer ---------- */

.site-footer {
    margin-top: auto;
    padding: 48px 0 calc(40px + env(safe-area-inset-bottom));
    background: var(--color-cream-light);
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-footer__logo-image {
    display: block;
    height: auto;
    width: 108px;
    opacity: 0.85;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.site-footer__nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 8px 12px;
    font-size: 0.875rem;
    border-radius: var(--radius-xs);
    transition: color 0.2s var(--ease);
}
.site-footer__nav a:hover { color: var(--color-olive); }
.site-footer__nav span { color: var(--color-taupe); }

.site-footer__copy {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .site-footer__copy { order: 3; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 90vh;
    min-height: 90svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(96px, 14vw, 160px) 0 clamp(96px, 14vw, 160px);
    overflow: hidden;
    color: var(--color-cream-light);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--color-ink);
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        /* vertical gradient — darker at top and bottom for header / scroll cues */
        linear-gradient(180deg,
            rgba(46, 42, 29, 0.65) 0%,
            rgba(46, 42, 29, 0.48) 30%,
            rgba(46, 42, 29, 0.58) 70%,
            rgba(46, 42, 29, 0.80) 100%),
        /* radial vignette — concentrates shade behind the headline block */
        radial-gradient(ellipse 78% 55% at 50% 55%,
            rgba(46, 42, 29, 0.45) 0%,
            rgba(46, 42, 29, 0.25) 55%,
            rgba(46, 42, 29, 0) 90%);
    z-index: -1;
}

.hero__inner {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.hero__logo {
    width: 180px;
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35)) brightness(1.05);
}

@media (min-width: 768px) {
    .hero__logo { width: 220px; }
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-cream-light);
    margin: 0;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 8vw, 5.25rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 0;
    color: var(--color-cream-light);
    text-shadow:
        0 2px 4px rgba(18, 16, 10, 0.55),
        0 4px 24px rgba(18, 16, 10, 0.45);
}
.hero__headline em {
    font-style: italic;
    color: color-mix(in oklab, var(--color-sand) 80%, var(--color-cream-light));
}

.hero__lede {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.6;
    color: var(--color-cream-light);
    max-width: 46ch;
    margin: 4px auto 8px;
    text-shadow:
        0 1px 3px rgba(18, 16, 10, 0.6),
        0 2px 12px rgba(18, 16, 10, 0.4);
}

.hero__eyebrow {
    text-shadow: 0 1px 4px rgba(18, 16, 10, 0.5);
}

.hero__actions {
    margin-top: 12px;
}

.hero__actions .btn {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

/* ---------- Process section ---------- */

.process {
    padding: clamp(80px, 11vw, 136px) 0;
    background: var(--color-cream);
}

.process__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(48px, 7vw, 80px);
}

.process__header .section-heading { margin-bottom: 14px; }

.process__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    counter-reset: none;
}

.step {
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.step:hover {
    border-color: var(--color-taupe);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--color-olive);
    margin-bottom: 4px;
}
.step__number span {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.step__title {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: -0.008em;
    margin: 0;
    color: var(--color-ink);
}

.step__body {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .process__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (min-width: 1024px) {
    .process__grid { gap: 28px; }
    .step { padding: 44px 36px 40px; }
}

/* ---------- Editorial (alternating image + text) ---------- */

.editorial {
    padding: clamp(80px, 11vw, 136px) 0;
    background: var(--color-cream-light);
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.editorial__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 64px);
    align-items: center;
}

.editorial__figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--color-cream);
}

.editorial__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.editorial__figure:hover .editorial__image {
    transform: scale(1.03);
}

.editorial__text {
    padding: 4px;
}

.editorial__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4.2vw, 2.625rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.12;
    color: var(--color-ink);
    margin: 0 0 18px;
}
.editorial__heading em {
    font-style: italic;
    color: var(--color-olive);
}

.editorial__body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 50ch;
}

@media (min-width: 768px) {
    .editorial__inner {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
    }
    .editorial__figure { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) {
    .editorial__inner { gap: 96px; }
}

/* ---------- Closing CTA ---------- */

.closing-cta {
    padding: clamp(80px, 11vw, 136px) 0;
    background: var(--color-cream);
}

.closing-cta__card {
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 72px);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.closing-cta__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(93, 95, 66, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.closing-cta__card > * { position: relative; z-index: 1; }

.closing-cta__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1.18;
    margin: 0 auto 16px;
    max-width: 26ch;
    color: var(--color-ink);
}

.closing-cta__sub {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 44ch;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.checkout {
    padding: 24px 16px calc(32px + env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 190, 166, 0.4) 0%, transparent 55%),
        var(--color-cream);
}

.checkout__card {
    width: 100%;
    max-width: 480px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 12px;
}

.checkout__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}
.checkout__logo-image {
    display: block;
    height: auto;
    width: 100%;
    max-width: 220px;
}

.checkout__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--color-ink);
}

.checkout__order-ref {
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 20px;
    font-weight: 500;
}

.checkout__amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 28px;
    color: var(--color-olive);
}

.checkout__amount-value {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 11vw, 3.75rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
}

.checkout__amount-currency {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.checkout__notice {
    align-self: stretch;
    background: color-mix(in oklab, var(--color-sand) 50%, transparent);
    border: 1px solid var(--color-taupe);
    color: var(--color-ink);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.checkout__paypal {
    width: 100%;
    min-height: 55px;
    margin-bottom: 20px;
    position: relative;
}

.checkout__paypal-skeleton {
    height: 55px;
    width: 100%;
    border-radius: 8px;
    background:
        linear-gradient(90deg,
            rgba(212, 190, 166, 0.3) 0%,
            rgba(212, 190, 166, 0.5) 50%,
            rgba(212, 190, 166, 0.3) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.6s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

.checkout__paypal--loaded .checkout__paypal-skeleton { display: none; }

.checkout__error {
    align-self: stretch;
    background: color-mix(in oklab, var(--color-error) 10%, transparent);
    border: 1px solid var(--color-error);
    color: var(--color-error);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.checkout__error p { margin: 0; }

.checkout__secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    margin: 8px 0 0;
}
.checkout__secure svg { flex-shrink: 0; }

@media (min-width: 640px) {
    .checkout__card { padding: 40px 32px; }
}

/* ============================================================
   STATUS / PROSE / CONTACT (legal + forms)
   ============================================================ */

.status-screen {
    padding: 64px 20px;
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
}

.status-screen__inner {
    text-align: center;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.status-screen__check { color: var(--color-olive); margin-bottom: 8px; }

.status-screen__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 500;
    margin: 0;
}

.status-screen__sub {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 1rem;
}

.status-screen__spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-olive);
    animation: spin 0.9s linear infinite;
    margin-top: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Prose pages (privacy, terms) */

.prose {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--color-cream);
}

.prose__header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.prose__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-olive);
    margin: 0 0 12px;
}

.prose__header h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin: 0 0 8px;
}

.prose__meta {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.875rem;
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 500;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.prose p {
    color: var(--color-ink);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1.15em;
}

.prose a { text-decoration: underline; }

/* Contact page + form */

.contact {
    padding: clamp(56px, 8vw, 96px) 0;
    background: var(--color-cream);
}

.contact__heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 500;
    margin: 8px 0 12px;
}

.contact__lead {
    color: var(--color-text-muted);
    margin: 0 0 32px;
}

.contact-form {
    margin-top: 32px;
    display: grid;
    gap: 20px;
    max-width: 560px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field__label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-field__input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-ink);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form-field__input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}
.form-field__input:focus {
    outline: none;
    border-color: var(--color-olive);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(93, 95, 66, 0.12);
}
.form-field__input--textarea {
    min-height: 140px;
    padding-top: 14px;
    resize: vertical;
    line-height: 1.5;
}

.form-field--honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.contact-form__submit {
    justify-self: flex-start;
    margin-top: 4px;
}

.form-notice {
    margin: 24px 0 0;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-cream-light);
}
.form-notice p { margin: 0; font-size: 0.95rem; }

.form-notice--success {
    border-color: color-mix(in oklab, var(--color-olive) 40%, var(--color-border));
    background: color-mix(in oklab, var(--color-olive) 8%, var(--color-cream-light));
    color: var(--color-ink);
}

.form-notice--error {
    border-color: color-mix(in oklab, var(--color-error) 40%, var(--color-border));
    background: color-mix(in oklab, var(--color-error) 8%, var(--color-cream-light));
    color: var(--color-error);
}

/* ============================================================
   SHOP PAGES
   ============================================================ */

.shop-hero {
    padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px);
    background: var(--color-cream);
}

.shop-hero__heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 14px;
    max-width: 20ch;
    color: var(--color-ink);
}
.shop-hero__sub {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.65;
    margin: 0;
    max-width: 56ch;
}

.shop-section {
    padding: clamp(56px, 9vw, 104px) 0;
    background: var(--color-cream);
}
.shop-section--alt {
    background: var(--color-cream-light);
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.shop-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(28px, 4vw, 48px);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border-soft);
}
.shop-section__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--color-ink);
}
.shop-section__count {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Product grid */

.product-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 36px; }
    .product-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; }
}

.product-card {
    display: flex;
}
.product-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md);
    transition: transform 0.4s var(--ease);
}
.product-card__link:hover { transform: translateY(-3px); }
.product-card__link:hover .product-card__image { transform: scale(1.03); }

.product-card__figure {
    position: relative;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-cream-light);
    aspect-ratio: 4 / 5;
    box-shadow: 0 1px 4px rgba(46, 42, 29, 0.05);
}
.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-cream-light);
    color: var(--color-olive);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 2px;
}
.product-card__name {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.008em;
    margin: 0;
    color: var(--color-ink);
}
.product-card__tagline {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 10px;
}
.product-card__footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border-soft);
}
.product-card__price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-ink);
}
.product-card__format {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-align: right;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}
.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.breadcrumb a:hover { color: var(--color-olive); }
.breadcrumb span[aria-hidden] { color: var(--color-taupe); }

/* Product detail */

.product-detail {
    padding: clamp(32px, 5vw, 56px) 0 clamp(80px, 11vw, 128px);
    background: var(--color-cream);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.product-detail__figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-cream-light);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-md);
}
.product-detail__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-cream-light);
    color: var(--color-olive);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
}

.product-detail__info { display: flex; flex-direction: column; gap: 18px; }
.product-detail__name {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    color: var(--color-ink);
}
.product-detail__tagline {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    font-style: italic;
    margin: 0;
}
.product-detail__price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}
.product-detail__price {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}
.product-detail__format {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.product-detail__body p {
    color: var(--color-ink);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0 0 1em;
}

.product-detail__specs {
    margin: 16px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--color-border-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-detail__spec-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    font-size: 0.9375rem;
}
.product-detail__spec-row dt {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: center;
}
.product-detail__spec-row dd {
    margin: 0;
    color: var(--color-ink);
}

.product-detail__actions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-detail__buy { align-self: stretch; }
.product-detail__ship-note {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: center;
}

@media (min-width: 640px) {
    .product-detail__actions { flex-direction: row; align-items: center; gap: 16px; }
    .product-detail__buy { align-self: flex-start; }
}
@media (min-width: 900px) {
    .product-detail__grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 56px;
    }
    .product-detail__figure { position: sticky; top: 100px; }
}
@media (min-width: 1200px) {
    .product-detail__grid { gap: 88px; }
}

/* Buy form */

.buy-form-page {
    padding: clamp(32px, 5vw, 56px) 0 clamp(72px, 10vw, 112px);
    background: var(--color-cream);
}

.buy-form-page__header { margin-bottom: 28px; }
.buy-form-page__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4.5vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    margin: 8px 0 20px;
    color: var(--color-ink);
}
.buy-form-page__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}
.buy-form-page__thumb {
    width: 72px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.buy-form-page__summary-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0 0 2px;
    color: var(--color-ink);
}
.buy-form-page__summary-meta {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
.buy-form-page__summary-price {
    margin-left: auto;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-ink);
    white-space: nowrap;
}

.buy-form {
    margin-top: 32px;
    display: grid;
    gap: 28px;
}

.buy-form__group {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    background: var(--color-cream-light);
    display: grid;
    gap: 16px;
}
.buy-form__legend {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-olive);
    padding: 0 8px;
    margin-left: -8px;
}

.buy-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 560px) {
    .buy-form__row {
        grid-template-columns: repeat(2, 1fr);
    }
    .buy-form__row .form-field--small { grid-column: span 1; }
}

.form-field__hint {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.form-field__optional {
    color: var(--color-text-subtle);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.form-field--err .form-field__input {
    border-color: var(--color-error);
    background: color-mix(in oklab, var(--color-error) 6%, var(--color-cream-light));
}

.buy-form__submit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: 8px;
}
.buy-form__submit .btn { justify-content: center; }
.buy-form__note {
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Thank-you */

.thankyou {
    padding: clamp(64px, 10vw, 112px) 0;
    background: var(--color-cream);
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    display: flex;
    align-items: center;
}
.thankyou__card {
    background: var(--color-cream-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 72px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.thankyou__check { color: var(--color-olive); margin-bottom: 8px; }
.thankyou__heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}
.thankyou__body {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 44ch;
    margin: 4px 0 16px;
}
.thankyou__actions .btn { min-width: 200px; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .checkout__paypal-skeleton { animation: none; background: rgba(212, 190, 166, 0.3); }
    .status-screen__spinner { animation: none; }
    .step:hover { transform: none; }
    .editorial__figure:hover .editorial__image { transform: none; }
}
