/* ============================================================
   PACHAMAR YOGA — Stylesheet
   Warm editorial design · single page
   ============================================================ */

:root {
    /* Palette — warm, natural, credible */
    --paper:        #f7f2e8;   /* main background (warm ivory)  */
    --sand:         #efe6d4;   /* alternate section background   */
    --pine:         #2b382f;   /* deep green ink / dark sections  */
    --pine-soft:    #3a4a40;
    --ink:          #2c352f;   /* primary text                    */
    --ink-muted:    #5c675e;   /* secondary text                  */
    --terracotta:   #b26a3d;   /* primary accent / CTA            */
    --terracotta-d: #96562e;   /* accent, links on light (AA)     */
    --terracotta-h: #9d5a30;   /* hover                           */
    --sage:         #7d8b6f;   /* micro-labels                    */
    --line:         rgba(43, 56, 47, 0.14);
    --line-light:   rgba(247, 242, 232, 0.22);

    /* Hero image — Val Germanasca (Prali). Placeholder finché non c'è una foto della sede.
       Foto: Tolmachova1981, CC BY-SA 4.0, via Wikimedia Commons. */
    --hero-img: url('img/piemonte-hero.jpg');

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Outfit', system-ui, -apple-system, sans-serif;
    --font-hand:    'Nothing You Could Do', cursive;

    --nav-h: 68px;
    --maxw: 1120px;
    --radius: 14px;
    --radius-lg: 22px;
    --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    color: var(--pine);
    text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.5vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { color: var(--ink-muted); }
p + p { margin-top: 1.1rem; }
strong { color: var(--ink); font-weight: 500; }

.kicker {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta-d);
    margin-bottom: 1rem;
}
.kicker--light { color: var(--terracotta); opacity: 0.95; }

.signature {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--terracotta-d);
    line-height: 1.5;
    margin-top: 1.6rem;
}

/* --- Layout --- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.6rem; }
.container--narrow { max-width: 760px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--sand); }
.section--intro { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--dark { background: var(--pine); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p { color: rgba(247, 242, 232, 0.8); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head .section-intro { font-size: 1.12rem; margin-top: 1rem; }
.section--dark .section-head { margin-inline: auto; text-align: center; }

.skip-link {
    position: absolute; left: 1rem; top: -3rem; z-index: 2000;
    background: var(--pine); color: var(--paper);
    padding: 0.6rem 1rem; border-radius: 8px; font-size: 0.9rem;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--nav-h);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav-inner {
    max-width: var(--maxw); margin-inline: auto; height: 100%;
    padding-inline: 1.6rem;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em;
    color: var(--paper);
    transition: color 0.35s var(--ease);
}
.site-nav.scrolled {
    background: rgba(247, 242, 232, 0.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(43, 56, 47, 0.06);
}
.site-nav.scrolled .brand { color: var(--pine); }

.nav-menu { display: flex; align-items: center; gap: 2.4rem; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
    font-size: 0.9rem; font-weight: 400; letter-spacing: 0.02em;
    color: var(--paper); position: relative; padding-block: 4px;
    transition: color 0.35s var(--ease);
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px; background: currentColor;
    transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-nav.scrolled .nav-links a { color: var(--ink); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active { color: var(--terracotta-d); }

.lang-switcher { display: flex; gap: 0.25rem; }
.lang-btn {
    background: transparent; border: 1px solid var(--line-light);
    color: rgba(247, 242, 232, 0.85);
    padding: 0.28rem 0.55rem; border-radius: 6px;
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
    cursor: pointer; transition: all 0.25s var(--ease);
}
.lang-btn:hover { border-color: var(--paper); color: var(--paper); }
.lang-btn.active { background: var(--paper); border-color: var(--paper); color: var(--pine); }
.site-nav.scrolled .lang-btn { border-color: var(--line); color: var(--ink-muted); }
.site-nav.scrolled .lang-btn:hover { border-color: var(--terracotta); color: var(--terracotta-d); }
.site-nav.scrolled .lang-btn.active { background: var(--pine); border-color: var(--pine); color: var(--paper); }

.hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 30px; height: 30px; background: none; border: none; cursor: pointer; z-index: 1200;
}
.hamburger span {
    display: block; width: 24px; height: 2px; border-radius: 2px;
    background: var(--paper); transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.site-nav.scrolled .hamburger span { background: var(--pine); }
.hamburger.open span { background: var(--paper); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.95rem 2rem; border-radius: 999px;
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
    letter-spacing: 0.02em; cursor: pointer; border: 1.5px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease),
                color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.btn--primary:hover { background: var(--terracotta-h); border-color: var(--terracotta-h); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(178, 106, 61, 0.28); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(247, 242, 232, 0.6); }
.btn--ghost:hover { background: rgba(247, 242, 232, 0.12); border-color: var(--paper); }
.btn--block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    background: var(--hero-img) center 52% / cover no-repeat;
    color: var(--paper);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(102deg,
            rgba(26, 36, 30, 0.74) 0%,
            rgba(26, 36, 30, 0.42) 44%,
            rgba(26, 36, 30, 0.12) 72%),
        linear-gradient(180deg,
            rgba(26, 36, 30, 0.32) 0%,
            rgba(26, 36, 30, 0.2) 38%,
            rgba(26, 36, 30, 0.52) 80%,
            rgba(26, 36, 30, 0.9) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: var(--maxw); margin-inline: auto; width: 100%;
    padding: calc(var(--nav-h) + 2rem) 1.6rem 4rem;
}
.eyebrow {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; margin-bottom: 1.4rem; color: var(--terracotta);
}
.eyebrow--light {
    color: var(--paper);
    display: inline-block;
    padding: 0.5rem 1rem; border: 1px solid rgba(247, 242, 232, 0.4);
    border-radius: 999px; backdrop-filter: blur(3px);
}
.hero-title {
    color: var(--paper); max-width: 15ch;
    text-shadow: 0 2px 30px rgba(20, 28, 23, 0.35);
    margin-bottom: 1.4rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300; max-width: 46ch; color: rgba(247, 242, 232, 0.92);
    line-height: 1.55; margin-bottom: 2.2rem;
    text-shadow: 0 2px 16px rgba(20, 28, 23, 0.35);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero-note { font-size: 0.95rem; color: rgba(247, 242, 232, 0.82); font-style: italic; }

/* ============================================================
   INTRO / FACTS
   ============================================================ */
