/* lunar.bar — celestial cocktail bar
   Palette:
   #0A0E1A — deep night
   #141A2B — slate night
   #1F2740 — overcast night
   #E8E4D9 — moon bone
   #C9C2AE — moonlight
   #8B8676 — lunar shadow
   #D4A574 — amber pour
   #6B7A99 — twilight blue
   Fonts: Cormorant Garamond (display), Inter (body), JetBrains Mono (data)
   Interactions: cursor glow, moon phase calc, parallax, reveals,
   ticker, smooth scroll, form hold, hover tilt, idle drift to implement.
*/

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

:root {
    --night-deep: #0A0E1A;
    --night-slate: #141A2B;
    --night-over: #1F2740;
    --bone: #E8E4D9;
    --moon: #C9C2AE;
    --shadow: #8B8676;
    --amber: #D4A574;
    --twilight: #6B7A99;
    --rule: rgba(232, 228, 217, 0.08);
    --rule-strong: rgba(232, 228, 217, 0.18);
    --serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Menlo', monospace;
    --maxw: 1320px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--night-deep);
    color: var(--bone);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.55;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% -10%, rgba(107, 122, 153, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 10% 90%, rgba(212, 165, 116, 0.07) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Film grain */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image:
        repeating-radial-gradient(circle at 13% 27%, rgba(255,255,255,0.4) 0 1px, transparent 1px 3px),
        repeating-radial-gradient(circle at 76% 64%, rgba(255,255,255,0.3) 0 1px, transparent 1px 4px),
        repeating-radial-gradient(circle at 41% 88%, rgba(255,255,255,0.4) 0 1px, transparent 1px 3px);
}

/* Soft cursor follower */
.cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(201, 194, 174, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    transition: opacity 0.6s ease;
    mix-blend-mode: screen;
    will-change: left, top;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 14, 26, 0.55);
    border-bottom: 1px solid var(--rule);
    transition: padding 0.4s ease, background 0.4s ease;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--bone);
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 28px;
    height: 28px;
    color: var(--moon);
    transition: transform 1s ease;
}

.brand:hover .brand-mark {
    transform: rotate(360deg);
}

.brand-text .dot {
    color: var(--amber);
}

.primary-nav {
    justify-self: center;
    display: flex;
    gap: 38px;
}

.primary-nav a {
    color: var(--moon);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--bone);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.primary-nav a:hover {
    color: var(--bone);
}

.primary-nav a:hover::after {
    transform: scaleX(1);
}

.header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--shadow);
}

.phase-readout {
    color: var(--moon);
    letter-spacing: 0.08em;
}

.time-readout {
    color: var(--amber);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    padding: 140px 36px 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(232, 228, 217, 0.85) 0, transparent 100%),
        radial-gradient(1px 1px at 86% 18%, rgba(232, 228, 217, 0.7) 0, transparent 100%),
        radial-gradient(1.6px 1.6px at 67% 71%, rgba(232, 228, 217, 0.9) 0, transparent 100%),
        radial-gradient(1px 1px at 31% 84%, rgba(232, 228, 217, 0.6) 0, transparent 100%),
        radial-gradient(1.2px 1.2px at 92% 56%, rgba(232, 228, 217, 0.8) 0, transparent 100%),
        radial-gradient(1px 1px at 7% 65%, rgba(232, 228, 217, 0.5) 0, transparent 100%),
        radial-gradient(1.4px 1.4px at 49% 9%, rgba(232, 228, 217, 0.7) 0, transparent 100%),
        radial-gradient(1px 1px at 79% 91%, rgba(232, 228, 217, 0.55) 0, transparent 100%),
        radial-gradient(1.2px 1.2px at 22% 47%, rgba(232, 228, 217, 0.7) 0, transparent 100%),
        radial-gradient(1px 1px at 58% 38%, rgba(232, 228, 217, 0.6) 0, transparent 100%);
    animation: stardrift 60s linear infinite;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes stardrift {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 64px;
    row-gap: 28px;
    align-items: center;
}

.hero-coords {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--twilight);
    text-transform: uppercase;
}

.hero-coords span:last-child {
    color: var(--amber);
    margin-top: 6px;
}

.moon-stage {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 540px;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moon {
    position: relative;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #F5F0E1 0%, var(--bone) 35%, var(--moon) 70%, #9A9482 100%);
    box-shadow:
        inset -30px -40px 80px rgba(20, 26, 43, 0.6),
        0 0 80px rgba(232, 228, 217, 0.15),
        0 0 160px rgba(201, 194, 174, 0.08);
    overflow: hidden;
    transition: box-shadow 0.6s ease;
}

.moon-shadow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--night-deep);
    transition: clip-path 1.2s cubic-bezier(0.7, 0, 0.2, 1);
    clip-path: ellipse(35% 50% at 25% 50%);
    opacity: 0.92;
}

.moon-craters span {
    position: absolute;
    border-radius: 50%;
    background: rgba(20, 26, 43, 0.18);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.25);
}

