/* ==========================================================================
   Fleshly — About Us (v2)
   Brand tokens from src/config/theme.ts
   ========================================================================== */

:root {
    --dark: #4A0614;
    --mid: #6B081A;
    --ruby: #A10F24;
    --soft: #F2E8E8;
    --border: #F0DEDE;

    --ink-900: #241012;
    --ink-700: #5A4247;
    --gold-500: #B8874A;
    --gold-300: #D9B27F;
    --sage-600: #57683F;

    --paper: #FBF6F5;

    --font-display: "Fraunces", "Iowan Old Style", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --container: 1280px;

    --grad: linear-gradient(135deg, var(--dark) 0%, var(--mid) 55%, var(--ruby) 100%);
    --grad-soft: linear-gradient(135deg, var(--mid) 0%, var(--ruby) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    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;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--ink-900);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .03;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ruby);
    font-weight: 500;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold-500);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--dark);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin-top: 14px;
}

.section-head p {
    margin-top: 16px;
    color: var(--ink-700);
    font-size: 1.02rem;
    max-width: 54ch;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.center p {
    margin-left: auto;
    margin-right: auto;
}

.section-head.center .eyebrow::before {
    display: none;
}

section {
    position: relative;
}

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    transition-delay: calc(var(--i, 0) * 90ms);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 22px 0;
    transition: padding .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.nav.is-scrolled {
    padding: 12px 0;
    background: rgba(251, 246, 245, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(74, 6, 20, 0.08);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    transition: color .35s var(--ease-out);
}

.nav.is-scrolled .brand {
    color: var(--dark);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    font-family: var(--font-mono);
    font-size: 13px;
    border: 1px solid var(--gold-500);
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: .93rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    transition: color .35s var(--ease-out);
}

.nav.is-scrolled .nav-links {
    color: var(--ink-700);
}

.nav-links a {
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transition: right .3s var(--ease-out);
}

.nav-links a:hover::after {
    right: 0;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--gold-500);
    color: #fff;
    transition: all .3s var(--ease-out);
}

.nav.is-scrolled .nav-cta {
    color: var(--dark);
    border-color: var(--ruby);
}

.nav-cta:hover {
    background: var(--gold-500);
    color: var(--dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background:
        radial-gradient(120% 90% at 15% -10%, rgba(161, 15, 36, 0.55), transparent 60%),
        var(--grad);
    color: #fff;
    padding: 110px 0 140px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    color: var(--gold-300);
}

.hero-eyebrow::before {
    background: var(--gold-300);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 4.6vw, 4.1rem);
    line-height: 1.05;
    margin-top: 20px;
}

.hero h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    animation: word-in .8s var(--ease-out) forwards;
}

@keyframes word-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-300);
}

.hero-sub {
    margin-top: 24px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 46ch;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(184, 135, 74, 0.55);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero visual — Order panel: professional, standout animation system
   ========================================================================== */
.hero-panel {
    position: relative;
    perspective: 1200px;
}

/* Ambient glow breathing behind the card */
.panel-glow {
    position: absolute;
    inset: -60px;
    z-index: 0;
    background:
        radial-gradient(closest-side, rgba(217, 178, 127, 0.35), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    animation: glow-in 1.2s var(--ease-out) .2s forwards, glow-breathe 5s ease-in-out 1.4s infinite;
    pointer-events: none;
}

@keyframes glow-in {
    to { opacity: 1; }
}

@keyframes glow-breathe {
    0%, 100% {
        transform: scale(1);
        opacity: .55;
    }
    50% {
        transform: scale(1.08);
        opacity: .85;
    }
}

/* Orbiting accent dots for depth */
.panel-orbit {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.orbit-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 14px 2px rgba(217, 178, 127, 0.55);
    opacity: 0;
    animation: orbit-fade .8s var(--ease-out) forwards, orbit-float 7s ease-in-out infinite;
}

.orbit-dot.d1 {
    width: 10px;
    height: 10px;
    top: 6%;
    right: 10%;
    animation-delay: .6s, 1.4s;
}

.orbit-dot.d2 {
    width: 7px;
    height: 7px;
    bottom: 14%;
    left: -2%;
    animation-delay: .8s, 1.8s;
}

.orbit-dot.d3 {
    width: 5px;
    height: 5px;
    top: 46%;
    right: -4%;
    animation-delay: 1s, 2.1s;
}

@keyframes orbit-fade {
    to { opacity: 1; }
}

@keyframes orbit-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -14px); }
}

