/* ════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════ */
:root {
    --navy:         #06091A;
    --navy-mid:     #0C1128;
    --navy-light:   #161D3A;
    --gold:         #C9A96E;
    --gold-light:   #DFC088;
    --gold-dim:     rgba(201, 169, 110, 0.15);
    --cream:        #F8F4EE;
    --white:        #FFFFFF;
    --charcoal:     #1C2035;
    --text-dark:    #111827;
    --text-mid:     #374151;
    --text-muted:   #6B7280;
    --border:       rgba(201, 169, 110, 0.2);
    --border-light: rgba(0,0,0,0.08);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease2: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.navbar {
    background: transparent;
    position: fixed;
    top: 20px; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.navbar.scrolled {
    top: 0;
    padding: 1rem 0;
}
.navbar.scrolled .nav-link {
    background: linear-gradient(135deg, rgba(201,169,110,0.24), rgba(201,169,110,0.14));
    border: 2px solid rgba(201,169,110,0.65);
    color: var(--gold);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.navbar.scrolled .nav-link:hover {
    background: linear-gradient(135deg, rgba(201,169,110,0.38), rgba(201,169,110,0.26));
    border-color: rgba(201,169,110,0.88);
    box-shadow: 0 8px 20px rgba(201,169,110,0.28);
    color: var(--gold-light);
}

.nav-inner {
    padding: 0 68px 0 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
}

.nav-brand { display: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Pill-style nav links — frosted white (hero) */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6375rem 1.4875rem;
    background: rgba(255,255,255,0.22);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.58);
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    font-size: 0.8075rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-link:hover {
    background: rgba(255,255,255,0.32);
    border-color: rgba(255,255,255,0.78);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.30);
    color: #ffffff;
}

.nav-cta { /* inherits .nav-link styles */ }
.nav-cta.active {
    background: linear-gradient(135deg, rgba(201,169,110,0.25), rgba(201,169,110,0.15));
    border-color: rgba(201,169,110,0.6);
    box-shadow: 0 4px 15px rgba(201,169,110,0.25);
}

/* ════════════════════════════════════════
   HERO — SHARED
════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 35%, transparent 62%),
        #94c9a0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Flowing organic background */
.hero-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: flowDrift 15s linear infinite, svgGlow 5s ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(255,200,40,0.25)) drop-shadow(0 0 6px rgba(255,200,40,0.12));
}
@keyframes svgGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(255,200,40,0.22)) drop-shadow(0 0 6px rgba(255,200,40,0.10)); }
    50%       { filter: drop-shadow(0 0 4px rgba(255,200,40,0.38)) drop-shadow(0 0 10px rgba(255,200,40,0.18)); }
}
@keyframes flowDrift {
    from { transform: translateX(0)    scale(1.06); }
    to   { transform: translateX(60px) scale(1.06); }
}

/* Central radial glow */
.hero-glow {
    position: absolute;
    width: 900px; height: 900px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 65%);
    animation: glowPulse 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.scroll-track {
    width: 2px; height: 72px;
    background: linear-gradient(to bottom, transparent, #C9A96E);
    box-shadow: 0 0 6px rgba(201,169,110,0.55);
    animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50%  { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════
   HOME HERO — TYPOGRAPHY ONLY
════════════════════════════════════════ */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    padding: 0 48px;
    animation: heroFadeUp 1.4s var(--ease) both;
    text-align: left;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Equal-size title words — each with individual glow */
.hero h1 {
    line-height: 0.9;
}
.hero-word {
    display: block;
    font-family: var(--serif);
    font-size: clamp(4.5rem, 11vw, 9rem);
    font-weight: 400;
    line-height: 0.92;
    color: rgba(240,246,242,0.90);
    letter-spacing: -0.02em;
    animation: heroFadeUp 1.4s 0s var(--ease) both, titleGlow 5s 1.5s ease-in-out infinite;
}
.hero-word:nth-child(1) { animation-delay: 0s,    1.4s;  margin-left: 0; }
.hero-word:nth-child(2) { animation-delay: 0.12s, 2.1s;  margin-left: clamp(1.5rem, 3vw, 3rem); }
.hero-word:nth-child(3) { animation-delay: 0.24s, 1.75s; margin-left: clamp(3rem, 6vw, 6rem); }

@keyframes titleGlow {
    0%, 100% {
        text-shadow:
            0 0 25px  rgba(201,169,110,0.38),
            0 0 70px  rgba(201,169,110,0.20),
            0 0 140px rgba(201,169,110,0.08);
    }
    50% {
        text-shadow:
            0 0 35px  rgba(201,169,110,0.60),
            0 0 90px  rgba(201,169,110,0.34),
            0 0 180px rgba(201,169,110,0.14);
    }
}

/* thin gold rule between title and phrase */
.hero-rule {
    display: block;
    width: 52px;
    height: 1px;
    background: var(--gold);
    opacity: 0.45;
    margin: 2.2rem 0 2rem 0.15em;
    animation: heroFadeUp 1.4s 0.25s var(--ease) both;
}

/* "Personalized learning crafted for your success" */
.hero-phrase {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-style: italic;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.015em;
    line-height: 1.5;
    max-width: 820px;
    white-space: nowrap;
    animation: heroFadeUp 1.4s 0.35s var(--ease) both, phraseGlow 6s 2s ease-in-out infinite;
    text-shadow:
        0 0 20px rgba(255,255,255,0.25),
        0 0 55px rgba(255,255,255,0.10);
}
@keyframes phraseGlow {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(255,255,255,0.22),
            0 0 55px rgba(255,255,255,0.08);
    }
    50% {
        text-shadow:
            0 0 32px rgba(255,255,255,0.45),
            0 0 80px rgba(255,255,255,0.18);
    }
}
/* "success" matches rest — white, non-italic */
.hero-phrase em {
    font-style: normal;
    color: #ffffff;
}
/* highlight "success" — white with a soft glow */
.hero-phrase em {
    font-style: normal;
    color: #ffffff;
    opacity: 1;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 0 0 0 rgba(201,169,110,0);
}
.btn-gold:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 28px rgba(201,169,110,0.35);
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy-light);
}
.btn-dark:hover {
    background: var(--navy-mid);
    box-shadow: 0 8px 28px rgba(6,9,26,0.25);
}

