@charset "UTF-8";

:root {
    --ink: #142f32;
    --muted: #526664;
    --cream: #faf9f3;
    --green: #225b47;
    --gold: #f3c955;
    --blue: #173e68;
    --line: #d7dfd8
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

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

button,
a,
summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #187ac2;
    outline-offset: 5px
}

.wrap {
    max-width: 1240px;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px
}

.header {
    max-width: 1320px;
    padding: 22px 40px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 1.5
}

.brand b {
    font-size: 17px;
    letter-spacing: 4px
}

.brand img {
    object-fit: contain;
    border-radius: 50%
}

.header nav {
    display: flex;
    gap: 35px;
    align-items: center;
    font-size: 14px
}

.header nav a[aria-current] {
    border-bottom: 2px solid var(--green)
}

.nav-contact {
    border: 1px solid var(--ink);
    padding: 10px 20px;
    border-radius: 30px
}

.nav-contact span {
    margin-left: 20px
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 55px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 85px;
    overflow: hidden
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 700;
    margin: 0 0 23px
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 7px
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(42px, 4.5vw, 66px);
    line-height: 1.08;
    letter-spacing: -2.8px;
    font-weight: 500;
    margin-bottom: 28px
}

h1 em {
    font-family: Georgia, serif;
    color: var(--green);
    font-weight: 400
}

h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1.5px
}

h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -.4px
}

.lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 450px
}

.actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 30px
}

.button {
    display: inline-flex;
    background: var(--green);
    color: #fff;
    padding: 15px 24px;
    border-radius: 7px;
    gap: 28px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, background .2s
}

.button:hover {
    background: #153d30;
    transform: translateY(-3px)
}

.button.gold {
    background: var(--gold);
    color: var(--ink)
}

.text-link {
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    display: inline-block
}

.hero-notes {
    display: flex;
    gap: 18px;
    font-size: 11px;
    margin-top: 30px;
    color: var(--muted)
}

.hero-art {
    position: relative;
    padding: 40px 0 30px;
    animation: arrive 1s ease both
}

.art-frame {
    overflow: hidden;
    border-radius: 180px 180px 20px 20px;
    background: #e7e8c8;
    position: relative;
    box-shadow: 0 20px 60px #123c2520
}

.art-frame img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center
}

.float-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 30px #123c2510;
    font-size: 12px;
    line-height: 1.5;
    animation: float 6s ease-in-out infinite
}

.note-top {
    top: 10px;
    right: -12px
}

.note-bottom {
    bottom: 40px;
    left: -25px;
    animation-delay: -3s
}

.note-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ecf1e8;
    color: var(--green);
    font-size: 21px
}

.art-caption {
    text-align: right;
    font-size: 10px;
    color: var(--muted);
    margin-top: 15px
}

.star {
    position: absolute;
    color: var(--gold);
    font-size: 86px;
    z-index: 2;
    left: -28px;
    top: 0;
    animation: turn 30s linear infinite
}

.orbit {
    position: absolute;
    inset: 5px -16px 50px;
    border: 1px solid #a8b6a0;
    border-radius: 50%;
    transform: rotate(-13deg)
}

.ribbon {
    display: flex;
    justify-content: center;
    gap: 45px;
    padding: 23px;
    background: #e9eddc;
    color: var(--green);
    font-size: 15px
}

.ribbon i {
    font-style: normal;
    color: #9d7925
}

.section {
    padding-top: 88px;
    padding-bottom: 88px
}

.section-heading {
    max-width: 670px
}

.section-heading>p:last-child,
.discover p,
.journey p {
    color: var(--muted);
    max-width: 520px
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 45px
}

.benefits article {
    padding-top: 22px;
    border-top: 1px solid var(--ink)
}

.number {
    display: block;
    color: var(--green);
    font-size: 13px;
    margin-bottom: 30px
}

.benefits p {
    font-size: 15px;
    color: var(--muted)
}

.benefits a {
    font-size: 13px;
    border-bottom: 1px solid
}

.journey {
    background: var(--ink);
    color: #fff;
    padding: 75px 0
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.journey p {
    color: #c8d5ce
}

.journey .eyebrow {
    color: var(--gold)
}

.steps {
    padding: 0;
    margin: 0;
    list-style: none
}

.steps li {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #ffffff30;
    padding: 25px 0
}

.steps li:first-child {
    padding-top: 0
}

.steps span {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 24px
}

.steps h3 {
    font-size: 20px;
    margin-bottom: 8px
}

.steps p {
    font-size: 14px;
    margin-bottom: 0
}

.discover {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center
}

.subject-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    transform: rotate(-3deg)
}

.subject {
    padding: 22px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    flex: 1;
    min-width: 140px;
    font-family: Georgia, serif;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: transform .3s
}

.subject:hover {
    transform: rotate(3deg) translateY(-5px)
}

.subject b {
    color: var(--green);
    font-size: 30px;
    font-weight: 400
}

.subject.large {
    background: #e9eddc;
    flex-basis: 55%
}