.panel-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(217, 178, 127, 0.35);
    border-radius: 14px;
    padding: 34px 32px 28px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(24px);
    animation: panel-in .8s var(--ease-out) .3s forwards;
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow .4s var(--ease-out);
}

.panel-card:hover {
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(217, 178, 127, 0.35);
}

@keyframes panel-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diagonal light sheen sweeping across the card periodically */
.panel-sheen {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 220%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.16) 45%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0.16) 55%,
        transparent 100%
    );
    transform: rotate(12deg);
    pointer-events: none;
    z-index: 2;
    animation: sheen-sweep 6s ease-in-out 1.4s infinite;
}

@keyframes sheen-sweep {
    0% { left: -60%; }
    18% { left: 130%; }
    100% { left: 130%; }
}

.panel-head {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(217, 178, 127, 0.35);
}

.panel-head .tag {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.panel-head .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7fbf7f;
    box-shadow: 0 0 0 3px rgba(127, 191, 127, 0.2);
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(127, 191, 127, 0.2);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(127, 191, 127, 0.05);
    }
}

/* Progress line showing order journey advancing */
.panel-progress {
    position: relative;
    z-index: 3;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    margin: -6px 0 20px;
    overflow: hidden;
}

.panel-progress-fill {
    position: absolute;
    inset: 0 100% 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    animation: progress-fill 2.6s var(--ease-out) 1.1s forwards;
}

@keyframes progress-fill {
    to { right: 38%; }
}

.panel-row {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateX(-14px);
    animation: row-in .6s var(--ease-out) forwards;
    transition: background .3s var(--ease-out), padding-left .3s var(--ease-out);
    border-radius: 8px;
}

.panel-row:hover {
    background: rgba(217, 178, 127, 0.06);
    padding-left: 6px;
}

.panel-row:last-child {
    border-bottom: none;
}

.panel-row:nth-child(3) {
    animation-delay: .55s;
}

.panel-row:nth-child(4) {
    animation-delay: .7s;
}

.panel-row:nth-child(5) {
    animation-delay: .85s;
}

.panel-row:nth-child(6) {
    animation-delay: 1s;
}

@keyframes row-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.panel-row .swatch {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(217, 178, 127, 0.12);
    border: 1px solid rgba(217, 178, 127, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
    transition: transform .3s var(--ease-out), background .3s;
}

.panel-row svg {
    width: 20px;
    height: 20px;
}

.panel-row:hover .swatch {
    transform: scale(1.08);
    background: rgba(217, 178, 127, 0.22);
}

/* Live row gets its own gentle emphasis */
.panel-row.is-live .swatch {
    animation: live-swatch-ring 2.4s ease-in-out infinite;
}

@keyframes live-swatch-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(217, 178, 127, 0.35);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(217, 178, 127, 0);
    }
}

.panel-row .info {
    flex: 1;
}

.panel-row .info b {
    display: block;
    color: #fff;
    font-size: .94rem;
    font-weight: 600;
}

.panel-row .info span {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: .78rem;
    margin-top: 2px;
}