.intro-lead { max-width: 760px; }
.lead {
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.95rem);
    font-weight: 400; line-height: 1.4; color: var(--ink);
}
.facts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid var(--line); padding-top: 2.2rem;
}
.fact { display: flex; flex-direction: column; gap: 0.35rem; }
.fact-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--sage);
}
.fact-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); line-height: 1.25; }

/* ============================================================
   SPLIT LAYOUTS
   ============================================================ */
.split { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.split-text h2 { margin-bottom: 0.9rem; }
.credential {
    display: inline-block; margin-bottom: 1.4rem;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--terracotta-d); background: rgba(178, 106, 61, 0.1);
    border: 1px solid rgba(178, 106, 61, 0.28); border-radius: 999px;
    padding: 0.4rem 0.9rem;
}

.split-media { position: relative; }
.portrait {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 50px rgba(43, 56, 47, 0.18);
}
.portrait-sign {
    display: block; text-align: right; line-height: 1;
    margin-top: 0.7rem; padding-right: 0.4rem;
    font-family: var(--font-hand); font-size: 2.6rem; color: var(--terracotta-d);
}

/* Science block */
.science {
    margin-top: clamp(3rem, 6vw, 5rem);
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.2rem);
    border-left: 4px solid var(--terracotta);
}
.section--alt .science { background: var(--sand); }
.science-text { max-width: 720px; }
.science-text h3 { margin-bottom: 1rem; color: var(--pine); }

/* ============================================================
   CARDS (practices)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 2rem 1.8rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(43, 56, 47, 0.1); border-color: rgba(178, 106, 61, 0.4); }
.card-num {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
    color: var(--terracotta); display: block; margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.98rem; }
.card--highlight { background: linear-gradient(160deg, #fbf6ec, #f3e7d3); border-color: rgba(178, 106, 61, 0.35); }

.exp-figure { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg); overflow: hidden; }
.exp-figure img { width: 100%; max-height: 520px; object-fit: cover; }

/* ============================================================
   TIMELINE (sample day)
   ============================================================ */
.timeline {
    max-width: 720px; border-left: 2px solid var(--line); margin-left: 0.5rem;
}
.timeline-item {
    position: relative; display: flex; gap: 1.5rem; align-items: baseline;
    padding: 0.85rem 0 0.85rem 1.8rem;
}
.timeline-item::before {
    content: ''; position: absolute; left: -7px; top: 1.25rem;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--paper); border: 2px solid var(--terracotta);
}
.timeline-time {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    color: var(--pine); flex: 0 0 3.6rem;
}
.timeline-text { color: var(--ink-muted); font-size: 1.02rem; }
.timeline-note { margin-top: 1.6rem; font-style: italic; color: var(--ink-muted); max-width: 640px; }

/* ============================================================
   PARTECIPARE (included + price)
   ============================================================ */
