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

:root {
    /* Dark palette (default) */
    --bg-body: #141110;
    --bg-raised: #1C1917;
    --bg-card: #211E1B;
    --bg-hover: #2A2623;
    --text-primary: #F5F0EB;
    --text-secondary: #B8AFA7;
    --text-muted: #7A716A;
    --border-color: #302B27;
    --border-hover: #423C36;

    /* Section contrast */
    --section-dark-bg: #141110;
    --section-light-bg: #F9F6F2;
    --section-light-text: #1E1B18;
    --section-light-secondary: #5C5550;
    --section-light-border: #E2D9D0;

    /* Accent colours */
    --accent: #c9a66b;
    --accent-hover: #dbb87d;
    --accent-glow: rgba(201, 166, 107, 0.25);
    --cta: #7A2E42;
    --cta-hover: #9B4A5F;
    --cta-glow: rgba(122, 46, 66, 0.15);

    /* Legacy vars for compatibility */
    --dark: #141110;
    --dark-raised: #1C1917;
    --dark-card: #211E1B;
    --dark-hover: #2A2623;
    --dark-text: #F5F0EB;
    --dark-text-secondary: #B8AFA7;
    --dark-text-muted: #7A716A;
    --dark-border: #302B27;
    --dark-border-hover: #423C36;
    --light: #F9F6F2;
    --light-raised: #FFFFFF;
    --light-card: #FFFFFF;
    --light-warm: #F4EDE6;
    --light-hover: #EFE8E0;
    --light-text: #1E1B18;
    --light-text-secondary: #5C5550;
    --light-text-muted: #9A918A;
    --light-border: #E2D9D0;
    --light-border-hover: #CFC4B9;
    --wine: #7A2E42;
    --wine-deep: #5E2234;
    --wine-soft: #9B4A5F;
    --wine-glow: rgba(122, 46, 66, 0.15);
    --wine-subtle: rgba(122, 46, 66, 0.06);
    --copper: #C47D5A;
    --copper-hover: #D08E6A;
    --copper-glow: rgba(196, 125, 90, 0.25);
    --copper-subtle: rgba(196, 125, 90, 0.08);

    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(20, 17, 16, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--dark-border);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.8125rem;
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--dark-text); }

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: #FFF !important;
    background: var(--wine);
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.nav-cta:hover {
    background: var(--wine-soft) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--wine-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark-text-secondary);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: var(--copper);
    color: #FFF;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--copper-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--copper-glow);
}

.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: transparent;
    color: var(--dark-text-secondary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary-dark:hover {
    border-color: var(--dark-border-hover);
    color: var(--dark-text);
    background: var(--dark-raised);
}

.btn-secondary-light {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.25rem;
    background: transparent;
    color: var(--light-text-secondary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary-light:hover {
    border-color: var(--light-border-hover);
    color: var(--light-text);
    background: var(--light-raised);
}

/* ===== HERO (DARK) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2.5rem 5rem;
    max-width: 1320px;
    margin: 0 auto;
    gap: 5rem;
}

.hero-content { flex: 1.2; max-width: 640px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 2.5rem;
}

.hero-eyebrow span {
    font-size: 0.6875rem;
    color: var(--dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
}

.hero-eyebrow .line {
    width: 32px;
    height: 1px;
    background: var(--dark-border-hover);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    color: var(--copper);
    font-weight: 300;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--dark-text-secondary);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-proof {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--dark-border);
}

.hero-proof-item {}

.hero-proof-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.2;
}

.hero-proof-label {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
}

/* Stats panel */
.hero-panel {
    flex: 1;
    max-width: 440px;
}

.hero-panel-inner {
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
}

.panel-profile {
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-raised);
}

.panel-portrait {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--copper);
    flex-shrink: 0;
}

.panel-profile-info {
    min-width: 0;
}

.panel-profile-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.panel-profile-title {
    font-size: 0.75rem;
    color: var(--copper);
    letter-spacing: 0.03em;
    font-weight: 500;
}

.panel-header {
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--copper);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--copper-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.panel-header-text {
    font-size: 0.6875rem;
    color: var(--dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
}

.panel-row {
    display: flex;
    border-bottom: 1px solid var(--dark-border);
}

.panel-row:last-child { border-bottom: none; }

.panel-cell {
    flex: 1;
    padding: 1.5rem 1.75rem;
    transition: background 0.3s;
}

.panel-cell:first-child {
    border-right: 1px solid var(--dark-border);
}

.panel-cell:hover { background: var(--dark-raised); }

.panel-cell.full {
    flex: unset;
    width: 100%;
    border-right: none;
    background: var(--dark-raised);
}

.panel-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.panel-label {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    line-height: 1.4;
}

.panel-cell.full .panel-number {
    font-size: 1rem;
    color: var(--copper);
    font-weight: 500;
}

/* ===== ENVELOPE SECTION STACKING ===== */
.hero,
.trust-strip,
.section-light,
.section-dark,
.footer {
    position: relative;
}

.hero        { z-index: 1; }
.trust-strip { z-index: 2; }

.envelope-section {
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
}

.beacon        { z-index: 3; }
.services      { z-index: 4; }
.honours       { z-index: 5; }
.testimonials  { z-index: 6; }
.linkedin-feed { z-index: 7; }
.books         { z-index: 8; }
.cta-section   { z-index: 9; }
.footer        { z-index: 10; }

/* Light over dark — soft lift */
.envelope-section.section-light {
    box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.07), 0 -2px 6px rgba(0, 0, 0, 0.03);
}

/* Dark over light — dramatic depth */
.envelope-section.section-dark {
    box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.3), 0 -2px 8px rgba(0, 0, 0, 0.12);
}

