/* =====================================================
   Hallonquist — Framer-inspired Design System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────── */
:root {
    --green:      #6B8F71;
    --green-dk:   #4e6b54;
    --blue:       #6FA3A8;
    --raspberry:  #B04A4A;
    --cream:      #F5F3EF;
    --dark:       #1a1f1b;
    --mid:        #4a5149;
    --light:      #f8f6f2;
    --white:      #ffffff;

    --serif:  'Instrument Serif', Georgia, serif;
    --sans:   'Inter', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --r: 14px;
    --r-sm: 8px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--mid);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout Helpers ────────────────────────────────── */
.container {
    width: min(1160px, 100%);
    margin: 0 auto;
    padding: 0 2rem;
}
.narrow { max-width: 720px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-xl { margin-bottom: 5rem; }
.mt-md { margin-top: 2rem; display: inline-block; }

.section {
    padding: 9rem 0;
}

/* ── Typography ────────────────────────────────────── */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.25rem;
    display: block;
}

.section-h {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.75rem;
}

.body-lg {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--mid);
    margin-bottom: 1.5rem;
}

.body-md {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--mid);
    margin-bottom: 1.25rem;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--dark);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: background 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s;
}
.btn-primary:hover {
    background: var(--green-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(78, 107, 84, 0.28);
}
.btn-primary.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}
.btn-text:hover { color: rgba(255,255,255,1); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.85rem;
    border: 1.5px solid var(--dark);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.22s var(--ease-out);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    transition: all 0.22s;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

/* ── Navbar ────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.4rem 0;
    transition: all 0.35s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}
.navbar.scrolled .brand,
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .btn-ghost {
    border-color: var(--dark);
    color: var(--dark);
}
.navbar.scrolled .btn-ghost:hover {
    background: var(--dark);
    color: var(--white);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1160px, 100%);
    margin: 0 auto;
    padding: 0 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: filter 0.35s var(--ease-out), opacity 0.35s;
}

.navbar.scrolled .brand-mark {
    filter: brightness(0);
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.04);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.0); }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Framer-style gradient: dark vignette bottom left, subtle colour tint */
    background:
        linear-gradient(160deg,
            rgba(20,35,25,0.45) 0%,
            rgba(20,35,25,0.18) 45%,
            rgba(15,30,20,0.58) 100%);
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 2rem;
    padding-top: 5rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    margin-bottom: 2.25rem;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(3.8rem, 8vw, 6.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}

.hero-headline em {
    font-style: italic;
    color: #d4756f;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 auto 2.75rem;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    margin: 0 auto;
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ── Problem ───────────────────────────────────────── */
.problem-section {
    background: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    padding: 9rem 0;
}

/* ── Services ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-card {
    background: var(--light);
    border-radius: var(--r);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.07);
    border-color: rgba(0,0,0,0.08);
}

.service-card:hover::before { transform: scaleX(1); }

.service-num {
    font-family: var(--serif);
    font-size: 2.25rem;
    font-style: italic;
    color: var(--blue);
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--mid);
}

/* ── Outcomes Band ─────────────────────────────────── */
.outcomes-band {
    background: var(--dark);
    padding: 5rem 0;
}

.outcomes-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.outcome { text-align: center; flex: 1; }

.outcome-value {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.outcome-label {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.outcome-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ── Approach ──────────────────────────────────────── */
.approach-section {
    background: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

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

.split-left .section-h { margin-bottom: 1.5rem; }

.approach-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

blockquote {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.quote-attr {
    font-size: 0.82rem;
    color: var(--mid);
    letter-spacing: 0.04em;
}

.approach-pillars { display: flex; flex-direction: column; gap: 0.85rem; }

.pillar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--mid);
}

.pillar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    opacity: 0.85;
}

/* ── Who Section ───────────────────────────────────── */
.who-section { background: var(--white); }

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.scenario-card {
    background: var(--cream);
    border-radius: var(--r);
    padding: 2.25rem 2.25rem 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-left: 3px solid var(--green);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.06);
}

.scenario-card h4 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.scenario-card p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--mid);
    margin-bottom: 1.5rem;
    flex: 1;
}

.scenario-outcome {
    font-size: 0.775rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-dk);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.07);
}

/* ── CTA Section ───────────────────────────────────── */
.cta-section {
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
}

.cta-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center 60%;
    z-index: 0;
    filter: saturate(0.7) brightness(0.55);
}

.cta-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom right, rgba(60,110,75,0.35), rgba(15,30,20,0.65));
}

.cta-body {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.cta-sub {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
    background: var(--dark);
    padding: 5rem 0 2.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.65rem;
}

.footer-mark {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-location {
    font-size: 0.775rem !important;
    color: rgba(255,255,255,0.22) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.footer-left p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ── Reveal Animations ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 4rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .scenario-grid { grid-template-columns: 1fr 1fr; }
    .outcomes-grid { flex-wrap: wrap; }
    .outcome-divider { display: none; }
}

@media (max-width: 700px) {
    .section { padding: 6rem 0; }
    .section-h { font-size: 2.4rem; }
    .hero-headline { font-size: 3rem; }
    .hero-sub { font-size: 1.05rem; }
    .services-grid { grid-template-columns: 1fr; }
    .scenario-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; }
    .footer-nav { flex-wrap: wrap; gap: 1.25rem; }
    .footer-bottom-row { flex-direction: column; gap: 0.5rem; }
    .hero-cta { flex-direction: column; }
}