/* ════════════════════════════════════════
   MISSION + COLLEGES SECTION
════════════════════════════════════════ */
.mission-colleges-section {
    background-color: #FAF9F6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 8L8 0' stroke='rgb(180%2C165%2C145)' stroke-opacity='0.08' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-size: 8px 8px;
    padding: 100px 0 80px;
    position: relative;
}
.mission-colleges-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.mission-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    padding: 0 28px;
}

.mission-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.mission-quote {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--charcoal);
    letter-spacing: 0.01em;
}

/* ════════════════════════════════════════
   COLLEGES FLOATING GRID
════════════════════════════════════════ */
.colleges-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 48px;
    margin-bottom: 44px;
}

.colleges-grid {
    position: relative;
    min-height: 520px;
    padding: 0;
}

.college-item {
    position: absolute;
    left: var(--x);
    top:  var(--y);
    width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
    animation: logoFloat 4s ease-in-out infinite;
    animation-delay: var(--fd, 0s);
}
.college-item:hover .college-logo-box {
    transform: scale(1.06);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-12px); }
}

.college-logo-box {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid rgba(var(--clr), 0.50);
    box-shadow:
        0 0 10px rgba(var(--clr), 0.28),
        0 0 24px rgba(var(--clr), 0.12),
        0 4px 12px rgba(0,0,0,0.10);
    padding: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.college-item:hover .college-logo-box {
    box-shadow:
        0 0 18px rgba(var(--clr), 0.50),
        0 0 40px rgba(var(--clr), 0.22),
        0 4px 14px rgba(0,0,0,0.10);
}

.college-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}
.college-logo--zoom {
    transform: scale(1.22);
}

.college-name {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-mid);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.01em;
    max-width: 88px;
}

