/* ==========================================================================
   martiallaw.quest — botanical / layered-depth / candy-bright / leather
   ========================================================================== */

:root {
    --vivid-coral: #FF6B6B;
    --bright-teal: #4DC8B0;
    --botanical-green: #2A8A50;
    --leather-brown: #4A3020;
    --leather-brown-deep: #3A2418;
    --leather-light: #F0E8D8;
    --cream-light: #FFF8F0;
    --deep-text: #2A2020;
    --candy-pink: #FFB0B0;

    --font-headline: 'Commissioner', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Nunito', 'Helvetica Neue', sans-serif;
    --font-mono: 'Inconsolata', 'Menlo', monospace;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 7rem;

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 26px;

    --depth-shadow: 0 4px 20px rgba(42, 32, 32, 0.10);
    --depth-shadow-strong: 0 10px 36px rgba(42, 32, 32, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--deep-text);
    background: var(--cream-light);
    line-height: 1.75;
    overflow-x: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
}

.svg-defs { width: 0; height: 0; }

.scene { position: relative; transform-style: preserve-3d; }

/* ------------------------------------------------------------------ HERO */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    isolation: isolate;
}

.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 176, 176, 0.45), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(77, 200, 176, 0.55), transparent 60%),
        linear-gradient(135deg, #FF6B6B 0%, #FF8E7A 35%, #4DC8B0 100%);
    z-index: 0;
}

.hero-gradient::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 110%, rgba(74, 48, 32, 0.35), transparent 60%);
    mix-blend-mode: multiply;
}

.depth-stage {
    position: absolute; inset: 0;
    z-index: 1;
    transform-style: preserve-3d;
    pointer-events: none;
}

.leaf-bg {
    position: absolute;
    width: clamp(420px, 56vw, 880px);
    aspect-ratio: 1 / 1;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.leaf-bg svg { width: 100%; height: 100%; display: block; }

.leaf-bg-1 {
    top: -8%; left: -10%;
    opacity: 0.30;
    transform: translateZ(-160px) scale(1.18);
    filter: blur(2.4px);
}

.leaf-bg-2 {
    top: 20%; right: -14%;
    opacity: 0.20;
    transform: translateZ(-80px) scale(1.08) rotate(18deg);
    filter: blur(1.4px);
}

.leaf-bg-3 {
    bottom: -10%; left: 10%;
    opacity: 0.10;
    transform: translateZ(-220px) scale(1.25);
    filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--cream-light);
    transform: translateZ(40px);
    max-width: 1080px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 248, 240, 0.85);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeIn 800ms ease 200ms forwards;
}

.hero-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: clamp(48px, 10vw, 144px);
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(42, 32, 32, 0.35);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeRise 900ms ease 600ms forwards;
}

.logo-mark { display: inline-block; }
.logo-tld {
    display: inline-block;
    color: var(--candy-pink);
    font-weight: 500;
    font-size: 0.6em;
    margin-left: 0.15em;
    transform: translateY(-0.12em);
}

.hero-tagline {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 22px);
    color: rgba(255, 248, 240, 0.92);
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeIn 900ms ease 1000ms forwards;
}

.leather-banner {
    position: absolute;
    left: 0; right: 0;
    bottom: 90px;
    height: 64px;
    background: var(--leather-brown);
    overflow: hidden;
    z-index: 4;
    transform: translateY(120%);
    animation: slideUp 1100ms cubic-bezier(0.2, 0.7, 0.3, 1) 1200ms forwards;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -2px 0 rgba(0,0,0,0.5);
}

.leather-noise {
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 5px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 5px),
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05), transparent 70%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.leather-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 0 var(--space-md);
    color: var(--leather-light);
    text-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 -1px 0 rgba(255,255,255,0.05);
}

.banner-stamp {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3em;
    padding: 4px 10px;
    border: 1px solid rgba(240, 232, 216, 0.4);
    border-radius: 2px;
    color: var(--candy-pink);
    flex-shrink: 0;
}

.banner-text {
    font-family: var(--font-headline);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(13px, 1.1vw, 16px);
    letter-spacing: 0.02em;
    text-align: center;
}

