/* ============================================================
   bada.coffee — coffee bar on a dying-star space station
   Palette: deep-burgundy / ember-gold over void black
   Fade-reveal prompt tokens: IntersectionObserver` with `threshold: 0.15` and assign each element a `transition-delay` based on its position within the bento grid (left-to-right
   ============================================================ */

:root {
    --void-black:       #0a0608;
    --hull-dark:        #1a0e14;
    --crema-burgundy:   #6b1d3a;
    --ember-gold:       #c4873b;
    --steam-blush:      #8c3a52;
    --parchment:        #e8ddd0;
    --ash-warm:         #9a8a7c;
    --cherry-bright:    #d4254c;

    --gap: 4px;
    --reveal-base: 800ms;
    --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --font-display: "Anybody", "Inter", sans-serif;
    --font-sans:    "DM Sans", "Inter", sans-serif;
    --font-body:    "Newsreader", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--void-black);
    color: var(--parchment);
    font-family: var(--font-body);
    font-weight: 350;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.85;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ------------------------------------------------------------
   Navigation — materializes after Zone 1
   ------------------------------------------------------------ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease-out, background-color 400ms ease;
    backdrop-filter: blur(12px);
    background: rgba(10, 6, 8, 0);
    border-bottom: 1px solid rgba(107, 29, 58, 0);
}

.nav.visible {
    opacity: 1;
    pointer-events: auto;
    background: rgba(10, 6, 8, 0.72);
    border-bottom: 1px solid rgba(107, 29, 58, 0.35);
}

.nav-wordmark {
    font-family: var(--font-display);
    font-variation-settings: "wght" 500, "wdth" 100;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: var(--parchment);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash-warm);
    transition: color 300ms ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--ember-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms var(--reveal-ease);
}

.nav-links a:hover { color: var(--ember-gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   Particle drift (Zone 1 only)
   ------------------------------------------------------------ */
.particle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    opacity: 1;
    transition: opacity 800ms ease;
}

.particle-field.dim { opacity: 0; }

.particle {
    position: absolute;
    bottom: -10px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--ember-gold);
    opacity: 0.45;
    filter: blur(0.6px);
    animation: drift linear infinite;
}

@keyframes drift {
    0%   { transform: translate(0, 0); opacity: 0; }
    10%  { opacity: 0.55; }
    90%  { opacity: 0.4; }
    100% { transform: translate(var(--dx, 40px), -110vh); opacity: 0; }
}

/* ------------------------------------------------------------
   Zone skeleton
   ------------------------------------------------------------ */
.zone {
    position: relative;
    width: 100%;
    padding: 80px 40px;
}

.zone-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-warm);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(107, 29, 58, 0.35);
    margin-bottom: 28px;
}

.zone-heading {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 8px;
}

.zone-title {
    font-family: var(--font-display);
    font-variation-settings: "wght" 280, "wdth" 120;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.02;
    color: var(--parchment);
    letter-spacing: -0.01em;
}
.zone-title em {
    font-style: normal;
    font-variation-settings: "wght" 700, "wdth" 95;
    color: var(--ember-gold);
}

/* ------------------------------------------------------------
   ZONE 1 — THE HATCH
   ------------------------------------------------------------ */
.zone-1 {
    height: 100vh;
    min-height: 640px;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--void-black);
}

.hatch-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #0a0608 0%, #1a0e14 35%, #6b1d3a 100%);
    opacity: 0.9;
    z-index: 0;
}

.concentric-rings {
    position: absolute;
    top: 50%; left: 50%;
    width: 140vmin; height: 140vmin;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: ringPulse 14s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.hatch-blob {
    position: absolute;
    top: 50%; left: 50%;
    width: 80vmin; height: 80vmin;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: blur(8px);
}

.hatch-inner {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 24px;
}

.wordmark {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 11vw, 8rem);
    font-variation-settings: "wght" 100, "wdth" 140;
    line-height: 1;
    color: var(--parchment);
    letter-spacing: -0.015em;
    transition: font-variation-settings 2000ms ease-out;
    text-shadow: 0 0 40px rgba(107, 29, 58, 0.4);
}

