/* ============================================================
   IOANNA PAGANI — Static site styles
   DESIGN SYSTEM: MindSpace ("mindspace-os") Visual Refresh 2026.
   Every value below is transcribed from the MindSpace source:
     - tokens .......... tailwind.config.ts
     - backgrounds ..... src/app/globals.css (.hero-aurora / .section-band)
     - cards/buttons ... src/components/marketing/* & src/components/ui/*
   Change a colour once here (the :root variables) to re-theme.
   ============================================================ */

:root {
    /* ---- Page + surfaces ---- */
    --paper:        #faf9f6;   /* warm off-white page background */
    --surface:      #ffffff;   /* cards / panels                 */

    /* ---- Brand: sage scale (MindSpace `brand`) ---- */
    --brand-50:  #f3f7f5;
    --brand-100: #e3eeea;
    --brand-200: #c7ddd5;
    --brand-300: #a0c4b7;
    --brand-400: #72a393;
    --brand-500: #4f8475;
    --brand-600: #3d6a5d;
    --brand-700: #32564c;
    --brand-800: #2b463f;
    --brand-900: #253b35;

    /* ---- Neutrals: Tailwind `stone` ---- */
    --ink:        #1c1917;   /* stone-900 — headings           */
    --stone-800:  #292524;   /* body text                      */
    --stone-700:  #44403c;
    --stone-600:  #57534e;   /* secondary text                 */
    --stone-500:  #78716c;   /* muted                          */
    --stone-400:  #a8a29e;
    --stone-300:  #d6d3d1;
    --stone-200:  #e7e5e4;
    --hairline:   #e7e5e4;   /* borders & dividers (stone-200) */
    --stone-100:  #f5f5f4;
    --stone-50:   #fafaf9;

    /* ---- Typography (MindSpace uses system + Palatino serif) ---- */
    --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Iowan Old Style", "Apple Garamond", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;

    /* ---- Radii ---- */
    --r-control: 0.5rem;
    --r-field:   0.75rem;    /* buttons, inputs, icon tiles     */
    --r-card:    1rem;
    --r-card-lg: 1.25rem;    /* premium marketing cards         */
    --r-pill:    9999px;

    /* ---- Shadows (warm, stone-tinted — never pure black) ---- */
    --shadow-soft:  0 1px 2px rgb(28 25 23 / 0.04), 0 12px 28px -14px rgb(28 25 23 / 0.12);
    --shadow-lift:  0 2px 6px rgb(28 25 23 / 0.06), 0 22px 48px -20px rgb(28 25 23 / 0.20);
    --shadow-float: 0 4px 10px rgb(28 25 23 / 0.05), 0 40px 80px -32px rgb(28 25 23 / 0.30);

    /* ---- Layout ---- */
    --container: 72rem;      /* max-w-6xl */
    --gutter: 1.5rem;        /* px-6      */
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;   /* clear the sticky header */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--stone-700);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern";
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ---------- Bilingual (EL default / EN) ----------
   Each translatable string is written twice in the HTML as
   <span lang="el">…</span><span lang="en">…</span>. The active language is
   controlled by data-lang on <html>; the inactive language is hidden. */
html[data-lang="el"] [lang="en"] { display: none; }
html[data-lang="en"] [lang="el"] { display: none; }

/* Warm, restrained scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--brand-200); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-300); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 2.75rem); line-height: 1.14; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.4; }
p  { margin: 0; }
strong { color: var(--stone-800); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 3.5rem 0; position: relative; }              /* py-14 */
@media (min-width: 640px) { .section { padding: 5rem 0; } }      /* sm:py-20 */

/* White band lifted off the warm paper page (zone rhythm) */
.section-band { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* Section headers */
.section-head { max-width: 42rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.7; color: var(--stone-600); }
/* Secondary intro line (e.g. the services "concerns" list) — lighter so the
   section header doesn't get visually heavy. */
.section-head .lead-sm { margin-top: 0.9rem; font-size: 1rem; line-height: 1.65; color: var(--stone-500); }

.eyebrow {
    display: inline-block;
    font-size: 0.9rem; font-weight: 600; letter-spacing: 0.14em;
    color: var(--brand-700);
    margin-bottom: 0.85rem;
}

/* Small pill badge (MindSpace <Badge tone="brand">) */
.badge {
    display: inline-flex; align-items: center;
    border-radius: var(--r-pill);
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem; font-weight: 500;
    background: var(--brand-50); color: var(--brand-800);
}

/* Backgrounds (verbatim from globals.css) */
.hero-aurora {
    background:
        radial-gradient(46rem 26rem at 12% -8%, rgb(79 132 117 / 0.12), transparent 55%),
        radial-gradient(42rem 24rem at 98% 4%, rgb(160 196 183 / 0.16), transparent 55%);
}
.soft-glow {
    background: radial-gradient(60rem 32rem at 50% -12%, rgb(79 132 117 / 0.08), transparent 60%);
}

/* ---------- Buttons (MindSpace ui/Button — rounded-field, NOT pills) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border-radius: var(--r-field);
    font-family: var(--font-sans); font-weight: 500;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    height: 2.5rem; padding: 0 1rem; font-size: 0.875rem;      /* size md */
}
.btn-lg { height: 3rem; padding: 0 1.5rem; font-size: 1rem; }   /* size lg */