.crater.c1 { width: 14%; height: 14%; top: 22%; left: 30%; }
.crater.c2 { width: 8%; height: 8%; top: 38%; left: 58%; }
.crater.c3 { width: 18%; height: 18%; top: 55%; left: 25%; }
.crater.c4 { width: 6%; height: 6%; top: 70%; left: 60%; }
.crater.c5 { width: 10%; height: 10%; top: 18%; left: 64%; }
.crater.c6 { width: 5%; height: 5%; top: 50%; left: 75%; }

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--rule);
    pointer-events: none;
    animation: orbitspin 90s linear infinite;
}

.orbit-ring.r1 { width: 75%; height: 75%; border-color: rgba(212, 165, 116, 0.16); }
.orbit-ring.r2 { width: 88%; height: 88%; border-style: dashed; animation-duration: 140s; animation-direction: reverse; }
.orbit-ring.r3 { width: 100%; height: 100%; border-color: var(--rule); }

@keyframes orbitspin {
    to { transform: rotate(360deg); }
}

.constellation {
    position: absolute;
    inset: 0;
    list-style: none;
    pointer-events: none;
}

.constellation li {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bone);
    box-shadow: 0 0 8px rgba(232, 228, 217, 0.7);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-title {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(48px, 7.4vw, 108px);
    line-height: 0.96;
    letter-spacing: -0.015em;
    color: var(--bone);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title em {
    font-style: italic;
    color: var(--amber);
    font-weight: 400;
}

.hero-lede {
    grid-column: 1;
    grid-row: 3;
    max-width: 460px;
    color: var(--moon);
    font-size: 17px;
    line-height: 1.6;
}

.hero-actions {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-foot {
    grid-column: 1 / -1;
    grid-row: 5;
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--shadow);
}

.hero-foot-value {
    color: var(--moon);
    letter-spacing: 0.1em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.7, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--bone);
    color: var(--night-deep);
}

.btn-primary:hover {
    background: var(--amber);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.25);
}

.btn-ghost {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--bone);
}

.btn-ghost:hover {
    border-color: var(--bone);
    background: rgba(232, 228, 217, 0.05);
}

.btn-large {
    padding: 18px 32px;
    font-size: 13px;
}

.btn-large svg {
    width: 16px;
    height: 16px;
}

/* ---------- Ticker band ---------- */
.ticker-band {
    border-block: 1px solid var(--rule);
    overflow: hidden;
    padding: 18px 0;
    background: var(--night-slate);
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: tickerslide 60s linear infinite;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    color: var(--moon);
}

.ticker-track span {
    flex-shrink: 0;
}

@keyframes tickerslide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
section {
    padding: 140px 36px;
    position: relative;
    z-index: 2;
}

.section-head {
    max-width: var(--maxw);
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: end;
}

.section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    padding-top: 14px;
    border-top: 1px solid var(--rule-strong);
}

.section-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--bone);
    max-width: 900px;
}

/* ---------- Phases ---------- */
.phases {
    background: linear-gradient(180deg, var(--night-deep) 0%, var(--night-slate) 50%, var(--night-deep) 100%);
}

.phase-track {
    max-width: var(--maxw);
    margin: 0 auto;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.phase-card {
    position: relative;
    padding: 32px 24px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: rgba(20, 26, 43, 0.4);
    transition: all 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    animation: phaseRise 0.8s cubic-bezier(0.7, 0, 0.2, 1) forwards;
    animation-delay: calc(var(--idx) * 80ms);
}

@keyframes phaseRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 165, 116, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.phase-card:hover {
    border-color: var(--rule-strong);
    background: rgba(31, 39, 64, 0.55);
    transform: translateY(-6px);
}

.phase-card:hover::before {
    opacity: 1;
}

.phase-card.current {
    border-color: rgba(212, 165, 116, 0.5);
    background: rgba(31, 39, 64, 0.7);
}

.phase-card.current::after {
    content: 'tonight';
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    padding: 4px 8px;
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 999px;
}

.phase-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    background: radial-gradient(circle at 35% 35%, var(--bone) 0%, var(--moon) 70%, var(--shadow) 100%);
    overflow: hidden;
    box-shadow: inset -8px -10px 18px rgba(20, 26, 43, 0.4);
}

.phase-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--night-deep);
}

.phase-icon[data-icon="new"]::after { clip-path: ellipse(50% 50% at 50% 50%); }
.phase-icon[data-icon="waxing-crescent"]::after { clip-path: ellipse(60% 50% at 35% 50%); }
.phase-icon[data-icon="first-quarter"]::after { clip-path: inset(0 50% 0 0); }
.phase-icon[data-icon="waxing-gibbous"]::after { clip-path: ellipse(40% 50% at 25% 50%); }
.phase-icon[data-icon="full"]::after { clip-path: ellipse(0% 0% at 50% 50%); }
.phase-icon[data-icon="waning-gibbous"]::after { clip-path: ellipse(40% 50% at 75% 50%); }
.phase-icon[data-icon="last-quarter"]::after { clip-path: inset(0 0 0 50%); }
.phase-icon[data-icon="waning-crescent"]::after { clip-path: ellipse(60% 50% at 65% 50%); }