.hero-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: rgba(255, 248, 240, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 248, 240, 0.4);
    color: var(--cream-light);
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 800ms ease 1600ms forwards;
}

.hero-scroll:hover {
    background: rgba(255, 248, 240, 0.28);
    transform: translateX(-50%) translateY(-2px);
}

.hero-scroll svg {
    animation: bobDown 1.6s ease-in-out infinite;
}

/* ------------------------------------------------------ shared sections */
.section {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    isolation: isolate;
}

.botanical-margin {
    position: absolute;
    top: 5%;
    height: 90%;
    width: 180px;
    pointer-events: none;
    opacity: 0.30;
    z-index: 0;
}

.botanical-margin svg { width: 100%; height: 100%; }
.botanical-margin-left  { left: -2vw; }
.botanical-margin-right { right: -2vw; }

.kicker {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--vivid-coral);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--leather-brown-deep);
    margin-bottom: var(--space-md);
}

.lede {
    font-size: clamp(15px, 1.18vw, 18px);
    line-height: 1.85;
    color: var(--deep-text);
    max-width: 60ch;
}

/* depth planes */
.depth-foreground { position: relative; z-index: 3; }
.depth-middle     { position: relative; z-index: 2; }

/* --------------------------------------------------------- intro layout */
.section-intro {
    background: linear-gradient(180deg, rgba(255, 176, 176, 0.18), var(--cream-light) 60%);
}

.intro-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-lg);
    align-items: start;
}

.lede em {
    font-style: normal;
    background: linear-gradient(transparent 60%, rgba(77, 200, 176, 0.4) 60%);
    padding: 0 4px;
    color: var(--leather-brown-deep);
    font-weight: 600;
}

.leaf-card {
    position: relative;
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--depth-shadow-strong);
    border: 1px solid rgba(42, 138, 80, 0.15);
    overflow: hidden;
}

.leaf-card-deco {
    position: absolute;
    top: -22px; right: -22px;
    width: 130px; height: 130px;
    pointer-events: none;
}

.leaf-card-deco svg { width: 100%; height: 100%; }

.leaf-card h3 {
    font-family: var(--font-headline);
    font-weight: 500;
    font-size: 22px;
    color: var(--leather-brown-deep);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.ingredient-list {
    list-style: none;
    counter-reset: ingredient;
    display: grid;
    gap: 1rem;
}

.ingredient-list li {
    position: relative;
    padding-left: 50px;
    font-size: 15.5px;
    color: var(--deep-text);
}

.ingredient-list .num {
    position: absolute;
    left: 0; top: 4px;
    width: 36px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cream-light);
    background: var(--botanical-green);
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ------------------------------------------------------ leather authority */
.section-authority {
    background:
        radial-gradient(circle at 80% 30%, rgba(255, 176, 176, 0.18), transparent 50%),
        var(--cream-light);
    padding-block: var(--space-lg);
}

.leather-panel {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 25% 10%, rgba(255,255,255,0.06), transparent 70%),
        linear-gradient(135deg, var(--leather-brown) 0%, var(--leather-brown-deep) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
    color: var(--leather-light);
    box-shadow:
        inset 0 0 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 30px 80px rgba(74, 48, 32, 0.35);
    overflow: hidden;
    isolation: isolate;
}

.leather-noise-large {
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 4px),
        radial-gradient(circle at 60% 40%, rgba(255,255,255,0.05), transparent 70%);
    mix-blend-mode: overlay;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.leather-edge {
    position: absolute;
    left: 18px; right: 18px;
    height: 6px;
    border-radius: 4px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 6px, transparent 6px 14px),
        rgba(0,0,0,0.25);
    pointer-events: none;
}

.leather-edge-top    { top: 14px; }
.leather-edge-bottom { bottom: 14px; }

.leather-content-block {
    position: relative;
    z-index: 1;
}

.ref-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--candy-pink);
    margin-bottom: var(--space-sm);
}