.wordmark.settled {
    font-variation-settings: "wght" 400, "wdth" 115;
}

.hatch-sub {
    margin-top: 24px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ash-warm);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1200ms ease-out 1500ms, transform 1200ms ease-out 1500ms;
}

.wordmark.settled ~ .hatch-sub {
    opacity: 1;
    transform: translateY(0);
}

.hatch-scroll-cue {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    opacity: 0;
    animation: cueIn 1.2s ease-out 2800ms forwards;
}

@keyframes cueIn { to { opacity: 1; } }

.cue-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ash-warm);
}

.cue-line {
    width: 1px; height: 42px;
    background: linear-gradient(to bottom, var(--ember-gold), transparent);
    animation: cuePulse 2.4s ease-in-out infinite;
}

@keyframes cuePulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* ------------------------------------------------------------
   ZONE 2 — GRID EMERGE
   ------------------------------------------------------------ */
.zone-2 {
    background: var(--hull-dark);
    padding-top: 140px;
    padding-bottom: 140px;
}

.bento-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: var(--gap);
    background: rgba(107, 29, 58, 0.55);
    padding: var(--gap);
    border: 1px solid rgba(107, 29, 58, 0.5);
    box-shadow: 0 0 80px rgba(107, 29, 58, 0.15), inset 0 0 40px rgba(10, 6, 8, 0.8);
}

.bento-2 {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, auto);
}

.bento {
    position: relative;
    background: var(--void-black);
    padding: 28px;
    overflow: hidden;
    box-shadow: inset 0 0 2px rgba(107, 29, 58, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-color 500ms ease;
}

.bento.inverted { background: var(--parchment); color: var(--void-black); }
.bento.inverted .cell-h em { color: var(--crema-burgundy); }
.bento.inverted .cell-p { color: #3a2a2f; }

.bento:hover { background-color: #120a10; }
.bento.inverted:hover { background-color: #dfd2c3; }

/* Zone 2 cell spans */
.cell-a { grid-column: span 2; grid-row: span 2; }
.cell-b { grid-column: span 2; grid-row: span 1; }
.cell-c { grid-column: span 1; grid-row: span 2; }
.cell-d { grid-column: span 1; grid-row: span 1; }
.cell-e { grid-column: span 2; grid-row: span 1; }
.cell-f { grid-column: span 2; grid-row: span 1; }
.cell-g { grid-column: span 2; grid-row: span 2; }
.cell-h { grid-column: span 2; grid-row: span 1; }

/* Zone 4 cell spans */
.bento-4 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, auto); }
.cell-4a { grid-column: span 2; grid-row: span 2; }
.cell-4b { grid-column: span 2; grid-row: span 1; }
.cell-4c { grid-column: span 1; grid-row: span 1; }
.cell-4d { grid-column: span 1; grid-row: span 1; }
.cell-4e { grid-column: span 2; grid-row: span 1; }
.cell-4f { grid-column: span 4; grid-row: span 2; min-height: 360px; }

.cell-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember-gold);
    padding-top: 16px;
    border-top: 1px solid rgba(196, 135, 59, 0.25);
    align-self: flex-start;
    z-index: 3;
}
.cell-label.low { color: var(--ash-warm); border-top-color: rgba(154, 138, 124, 0.25); }
.cell-label.light { color: var(--void-black); border-top-color: rgba(10, 6, 8, 0.25); }

.cell-h {
    font-family: var(--font-display);
    font-variation-settings: "wght" 320, "wdth" 115;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    line-height: 1.08;
    color: var(--parchment);
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}
.cell-h.small { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.cell-h em { font-style: normal; font-variation-settings: "wght" 700, "wdth" 90; color: var(--ember-gold); }

.cell-p {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    line-height: 1.7;
    color: var(--ash-warm);
    margin-bottom: 14px;
}
.cell-p.tiny { font-size: 0.85rem; margin-top: 8px; margin-bottom: 0; }

.cell-meta {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-warm);
    margin-bottom: 18px;
}
.cell-meta.small { color: var(--ember-gold); }

