@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --vision-bg: #FAFAFA;
    --vision-surface: #FFFFFF;
    --vision-ink: #1A1A2A;
    --vision-ink-muted: #555566;
    --optics-highlight: #2E7D32;
    --optics-highlight-fade: rgba(46, 125, 50, 0.1);
    --optics-highlight-hover: #1B5E20;
    --optics-gradient: linear-gradient(135deg, #2E7D32, #4CAF50);
    --focus-border: #E8E8E8;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --pad-scale: 10dvh;
    --rad-base: 16px;
    --shadow-raised: 0 10px 25px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--vision-bg);
    color: var(--vision-ink);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--vision-ink);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Typography */
.display-huge { font-size: clamp(2.5rem, 5vw, 4rem); }
.display-large { font-size: clamp(2rem, 4vw, 3rem); }
.display-medium { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.text-lead { font-size: 1.125rem; color: var(--vision-ink-muted); margin-bottom: 1.5rem; }

/* Structural bounds */
.sight-bounds {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.pad-y {
    padding-top: var(--pad-scale);
    padding-bottom: var(--pad-scale);
}

/* Actions */
.gaze-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--optics-gradient);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: var(--rad-base);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-raised);
}

.gaze-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.2);
    color: #FFFFFF;
}

.gaze-action-ghost {
    background: transparent;
    color: var(--vision-surface);
    border: 2px solid var(--vision-surface);
    box-shadow: none;
}
.gaze-action-ghost:hover {
    background: var(--vision-surface);
    color: var(--optics-highlight);
}

/* Header & Announcement */
.announce-strip {
    background: var(--optics-highlight);
    color: #FFFFFF;
    text-align: center;
    padding: 0.5rem 5%;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 101;
}
.announce-strip a {
    font-weight: 700;
    text-decoration: underline;
}

.lens-top-bar {
    background-color: var(--vision-surface);
    border-bottom: 1px solid var(--focus-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}
.lens-top-bar:focus-within {
    box-shadow: var(--shadow-raised);
}

.nav-matrix {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-optic {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--optics-highlight);
}
.brand-optic svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.pupil-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.pupil-links a:hover {
    color: var(--optics-highlight);
}

.mobile-trigger {
    display: none;
    cursor: pointer;
}
.mobile-trigger svg {
    width: 28px;
    height: 28px;
    fill: var(--vision-ink);
}
#menu-state { display: none; }

/* Split Opener (Hero) */
.view-opener {
    display: flex;
    min-height: calc(100vh - 80px - 40px); /* minus header and strip */
    background: var(--vision-surface);
}
.view-text-side {
    flex: 0 0 55%;
    padding: var(--pad-scale) 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.view-img-side {
    flex: 0 0 45%;
    position: relative;
}
.view-img-side img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* 45vh Image Band */
.macro-vision-band {
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Triple Column Text */
.triple-insight-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: calc(var(--pad-scale) * -0.5);
    position: relative;
    z-index: 10;
    padding-bottom: var(--pad-scale);
}
.insight-col {
    background: var(--vision-surface);
    padding: 2rem;
    border-top: 3px solid var(--optics-highlight);
    border-radius: 0 0 var(--rad-base) var(--rad-base);
    box-shadow: var(--shadow-raised);
}
.insight-col svg {
    width: 40px;
    height: 40px;
    fill: var(--optics-highlight);
    margin-bottom: 1rem;
}

/* Masonry Features */
.clarity-masonry {
    columns: 3;
    column-gap: 2rem;
}
.clarity-brick {
    background: var(--vision-surface);
    border-radius: var(--rad-base);
    padding: 2rem;
    margin-bottom: 2rem;
    break-inside: avoid;
    box-shadow: var(--shadow-raised);
    border: 1px solid var(--focus-border);
}
.clarity-brick img {
    border-radius: var(--rad-base);
    margin-bottom: 1.5rem;
}
.clarity-brick-icon {
    width: 48px;
    height: 48px;
    background: var(--optics-highlight-fade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--optics-highlight);
}
.clarity-brick-icon svg { width: 24px; height: 24px; fill: currentColor; }

/* Progress Track */
.habit-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow-x: auto;
    padding-bottom: 2rem;
}
.habit-track::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    border-top: 2px dashed var(--focus-border);
    z-index: 1;
}
.habit-node {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    min-width: 250px;
}
.node-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--vision-surface);
    border: 3px solid var(--focus-border);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vision-ink-muted);
    transition: all 0.3s ease;
}
.habit-node.active .node-circle {
    border-color: var(--optics-highlight);
    background: var(--optics-highlight);
    color: #FFFFFF;
}