.panel-row .status {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9fd39f;
    border: 1px solid rgba(159, 211, 159, 0.4);
    padding: 3px 9px;
    border-radius: 999px;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-done {
    animation: status-check-in .5s var(--ease-spring) 1.3s backwards;
}

@keyframes status-check-in {
    0% {
        transform: scale(.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-live {
    color: var(--gold-300);
    border-color: rgba(217, 178, 127, 0.5);
}

.status-blip {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 0 0 rgba(217, 178, 127, 0.6);
    animation: blip-ping 1.6s ease-out infinite;
}

@keyframes blip-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 178, 127, 0.6);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(217, 178, 127, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 178, 127, 0);
    }
}

.panel-foot {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(217, 178, 127, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: .04em;
}

.panel-foot b {
    color: var(--gold-300);
    font-weight: 600;
    position: relative;
}

.panel-foot b::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: var(--gold-300);
    transform: scaleX(0);
    transform-origin: left;
    animation: foot-underline .6s var(--ease-out) 2s forwards;
}

@keyframes foot-underline {
    to { transform: scaleX(1); }
}

.hero-scroll-cue {
    margin-top: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-scroll-cue .line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-scroll-cue .line::after {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 40px;
    background: var(--gold-300);
    animation: cue-slide 2.2s ease-in-out infinite;
}

@keyframes cue-slide {
    50% {
        left: 40px;
    }

    100% {
        left: 40px;
    }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
    padding: 130px 0 100px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.intro-copy p {
    color: var(--ink-700);
    margin: 0 0 18px;
    font-size: 1.03rem;
}

.intro-copy p:first-of-type {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--dark);
    line-height: 1.45;
    font-weight: 500;
}

.badge-collage {
    position: relative;
    height: 100%;
    min-height: 380px;
}

.paper-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 26px;
    box-shadow: 0 24px 48px -28px rgba(74, 6, 20, 0.25);
}

.paper-card+.paper-card {
    margin-top: 18px;
}

.paper-card .row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.paper-card .icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.paper-card .icon svg {
    width: 19px;
    height: 19px;
}

.paper-card h4 {
    font-size: 1.02rem;
    color: var(--dark);
}

.paper-card p {
    margin: 6px 0 0;
    color: var(--ink-700);
    font-size: .93rem;
}

.paper-card.tilt-l {
    transform: rotate(-1.3deg);
}

.paper-card.tilt-r {
    transform: rotate(1.1deg);
    margin-left: 34px;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust {
    background: var(--dark);
    padding: 70px 0;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    text-align: center;
    padding: 26px 14px;
    border-left: 1px solid rgba(217, 178, 127, 0.2);
}

.trust-item:first-child {
    border-left: none;
}

.trust-item .mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 1px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-300);
}

.trust-item .mark svg {
    width: 22px;
    height: 22px;
}

.trust-item h4 {
    color: #fff;
    font-size: .98rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: .82rem;
    margin: 6px 0 0;
    font-family: var(--font-mono);
    letter-spacing: .02em;
}

/* ==========================================================================
   Product / meat category strip
   ========================================================================== */
.categories {
    padding: 110px 0 40px;
}

.cat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cat-card {
    position: relative;
    padding: 34px 26px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 40px -20px rgba(74, 6, 20, 0.3);
}

.cat-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--grad-soft);
    opacity: .08;
    transition: opacity .35s var(--ease-out);
}

.cat-card:hover::before {
    opacity: .16;
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--grad-soft);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform .4s var(--ease-spring);
}

.cat-card:hover .cat-icon {
    transform: rotate(-8deg) scale(1.08);
}

.cat-icon svg {
    width: 28px;
    height: 28px;
}

.cat-card h4 {
    font-size: 1.12rem;
    color: var(--dark);
}

.cat-card p {
    margin-top: 8px;
    color: var(--ink-700);
    font-size: .88rem;
}

/* ==========================================================================
   Features grid
   ========================================================================== */
.features {
    padding: 110px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
}

.feature-card {
    background: var(--paper);
    padding: 36px 32px;
    transition: background .35s var(--ease-out);
}

.feature-card:hover {
    background: #fff;
}

.feature-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform .35s var(--ease-out);
}

.feature-card:hover .icon {
    transform: rotate(-6deg) scale(1.06);
}

.feature-card .icon svg {
    width: 21px;
    height: 21px;
}

.feature-card h4 {
    font-size: 1.08rem;
    color: var(--dark);
}

