/* ==========================================================================
   Inner Economy — landing page
   ========================================================================== */

:root {
    --paper: #faf7ef;
    --paper-2: #f6f2e9;
    --paper-3: #f3efe4;
    --ink: #242621;
    --muted: #5f6159;
    --orange: #df4b1d;
    --orange-dark: #bc3c15;
    --line: #e6ded0;
    --footer-bg: #22231f;

    --sans: 'Archivo', Arial, Helvetica, sans-serif;
    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

    /* Type scale (fluid) */
    --fs-xs: 0.8125rem;                               /* 13px – meta, fine print */
    --fs-sm: 0.9375rem;                               /* 15px – secondary text */
    --fs-base: 1.0625rem;                             /* 17px – body */
    --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
    --fs-h3: 1.1875rem;
    --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    --fs-h1: clamp(3rem, 1.6rem + 4.2vw, 5.5rem);

    --header-h: 88px;
    --header-h-scrolled: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h-scrolled) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip;               /* safety net: decorative bleed can never cause sideways scroll */
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
    border-radius: 4px;
}

.wrap { width: min(1200px, 90%); margin-inline: auto; }

.skip-link {
    position: absolute; top: -100px; left: 12px;
    background: var(--ink); color: #fff;
    padding: 12px 16px; z-index: 100; border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   Header (sticky)
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 239, 0.92);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(36, 38, 33, 0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--header-h);
    transition: min-height .25s;
}
.site-header.is-scrolled .header-inner { min-height: var(--header-h-scrolled); }

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    line-height: 1.1;
}
.brand img {
    width: 110px; height: 110px;
    object-fit: contain;
    mix-blend-mode: multiply;       /* removes the logo's white box on paper */
    transition: width .25s, height .25s;
}
.site-header.is-scrolled .brand img { width: 44px; height: 44px; }
.brand span {
    font: 600 1.125rem/1.1 var(--serif);
    letter-spacing: 0.06em;
}
.brand small {
    display: block;
    font: 500 0.5625rem/1 var(--sans);
    letter-spacing: 0.28em;
    margin-top: 6px;
    color: var(--muted);
}

/* Desktop nav */
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
}
.nav-list a {
    position: relative;
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 0;
    color: var(--ink);
    transition: color .2s;
}
.nav-list a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-list a:hover,
.nav-list a.active { color: var(--orange); }
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }

.nav-actions { display: none; }

.menu-toggle { display: none; }

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-radius: 40px;
    background: var(--orange);
    padding: 16px 30px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    transition: background .2s, transform .2s;
}
.button:hover { background: var(--orange-dark); transform: translateY(-2px); }
.button span { font-size: 1.375rem; line-height: 1; }
.button.small { padding: 12px 26px; font-size: 0.9375rem; }

.text-link {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-underline-offset: 5px;
    text-decoration-color: #c9bba9;
}
.text-link:hover { color: var(--orange); }

/* ==========================================================================
   Shared typography
   ========================================================================== */

.eyebrow {
    text-transform: uppercase;
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--orange);
    margin: 0 0 18px;
}

/* Page titles: one serif display style shared by every marketing page. */
h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--fs-h1);
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin: 0 0 24px;
    text-wrap: balance;
}

h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 24px;
    text-wrap: balance;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px;
}

em { color: var(--orange); font-style: normal; }

.rule { height: 2px; width: 44px; background: var(--orange); margin: 24px 0; }

.prose { max-width: 540px; }
.prose p {
    font-size: var(--fs-base);
    line-height: 1.8;
    margin: 0 0 18px;
    text-wrap: pretty;
}
.prose p.eyebrow { font-size: var(--fs-xs); margin-bottom: 18px; line-height: 1.4; }

.closing-thought {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem !important;
    line-height: 1.55 !important;
    color: var(--ink);
}

.fine {
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--muted);
    margin: 18px 0 10px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    position: relative;
    padding-block: 48px 40px;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 5.2vw, 5.4rem); }   /* same hero scale as the inner pages */