.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }

.btn-secondary { background: var(--surface); color: var(--stone-800); border-color: var(--stone-300); }
.btn-secondary:hover { background: var(--stone-50); }

.btn-ghost { background: transparent; color: var(--stone-700); }
.btn-ghost:hover { background: var(--stone-100); }

/* ---------- Cards (MindSpace MarketingCard) ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-card-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.75rem;
}
@media (min-width: 640px) { .card { padding: 2rem; } }
.card-interactive { transition: box-shadow .2s ease, transform .2s ease; }
.card-interactive:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

/* Brand icon tile (h-12 w-12 rounded-field bg-brand-50 text-brand-700) */
.icon-tile {
    width: 3rem; height: 3rem; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--r-field);
    background: var(--brand-50); color: var(--brand-700);
    margin-bottom: 1.25rem;
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }

.card-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--brand-700); }
.card h3 { margin-top: 0.35rem; }
.card p { margin-top: 0.65rem; color: var(--stone-600); line-height: 1.7; }

/* ============================================================
   HEADER  (SiteHeader: sticky, paper/90, blur, hairline border)
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 40;
    border-bottom: 1px solid rgb(231 229 228 / 0.7);
    background: rgb(250 249 246 / 0.9);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.header-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 0.9rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; color: var(--ink); letter-spacing: -0.01em; }
/* NOTE: Greek uppercase labels are written WITHOUT tonos directly in the HTML
   (no CSS text-transform), so accents never appear in all-caps UI text. */
.brand-sub  { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--stone-500); margin-top: 3px; }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 1rem; color: var(--stone-600); transition: color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); }

/* Right cluster: language switch (always) + CTA (desktop) + toggle (mobile) */
.header-right { display: flex; align-items: center; gap: 0.85rem; }
.nav-cta { display: none; }

@media (min-width: 900px) {
    .nav { display: flex; }
    .nav-cta { display: inline-flex; }
}

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 0.3rem; }
.lang-btn {
    display: inline-flex; padding: 2px; line-height: 0; cursor: pointer;
    background: transparent; border: 1.5px solid transparent; border-radius: 7px;
    opacity: 0.5; transition: opacity .15s ease, border-color .15s ease;
}
.lang-btn:hover { opacity: 0.9; }
.lang-btn[aria-pressed="true"] { opacity: 1; border-color: var(--brand-400); }
.flag { width: 27px; height: 18px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgb(28 25 23 / 0.08); }

/* Keep the brand subtitle on one line on small phones (header stays compact). */
@media (max-width: 480px) {
    .brand-name { font-size: 1.35rem; }
    .brand-sub { font-size: 0.58rem; letter-spacing: 0.1em; }
    .header-right { gap: 0.5rem; }
    .flag { width: 24px; height: 16px; }
}

/* Mobile toggle */
.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--r-control);
    border: 1px solid var(--stone-300); background: transparent; color: var(--stone-700);
    cursor: pointer;
}
.menu-toggle:hover { background: var(--stone-50); }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-open { display: none; }
.menu-toggle.open .icon-close { display: block; }
@media (min-width: 900px) {
    .menu-toggle { display: none; }
    /* The mobile panel must never render at desktop width, even if JS state
       somehow lingers after a breakpoint change. */
    .mobile-panel { display: none !important; }
}

/* Mobile panel */
.mobile-panel {
    display: none;
    border-top: 1px solid rgb(231 229 228 / 0.7);
    padding: 1rem var(--gutter) 1.5rem;
    background: rgb(250 249 246 / 0.98);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mobile-panel.open { display: block; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-panel nav a { font-size: 0.95rem; color: var(--stone-700); padding: 0.6rem 0.5rem; border-radius: var(--r-control); }
.mobile-panel nav a:hover { background: var(--stone-100); }
.mobile-panel .btn { width: 100%; margin-top: 0.75rem; }

/* ============================================================
   HERO  (full-bleed background video + centered copy over a soft veil)
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    min-height: 88vh; min-height: 88svh;
    /* Copy sits lower in the banner so more of the background video shows above it. */
    display: flex; align-items: flex-end;
    padding: 5.5rem 0 clamp(3.5rem, 11vh, 8rem);   /* top clears the sticky header */
}

/* Background layer: poster image (set inline) + the looping video on top.
   The iframe is sized to COVER the whole viewport and scaled slightly so the
   MUX player chrome / control bar is pushed outside the frame. It is purely
   decorative: pointer-events:none, aria-hidden. */
.hero-bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
    background-color: #e9ece8;
    background-size: cover; background-position: center;
}
.hero-bg iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;          /* 16:9 by width ... */
    min-height: 100vh; min-width: 177.78vh; /* ... but always cover the viewport */
    transform: translate(-50%, -50%) scale(1.14);  /* extra clip of the player chrome */
    border: 0; pointer-events: none;
}