.subject-cloud small {
    font-size: 11px;
    color: var(--muted);
    padding-top: 10px
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 65px;
    border-top: 1px solid var(--line)
}

details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0
}

summary {
    cursor: pointer;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

summary::-webkit-details-marker {
    display: none
}

summary:after {
    content: '+';
    font-size: 22px;
    color: var(--green)
}

details[open] summary:after {
    content: '−'
}

details p {
    font-size: 14px;
    color: var(--muted);
    margin: 15px 0 0
}

.contact {
    background: #e9eddc;
    padding-top: 55px;
    padding-bottom: 55px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    border-radius: 18px
}

.contact p {
    font-size: 14px
}

.contact .eyebrow {
    font-size: 10px
}

.contact-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 275px
}

.contact .button {
    display: block;
    text-align: center
}

.contact small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    margin-top: 7px
}

.secondary {
    text-align: center;
    font-weight: 600;
    font-size: 14px
}

.footer {
    padding-top: 35px;
    padding-bottom: 35px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--muted)
}

.footer p {
    margin: 0
}

.wordmark {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink)
}

.directory-intro {
    padding-top: 70px;
    padding-bottom: 35px
}

.directory-intro h1 {
    max-width: 850px
}

.intro-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.intro-bottom p {
    color: var(--muted)
}

.demo-notice {
    background: #f5edd5;
    border-left: 3px solid #b78d28;
    padding: 14px 18px;
    font-size: 12px;
    margin: 24px 0
}

.demo-notice b {
    margin-right: 10px
}

.subject-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px
}

.subject-nav span {
    font-size: 10px;
    letter-spacing: 1px;
    margin-right: 8px
}

.subject-nav a {
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 8px 15px;
    border-radius: 30px
}

.subject-nav a:hover {
    background: #e9eddc
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px
}

.teacher-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    scroll-margin-top: 30px;
    transition: box-shadow .3s, transform .3s
}

.teacher-card:hover {
    box-shadow: 0 15px 40px #123c2510;
    transform: translateY(-3px)
}

.teacher-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px
}

.initials {
    width: 65px;
    height: 65px;
    background: #e9eddc;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-family: Georgia, serif;
    color: var(--green)
}

.teacher-card:nth-child(2n) .initials {
    background: #f5edd5;
    color: #76601d
}

.pill {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 25px;
    background: #eef3f7;
    color: var(--blue)
}

.sample-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 8px
}

.teacher-card h2 {
    font-size: 30px;
    margin-bottom: 25px
}

.teacher-card dl {
    margin: 0
}

.teacher-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid #edf0e9;
    padding: 12px 0;
    font-size: 13px
}

.teacher-card dt {
    color: var(--muted)
}

.teacher-card dd {
    margin: 0;
    text-align: right;
    font-weight: 600
}

.teacher-card summary {
    font-size: 13px
}

.teacher-card .button {
    display: flex;
    margin-top: 25px
}

.small {
    font-size: 11px;
    display: table;
    margin: 14px auto 0
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 30px
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 850px;
    font-size: 13px;
    text-align: left
}

caption {
    text-align: left;
    padding: 15px;
    background: #e9eddc;
    font-size: 12px
}

th,
td {
    padding: 20px;
    border-bottom: 1px solid var(--line)
}

thead {
    background: var(--ink);
    color: #fff
}

tbody tr:nth-child(even) {
    background: #f0f3ec
}

td a {
    color: var(--green);
    font-weight: 600;
    white-space: nowrap
}

.fine-print {
    font-size: 12px;
    color: var(--muted);
    max-width: 800px;
    margin-top: 20px
}

.skip {
    position: absolute;
    left: 15px;
    top: -100px;
    background: white;
    padding: 12px;
    z-index: 5
}

.skip:focus {
    top: 10px
}

@keyframes float {
    50% {
        transform: translateY(-9px)
    }
}

@keyframes turn {
    to {
        transform: rotate(360deg)
    }
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:900px) {
    .wrap {
        padding-left: 25px;
        padding-right: 25px
    }

    .hero {
        gap: 30px
    }

    .art-frame img {
        height: 350px
    }

    .hero-notes {
        flex-direction: column;
        gap: 5px
    }

    .header {
        padding: 18px 25px
    }

    .header nav {
        gap: 18px
    }

    .journey-grid,
    .discover {
        gap: 40px
    }

    .ribbon {
        gap: 20px;
        font-size: 12px
    }

    .contact {
        margin: 0 20px
    }

    .contact h2 {
        font-size: 32px
    }

    .teacher-card {
        padding: 24px
    }

    .faq {
        gap: 30px
    }
}