.phase-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--bone);
    letter-spacing: -0.005em;
}

.phase-card p {
    color: var(--moon);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.phase-date {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--shadow);
    border-top: 1px solid var(--rule);
    padding-top: 14px;
    display: block;
}

/* ---------- Menu ---------- */
.menu-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-strong);
}

.dish {
    padding: 38px 32px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    transition: background 0.4s ease;
    overflow: hidden;
}

.dish:nth-child(odd) {
    border-right: 1px solid var(--rule);
}

.dish::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}

.dish:hover {
    background: rgba(20, 26, 43, 0.5);
}

.dish:hover::before {
    transform: scaleX(1);
}

.dish-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dish-no {
    color: var(--amber);
}

.dish-tag {
    color: var(--shadow);
}

.dish-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--bone);
    letter-spacing: -0.01em;
}

.dish-body {
    color: var(--moon);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
}

.dish-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
}

.dish-price {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--amber);
}

.dish-price::before {
    content: '$';
    font-size: 16px;
    margin-right: 2px;
    color: var(--shadow);
}

.dish-glass {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--shadow);
}

.menu-foot {
    max-width: var(--maxw);
    margin: 60px auto 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--moon);
    max-width: 620px;
}

/* ---------- Almanac ---------- */
.almanac {
    background: var(--night-slate);
}

.almanac-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.almanac-block {
    padding: 36px 30px;
    background: var(--night-slate);
    transition: background 0.4s ease;
}

.almanac-block:hover {
    background: var(--night-over);
}

.almanac-key {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
}

.almanac-val {
    color: var(--moon);
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- Reserve ---------- */
.reserve {
    background: linear-gradient(180deg, var(--night-deep) 0%, var(--night-slate) 100%);
}

.reserve-form {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 56px 48px;
    border: 1px solid var(--rule-strong);
    border-radius: 4px;
    background: rgba(20, 26, 43, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.field-wide {
    width: 100%;
}

.field-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--shadow);
}

.field input,
.field select,
.field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule-strong);
    padding: 12px 0;
    font-family: var(--serif);
    font-size: 20px;
    color: var(--bone);
    outline: none;
    transition: border-color 0.3s ease;
    font-weight: 400;
    width: 100%;
}

.field textarea {
    resize: vertical;
    min-height: 60px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--amber);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--shadow);
    font-style: italic;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23C9C2AE' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 16px;
    padding-right: 28px;
    cursor: pointer;
}

.field select option {
    background: var(--night-slate);
    color: var(--bone);
}

.form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
    gap: 20px;
}

.form-status {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--moon);
    transition: color 0.3s ease;
}

.form-status.ok {
    color: var(--amber);
}

/* ---------- Footer ---------- */
.site-foot {
    background: var(--night-deep);
    padding: 100px 36px 50px;
    border-top: 1px solid var(--rule);
    position: relative;
    z-index: 2;
}

.foot-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.foot-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.foot-mark svg {
    width: 36px;
    height: 36px;
    color: var(--moon);
}

.foot-tag {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--moon);
    line-height: 1.5;
    max-width: 320px;
}

.foot-key {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
}

.foot-col p {
    color: var(--moon);
    font-size: 14px;
    line-height: 1.7;
}

.foot-col a {
    color: var(--moon);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.foot-col a:hover {
    border-bottom-color: var(--amber);
}

.foot-rule {
    max-width: var(--maxw);
    margin: 0 auto 28px;
    height: 1px;
    background: var(--rule);
}

.foot-base {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--shadow);
    flex-wrap: wrap;
    gap: 16px;
}

.foot-pulse {
    color: var(--amber);
}

.foot-pulse::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    margin-right: 8px;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.7, 0, 0.2, 1), transform 1s cubic-bezier(0.7, 0, 0.2, 1);
}

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

.line-1, .line-2 {
    opacity: 0;
    transform: translateY(100%);
    animation: lineUp 1.1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.45s; }

@keyframes lineUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding: 16px 24px;
    }

    .primary-nav {
        display: none;
    }

    .hero {
        padding: 130px 24px 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .moon-stage {
        grid-column: 1;
        grid-row: 2;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-coords { grid-row: 1; }
    .hero-title { grid-row: 3; }
    .hero-lede { grid-row: 4; }
    .hero-actions { grid-row: 5; }
    .hero-foot { grid-row: 6; margin-top: 24px; }

    section {
        padding: 90px 24px;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 50px;
    }

    .phase-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .dish:nth-child(odd) {
        border-right: none;
    }

    .almanac-grid {
        grid-template-columns: 1fr;
    }

    .reserve-form {
        padding: 36px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .phase-track {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }

    .foot-base {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: clamp(40px, 11vw, 64px);
    }

    .dish {
        padding: 28px 20px;
    }

    .dish-name {
        font-size: 26px;
    }
}