/* Light veil (warm paper, never dark/harsh) — kept subtle so the video stays
   clear. Text legibility is guaranteed by a soft light halo on the copy below
   rather than by a heavy wash. */
.hero-veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(110% 88% at 50% 48%,
            rgba(250,249,246,0.46), rgba(250,249,246,0.24) 60%, rgba(250,249,246,0.34) 100%);
}

/* Centered copy on top of the video. A soft light text-halo keeps the dark
   text readable even over brighter/darker patches of the clip. */
.hero-inner { position: relative; z-index: 2; max-width: 50rem; margin: 0 auto; text-align: center; }
.hero-inner h1 { margin-top: 1.25rem; text-shadow: 0 1px 18px rgba(250,249,246,0.92), 0 1px 3px rgba(250,249,246,0.7); }
.hero-inner .hero-lead { margin: 1.25rem auto 0; max-width: 40rem; font-size: 1.2rem; line-height: 1.6; color: var(--stone-700); text-shadow: 0 1px 12px rgba(250,249,246,0.95), 0 0 2px rgba(250,249,246,0.9); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--stone-700); text-shadow: 0 1px 10px rgba(250,249,246,0.95); }
.hero-inner .badge { text-shadow: none; }

@media (max-width: 640px) {
    .hero { min-height: 84vh; min-height: 84svh; padding: 4.5rem 0 clamp(2.5rem, 8vh, 5rem); }
}

/* ============================================================
   TRUST BAR  (credential strip — surface card, hairline dividers)
   ============================================================ */
.trust-section { padding: 2.75rem 0; }
.trustbar-inner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--r-card-lg); box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.trust-item { padding: 1.4rem 1.5rem; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--hairline); }
.trust-num { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); }
.trust-label { display: block; margin-top: 0.25rem; font-size: 0.8rem; color: var(--stone-500); line-height: 1.4; }

@media (max-width: 760px) {
    .trustbar-inner { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(2) { border-left: 1px solid var(--hairline); }
    .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--hairline); }
    .trust-item:nth-child(3) { border-left: none; }
}
@media (max-width: 420px) {
    .trustbar-inner { grid-template-columns: 1fr; }
    .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--hairline); }
}

/* ============================================================
   ABOUT  (editorial two-column: portrait card + copy)
   ============================================================ */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }

.portrait { position: relative; max-width: 26rem; margin: 0 auto; width: 100%; }
/* Solid sage offset block behind the portrait, matching the original site. */
.portrait::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: translate(-1.5rem, 1.5rem);
    background: var(--brand-300); opacity: 0.55; border-radius: 2rem;
}
.portrait img {
    /* Original framing: 4:5 portrait, white mat, rounded, soft float. height:auto
       keeps the CSS aspect-ratio in control (the width/height HTML attributes
       must not stretch the block). */
    width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center;
    border: 8px solid #fff; border-radius: 2rem; box-shadow: var(--shadow-lift);
}
.about-copy h2 { margin-top: 0.35rem; }
.about-copy .lead { margin-top: 1.1rem; font-size: 1.15rem; line-height: 1.7; color: var(--stone-700); }
.about-copy p + p { margin-top: 1rem; }
.about-copy .body { margin-top: 1rem; color: var(--stone-600); line-height: 1.75; }
.chip-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ============================================================
   APPROACH  (concept cards + sage principles callout)
   ============================================================ */
.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 899px) { .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* Sage callout (mirrors TrustBlock: brand-50 surface) */
.callout {
    margin-top: 1.5rem;
    background: var(--brand-50); border: 1px solid var(--brand-100);
    border-radius: var(--r-card-lg); box-shadow: var(--shadow-soft);
    padding: 2rem;
}
@media (min-width: 640px) { .callout { padding: 2.5rem; } }
.callout h3 { color: var(--brand-900); font-size: 1.5rem; }
.callout > p { margin-top: 0.75rem; color: var(--brand-800); line-height: 1.7; max-width: 46rem; }
.principles {
    margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--brand-100);
    display: grid; gap: 1.25rem;
}
@media (min-width: 800px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.principle { display: flex; gap: 0.7rem; }
.principle svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.25rem; color: var(--brand-600); }
.principle p { font-size: 0.95rem; line-height: 1.6; color: var(--brand-900); }
.principle strong { color: var(--brand-900); }

