/* ========================================
   MAIN STREET SWEETS — Style System
   Palette: Terracotta + Sand
   Typography: Playfair Display + Inter
======================================== */

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terra: #C0593A;
    --terra-dark: #9E4429;
    --terra-light: #D4785A;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD0;
    --charcoal: #1A1614;
    --charcoal-light: #2E2723;
    --cream: #FFF9F5;
    --warm-gray: #6B5E56;
    --warm-gray-light: #9A8B82;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;

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

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--sand-light);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ─── Custom Cursor ─── */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--terra);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--terra);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    opacity: 0.6;
}

.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--terra-light);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 237, 227, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 22, 20, 0.08);
    padding: 0.7rem 0;
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--cream);
    transition: var(--transition);
    line-height: 1.2;
}

.nav.scrolled .nav__logo {
    color: var(--charcoal);
}

.nav__logo-icon {
    color: var(--terra);
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 249, 245, 0.85);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terra);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--cream);
}

.nav.scrolled .nav__link {
    color: var(--warm-gray);
}

.nav.scrolled .nav__link:hover {
    color: var(--charcoal);
}

.nav__cta {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--terra);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--terra-dark);
    transform: translateY(-1px);
}

.nav.scrolled .nav__cta {
    color: var(--cream);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav.scrolled .nav__toggle span {
    background: var(--charcoal);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--sand);
    transition: var(--transition);
    display: block;
}

.mobile-menu__link:hover {
    color: var(--terra);
}

.mobile-menu__divider {
    width: 60px;
    height: 1px;
    background: var(--terra);
    margin: 0 auto;
}

.mobile-menu__phone {
    font-size: 1rem;
    color: var(--warm-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.mobile-menu__phone:hover {
    color: var(--terra);
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }
    .nav__links { display: none; }
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--terra);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--terra-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(192, 89, 58, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(255, 249, 245, 0.4);
}

.btn--ghost:hover {
    border-color: var(--cream);
    background: rgba(255, 249, 245, 0.1);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-header__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: var(--space-sm);
}

.section-header__title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.section-header__title--light {
    color: var(--sand);
}

.section-header__desc {
    font-size: 1.0625rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 22, 20, 0.82) 0%,
        rgba(26, 22, 20, 0.55) 50%,
        rgba(26, 22, 20, 0.4) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    padding-top: 5rem;
    padding-bottom: var(--space-xl);
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: var(--space-md);
    background: rgba(255, 249, 245, 0.08);
    border: 1px solid rgba(255, 249, 245, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--terra);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: var(--space-md);
    max-width: 900px;
}

.hero__headline-line {
    display: block;
}

.hero__headline-accent {
    color: var(--terra-light);
    font-style: italic;
    font-weight: 500;
}

.hero__subhead {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255, 249, 245, 0.7);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Floating Stat Cards */
.hero__stats {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-md);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.stat-card {
    background: rgba(255, 249, 245, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 249, 245, 0.15);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    min-width: 200px;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 249, 245, 0.15);
    transform: translateX(-4px);
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terra-light);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-card__label {
    font-size: 0.8125rem;
    color: rgba(255, 249, 245, 0.7);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.stat-card--1 { transform: translateY(0); }
.stat-card--2 { transform: translateY(10px); }
.stat-card--3 { transform: translateY(20px); }

.stat-card--1:hover { transform: translateY(0) translateX(-4px); }
.stat-card--2:hover { transform: translateY(10px) translateX(-4px); }
.stat-card--3:hover { transform: translateY(20px) translateX(-4px); }

@media (max-width: 900px) {
    .hero__stats {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 var(--space-md) var(--space-lg);
        max-width: 1280px;
        margin: 0 auto;
    }
    .stat-card { min-width: 150px; flex: 1; }
    .stat-card--1, .stat-card--2, .stat-card--3 { transform: none; }
    .stat-card:hover { transform: translateY(-4px) !important; }
}

@media (max-width: 480px) {
    .hero__stats { flex-direction: column; }
    .stat-card { min-width: auto; width: 100%; }
}

/* ─── Marquee ─── */
.marquee {
    background: var(--charcoal);
    padding: 1.2rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 249, 245, 0.06);
    border-bottom: 1px solid rgba(255, 249, 245, 0.06);
}

.marquee__track {
    display: flex;
    gap: var(--space-md);
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--sand-dark);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.marquee__dot {
    color: var(--terra) !important;
    font-size: 0.6rem !important;
    opacity: 0.6;
}

/* ─── Menu Section ─── */
.menu {
    padding: var(--space-2xl) 0;
    background: var(--sand-light);
}

.menu__tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.menu__tab {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    color: var(--warm-gray);
    background: transparent;
    border: 1.5px solid var(--sand-dark);
    transition: var(--transition);
}