.kicker {
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin: 0 0 20px;
}
.intro {
    font-size: var(--fs-lead);
    line-height: 1.65;
    max-width: 420px;
    margin: 0 0 28px;
}
.hero-art { margin-left: -35px; margin-right: -20px; align-self: center; }
.hero-art img { width: 100%; mix-blend-mode: multiply; }

.principles {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    border-block: 1px solid var(--line);
    padding-block: 24px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--muted);
}
.principles span + span::before { content: '·'; color: var(--orange); margin-right: 35px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: 100px; }
.tint { background: var(--paper-2); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;
}

.illustration { margin: 0; }
.illustration img { width: 100%; mix-blend-mode: multiply; }
.self { max-width: 490px; }
.balance { max-width: 480px; }

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--muted);
    padding-right: 20px;
    margin: 0;
}

/* Journey */
.journey-path {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    position: relative;
}
.journey-path::before {
    content: '';
    position: absolute;
    top: 56px; left: 6%; right: 6%;
    border-top: 1px dashed #e2a180;
}
.journey-path li { position: relative; }
.stage-art {
    display: flex; justify-content: center; align-items: center;
    border: 1px solid #e8b99c;
    outline: 1px solid #edcbb5; outline-offset: -10px;
    border-radius: 50%;
    width: 112px; height: 112px;
    font: 52px var(--serif);
    color: #777b66;
    background: var(--paper);
    margin-bottom: 28px;
    position: relative;
}
.stage-art::after {
    content: ''; position: absolute; inset: 10px;
    border: 1px dotted #e6c5ae; border-radius: 50%;
}
.stage-art.orbit {
    background: repeating-radial-gradient(circle, var(--paper) 0 9px, #edd0b8 10px 11px);
    color: var(--orange);
}
.stage-name { font-size: var(--fs-sm); font-weight: 700; margin: 0 0 8px; }
.stage-name span { color: var(--orange); margin-right: 6px; }
.journey-path p { font-size: var(--fs-sm); line-height: 1.6; margin: 0 0 12px; }
.journey-path .meta {
    color: var(--muted);
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
    min-height: 2.6em;
}
.path-note { font-size: var(--fs-sm); color: var(--muted); margin: 40px 0 0; }

/* Doors */
.doors-list {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
}
.doors-list li {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
}
.door-number { font: 2rem/1 var(--serif); color: var(--orange); min-width: 2ch; }
.doors-list h3 { margin: 0 0 6px; }
.doors-list p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.doors-bottom { margin-top: 32px; display: flex; align-items: center; gap: 28px; }
.doors-bottom .fine { margin: 0; }

/* Guide */
.guide-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    gap: 10%;
}
.guide-image {
    height: 360px; overflow: hidden;
    border-radius: 170px 170px 6px 6px;
    background: #ede8dc;
}
.guide-image img { height: 100%; width: 100%; object-fit: cover; object-position: top; }
blockquote {
    font: italic 1.5rem/1.45 var(--serif);
    margin: 28px 0;
    padding-left: 20px;
    border-left: 2px solid var(--orange);
}
cite {
    display: block;
    font: normal 600 var(--fs-xs)/1.4 var(--sans);
    letter-spacing: 0.04em;
    margin-top: 12px;
    color: var(--muted);
}

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10%; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
    cursor: pointer;
    list-style: none;
    font: 500 1.1875rem/1.4 var(--serif);
    padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
    transition: color .2s;
}
summary:hover { color: var(--orange); }
summary::-webkit-details-marker { display: none; }
summary span {
    color: var(--orange);
    font: 400 1.625rem/1 var(--sans);
    transition: transform .25s;
    flex-shrink: 0;
}
details[open] summary span { transform: rotate(45deg); }
details p {
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 24px;
    max-width: 62ch;
}