.feature-card p {
    margin-top: 8px;
    color: var(--ink-700);
    font-size: .92rem;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
    background: var(--border);
    padding: 130px 0;
}

.process-list {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.process-list::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, var(--gold-500) 0 6px, transparent 6px 12px);
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 26px;
    padding-bottom: 54px;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--ruby);
    color: var(--ruby);
    font-family: var(--font-mono);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    z-index: 1;
}

.step-body h4 {
    font-size: 1.15rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-tag {
    font-family: var(--font-mono);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sage-600);
    border: 1px solid var(--sage-600);
    padding: 2px 8px;
    border-radius: 999px;
}

.step-body p {
    margin-top: 8px;
    color: var(--ink-700);
    font-size: .96rem;
    max-width: 60ch;
}

/* ==========================================================================
   Mission / Vision / Values
   ========================================================================== */
.pillars {
    padding: 130px 0;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar {
    padding: 40px 32px;
    border-top: 3px solid var(--ruby);
    background: var(--paper);
}

.pillar .num {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--gold-500);
    letter-spacing: .1em;
}

.pillar h3 {
    margin-top: 14px;
    font-size: 1.3rem;
}

.pillar p {
    margin-top: 12px;
    color: var(--ink-700);
    font-size: .95rem;
}

/* ==========================================================================
   Ecosystem — vendor / customer / delivery / aggregator
   ========================================================================== */
.ecosystem {
    padding: 110px 0;
    background: var(--paper);
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.eco-card {
    text-align: center;
    padding: 38px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    transition: transform .3s var(--ease-out), border-color .3s;
}

.eco-card:hover {
    transform: translateY(-5px);
    border-color: var(--ruby);
}

.eco-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ruby);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-icon svg {
    width: 26px;
    height: 26px;
}

.eco-card h4 {
    font-size: 1.02rem;
    color: var(--dark);
}

.eco-card p {
    margin-top: 8px;
    font-size: .85rem;
    color: var(--ink-700);
}

/* ==========================================================================
   Open Box Delivery — animated crate
   ========================================================================== */
.openbox {
    background: var(--grad);
    padding: 150px 0;
    overflow: hidden;
}

.openbox-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.openbox .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.openbox .eyebrow {
    color: var(--gold-300);
}

.openbox .eyebrow::before {
    background: var(--gold-300);
}

.openbox h2 {
    color: #fff;
}

.openbox-hint {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--gold-300);
    letter-spacing: .06em;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.openbox-hint svg {
    width: 16px;
    height: 16px;
}

.crate-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    perspective: 1400px;
}

.crate-shadow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -6px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent 75%);
    transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}

.crate3d.is-open+.crate-shadow {
    transform: scale(1.15);
    opacity: .7;
}

.crate3d {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    transform-style: preserve-3d;
    cursor: pointer;
}

.crate-face {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    transform-style: preserve-3d;
}

/* box body: 4 side walls suggested via layered panels for a believable crate look */
.crate-body {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 30%;
    bottom: 4%;
    background: linear-gradient(160deg, #c98a4a, #a9662f);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.crate-body::before {
    /* plank lines */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background-image: repeating-linear-gradient(to right, transparent 0 31%, rgba(0, 0, 0, 0.12) 31% 32%);
}

.crate-body::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 14px;
    height: 1px;
    background: rgba(0, 0, 0, 0.18);
}

.crate-strap {
    position:absolute;
    left: 20px;
    right: 20px;
    top: 0;
    bottom: 0;
}