/* Timer */
.timer {
    display: flex; align-items: baseline; gap: 14px;
    margin-bottom: 16px;
}
.timer-num {
    font-family: var(--font-display);
    font-variation-settings: "wght" 260, "wdth" 130;
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--parchment);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.bento.inverted .timer-num { color: var(--void-black); }
.timer-unit {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-warm);
}
.timer-bar {
    width: 100%;
    height: 2px;
    background: rgba(154, 138, 124, 0.15);
    position: relative;
    overflow: hidden;
}
.timer-bar span {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--crema-burgundy), var(--ember-gold));
    transition: width 1200ms var(--reveal-ease);
}

/* Cell list */
.cell-list {
    list-style: none;
    display: grid;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}
.cell-list li {
    display: flex; justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dotted rgba(154, 138, 124, 0.2);
    color: var(--parchment);
    text-transform: uppercase;
}
.cell-list li span:last-child { color: var(--ember-gold); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* Cell image duotone placeholders */
.cell-image {
    position: absolute; inset: 0;
    mix-blend-mode: luminosity;
    filter: contrast(1.1) brightness(0.75);
    z-index: 1;
}
.cell-image::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(107, 29, 58, 0.25);
    mix-blend-mode: multiply;
}

.cell-image-crema {
    background:
        radial-gradient(circle at 40% 35%, rgba(196, 135, 59, 0.55) 0%, transparent 28%),
        radial-gradient(circle at 65% 60%, rgba(232, 221, 208, 0.35) 0%, transparent 22%),
        radial-gradient(circle at 20% 80%, rgba(140, 58, 82, 0.6) 0%, transparent 40%),
        radial-gradient(ellipse at center, #6b1d3a 0%, #1a0e14 70%, #0a0608 100%);
}
.cell-image-beans {
    background:
        radial-gradient(circle at 30% 30%, rgba(196, 135, 59, 0.25) 0%, transparent 14%),
        radial-gradient(circle at 70% 40%, rgba(196, 135, 59, 0.2) 0%, transparent 12%),
        radial-gradient(circle at 50% 70%, rgba(140, 58, 82, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 15% 60%, rgba(196, 135, 59, 0.22) 0%, transparent 10%),
        radial-gradient(circle at 85% 80%, rgba(140, 58, 82, 0.3) 0%, transparent 15%),
        linear-gradient(140deg, #1a0e14 0%, #0a0608 100%);
}
.cell-image-steam {
    background:
        radial-gradient(ellipse at 50% 90%, rgba(232, 221, 208, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, rgba(196, 135, 59, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 30%, rgba(232, 221, 208, 0.15) 0%, transparent 45%),
        linear-gradient(180deg, #0a0608 0%, #6b1d3a 100%);
}
.cell-image-cup {
    background:
        radial-gradient(circle at 50% 45%, rgba(196, 135, 59, 0.6) 0%, rgba(107, 29, 58, 0.6) 30%, transparent 55%),
        radial-gradient(circle at 50% 50%, #1a0e14 0%, #0a0608 60%),
        linear-gradient(135deg, #e8ddd0 0%, #9a8a7c 100%);
}
.cell-image-pour {
    background:
        linear-gradient(10deg, transparent 60%, rgba(232, 221, 208, 0.4) 62%, transparent 65%),
        radial-gradient(ellipse at 50% 90%, rgba(107, 29, 58, 0.8) 0%, transparent 45%),
        linear-gradient(160deg, #1a0e14 0%, #6b1d3a 100%);
}

.cell-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 6, 8, 0.85) 100%);
    z-index: 2;
}
.cell-overlay.warm {
    background: linear-gradient(180deg, transparent 40%, rgba(232, 221, 208, 0.9) 100%);
}

/* Cell blob */
.cell-blob {
    position: absolute;
    top: 50%; left: 50%;
    width: 140%; height: 140%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}
.cell-blob.clipped { width: 80%; height: 80%; top: 60%; left: 60%; }

/* ------------------------------------------------------------
   Blobs — morphing organisms
   ------------------------------------------------------------ */
.blob { transition: d 200ms linear; }

.blob-hatch {
    animation: morphHatch 18s ease-in-out infinite;
}
@keyframes morphHatch {
    0%, 100% { d: path("M 0 -140 C 80 -130 150 -70 145 10 C 140 95 70 145 -10 140 C -95 135 -150 70 -140 -20 C -130 -100 -70 -150 0 -140 Z"); }
    50%      { d: path("M -20 -155 C 90 -125 160 -40 130 40 C 100 120 30 160 -60 140 C -150 120 -165 40 -150 -40 C -140 -110 -90 -170 -20 -155 Z"); }
}

.blob-a { animation: morphA 14s ease-in-out infinite; animation-delay: -3s; transform-origin: center; }
@keyframes morphA {
    0%, 100% { d: path("M 0 -85 C 55 -80 92 -42 88 10 C 84 60 48 90 -6 88 C -60 86 -92 48 -86 -8 C -80 -60 -50 -92 0 -85 Z"); }
    50%      { d: path("M -10 -95 C 65 -70 100 -20 85 30 C 70 90 20 95 -30 80 C -90 65 -100 20 -90 -30 C -82 -70 -55 -105 -10 -95 Z"); }
}

.blob-b { animation: morphB 17s ease-in-out infinite; animation-delay: -7s; }
@keyframes morphB {
    0%, 100% { d: path("M -30 -70 C 40 -90 95 -40 80 20 C 70 80 10 95 -40 78 C -95 60 -90 -20 -60 -50 C -48 -62 -44 -66 -30 -70 Z"); }
    50%      { d: path("M -20 -85 C 50 -80 100 -30 88 30 C 78 85 20 100 -35 85 C -90 70 -95 0 -70 -40 C -55 -65 -40 -82 -20 -85 Z"); }
}

.blob-c { animation: morphC 19s ease-in-out infinite; animation-delay: -11s; }
@keyframes morphC {
    0%, 100% { d: path("M -80 -150 C 40 -180 160 -110 150 10 C 140 130 40 180 -80 160 C -190 140 -200 40 -170 -60 C -150 -120 -140 -135 -80 -150 Z"); }
    50%      { d: path("M -60 -170 C 70 -160 170 -80 155 30 C 140 140 20 190 -90 170 C -180 150 -190 20 -170 -70 C -155 -130 -130 -160 -60 -170 Z"); }
}

.blob-d { animation: morphD 15s ease-in-out infinite; animation-delay: -5s; }
@keyframes morphD {
    0%, 100% { d: path("M 0 -170 C 100 -160 180 -80 160 20 C 140 130 60 170 -50 150 C -160 130 -180 30 -150 -70 C -130 -130 -80 -180 0 -170 Z"); }
    50%      { d: path("M 20 -160 C 130 -140 180 -60 150 50 C 120 150 30 180 -70 160 C -170 140 -170 20 -140 -60 C -110 -130 -60 -170 20 -160 Z"); }
}

.blob-e { animation: morphE 20s ease-in-out infinite; animation-delay: -9s; }
@keyframes morphE {
    0%, 100% { d: path("M -110 -110 C 20 -170 140 -140 160 -30 C 180 80 110 170 -10 160 C -140 150 -200 50 -180 -40 C -160 -95 -140 -95 -110 -110 Z"); }
    50%      { d: path("M -130 -90 C 10 -160 150 -120 170 -10 C 190 100 90 180 -30 170 C -160 160 -190 40 -175 -50 C -160 -90 -150 -75 -130 -90 Z"); }
}

/* ------------------------------------------------------------
   ZONE 3 — THE RITUAL
   ------------------------------------------------------------ */
.zone-3 {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(107, 29, 58, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(196, 135, 59, 0.08) 0%, transparent 45%),
        var(--void-black);
    padding-top: 160px;
    padding-bottom: 160px;
    position: relative;
    overflow: hidden;
}

.drift-blob {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}
.drift-blob.drift-1 { width: 60vmin; height: 60vmin; top: 5%; left: -10%; filter: blur(20px); }
.drift-blob.drift-2 { width: 50vmin; height: 50vmin; top: 40%; right: -8%; filter: blur(30px); opacity: 0.7; }
.drift-blob.drift-3 { width: 70vmin; height: 70vmin; bottom: -10%; left: 30%; filter: blur(25px); opacity: 0.6; }

.ritual-wrap {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 8px;
}

.ritual-title {
    font-family: var(--font-display);
    font-variation-settings: "wght" 280, "wdth" 130;
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 48px;
    color: var(--parchment);
}
.ritual-title em {
    font-style: normal;
    font-variation-settings: "wght" 650, "wdth" 90;
    color: var(--ember-gold);
}

.ritual-p {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.3vw, 1.22rem);
    line-height: 1.9;
    color: var(--parchment);
    margin-bottom: 30px;
    font-weight: 350;
}
.ritual-p em { color: var(--ember-gold); font-style: italic; }
.ritual-p.small {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-warm);
    margin-top: 32px;
}

.ritual-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--crema-burgundy), transparent);
    margin: 32px 0 24px;
}

/* ------------------------------------------------------------
   ZONE 4 — THE RETURN
   ------------------------------------------------------------ */
.zone-4 {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(196, 135, 59, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, var(--hull-dark) 0%, #0f080c 100%);
    padding-top: 140px;
    padding-bottom: 80px;
}

.final-cell {
    background: linear-gradient(160deg, #1a0e14 0%, #6b1d3a 70%, #c4873b 160%);
    color: var(--parchment);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    box-shadow: inset 0 0 60px rgba(10, 6, 8, 0.6), inset 0 0 2px rgba(196, 135, 59, 0.4);
}

.final-wordmark {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 10vw, 7rem);
    font-variation-settings: "wght" 400, "wdth" 110;
    color: var(--parchment);
    letter-spacing: -0.015em;
    transition: font-variation-settings 1600ms ease-out;
    text-shadow: 0 0 60px rgba(196, 135, 59, 0.35);
}
.final-wordmark.grounded {
    font-variation-settings: "wght" 700, "wdth" 100;
}

.final-sub {
    margin-top: 18px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ember-gold);
}

.foot {
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 24px 8px 0;
    border-top: 1px solid rgba(107, 29, 58, 0.3);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-warm);
}

/* ------------------------------------------------------------
   Reveal pattern — fade + slight translateY
   ------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity var(--reveal-base) var(--reveal-ease),
        transform var(--reveal-base) var(--reveal-ease);
}

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

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .zone { padding: 60px 20px; }
    .nav { padding: 14px 20px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 0.68rem; }
    .bento-2, .bento-4 { grid-template-columns: repeat(2, 1fr); }
    .cell-a, .cell-b, .cell-c, .cell-d, .cell-e, .cell-f, .cell-g, .cell-h,
    .cell-4a, .cell-4b, .cell-4c, .cell-4d, .cell-4e, .cell-4f {
        grid-column: span 2; grid-row: auto; min-height: 200px;
    }
    .cell-4f { min-height: 280px; }
    .foot { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .bento-2, .bento-4 { grid-template-columns: 1fr; }
    .cell-a, .cell-b, .cell-c, .cell-d, .cell-e, .cell-f, .cell-g, .cell-h,
    .cell-4a, .cell-4b, .cell-4c, .cell-4d, .cell-4e, .cell-4f {
        grid-column: span 1;
    }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 0.62rem; letter-spacing: 0.08em; }
}
