/* ═══════════════════════════════════════════════════════════
   Bioresonance Northern Beaches — "Rockpool" design
   ═══════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Literata';
    src: url('../fonts/literata-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-display: swap;
}
@font-face {
    font-family: 'Albert Sans';
    src: url('../fonts/albertsans-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --page:   #fdfcf8;
    --ink:    #17403a;
    --ink-2:  #5e746e;
    --teal:   #157a6c;
    --teal-2: #0f5f54;
    --deep:   #0f3833;
    --line:   #e8e1d1;
    --sand:   #f6f0e3;
    --glass:  rgba(255,255,255,0.62);
    --serif: 'Literata', 'Iowan Old Style', Georgia, serif;
    --sans: 'Albert Sans', -apple-system, 'Segoe UI', sans-serif;
    --content: 1040px;
    --r: 18px;
    --shadow: 0 2px 6px rgba(23,64,58,0.05), 0 14px 40px rgba(23,64,58,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: var(--page); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--sans);
    font-size: 1.04rem;
    font-weight: 380;
    line-height: 1.75;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 480; line-height: 1.22; color: var(--ink); text-wrap: balance; }
a { color: var(--teal); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--content); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
    font-size: 0.73rem; font-weight: 640;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--teal);
}

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--sans); font-size: 0.95rem; font-weight: 560;
    text-decoration: none;
    padding: 0.8rem 1.7rem; border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(21,122,108,0.28); }
.btn-teal:hover { background: var(--teal-2); }
.btn-soft { background: var(--glass); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.btn-soft:hover { border-color: var(--teal); color: var(--teal); }

/* ── Header ──────────────────────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253,252,248,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-size: 1.06rem; font-weight: 540; color: var(--ink); line-height: 1.2; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > a { font-size: 0.92rem; font-weight: 480; color: var(--ink); text-decoration: none; }
.site-nav > a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.site-nav .btn-teal, .site-nav .btn-teal:hover { color: #fff; }
.site-nav .btn-teal { padding: 0.55rem 1.25rem; box-shadow: none; }

/* ── Hero ────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, #fdf3e6 0%, #f3f2e6 45%, #e6f2ec 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; }
.blob-a { width: 520px; height: 520px; background: #ffe4c2; top: -180px; right: -80px; animation: drift-a 26s ease-in-out infinite alternate; }
.blob-b { width: 460px; height: 460px; background: #bfe4d6; bottom: -200px; left: -100px; animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(80px, -40px) scale(1.08); } }

.wave-canvas {
    position: absolute; left: 0; right: 0; bottom: -1px;
    width: 100%; height: 330px; display: block;
    pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; max-width: 800px; text-align: center; padding-top: 5.2rem; padding-bottom: 18rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 460; margin: 1.2rem 0 1.3rem; }
.hero .lede { font-size: 1.14rem; font-weight: 360; color: var(--ink-2); max-width: 36em; margin: 0 auto 2rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; }
.chips li {
    font-size: 0.82rem; font-weight: 500;
    background: var(--glass); border: 1px solid var(--line);
    backdrop-filter: blur(6px);
    padding: 0.35rem 0.95rem; border-radius: 999px;
    color: var(--ink);
}

/* ── Sections ────────────────────────────────────────── */

.section { padding: 4.8rem 0; }
.section-sand { background: var(--sand); }
.head { max-width: 620px; margin: 0 auto 2.8rem; text-align: center; }
.head h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin: 0.7rem 0 0.9rem; }
.head p { color: var(--ink-2); font-size: 0.98rem; }
.prose { max-width: 640px; margin: 0 auto; }
.prose p + p { margin-top: 1.1rem; }
.prose .note { font-size: 0.93rem; color: var(--ink-2); }

/* ── Visit steps ─────────────────────────────────────── */

.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; list-style: none; padding: 0; }
.visit li {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.9rem 1.6rem; box-shadow: var(--shadow);
}
.visit .n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.3rem; height: 2.3rem; border-radius: 50%;
    background: linear-gradient(150deg, #d9efe7, #f8ecd8);
    font-family: var(--serif); font-weight: 560; color: var(--teal-2);
    margin-bottom: 1rem;
}
.visit h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.visit p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; }