.college-sep {
    width: 1px;
    height: 52px;
    background: rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   SERVICES SECTION
════════════════════════════════════════ */
.services-section {
    /* Blend header + Admissions into one warm field — soft wash + fine stipple */
    background-color: #FBF8F4;
    background-image:
        linear-gradient(145deg, rgba(232,160,106,0.04) 0%, transparent 42%, rgba(201,169,110,0.025) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='1.5' cy='1.5' r='0.85' fill='rgb(180%2C130%2C90)' fill-opacity='0.11'/%3E%3C/svg%3E");
    background-size: auto, 14px 14px;
    padding: 100px 0 0;
}

.services-header {
    margin-bottom: 40px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.services-heading {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 12px;
}
.services-sub {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    color: #111827;
    line-height: 1.55;
}

/* Category chooser — static at section start */
.services-nav-bar {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 0 8px;
}

.service-tab {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 100px;
    padding: 8px 18px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.service-tab:hover {
    color: var(--charcoal);
    background: rgba(201,169,110,0.06);
    border-color: rgba(201,169,110,0.35);
}

.service-tab.active {
    color: var(--navy);
    background: rgba(255,255,255,0.85);
    border-color: var(--gold);
    font-weight: 600;
}

/* Service chapters — subtle atmosphere per category */
.service-chapter {
    position: relative;
    padding: 80px 0 88px;
    scroll-margin-top: 90px;
    overflow: hidden;
}
.service-chapter > .container {
    position: relative;
    z-index: 1;
}

.service-chapter-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.service-chapter-flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* 01 Admissions — continues shared warm field (no seam) */
.service-chapter--admissions {
    background: transparent;
    padding-top: 12px;
}
.service-chapter--admissions .package-block {
    background: rgba(255,255,255,0.88);
}

/* 02 Test Prep — cool light blue + fine dots */
.service-chapter--testing {
    background-color: #F8FAFC;
    background-image:
        linear-gradient(160deg, rgba(123,163,201,0.05) 0%, transparent 48%, rgba(168,196,220,0.03) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='1.5' cy='1.5' r='0.85' fill='rgb(100%2C140%2C180)' fill-opacity='0.11'/%3E%3C/svg%3E");
    background-size: auto, 14px 14px;
}
.service-chapter--testing .package-block {
    background: rgba(255,255,255,0.90);
}

/* 03 Tutoring — soft sage + fine dots */
.service-chapter--tutoring {
    background-color: #F8FBF9;
    background-image:
        linear-gradient(150deg, rgba(143,191,154,0.05) 0%, transparent 48%, rgba(201,169,110,0.02) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='1.5' cy='1.5' r='0.85' fill='rgb(110%2C150%2C120)' fill-opacity='0.11'/%3E%3C/svg%3E");
    background-size: auto, 14px 14px;
}
.service-chapter--tutoring .package-block {
    background: rgba(255,255,255,0.90);
}

/* 04 Extended Hours — dusk wash, sun / moon atmosphere (same light editorial style) */
.service-chapter--extended {
    background-color: #F6F4F8;
    background-image:
        linear-gradient(155deg, rgba(232,160,106,0.06) 0%, transparent 38%, rgba(123,163,201,0.07) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='2' cy='2' r='0.95' fill='rgb(140%2C130%2C160)' fill-opacity='0.11'/%3E%3C/svg%3E");
    background-size: auto, 18px 18px;
    padding-bottom: 100px;
}
.service-chapter--extended .package-block {
    background: rgba(255,255,255,0.90);
}

.service-chapter-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.service-chapter-num {
    display: block;
    font-family: var(--serif);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 16px;
}
.service-chapter-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
    margin: 0 auto 20px;
}
.service-chapter-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 16px;
}
.service-chapter-lead {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    color: #111827;
    line-height: 1.55;
    margin-bottom: 14px;
}
.service-chapter-body {
    font-size: 0.95rem;
    color: #111827;
    line-height: 1.75;
}

/* Package blocks */
.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.package-block--wide {
    grid-column: 1 / -1;
}

.package-block {
    position: relative;
    padding: 28px 28px 28px 32px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    background: var(--white);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.package-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--gold);
    transform: scaleY(0.35);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
    opacity: 0.7;
}
.package-block:hover {
    border-color: rgba(201,169,110,0.45);
}
.package-block:hover::before {
    transform: scaleY(1);
    opacity: 1;
}

.package-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.package-desc {
    font-size: 0.9rem;
    color: #111827;
    line-height: 1.75;
    margin-bottom: 16px;
}
.package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.package-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #111827;
    background: var(--cream);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 4px 12px;
}
.package-cta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--navy);
    transition: color 0.2s, transform 0.2s;
}
.package-cta:hover {
    color: var(--gold);
}

/* ════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════ */
.about-section {
    background: var(--white);
    padding: 100px 0 120px;
    border-top: 1px solid var(--border-light);
}

.about-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.about-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-photo {
    display: flex;
    justify-content: center;
}
.profile-photo-img {
    width: 210px; height: 210px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--gold);
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.profile-meta {
    text-align: center;
}
.profile-name {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.1;
}
.profile-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 10px;
}
.profile-location {
    font-size: 0.88rem;
    color: #111827;
    margin-top: 6px;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #111827;
    text-align: left;
}

.profile-education {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    text-align: left;
}

.edu-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edu-block-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
}

.edu-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edu-institution {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.edu-details {
    font-size: 0.82rem;
    color: #111827;
    line-height: 1.6;
}

.coursework-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coursework-list p {
    font-size: 0.85rem;
    color: #111827;
    line-height: 1.65;
}
.cw-subject {
    font-weight: 600;
    color: var(--text-dark);
}

.research-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.research-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 18px;
    align-items: start;
    text-decoration: none;
    color: inherit;
    padding: 4px 0;
    transition: opacity 0.25s var(--ease);
}
.research-item:hover {
    opacity: 0.88;
}
.research-figure {
    width: 112px;
    height: 92px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #f3f1ec;
    opacity: 0.82;
    transition: opacity 0.25s var(--ease);
}
.research-item:hover .research-figure {
    opacity: 1;
}
.research-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(0.85);
}
.research-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding-top: 2px;
}
.research-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.research-meta {
    font-size: 0.78rem;
    color: #111827;
    letter-spacing: 0.02em;
}