/* CTA Color Strip */
.focus-invite-zone {
    background: var(--optics-highlight);
    color: #FFFFFF;
    text-align: center;
}
.focus-invite-zone h2 {
    color: #FFFFFF;
}

/* Expert Page Layout */
.guide-bio-split {
    display: flex;
    align-items: stretch;
    min-height: 70vh;
}
.guide-image-wing {
    flex: 0 0 50%;
    position: relative;
}
.guide-image-wing img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.guide-text-wing {
    flex: 0 0 50%;
    padding: var(--pad-scale) 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--vision-surface);
}

/* Horizontal Stats */
.stat-horizon {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: var(--vision-bg);
    border-top: 1px solid var(--focus-border);
    border-bottom: 1px solid var(--focus-border);
}
.stat-plate {
    text-align: center;
    padding: 3rem 1rem;
    flex: 1;
    min-width: 200px;
}
.stat-digit {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--optics-highlight);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    color: var(--vision-ink-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Accordions */
.method-accords {
    max-width: 800px;
    margin: 0 auto;
}
.accord-node {
    margin-bottom: 1rem;
    background: var(--vision-surface);
    border-radius: var(--rad-base);
    box-shadow: var(--shadow-raised);
    overflow: hidden;
}
.accord-node summary {
    padding: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--optics-highlight);
}
.accord-node summary::-webkit-details-marker { display: none; }
.accord-node summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
}
.accord-node[open] summary::after { content: '-'; }
.accord-node p {
    padding: 0 1.5rem 1.5rem;
    color: var(--vision-ink-muted);
}

/* Reserve Two-Column Layout */
.booking-duo {
    display: flex;
    gap: 4rem;
}
.info-pillar {
    flex: 0 0 45%;
}
.form-pillar {
    flex: 0 0 55%;
    background: var(--vision-surface);
    padding: 3rem;
    border-radius: var(--rad-base);
    box-shadow: var(--shadow-raised);
}

.info-cluster {
    margin-bottom: 2.5rem;
}
.info-cluster h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.info-cluster svg {
    width: 28px;
    height: 28px;
    fill: var(--optics-highlight);
}
.info-bullets {
    list-style: none;
    margin-top: 1rem;
}
.info-bullets li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--vision-ink-muted);
}
.info-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--optics-highlight);
}

/* Form Styles */
.intake-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.input-wrap label {
    font-weight: 700;
    font-size: 0.95rem;
}
.input-wrap input, .input-wrap textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--focus-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.input-wrap input:focus, .input-wrap textarea:focus {
    outline: none;
    border-color: var(--optics-highlight);
}
.policy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--vision-ink-muted);
}
.policy-check input[type="checkbox"] {
    margin-top: 4px;
}
.mail-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--optics-highlight);
    text-decoration: underline;
    font-weight: 700;
}

/* Footer */
.base-footer {
    background: var(--vision-ink);
    color: #FFFFFF;
    padding: var(--pad-scale) 0 2rem;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-brand svg {
    fill: #FFFFFF;
    width: 28px;
    height: 28px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-links a {
    color: #B0B0C0;
}
.footer-links a:hover {
    color: #FFFFFF;
}
.legal-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #888899;
    font-size: 0.85rem;
}

/* Cookie Banner */
.consent-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--vision-surface);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    flex-wrap: wrap;
    gap: 1rem;
}
.consent-actions {
    display: flex;
    gap: 1rem;
}
.btn-consent {
    padding: 0.5rem 1.5rem;
    border-radius: var(--rad-base);
    border: none;
    cursor: pointer;
    font-weight: 700;
}
#accept-cookie { background: var(--optics-highlight); color: #fff; }
#decline-cookie { background: var(--focus-border); color: var(--vision-ink); }

/* Text Pages */
.doc-canvas {
    background: var(--vision-surface);
    padding: 4rem;
    border-radius: var(--rad-base);
    box-shadow: var(--shadow-raised);
    margin-bottom: var(--pad-scale);
}
.doc-canvas p { margin-bottom: 1rem; color: var(--vision-ink-muted); }
.doc-canvas h2 { margin-top: 2rem; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .view-opener { flex-direction: column; min-height: auto; }
    .view-img-side { height: 40vh; }
    .triple-insight-row { grid-template-columns: 1fr; }
    .clarity-masonry { columns: 2; }
    .guide-bio-split { flex-direction: column; }
    .guide-image-wing { height: 40vh; }
    .booking-duo { flex-direction: column; }
}

@media (max-width: 768px) {
    .pupil-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--vision-surface);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-raised);
        display: none;
    }
    #menu-state:checked ~ .pupil-links {
        display: flex;
    }
    .mobile-trigger { display: block; }
    .clarity-masonry { columns: 1; }
    .insight-col { margin-bottom: 1rem; }
    .doc-canvas { padding: 2rem; }
}