/* ── Session facts strip ─────────────────────────────── */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; max-width: 860px; margin: 2.2rem auto 0; }
.fact {
    background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
    backdrop-filter: blur(6px);
    padding: 1.4rem 1.5rem; text-align: center;
}
.fact .label { font-size: 0.7rem; font-weight: 640; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 0.3rem; }
.fact .value { font-family: var(--serif); font-size: 1.3rem; font-weight: 520; color: var(--ink); }
.fact .tbc { display: block; font-size: 0.74rem; color: #a3722c; margin-top: 0.2rem; }

/* ── Benefits chips ──────────────────────────────────── */

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; }
.benefit-grid li {
    display: flex; align-items: center; gap: 0.8rem;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 1.05rem 1.2rem; font-size: 0.95rem; font-weight: 440;
}
.benefit-grid svg { width: 20px; height: 14px; flex-shrink: 0; color: var(--teal); }

/* ── FAQ ─────────────────────────────────────────────── */

.faq { max-width: 680px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: var(--serif); font-size: 1.12rem; font-weight: 500;
    padding: 1.15rem 0.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.3rem; font-weight: 300; color: var(--teal); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0.2rem 1.3rem; font-size: 0.96rem; color: var(--ink-2); max-width: 38em; }
.faq .tbc { color: #a3722c; font-size: 0.83rem; }

/* ── Technology ──────────────────────────────────────── */

.tech-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tech-row article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; }
.tech-row .flag { font-size: 0.68rem; font-weight: 640; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.tech-row h3 { font-size: 1.12rem; margin: 0.45rem 0 0.4rem; }
.tech-row p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; }
.tech-cta { margin-top: 2.2rem; text-align: center; }

/* ── About ───────────────────────────────────────────── */

.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; max-width: 860px; margin: 0 auto; }
.portrait {
    width: 240px; height: 240px; border-radius: 50%;
    background: linear-gradient(150deg, #eaf4ee, #f9eed9);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 0.82rem; color: var(--ink-2);
    padding: 1.5rem;
    overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-grid h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0.6rem 0 0.9rem; }
.about-grid p { color: var(--ink-2); font-size: 0.98rem; }
.about-grid .sig { margin-top: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink); }

/* ── Contact ─────────────────────────────────────────── */

.contact-panel {
    max-width: 720px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 2.6rem 2.4rem;
    text-align: center;
}
.contact-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.6rem 0 0.8rem; }
.contact-panel > p { color: var(--ink-2); font-size: 0.97rem; max-width: 34em; margin: 0 auto 1.8rem; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.4rem; }
.contact-email { font-size: 0.95rem; }
.contact-email a { font-weight: 520; overflow-wrap: anywhere; }
.service-area { margin-top: 2.2rem; text-align: center; font-size: 0.92rem; color: var(--ink-2); }

/* ── NLS page ────────────────────────────────────────── */

.page-hero { position: relative; overflow: hidden; background: linear-gradient(168deg, #fdf3e6, #e6f2ec); padding: 4.4rem 0 16rem; text-align: center; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin: 0.9rem 0 1rem; }
.page-hero p { color: var(--ink-2); max-width: 38em; margin: 0 auto; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; list-style: none; padding: 0; max-width: 860px; margin: 0 auto; }
.cap-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.5rem; }
.cap-grid h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.cap-grid p { font-size: 0.93rem; color: var(--ink-2); }
.cta-band { background: var(--deep); text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fdfefd; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.cta-band p { color: #9ec2b8; margin-bottom: 1.8rem; }
.cta-band .btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.cta-band .btn-teal:hover { background: #1b9282; }

/* ── Footer ──────────────────────────────────────────── */

.site-footer { background: var(--deep); color: #8fb0a6; padding: 3.2rem 0 2.4rem; font-size: 0.9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #d8b57e; }
.site-footer nav { display: flex; gap: 1.5rem; align-items: center; }
.site-footer nav a { color: #cfe3dc; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,0.13); padding-top: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.83rem; line-height: 1.65; }

/* ── Mobile sticky call bar ──────────────────────────── */

.callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: none;
    gap: 0.7rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(253,252,248,0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; justify-content: center; padding: 0.8rem 0.5rem; }

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 860px) {
    .visit, .benefit-grid, .tech-row, .facts { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .cap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .visit, .benefit-grid, .tech-row, .facts { grid-template-columns: 1fr; }
    .site-nav { gap: 1rem; }
    .site-nav .nav-link-home, .site-nav .btn-teal { display: none; }
    .callbar { display: flex; }
    body { padding-bottom: 4.6rem; }
    .section { padding: 3.4rem 0; }
    .hero .wrap { padding-top: 3.6rem; padding-bottom: 14rem; }
}