.profile-cta { align-self: center; }

/* ════════════════════════════════════════
   CONNECT PAGE
════════════════════════════════════════ */
.connect-page {
    background-color: #FAF9F6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 8L8 0' stroke='rgb(180%2C165%2C145)' stroke-opacity='0.10' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Nav readable on light textured ground */
.connect-page .nav-link {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(28,32,53,0.12);
    color: var(--charcoal);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
.connect-page .nav-link:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(201,169,110,0.55);
    color: var(--charcoal);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.connect-page .nav-cta.active,
.connect-page .navbar.scrolled .nav-link {
    background: linear-gradient(135deg, rgba(201,169,110,0.22), rgba(201,169,110,0.12));
    border: 2px solid rgba(201,169,110,0.65);
    color: var(--charcoal);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.connect-page .navbar.scrolled .nav-link:hover {
    background: linear-gradient(135deg, rgba(201,169,110,0.34), rgba(201,169,110,0.22));
    border-color: rgba(201,169,110,0.88);
    color: var(--charcoal);
    box-shadow: 0 8px 20px rgba(201,169,110,0.22);
}

.connect-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 28px 80px;
    position: relative;
}

.connect-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.connect-intro {
    margin-bottom: 28px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.eyebrow-rule {
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}
.eyebrow-text {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.connect-heading {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.05;
    margin-bottom: 20px;
}

.connect-tagline {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}

.connect-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    background: rgba(255,255,255,0.82);
    border: 1.5px solid rgba(28,32,53,0.12);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.25s var(--ease2), box-shadow 0.25s var(--ease2), background 0.25s;
    resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}
.form-field input:hover,
.form-field textarea:hover {
    border-color: rgba(201,169,110,0.5);
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-actions {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.connect-submit {
    min-width: 180px;
    border: none;
}

.form-status {
    min-height: 1.4em;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.form-status.is-error { color: #b45353; }
.form-status.is-ready { color: #2f6b4f; }

.connect-contact-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 36px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    background: rgba(255,255,255,0.65);
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.contact-pill svg { opacity: 0.55; transition: opacity 0.2s; color: var(--gold); }
.contact-pill:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--charcoal);
    box-shadow: 0 4px 16px rgba(201,169,110,0.18);
}
.contact-pill:hover svg { opacity: 1; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-brand {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.06em;
    opacity: 0.8;
}
.footer-nav {
    display: flex;
    gap: 24px;
}
.footer-nav a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
}

/* ════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   (only active when JS has loaded)
════════════════════════════════════════ */
body.js-ready .reveal,
body.js-ready .reveal-left,
body.js-ready .reveal-right,
body.js-ready .reveal-up {
    opacity: 0;
    filter: blur(4px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}
body.js-ready .reveal        { transform: translateY(44px); }
body.js-ready .reveal-left   { transform: translateX(-44px); }
body.js-ready .reveal-right  { transform: translateX(44px); }
body.js-ready .reveal-up     { transform: translateY(36px); transition-delay: var(--delay, 0s); }

body.js-ready .reveal.in-view,
body.js-ready .reveal-left.in-view,
body.js-ready .reveal-right.in-view,
body.js-ready .reveal-up.in-view {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 4px;
        padding-right: 4px;
    }
    .services-nav::-webkit-scrollbar { display: none; }
    .service-tab { flex-shrink: 0; }
}

@media (max-width: 900px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
    .package-block--wide {
        grid-column: auto;
    }
    .service-chapter {
        padding: 56px 0 40px;
        scroll-margin-top: 80px;
    }
    .service-chapter--extended { padding-bottom: 80px; }
    .colleges-grid {
        position: static;
        min-height: unset;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 10px 0 20px;
    }
    .college-item {
        position: static;
        width: auto;
    }
    .college-sep {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        border-radius: 12px;
    }
    .hero-stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .hero-stat:last-child { border-bottom: none; }

    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }

    .colleges-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .college-item { padding: 4px; }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-section { padding: 72px 0 90px; }
    .profile-photo-img { width: 160px; height: 160px; }
    .profile-name { font-size: 2.1rem; }
    .package-block { padding: 24px 22px 24px 26px; }

    .connect-main { padding: 110px 20px 64px; }
    .connect-submit { width: 100%; max-width: 320px; }
    .connect-contact-bar { flex-direction: column; align-items: center; }
    .contact-pill { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 420px) {
    .colleges-grid { gap: 12px; }
    .hero-name { font-size: 2.8rem; }
}