/* ===== TRUST STRIP (TRANSITIONAL) ===== */
.trust-strip {
    background: var(--dark);
    padding: 2.5rem 2.5rem;
}

.trust-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.trust-label {
    font-size: 0.6875rem;
    color: var(--dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 24px;
    background: var(--dark-border);
    flex-shrink: 0;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-text-secondary);
    letter-spacing: 0.03em;
    transition: color 0.3s;
    white-space: nowrap;
}

.trust-logo:hover { color: var(--dark-text); }

/* ===== LIGHT SECTION BASE ===== */
.section-light {
    background: var(--light);
    color: var(--light-text);
}

.section-dark {
    background: var(--dark);
    color: var(--dark-text);
}

/* ===== HONOURS (LIGHT) ===== */
.honours {
    padding: 7rem 2.5rem;
}

.honours-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.section-label-light {
    font-size: 0.6875rem;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-label-dark {
    font-size: 0.6875rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-title-light {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-title-dark {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-sub-light {
    font-size: 1.0625rem;
    color: var(--light-text-secondary);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 3.5rem;
}

.section-sub-dark {
    font-size: 1.0625rem;
    color: var(--dark-text-secondary);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 3.5rem;
}

.honours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--dark-border);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
}

.honour-card {
    background: var(--dark-card);
    padding: 2.25rem;
    position: relative;
    transition: background 0.3s;
}

.honour-card:hover { background: var(--dark-hover); }

.honour-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--copper-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.honour-card:hover::after { transform: scaleX(1); }

.honour-year {
    font-size: 0.6875rem;
    color: var(--copper);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.honour-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.honour-source {
    font-size: 0.8125rem;
    color: var(--dark-text-muted);
    line-height: 1.5;
}

.honour-card.highlight {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
    background: linear-gradient(135deg, #8B5E3F, #6B4530);
}

.honour-card.highlight:hover { background: linear-gradient(135deg, #9B6B4A, #7A5035); }
.honour-card.highlight::after { display: none; }

.honour-card.highlight .honour-year {
    color: rgba(255,255,255,0.5);
}

.honour-card.highlight .honour-title {
    color: #FFF;
    font-size: 1.75rem;
    line-height: 1.2;
}

.honour-card.highlight .honour-source {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    max-width: 400px;
}

/* ===== SERVICES (LIGHT) ===== */
.services {
    padding: 0 2.5rem 7rem;
    margin-top: -1px;
}

.services-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-pillar {
    border: 1px solid var(--light-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--light-card);
    transition: all 0.3s;
}

.service-pillar:hover {
    border-color: var(--light-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.pillar-header {
    padding: 2.5rem 2.25rem 1.75rem;
    border-bottom: 1px solid var(--light-border);
}

.pillar-label {
    font-size: 0.6875rem;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    line-height: 1.65;
}

.pillar-topics {
    padding: 0;
    list-style: none;
}

.pillar-topics li {
    padding: 1.125rem 2.25rem;
    border-bottom: 1px solid var(--light-border);
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.pillar-topics li:last-child { border-bottom: none; }
.pillar-topics li:hover { background: var(--light-warm); color: var(--light-text); }

.pillar-topics li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--wine-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.pillar-footer {
    padding: 1.5rem 2.25rem;
    border-top: 1px solid var(--light-border);
}

.pillar-link {
    font-size: 0.875rem;
    color: var(--wine);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.3s, color 0.3s;
}

.pillar-link:hover { gap: 0.625rem; color: var(--copper); }
.pillar-link::after { content: '→'; }

/* ===== BEACON (DARK) ===== */
.beacon {
    padding: 7rem 2.5rem;
}

.beacon-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.beacon-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.beacon-header-text { max-width: 560px; }

.beacon-quote {
    max-width: 380px;
    padding: 1.75rem 2rem;
    border-left: 2px solid var(--wine);
}

.beacon-quote blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--light-text-secondary);
    line-height: 1.75;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.beacon-quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.75rem;
    color: var(--light-text-muted);
    letter-spacing: 0.02em;
}

.beacon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--light-border);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    overflow: hidden;
}

.beacon-card {
    background: var(--light-card);
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: background 0.3s;
}

.beacon-card:hover { background: var(--light-warm); }

.beacon-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--wine-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.beacon-card:hover::after { transform: scaleX(1); }

.beacon-letter {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--wine);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.beacon-card-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.beacon-card-desc {
    font-size: 0.8125rem;
    color: var(--light-text-muted);
    line-height: 1.6;
}

/* ===== TESTIMONIALS (LIGHT) ===== */
.testimonials {
    padding: 7rem 2.5rem;
}

.testimonials-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--light-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.testimonial-card.featured {
    grid-column: span 2;
    background: var(--wine);
    border-color: var(--wine);
}

.testimonial-card.featured:hover {
    background: var(--wine-deep);
    border-color: var(--wine-deep);
    box-shadow: 0 12px 40px var(--wine-glow);
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    opacity: 0.2;
}

.testimonial-card:not(.featured) .testimonial-quote-mark { color: var(--wine-soft); }
.testimonial-card.featured .testimonial-quote-mark { color: #FFF; }

.testimonial-text {
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.testimonial-card:not(.featured) .testimonial-text {
    font-size: 1.0625rem;
    color: var(--light-text-secondary);
}

.testimonial-card.featured .testimonial-text {
    font-size: 1.3125rem;
    color: rgba(255,255,255,0.85);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.testimonial-card:not(.featured) .testimonial-name { color: var(--light-text); }
.testimonial-card.featured .testimonial-name { color: #FFF; }

.testimonial-role {
    font-size: 0.8125rem;
}

.testimonial-card:not(.featured) .testimonial-role { color: var(--light-text-muted); }
.testimonial-card.featured .testimonial-role { color: rgba(255,255,255,0.5); }

.testimonial-org {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: auto;
}

.testimonial-card:not(.featured) .testimonial-org {
    color: var(--wine);
    background: var(--wine-subtle);
}

.testimonial-card.featured .testimonial-org {
    color: #FFF;
    background: rgba(255,255,255,0.12);
}

/* ===== LINKEDIN FEED (DARK) ===== */
.linkedin-feed {
    padding: 7rem 2.5rem;
}

.linkedin-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.linkedin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--dark-border);
    color: var(--dark-text-secondary);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-linkedin:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--dark-border-hover);
    color: var(--dark-text);
}

.btn-linkedin svg {
    flex-shrink: 0;
}

/* Placeholder skeleton — remove when embed widget is installed */
.linkedin-embed-placeholder {
    text-align: center;
}

.linkedin-placeholder-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.linkedin-placeholder-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.75rem;
}

.lpc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.lpc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-border);
    flex-shrink: 0;
}

.lpc-meta { flex: 1; }

.lpc-name {
    height: 10px;
    width: 55%;
    background: var(--dark-border);
    border-radius: 4px;
    margin-bottom: 6px;
}

.lpc-date {
    height: 8px;
    width: 35%;
    background: var(--dark-border);
    border-radius: 4px;
    opacity: 0.6;
}

.lpc-body { display: flex; flex-direction: column; gap: 8px; }

.lpc-line {
    height: 8px;
    background: var(--dark-border);
    border-radius: 4px;
    opacity: 0.5;
}

.lpc-line.w100 { width: 100%; }
.lpc-line.w90  { width: 90%; }
.lpc-line.w85  { width: 85%; }
.lpc-line.w80  { width: 80%; }
.lpc-line.w70  { width: 70%; }
.lpc-line.w60  { width: 60%; }
.lpc-line.w50  { width: 50%; }

.linkedin-placeholder-note {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    font-style: italic;
    opacity: 0.6;
}

/* ===== BOOKS (LIGHT cont.) ===== */
.books {
    padding: 7rem 2.5rem;
}

.books-inner {
    max-width: 1320px;
    margin: 0 auto;
}

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

.book-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.book-card:hover {
    border-color: var(--light-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.book-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--wine-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.book-icon svg {
    width: 20px; height: 20px;
    color: var(--wine);
}

.book-year {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--wine);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.book-desc {
    font-size: 0.875rem;
    color: var(--light-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.book-link {
    font-size: 0.875rem;
    color: var(--wine);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.3s, color 0.3s;
}

.book-link:hover { gap: 0.625rem; color: var(--copper); }
.book-link::after { content: '→'; }

/* ===== CTA (DARK) ===== */
.cta-section {
    padding: 7rem 2.5rem;
}

.cta-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.cta-card {
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

.cta-card .section-title-dark {
    max-width: 480px;
    margin: 0 auto 1rem;
}

.cta-card .section-sub-dark {
    max-width: 460px;
    margin: 0 auto 3rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--dark-border);
    padding: 2.5rem;
    background: var(--dark);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    color: var(--dark-text-secondary);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--dark-text-secondary); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
}

.footer-copy a {
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copy a:hover {
    color: var(--dark-text-secondary);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .beacon-header { flex-direction: column; gap: 2rem; }
    .beacon-quote { max-width: 100%; }
    .beacon-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 7rem;
        min-height: auto;
        gap: 3rem;
    }
    .hero-content, .hero-panel { max-width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .books-grid { grid-template-columns: repeat(2, 1fr); }
    .honours-grid { grid-template-columns: 1fr 1fr; }
    .honour-card.highlight { grid-column: span 2; grid-row: span 1; padding: 2.5rem; }
    .honour-card.highlight .honour-title { font-size: 1.25rem; }
    .beacon-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card.featured { grid-column: span 1; }
    .linkedin-header { flex-direction: column; align-items: flex-start; }
    .linkedin-placeholder-cards { grid-template-columns: 1fr 1fr; }
    .hero-proof { gap: 2rem; }
    .panel-profile { padding: 1.25rem; }
    .panel-portrait { width: 60px; height: 60px; }
    .panel-profile-name { font-size: 1rem; }
    .trust-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .trust-divider { display: none; }
    .trust-logos {
        justify-content: center;
        gap: 1rem 2rem;
    }
}

/* Nav hamburger at 900px */
@media (max-width: 900px) {
    .nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(20, 17, 16, 0.97);
        backdrop-filter: blur(24px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--dark-border);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero { padding: 6rem 1.5rem 3rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-proof { flex-wrap: wrap; gap: 1.5rem; }
    .honours, .services, .beacon, .testimonials, .linkedin-feed, .books, .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .honours-grid { grid-template-columns: 1fr; }
    .honour-card.highlight { grid-column: span 1; padding: 2rem; }
    .honour-card.highlight .honour-title { font-size: 1.125rem; }
    .beacon-grid { grid-template-columns: 1fr 1fr; }
    .books-grid { grid-template-columns: 1fr; }
    .linkedin-placeholder-cards { grid-template-columns: 1fr; }
    .cta-card { padding: 3rem 1.5rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
    .panel-cell { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .beacon-grid { grid-template-columns: 1fr; }
}

/* ===== CHATBOT - PREMIUM ===== */

/* Floating Action Button */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 16px rgba(122, 46, 66, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1100;
}

.chatbot-fab::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper) 0%, var(--wine) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.chatbot-fab:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 8px 24px rgba(122, 46, 66, 0.5),
        0 16px 48px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.chatbot-fab:hover::before {
    opacity: 0.3;
}

.chatbot-fab.active {
    transform: scale(0.95);
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.chatbot-fab svg {
    width: 26px;
    height: 26px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.chatbot-fab.active svg {
    transform: rotate(135deg);
    color: var(--dark-text-muted);
}

/* Chat Panel */
.chatbot-panel {
    position: fixed;
    bottom: 104px;
    right: 28px;
    width: 400px;
    max-height: 600px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.92);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1099;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.chatbot-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatbot-header {
    padding: 1.125rem 1.25rem;
    background: linear-gradient(180deg, var(--dark-hover) 0%, var(--dark-card) 100%);
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
}

.chatbot-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-subtle), transparent);
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(122, 46, 66, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.chatbot-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--dark-card);
}

.chatbot-avatar svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.chatbot-header-text {
    flex: 1;
    min-width: 0;
}

.chatbot-header-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: -0.01em;
}

.chatbot-header-status {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    margin-top: 2px;
}

/* Close button in header */
.chatbot-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--dark-text-muted);
    flex-shrink: 0;
}

.chatbot-close:hover {
    background: var(--dark-raised);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.chatbot-close svg {
    width: 18px;
    height: 18px;
}

/* Message Body */
.chatbot-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 320px;
    max-height: 380px;
    scroll-behavior: smooth;
}

.chatbot-body::-webkit-scrollbar {
    width: 6px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 3px;
}

.chatbot-body::-webkit-scrollbar-thumb:hover {
    background: var(--dark-border-hover);
}

/* Messages */
.chat-message {
    max-width: 88%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-text {
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.chat-message.bot .message-text {
    background: var(--dark-raised);
    color: var(--dark-text-secondary);
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-message.user .message-text {
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow:
        0 4px 12px rgba(122, 46, 66, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Quick Replies */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.375rem;
    padding-right: 0.5rem;
}

.quick-reply {
    padding: 0.625rem 1rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    color: var(--dark-text-secondary);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.quick-reply:hover {
    border-color: var(--copper);
    color: var(--copper);
    background: var(--copper-subtle);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 125, 90, 0.15);
}

.quick-reply:active {
    transform: translateY(0) scale(0.98);
}

/* Selection Badge */
.selection-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--copper);
    padding: 0.375rem 0.75rem;
    background: var(--copper-subtle);
    border-radius: 100px;
    align-self: flex-start;
    border: 1px solid rgba(196, 125, 90, 0.2);
}

/* Input Area */
.chat-input-area {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--dark-border);
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-hover) 100%);
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.chat-input-area textarea {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--dark-raised);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--dark-text);
    font-size: 0.9rem;
    font-family: var(--font-body);
    resize: none;
    min-height: 44px;
    max-height: 120px;
    line-height: 1.4;
    transition: all 0.2s;
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px var(--copper-subtle);
}

.chat-input-area textarea::placeholder {
    color: var(--dark-text-muted);
}

.chat-input-area button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-hover) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(196, 125, 90, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.chat-input-area button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow:
        0 6px 16px rgba(196, 125, 90, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.chat-input-area button:active:not(:disabled) {
    transform: scale(0.98);
}

.chat-input-area button:disabled {
    background: var(--dark-border);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.chat-input-area button svg {
    color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

/* Typing Indicator */
.chatbot-typing {
    display: none;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
}

.typing-dots {
    display: flex;
    gap: 5px;
    padding: 0.75rem 1rem;
    background: var(--dark-raised);
    border-radius: 16px;
    border-bottom-left-radius: 6px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dark-text-muted);
    animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-text {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    font-style: italic;
}

/* Session Ended */
.session-ended {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.session-ended span {
    font-size: 0.8125rem;
    color: var(--dark-text-muted);
    white-space: nowrap;
}

.session-ended button {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    color: var(--dark-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    flex-shrink: 0;
}

.session-ended button:hover {
    border-color: var(--copper);
    color: var(--copper);
    background: var(--copper-subtle);
    transform: translateY(-1px);
}

/* Mobile Styles - matches nav hamburger breakpoint */
@media (max-width: 900px) {
    .chatbot-fab {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .chatbot-fab.active {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.5);
    }

    .chatbot-fab svg {
        width: 24px;
        height: 24px;
    }

    .chatbot-panel {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 80vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        overflow: hidden;
    }

    .chatbot-panel.open {
        transform: translateY(0);
    }

    .chatbot-header {
        padding: 1rem 1.25rem;
        padding-top: 1.5rem;
        flex-shrink: 0;
    }

    /* Drag handle for mobile */
    .chatbot-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        background: var(--dark-border);
        border-radius: 2px;
    }

    .chatbot-body {
        flex: 1;
        min-height: 0;
        padding: 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chat-input-area {
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        flex-shrink: 0;
    }

    .quick-replies {
        gap: 0.5rem;
    }

    .quick-reply {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .message-text {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .chatbot-typing {
        padding: 0.5rem 1rem;
    }

    .session-ended {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .session-ended button {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}