/* ============================================================
   GALLERY  (curated rounded image cards)
   ============================================================ */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 940px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
    padding: 0; margin: 0; border: 1px solid var(--hairline); cursor: zoom-in;
    background: var(--surface); border-radius: var(--r-card-lg); overflow: hidden;
    box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.gallery-item:hover img { transform: scale(1.04); }

/* ============================================================
   FEATURE SPLIT  (pet co-therapist — image card + copy)
   ============================================================ */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split-media { position: relative; max-width: 30rem; margin: 0 auto; width: 100%; }
.split-media img {
    /* Original framing: square on mobile, 4:3 from tablet up, white mat, rounded.
       height:auto keeps the CSS aspect-ratio in control. */
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center;
    border: 8px solid #fff; border-radius: 2rem; box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) { .split-media img { aspect-ratio: 4 / 3; } }
.split-copy h2 { margin-top: 0.35rem; }
.split-copy .body { margin-top: 1.1rem; color: var(--stone-600); line-height: 1.75; }
.split-copy .body + .body { margin-top: 1rem; }
.note {
    margin-top: 1.5rem; padding: 1.1rem 1.25rem;
    background: var(--brand-50); border: 1px solid var(--brand-100);
    border-radius: var(--r-card);
}
.note p { font-size: 0.92rem; line-height: 1.6; color: var(--brand-900); }

/* ============================================================
   REVIEWS  (premium trust cards on a marquee)
   ============================================================ */
.reviews { overflow: hidden; }
.marquee {
    position: relative; width: 100%; padding: 0.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 130s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
    flex: 0 0 22rem; width: 22rem; margin: 0;
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--r-card-lg); box-shadow: var(--shadow-soft);
    padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem;
}
.review-stars { display: flex; gap: 0.15rem; color: var(--brand-500); }
.review-stars svg { width: 1rem; height: 1rem; }
.review-card blockquote { margin: 0; color: var(--stone-700); line-height: 1.65; font-size: 0.95rem; }
.review-foot { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.review-avatar {
    width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--r-pill);
    background: var(--brand-100); color: var(--brand-800);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 0.9rem;
}
.review-name { font-size: 0.85rem; font-weight: 600; color: var(--stone-800); }
.reviews-cta { margin-top: 2.5rem; text-align: center; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact-grid { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { text-align: left; }
.contact-card .icon-tile { margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-card a, .contact-card li { color: var(--stone-600); font-size: 0.95rem; }
.contact-card a:hover { color: var(--brand-700); }
.contact-card .muted { color: var(--brand-700); font-size: 0.8rem; letter-spacing: 0.04em; }
.contact-cta { text-align: center; }

/* ============================================================
   FOOTER  (light MindSpace footer)
   ============================================================ */
.site-footer { border-top: 1px solid rgb(231 229 228 / 0.7); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 2.75rem var(--gutter); }
.footer-brand .brand-name { font-size: 1.35rem; }
.footer-blurb { margin-top: 0.8rem; max-width: 40rem; font-size: 0.9rem; line-height: 1.7; color: var(--stone-500); }
.footer-links { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-links a { font-size: 0.9rem; color: var(--stone-600); text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.78rem; color: var(--stone-400); }
.footer-bottom a { color: var(--stone-500); }
.footer-bottom a:hover { color: var(--ink); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    background: rgb(28 25 23 / 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none; transition: opacity .3s ease; cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-card); box-shadow: var(--shadow-float); transform: scale(.96); transition: transform .3s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 1.25rem; right: 1.5rem;
    width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.9); border: 0; color: var(--stone-800);
    font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2;
}
/* Prev / next arrows inside the lightbox */
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 3rem; height: 3rem; border-radius: var(--r-pill);
    background: rgb(255 255 255 / 0.9); border: 0; color: var(--stone-800);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2; box-shadow: var(--shadow-soft);
    transition: background .15s ease, transform .15s ease;
}
.lightbox-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.lightbox-nav svg { width: 1.5rem; height: 1.5rem; }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 640px) {
    .lightbox-nav { width: 2.6rem; height: 2.6rem; }
    .lightbox-prev { left: 0.6rem; }
    .lightbox-next { right: 0.6rem; }
}

/* ============================================================
   SCROLL REVEAL (subtle, calm)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
    .gallery-item img, .card-interactive { transition: none; }
}