@media(max-width:650px) {
    .header {
        flex-wrap: wrap;
        gap: 18px
    }

    .brand {
        font-size: 10px
    }

    .brand b {
        font-size: 14px
    }

    .header nav {
        width: 100%;
        justify-content: space-between;
        font-size: 13px
    }

    .nav-contact {
        padding: 7px 14px
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 42px;
        padding-bottom: 35px;
        gap: 25px
    }

    h1 {
        font-size: 46px;
        letter-spacing: -2px
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px
    }

    .hero-copy .eyebrow {
        max-width: 280px
    }

    .hero-art {
        max-width: 470px;
        width: 100%;
        margin: auto;
        padding-left: 10px;
        padding-right: 10px
    }

    .art-frame img {
        height: 320px
    }

    .note-top {
        right: 0
    }

    .note-bottom {
        left: 0
    }

    .float-note {
        font-size: 10px;
        padding: 12px
    }

    .star {
        left: 0;
        font-size: 65px
    }

    .hero-notes {
        flex-direction: row;
        flex-wrap: wrap
    }

    .ribbon {
        gap: 14px;
        flex-wrap: wrap;
        padding: 18px 22px
    }

    .ribbon span {
        font-size: 12px
    }

    .ribbon i:last-of-type {
        display: none
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px
    }

    .benefits,
    .journey-grid,
    .discover,
    .faq {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .benefits .number {
        margin-bottom: 15px
    }

    .journey {
        padding: 50px 0
    }

    .subject-cloud {
        margin: 5px 6px
    }

    .contact {
        flex-direction: column;
        padding: 35px 25px;
        border-radius: 12px;
        gap: 15px
    }

    .contact-links {
        min-width: 0
    }

    .footer {
        gap: 12px;
        flex-direction: column
    }

    .directory-intro {
        padding-top: 45px
    }

    .intro-bottom {
        display: block
    }

    .teacher-grid {
        grid-template-columns: 1fr
    }

    .teacher-card dl div {
        font-size: 12px
    }

    .teacher-card h2 {
        font-size: 29px
    }

    .teacher-card {
        padding: 24px
    }

    .demo-notice b {
        display: block
    }

    .actions {
        gap: 18px
    }

    .button {
        padding: 14px 19px
    }

    .text-link {
        font-size: 12px
    }

    .orbit {
        inset: 15px 0 50px
    }

    .teacher-card:target {
        border-color: var(--green);
        box-shadow: 0 0 0 3px #225b471a
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}


/* Dark mode colors */
html[data-theme="dark"] {
    --ink: #e8f0ec;
    --muted: #b2c2bb;
    --cream: #101c1a;
    --green: #8ac9a8;
    --line: #344741;
    --blue: #a8d0f5;

    color-scheme: dark;
}

/* Cards and floating notes */
html[data-theme="dark"] .subject,
html[data-theme="dark"] .teacher-card,
html[data-theme="dark"] .float-note {
    background: #1b2c28;
    color: #e8f0ec;
}

/* Soft-colored sections */
html[data-theme="dark"] .ribbon,
html[data-theme="dark"] .contact,
html[data-theme="dark"] .subject.large,
html[data-theme="dark"] caption {
    background: #24372e;
}

/* Keep the journey section dark */
html[data-theme="dark"] .journey {
    background: #0a1513;
    color: #ffffff;
}

html[data-theme="dark"] .journey p {
    color: #c8d5ce;
}

/* Primary buttons */
html[data-theme="dark"] .button:not(.gold) {
    background: #347a5c;
    color: #ffffff;
}

html[data-theme="dark"] .button:not(.gold):hover {
    background: #40936f;
}

/* Gold buttons */
html[data-theme="dark"] .button.gold {
    background: #f3c955;
    color: #142f32;
}

/* Subject and teacher icons */
html[data-theme="dark"] .initials,
html[data-theme="dark"] .note-icon {
    background: #30473a;
    color: #8ac9a8;
}

html[data-theme="dark"] .teacher-card:nth-child(2n) .initials {
    background: #3b3423;
    color: #f0d990;
}

/* Teacher badges */
html[data-theme="dark"] .pill {
    background: #233b4d;
    color: #b9d8f4;
}

/* Teacher details */
html[data-theme="dark"] .teacher-card dl div {
    border-bottom-color: #344741;
}

/* Notices */
html[data-theme="dark"] .demo-notice {
    background: #3b3423;
    color: #f0d990;
}

/* Table */
html[data-theme="dark"] thead {
    background: #263b34;
    color: #ffffff;
}

html[data-theme="dark"] tbody tr:nth-child(even) {
    background: #1a2a25;
}

/* Navigation hover */
html[data-theme="dark"] .subject-nav a:hover {
    background: #24372e;
}

/* Decorative elements */
html[data-theme="dark"] .orbit {
    border-color: #557164;
}

html[data-theme="dark"] .skip {
    background: #1b2c28;
}

/* Light and dark mode toggle button */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    transition: background-color .2s, transform .2s;
}

.theme-toggle:hover {
    background: var(--line);
    transform: scale(1.07);
}

.theme-toggle:focus-visible {
    outline: 3px solid #187ac2;
    outline-offset: 3px;
}

/* Smooth theme switching */
body {
    transition: background-color .3s, color .3s;
}

/* Preserve readable text on the contact section */
html[data-theme="dark"] .contact {
    color: #e8f0ec;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    body,
    .theme-toggle {
        transition: none;
    }
}