.emboss-heading {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--leather-light);
    text-shadow:
        0 1px 0 rgba(255,255,255,0.10),
        0 -1px 0 rgba(0,0,0,0.60);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.emboss-paragraphs {
    max-width: 760px;
    margin-bottom: var(--space-lg);
}

.emboss-paragraphs p {
    font-family: var(--font-headline);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 1.7;
    color: var(--leather-light);
    text-shadow: 0 1px 0 rgba(0,0,0,0.45);
}

.emboss-cite {
    margin-top: var(--space-sm);
    font-style: normal !important;
    font-family: var(--font-mono) !important;
    font-size: 13px !important;
    letter-spacing: 0.12em;
    color: var(--candy-pink) !important;
    text-shadow: none !important;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.legal-cell {
    padding: var(--space-md);
    border: 1px solid rgba(240, 232, 216, 0.20);
    border-radius: var(--radius-md);
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}

.cell-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--bright-teal);
    margin-bottom: var(--space-sm);
}

.legal-cell p {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(240, 232, 216, 0.95);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

/* ----------------------------------------------------------- timeline */
.section-timeline {
    background: linear-gradient(180deg, var(--cream-light) 0%, rgba(77, 200, 176, 0.10) 100%);
}

.timeline-head {
    max-width: 720px;
    margin: 0 auto var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-head .lede { margin: var(--space-sm) auto 0; }

.timeline-list {
    position: relative;
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        var(--vivid-coral) 0%,
        var(--bright-teal) 50%,
        var(--botanical-green) 100%);
    transform: translateX(-50%);
    opacity: 0.55;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd)  { margin-left: 0; padding-right: 60px; flex-direction: row-reverse; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding-left: 60px; }

.stem {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--vivid-coral);
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .stem  { right: 0; background: var(--vivid-coral); }
.timeline-item:nth-child(even) .stem { left: 0;  background: var(--bright-teal); }
.timeline-item[data-stem="teal"] .stem  { background: var(--bright-teal); }
.timeline-item[data-stem="coral"] .stem { background: var(--vivid-coral); }

.leaf-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background: var(--cream-light);
    border-radius: 50%;
    box-shadow: var(--depth-shadow);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--botanical-green);
    z-index: 2;
}

.leaf-icon svg { width: 70%; height: 70%; }

.timeline-card {
    flex: 1;
    background: var(--cream-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--depth-shadow);
    border-left: 3px solid var(--vivid-coral);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-card  { border-left: none; border-right: 3px solid var(--vivid-coral); }
.timeline-item[data-stem="teal"] .timeline-card  { border-color: var(--bright-teal); }
.timeline-item:hover .timeline-card {
    transform: translateY(-3px);
    box-shadow: var(--depth-shadow-strong);
}

.time-stamp {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--leather-brown);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.time-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 22px;
    color: var(--leather-brown-deep);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.timeline-card p:not(.time-stamp) {
    font-size: 14.8px;
    line-height: 1.7;
    color: var(--deep-text);
}

/* ---------------------------------------------------------- garden */
.section-garden {
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 176, 176, 0.18), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(77, 200, 176, 0.20), transparent 60%),
        var(--cream-light);
    overflow: hidden;
}

.garden-head {
    max-width: 720px;
    margin: 0 auto var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 3;
}

.garden-head .lede { margin: var(--space-sm) auto 0; }

.garden-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    position: relative;
    z-index: 2;
}

.specimen {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--cream-light);
    border-radius: var(--radius-md);
    box-shadow: var(--depth-shadow);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(42, 138, 80, 0.18);
}

.specimen:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--depth-shadow-strong);
}

.specimen:active { transform: translateY(0) scale(0.98); }

.specimen svg {
    width: 70%; height: 70%;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.specimen:hover svg { transform: scale(1.06) rotate(-3deg); }

.specimen .leaf-fill { transition: fill 0.4s ease; }
.specimen:hover .leaf-fill { fill: var(--bright-teal); }

.specimen-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--leather-brown);
    margin-top: 6px;
    pointer-events: none;
}