/* Final CTA */
.final-section { overflow: hidden; background: var(--paper-3); }
.final-grid {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 48px;
    align-items: center;
    min-height: 400px;
}
.final-art { width: 125%; max-width: none; margin-left: -20%; mix-blend-mode: multiply; }
.final-grid h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
.final-grid p:not(.eyebrow) { font-size: var(--fs-lead); line-height: 1.65; margin: 0 0 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--footer-bg);
    color: #cfcdc2;
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 48px 56px;
    padding-bottom: 64px;
}
.footer-brand { color: #fff; }
.footer-brand img {
    width: 56px; height: 56px;
    mix-blend-mode: normal;
    background: var(--paper);
    border-radius: 14px;
    padding: 4px;
}
.footer-brand small { color: #a9a79c; }
.footer-about p {
    max-width: 36ch;
    font-size: var(--fs-sm);
    line-height: 1.75;
    color: #b6b4a9;
    margin: 22px 0 26px;
}
.footer-title {
    font: 700 var(--fs-xs)/1.2 var(--sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin: 6px 0 22px;
}
.footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 14px;
}
.footer-col a {
    font-size: var(--fs-sm);
    color: #cfcdc2;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s;
}
.site-footer a:not(.button):hover { color: #ff895a; }
.footer-note { font-size: var(--fs-xs); line-height: 1.7; color: #9a998f; max-width: 30ch; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 32px;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.copyright { font-size: var(--fs-xs); margin: 0; color: #9a998f; }
.footer-tagline {
    font: italic 1.0625rem/1.2 var(--serif);
    color: #ff895a;
    margin: 0;
}
.to-top { font-size: var(--fs-xs); font-weight: 600; text-decoration: none; color: #cfcdc2; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1500px) {
    .hero { padding-top: 64px; padding-bottom: 56px; }
}

/* Switch to the mobile menu before the nav gets cramped */
@media (max-width: 1100px) {
    .header-inner { gap: 16px; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border: 1px solid var(--line);
        background: transparent;
        border-radius: 24px;
        padding: 10px 16px;
        color: var(--ink);
        font: 600 0.9375rem var(--sans);
        cursor: pointer;
    }
    .menu-icon { position: relative; width: 18px; height: 12px; display: inline-block; }
    .menu-icon::before, .menu-icon::after, .menu-icon span {
        content: '';
        position: absolute; left: 0;
        width: 100%; height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: transform .25s, opacity .2s, top .25s;
    }
    .menu-icon::before { top: 0; }
    .menu-icon span { top: 5px; }
    .menu-icon::after { top: 10px; }
    .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-icon span { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 5px; transform: rotate(-45deg); }

    .header-begin { margin-left: auto; }

    /* Without JS the nav simply wraps onto its own row */
    .header-inner { flex-wrap: wrap; }
    .site-nav { order: 5; flex-basis: 100%; justify-content: flex-start; padding-bottom: 14px; }
    .nav-list { flex-wrap: wrap; gap: 6px 22px; }

    /* With JS it becomes a drop-down panel */
    .js .header-inner { flex-wrap: nowrap; }
    .js .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--paper);
        border-block: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(36, 38, 33, 0.35);
        padding: 8px 5% 28px;
        max-height: calc(100dvh - var(--header-h-scrolled));
        overflow-y: auto;
    }
    .js .site-nav.is-open { display: block; }
    .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .js .nav-list a {
        display: flex;
        font-size: 1.125rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }
    .js .nav-list a::after { display: none; }
    .js .nav-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px 24px;
        margin-top: 24px;
    }

    .brand span { font-size: 1rem; }
}

@media (max-width: 1080px) {
    .hero-art { margin-left: 0; }
    .hero { grid-template-columns: 45% 55%; }
    .section { padding-block: 80px; }
    .journey-path { gap: 20px; }
    .final-grid { grid-template-columns: 32% 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-about { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 40px; }
    .footer-about p { margin: 0; }
}

@media (max-width: 780px) {
    :root { --header-h: 74px; --header-h-scrolled: 64px; --fs-base: 1rem; }
    .brand img { width: 44px; height: 44px; }
    .site-header.is-scrolled .brand img { width: 40px; height: 40px; }
    .brand small { font-size: 0.5rem; letter-spacing: 0.2em; }

    .hero { padding-top: 28px; grid-template-columns: 1fr 1fr; gap: 0; }
    h1 { font-size: clamp(2.75rem, 8vw, 4rem); }
    .hero h1 { font-size: clamp(2.6rem, 7vw, 3.6rem); }
    .hero-art { margin: 60px 0 0 -10%; align-self: start; }
    .hero-art img { width: 110%; max-width: 110%; }
    .principles { font-size: var(--fs-xs); padding-block: 18px; gap: 15px; text-align: center; }
    .principles span + span::before { display: none; }

    .split { gap: 5%; }
    .section { padding-block: 64px; }
    .journey-path { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .journey-path::before { display: none; }
    .stage-art { width: 92px; height: 92px; font-size: 44px; }
    .section-heading { gap: 25px; }
    .doors-list { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: 230px 1fr; gap: 7%; }
    .guide-image { height: 300px; }
    .faq { gap: 6%; }
    .final-grid { gap: 24px; min-height: 340px; }

    .site-footer { padding-top: 60px; }
    .footer-about { grid-template-columns: 1fr; }
    .footer-about p { margin: 0; }
}

@media (max-width: 560px) {
    .wrap { width: 88%; }
    /* Compact header: logo, Begin and menu must fit side by side from 320px up */
    .header-inner { gap: 10px; }
    .brand { gap: 8px; }
    .brand img, .site-header.is-scrolled .brand img { width: 38px; height: 38px; }
    .brand span { font-size: 0.875rem; letter-spacing: 0.04em; white-space: nowrap; }
    .brand small { font-size: 0.4375rem; letter-spacing: 0.16em; margin-top: 4px; }
    .menu-label { display: none; }
    .menu-toggle { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; flex-shrink: 0; }
    .header-begin { padding: 9px 16px; font-size: 0.8125rem; flex-shrink: 0; }

    .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 24px; }
    .hero-copy { max-width: 100%; }
    h1 { font-size: clamp(2.8rem, 11vw, 3.8rem); }
    .hero h1 br:nth-of-type(3) { display: none; }
    .hero h1 { max-width: 340px; font-size: clamp(2.8rem, 11vw, 3.8rem); }
    .hero-art { margin: 16px -5% 0 0; align-self: stretch; }
    .hero-art img { width: 100%; max-width: 100%; }
    .hero .button { width: 100%; justify-content: space-between; }

    .principles { flex-direction: column; gap: 8px; }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .illustration { width: 100%; max-width: 370px; justify-self: center; }
    .section { padding-block: 56px; }
    .section-heading { display: block; margin-bottom: 32px; }
    .section-heading > p { margin: 18px 0 0; padding: 0; }
    .journey-path { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .stage-art { margin-bottom: 20px; }
    .journey-path li:last-child { grid-column: 1 / -1; max-width: 50%; }
    .journey-path .meta { min-height: 0; }
    .doors-list { grid-template-columns: 1fr; }
    .doors-bottom { display: block; }
    .doors-bottom .fine { margin-top: 18px; }
    .guide-grid { grid-template-columns: 1fr; gap: 32px; }
    .guide-image { width: 220px; height: 270px; margin-left: 55px; }
    blockquote { font-size: 1.3rem; }
    .faq { grid-template-columns: 1fr; gap: 16px; }
    summary { font-size: 1.0625rem; }

    .final-grid { grid-template-columns: 1fr; padding-block: 48px; gap: 24px; }
    .final-art { width: 75%; max-width: 280px; margin: 0 auto; order: 1; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-bottom: 44px; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 400px) {
    .header-inner { gap: 8px; width: 92%; }   /* a little more room for logo + Begin + menu */
    .brand { gap: 6px; }
    .brand img, .site-header.is-scrolled .brand img { width: 32px; height: 32px; }
    .brand span { font-size: 0.8125rem; letter-spacing: 0.03em; }
    .header-begin { padding: 8px 14px; }
}

@media (max-width: 359px) {
    .header-begin { display: none; }   /* still available inside the menu */
    .menu-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Floating WhatsApp button */
a.whatsapp-float {
    position: fixed;
    inset: auto 22px calc(22px + env(safe-area-inset-bottom, 0px)) auto;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
}
a.whatsapp-float::before,
a.whatsapp-float::after { content: none; }
a.whatsapp-float > svg {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    fill: currentColor;
    stroke: none;
    transform: none;
}
a.whatsapp-float:visited { color: #fff; }
a.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}
a.whatsapp-float:focus-visible { outline: 3px solid #075e54; outline-offset: 4px; }
@media (max-width: 575px) {
    a.whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    a.whatsapp-float { transition: none; }
    a.whatsapp-float:hover { transform: none; }
}

/* ==========================================================================
   Mobile header & menu fixes — keep this block at the very END of the file
   ========================================================================== */

/* The brand name can never run underneath the buttons: it clips instead of overlapping. */
.brand { overflow: hidden; }
.brand > span { min-width: 0; overflow: hidden; }

@media (max-width: 560px) {
    .header-inner { gap: 8px; }
    .brand { flex: 1 1 auto; }
    .header-begin { margin-left: auto; flex: none; padding: 9px 14px; font-size: 0.8125rem; white-space: nowrap; }

    /* Menu panel: full-width "Enter House" button, sign-in link centred beneath it */
    .js .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
    .js .nav-actions .button { width: 100%; justify-content: space-between; }
    .js .nav-actions .text-link { text-align: center; padding: 6px 0; }
}

/* On phones the header carries only the logo and the menu button. "Enter House" is the first thing inside the
   menu and the big button in the page itself, so nothing is lost and nothing can collide. */
@media (max-width: 479px) {
    .header-begin { display: none; }
    .menu-toggle { margin-left: auto; }
}

/* ==========================================================================
   Reel (video in "two economies" section)
   ========================================================================== */

.reel { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.reel-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -22px rgba(36, 38, 33, .45);
}
.reel-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper); }

.reel-big {
    position: absolute;
    top: 50%; left: 50%;
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: var(--orange);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgba(223, 75, 29, .6);
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.reel-big svg { width: 30px; height: 30px; margin-left: 3px; }
.reel-big:hover { background: var(--orange-dark); transform: scale(1.06); }
.reel.is-playing .reel-big { opacity: 0; pointer-events: none; }

.reel-bar {
    position: absolute;
    left: 10px; right: 10px; bottom: 10px;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: rgba(34, 35, 31, .78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
}
.reel-btn {
    flex: none;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: inherit;
    cursor: pointer;
    transition: background .2s ease;
}
.reel-btn:hover { background: rgba(255, 255, 255, .16); }
.reel-btn svg { width: 20px; height: 20px; }
.reel-btn .ic-pause, .reel-btn .ic-sound { display: none; }
.reel.is-playing [data-reel-play] .ic-play { display: none; }
.reel.is-playing [data-reel-play] .ic-pause { display: block; }
.reel.is-unmuted [data-reel-mute] .ic-muted { display: none; }
.reel.is-unmuted [data-reel-mute] .ic-sound { display: block; }

.reel-time { flex: none; min-width: 2.6em; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; text-align: right; }

.reel-seek {
    flex: 1; min-width: 0; height: 18px;
    margin: 0; padding: 0;
    -webkit-appearance: none; appearance: none;
    background: transparent; cursor: pointer;
    --p: 0%;
}
.reel-seek::-webkit-slider-runnable-track {
    height: 4px; border-radius: 4px;
    background: linear-gradient(to right, var(--orange) var(--p), rgba(255, 255, 255, .35) var(--p));
}
.reel-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.reel-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--orange); }
.reel-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; border: 0; }
.reel-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }

.reel button:focus-visible, .reel-seek:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.reel-big:focus-visible { outline-color: var(--ink); }

@media (max-width: 760px) {
    .reel { max-width: 300px; }
}