.crate-strap span {
    position: absolute;
    background: linear-gradient(160deg, var(--gold-300), var(--gold-500));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.crate-strap .h {
    left: 0;
    right: 0;
    top: 44%;
    height: 10px;
    
}

.crate-strap .v {
    top: 0;
    bottom: 0;
    left: 46%;
    width: 10px;
}

.crate-stamp {
    position: absolute;
    left: 50%;
    top: 64%;
    width: 88px;
    height: 88px;
    margin-left: -54px;
    margin-top: -44px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    color: var(--dark);
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    z-index: 4;
}

.crate-stamp svg {
    width: 34px;
    height: 34px;
}

.crate-lid {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 0;
    height: 36%;
    background: linear-gradient(160deg, var(--gold-500), #8c6a34);
    border-radius: 6px 6px 2px 2px;
    transform-origin: top center;
    transition: transform .8s var(--ease-spring), box-shadow .8s var(--ease-out);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.crate-lid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 10px;
    background: linear-gradient(160deg, var(--gold-500), #8c6a34);
    clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}

.crate-lid span {
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dark);
    font-weight: 700;
}

.crate-contents {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 8%;
    height: 76%;
    z-index: 7; /* sits above the stamp and lid so the photo reveals cleanly */
    opacity: 0;
    transform: translateY(24px) scale(.82);
    transition: opacity .9s var(--ease-spring) .22s,
                transform .9s var(--ease-spring) .22s;
}

.crate3d.is-open .crate-contents {
    opacity: 1;
    transform: translateY(0) scale(1);
}



.crate-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    /* box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.55); */
    /* background: rgba(255, 255, 255, 0.04); */
}
.crate3d.is-open .crate-stamp {
    opacity: 0;
    transition: opacity .3s var(--ease-out);
}

.crate-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all .5s var(--ease-out) .5s;
    z-index: 3;
}

.crate-caption h4 {
    color:var(--gold-300) ;
    font-size: 1rem;
}

.crate-caption p {
    color: var(--gold-300);
    font-size: .8rem;
    margin-top: 4px;
}

.crate3d.is-open .crate-lid {
    transform: rotateX(-132deg) translateY(-10px);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4);
}

.crate3d.is-open .crate-caption {
    opacity: 1;
    transform: translateY(0);
}

.crate3d.is-open .crate-stamp {
    animation: stamp-press .5s var(--ease-out) .1s;
}

@keyframes stamp-press {
    0% {
        transform: rotate(-8deg) scale(1.6);
        opacity: 0;
    }

    100% {
        transform: rotate(-8deg) scale(1);
        opacity: 1;
    }
}

.crate-tape {
    position: absolute;
    left: 50%;
    top: 26%;
    width: 14px;
    height: 30%;
    margin-left: -18px;
    background: rgba(242, 232, 232, 0.85);
    z-index: 6;
    transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
    transform-origin: top center;
}

.crate3d.is-open .crate-tape {
    transform: scaleY(0) translateY(-20%);
    opacity: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    padding: 130px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 40px;
}

.contact-card .legal {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--gold-500);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-card h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.contact-list {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: .95rem;
    color: var(--ink-700);
}

.contact-list b {
    color: var(--dark);
    display: block;
    font-size: .8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.contact-list .icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-list .icon svg {
    width: 16px;
    height: 16px;
}

.contact-note {
    align-self: stretch;
    border: 1px dashed var(--gold-500);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-note p {
    color: var(--ink-700);
    font-size: 1.02rem;
    line-height: 1.7;
}

.contact-note strong {
    color: var(--ruby);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand p {
    margin-top: 14px;
    font-size: .88rem;
    max-width: 32ch;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin: 0 0 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: .9rem;
    transition: color .25s;
}

.footer-col a:hover {
    color: var(--gold-300);
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color .25s;
}

.footer-bottom a:hover {
    color: var(--gold-300);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 40px;
        max-width: 440px;
    }

    .intro-grid,
    .openbox-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .trust-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(3) {
        border-left: none;
    }

    .cat-row,
    .feature-grid,
    .eco-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:640px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .cat-row,
    .feature-grid,
    .eco-grid {
        grid-template-columns: 1fr;
    }

    .trust-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .paper-card.tilt-r {
        margin-left: 0;
    }

    .process-step {
        grid-template-columns: 40px 1fr;
        gap: 16px;
    }

    .step-num {
        width: 40px;
        height: 40px;
        font-size: .8rem;
    }
}

a:focus-visible,
button:focus-visible,
.crate3d:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}