.menu__tab:hover {
    border-color: var(--terra-light);
    color: var(--terra);
}

.menu__tab.active {
    background: var(--terra);
    border-color: var(--terra);
    color: var(--cream);
}

.menu__panels {
    position: relative;
    min-height: 300px;
}

.menu__panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.menu__panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--sand-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.menu__item {
    background: var(--sand-light);
    padding: 1.8rem 2rem;
    transition: var(--transition);
}

.menu__item:hover {
    background: var(--cream);
}

.menu__item-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}

.menu__item-desc {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .menu__grid { grid-template-columns: 1fr; }
    .menu__item { padding: 1.4rem 1.5rem; }
}

/* ─── About Section ─── */
.about {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 89, 58, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about__images {
    position: relative;
    height: 600px;
}

.about__img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--charcoal);
}

.about__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-accent {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--terra);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.about__content {
    padding: var(--space-md) 0;
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.about__body p {
    font-size: 1.0625rem;
    color: rgba(255, 249, 245, 0.65);
    line-height: 1.8;
}

.about__signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 249, 245, 0.08);
    color: rgba(255, 249, 245, 0.4);
    font-size: 0.875rem;
}

.about__signature svg {
    color: var(--terra);
    opacity: 0.6;
}

@media (max-width: 900px) {
    .about__layout { grid-template-columns: 1fr; }
    .about__images { height: 400px; }
}

/* ─── Gallery ─── */
.gallery {
    padding: var(--space-2xl) 0;
    background: var(--sand-light);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: var(--space-sm);
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 22, 20, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--cream);
    font-weight: 500;
}

.gallery__item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery__item:nth-child(2) { grid-column: span 3.5; }
.gallery__item:nth-child(3) { grid-column: span 3.5; }
.gallery__item:nth-child(4) { grid-column: span 3; }
.gallery__item:nth-child(5) { grid-column: span 3; }

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery__item--large { grid-column: span 2; grid-row: span 1; min-height: 300px; }
    .gallery__item { min-height: 200px; }
    .gallery__item:nth-child(n) { grid-column: span 1; }
    .gallery__item-overlay { opacity: 1; }
}

/* ─── Visit Section ─── */
.visit {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.visit::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 89, 58, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.visit__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit__info {
    padding-top: var(--space-sm);
}

.visit__desc {
    font-size: 1.0625rem;
    color: rgba(255, 249, 245, 0.6);
    line-height: 1.7;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.visit__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit__detail svg {
    color: var(--terra);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.visit__detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terra-light);
    margin-bottom: 0.3rem;
}

.visit__detail p {
    font-size: 1rem;
    color: rgba(255, 249, 245, 0.75);
    line-height: 1.6;
}

.visit__detail a {
    color: rgba(255, 249, 245, 0.75);
    transition: var(--transition);
}

.visit__detail a:hover {
    color: var(--terra-light);
}

/* Form */
.visit__form-wrap {
    position: relative;
}

.visit__form-card {
    background: rgba(255, 249, 245, 0.05);
    border: 1px solid rgba(255, 249, 245, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    backdrop-filter: blur(10px);
}

.visit__form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--sand);
    margin-bottom: 0.4rem;
}

.visit__form-desc {
    font-size: 0.9375rem;
    color: rgba(255, 249, 245, 0.5);
    margin-bottom: var(--space-md);
}

.form__group {
    margin-bottom: var(--space-sm);
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    background: rgba(255, 249, 245, 0.06);
    border: 1px solid rgba(255, 249, 245, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--sand);
    transition: var(--transition);
    outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 249, 245, 0.3);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--terra);
    background: rgba(192, 89, 58, 0.08);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    display: none;
    text-align: center;
    padding: var(--space-md);
    animation: fadeIn 0.5s ease;
}

.form__success svg {
    color: var(--terra-light);
    margin-bottom: var(--space-sm);
}

.form__success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--sand);
    margin-bottom: 0.5rem;
}

.form__success p {
    color: rgba(255, 249, 245, 0.6);
    font-size: 0.9375rem;
}

@media (max-width: 900px) {
    .visit__layout { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
.footer {
    background: var(--charcoal-light);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid rgba(255, 249, 245, 0.06);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 249, 245, 0.06);
    flex-wrap: wrap;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--sand);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.footer__logo-icon {
    color: var(--terra);
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 249, 245, 0.4);
    max-width: 280px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 249, 245, 0.5);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--terra-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 249, 245, 0.3);
}

/* ─── Reveal Animations ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal].revealed-delay-1 { transition-delay: 0.1s; }
[data-reveal].revealed-delay-2 { transition-delay: 0.2s; }
[data-reveal].revealed-delay-3 { transition-delay: 0.3s; }

/* ─── Selection ─── */
::selection {
    background: var(--terra);
    color: var(--cream);
}