.impact-readout {
    max-width: 720px;
    margin: var(--space-lg) auto 0;
    padding: var(--space-md);
    background: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(74, 48, 32, 0.30);
    box-shadow: var(--depth-shadow);
    position: relative;
    z-index: 2;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.impact-readout.lit {
    border-style: solid;
    border-color: var(--bright-teal);
    transform: translateY(-2px);
}

.impact-name {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 22px;
    color: var(--vivid-coral);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.impact-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--deep-text);
}

/* ------------------------------------------------------ testimony */
.section-testimony {
    background: linear-gradient(180deg, rgba(77, 200, 176, 0.10) 0%, var(--cream-light) 100%);
}

.testimony-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.testimony-card {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--depth-shadow);
    border-top: 4px solid var(--candy-pink);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.testimony-card:nth-child(2) { border-top-color: var(--bright-teal); transform: translateY(20px); }
.testimony-card:nth-child(3) { border-top-color: var(--vivid-coral); }

.testimony-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--depth-shadow-strong);
}

.testimony-quote {
    font-family: var(--font-headline);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.65;
    color: var(--leather-brown-deep);
    margin-bottom: var(--space-sm);
}

.testimony-quote::before {
    content: '"';
    display: block;
    font-family: var(--font-headline);
    font-size: 60px;
    color: var(--vivid-coral);
    line-height: 0.5;
    margin-bottom: 4px;
    font-style: normal;
}

.testimony-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--leather-brown);
    text-transform: uppercase;
}

/* ------------------------------------------------------ footer */
.site-foot {
    margin-top: var(--space-lg);
}

.foot-leather {
    position: relative;
    background: linear-gradient(135deg, var(--leather-brown), var(--leather-brown-deep));
    color: var(--leather-light);
    padding: var(--space-lg) var(--space-md);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -2px 0 rgba(0,0,0,0.4);
}

.foot-content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
}

.foot-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.foot-logo {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 26px;
    color: var(--candy-pink);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
}

.foot-sub {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(240, 232, 216, 0.75);
    text-transform: lowercase;
}

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-self: end;
    align-self: center;
}

.foot-nav a {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--bright-teal);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.foot-nav a:hover { color: var(--candy-pink); }

.foot-cite {
    grid-column: 1 / -1;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(240, 232, 216, 0.7);
    border-top: 1px solid rgba(240, 232, 216, 0.18);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

/* ----------------------------------------------------------- ripple */
.ripple-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.ripple {
    position: absolute;
    width: 0; height: 0;
    border-radius: 50%;
    border: 2px solid var(--bright-teal);
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: width, height, opacity;
}

.ripple.coral { border-color: var(--vivid-coral); }

/* --------------------------------------------------------- animations */
@keyframes fadeIn   { to { opacity: 1; } }
@keyframes fadeRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp  { to { transform: translateY(0); } }
@keyframes bobDown  {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}
@keyframes rippleExpand {
    from { width: 0;     height: 0;     opacity: 0.7; border-width: 3px; }
    to   { width: 320px; height: 320px; opacity: 0;   border-width: 1px; }
}

/* responsive */
@media (max-width: 880px) {
    .intro-grid { grid-template-columns: 1fr; }
    .timeline-list::before { left: 28px; transform: none; }
    .timeline-item { width: 100%; padding: var(--space-sm) 0 var(--space-sm) 60px; flex-direction: row !important; text-align: left !important; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) { margin-left: 0; padding-left: 60px; padding-right: 0; }
    .timeline-item .stem { left: 0 !important; right: auto !important; width: 28px; }
    .timeline-item:nth-child(odd) .timeline-card { border-right: none; border-left: 3px solid var(--vivid-coral); }
    .leaf-icon { position: absolute; left: -2px; }
    .foot-content { grid-template-columns: 1fr; }
    .foot-nav { justify-self: start; }
    .botanical-margin { display: none; }
    .leather-banner { height: auto; padding: 12px var(--space-md); }
    .leather-content { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
    .hero { padding: var(--space-lg) var(--space-sm) var(--space-xl); }
    .leather-banner { bottom: 70px; }
    .hero-scroll { font-size: 11px; padding: 6px 14px; }
    .section { padding: var(--space-lg) var(--space-sm); }
}