.included { margin-top: 0.5rem; }
.included li {
    position: relative; padding: 0.7rem 0 0.7rem 1.9rem;
    border-bottom: 1px solid var(--line); color: var(--ink-muted); font-size: 1.02rem;
}
.included li:last-child { border-bottom: none; }
.included li::before {
    content: ''; position: absolute; left: 0; top: 1.15rem;
    width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta);
}
.price-card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem);
    box-shadow: 0 20px 46px rgba(43, 56, 47, 0.08);
    position: sticky; top: calc(var(--nav-h) + 1.5rem);
}
.price-card p { font-size: 0.98rem; }
.price-tiers { margin: 1.6rem 0 1rem; }
.tier {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: 0.8rem 0.9rem; border-radius: 10px;
    border-bottom: 1px solid var(--line);
}
.tier--highlight {
    background: rgba(178, 106, 61, 0.09);
    border: 1px solid rgba(178, 106, 61, 0.28);
}
.tier-name { font-size: 0.95rem; color: var(--ink); }
.tier-amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--pine); white-space: nowrap; }
.price-deposit { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 1.2rem; }
.price-final { font-size: 0.92rem; font-style: italic; margin: 0 0 1.6rem; color: var(--ink); }

/* ============================================================
   TENERIFE (dark proof)
   ============================================================ */
.ten-meta { color: var(--terracotta) !important; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.04em; margin-top: 0.6rem; }
.ten-body { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.ten-body blockquote {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--paper);
    line-height: 1.4; margin-top: 1.8rem; padding-top: 1.8rem;
    border-top: 1px solid var(--line-light);
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
    transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
    filter: saturate(0.95);
}
.gallery img:hover { transform: scale(1.03); filter: saturate(1.05); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0;
    font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: var(--pine); position: relative; transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
    font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; color: var(--terracotta);
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--terracotta-d); }
.faq-item p { padding: 0 2.5rem 1.4rem 0; font-size: 1rem; }

/* ============================================================
   CONTACT / WAITLIST
   ============================================================ */
.contact-form { margin-bottom: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; }
.form-group input, .form-group textarea {
    padding: 0.85rem 1rem; border-radius: 10px;
    border: 1px solid var(--line); background: var(--paper);
    color: var(--ink); font-family: var(--font-body); font-size: 1rem; font-weight: 300;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(178, 106, 61, 0.14);
}
.form-note { font-size: 0.85rem; color: var(--ink-muted); text-align: center; margin-top: 1rem; font-style: italic; }

.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.channel {
    display: flex; flex-direction: column; gap: 0.2rem; text-align: center;
    padding: 1.2rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--paper); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.channel:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.channel-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.channel-value { font-size: 0.98rem; color: var(--ink); word-break: break-word; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--pine); color: var(--paper); }
.footer-inner {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--paper); }
.footer-tagline { color: rgba(247, 242, 232, 0.7); font-size: 0.95rem; margin-top: 0.4rem; }
.footer-right { text-align: right; }
.footer-right > a { color: var(--paper); font-size: 0.95rem; border-bottom: 1px solid var(--terracotta); padding-bottom: 2px; }
.footer-right > a:hover { color: var(--terracotta); }
.footer-sign { font-family: var(--font-hand); font-size: 1.8rem; color: var(--terracotta); margin-top: 1rem; }
.footer-bar {
    border-top: 1px solid var(--line-light);
    padding: 1.1rem 1.6rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem;
    font-size: 0.82rem; color: rgba(247, 242, 232, 0.55);
}
.photo-credit a { color: rgba(247, 242, 232, 0.75); text-decoration: underline; }
.photo-credit a:hover { color: var(--terracotta); }
@media (max-width: 600px) { .footer-bar { justify-content: center; text-align: center; } }

/* ============================================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================================ */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); }
.js-reveal [data-reveal].is-visible {
    opacity: 1; transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .split, .split--wide { grid-template-columns: 1fr; gap: 2.5rem; }
    .split-media { max-width: 420px; margin-inline: auto; order: -1; }
    .price-card { position: static; }
    .facts { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
    .fact-value { font-size: 1.15rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100dvh;
        flex-direction: column; justify-content: center; gap: 2.5rem;
        background: var(--pine);
        transform: translateX(100%); transition: transform 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(20, 28, 23, 0.35); z-index: 1100;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-links { flex-direction: column; gap: 1.8rem; text-align: center; }
    .nav-links a { color: var(--paper); font-size: 1.3rem; font-family: var(--font-display); }
    .nav-links a::after { display: none; }
    .site-nav.scrolled .nav-links a { color: var(--paper); }
    .site-nav.scrolled .nav-links a:hover, .site-nav.scrolled .nav-links a.active { color: var(--terracotta); }
    .lang-switcher { justify-content: center; }
    .lang-btn { border-color: var(--line-light); color: rgba(247, 242, 232, 0.85); }
    .site-nav.scrolled .lang-btn { border-color: var(--line-light); color: rgba(247, 242, 232, 0.85); }
    .site-nav.scrolled .lang-btn.active { background: var(--paper); border-color: var(--paper); color: var(--pine); }

    .facts { grid-template-columns: 1fr; }
    .fact { flex-direction: row; justify-content: space-between; align-items: baseline;
            border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-inner { flex-direction: column; }
    .footer-right { text-align: left; }
}

@media (max-width: 520px) {
    .gallery { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .portrait-sign { font-size: 2rem; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
