/* ========================================================
   TECHNOLOGY FOR LIFE
   CLASSES PAGE STYLESHEET
   Every page has its own stylesheet.
   ======================================================== */

:root {
    --navy: #17324d;
    --navy-deep: #10263a;
    --blue: #315d7d;
    --gold: #c49a55;
    --cream: #f7f3eb;
    --warm-white: #fffdf9;
    --ink: #26313a;
    --muted: #66727c;
    --line: #d9d5cc;
    --white: #ffffff;
    --shadow: 0 12px 35px rgba(16, 38, 58, 0.10);
    --radius: 14px;
    --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--warm-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(92%, var(--max-width)); margin: 0 auto; }

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; min-width: max-content; }
.brand-name {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
}
.brand-tagline {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 20px;
}
.site-nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

.page-hero {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue));
    color: var(--white);
    padding: clamp(75px, 11vw, 125px) 0;
}
.page-hero-content { max-width: 900px; }
.eyebrow,
.section-label {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.eyebrow { color: #f0d39a; }
.page-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}
.page-hero p:last-child {
    max-width: 780px;
    margin: 0;
    color: #eef2f5;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-label { color: var(--blue); }
.section h2 {
    margin: 0 0 20px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}
.section p { margin-top: 0; }
.section-heading { max-width: 780px; margin-bottom: 42px; }

.essentials { background: var(--warm-white); }
.essentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.essential-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.icon-number {
    display: block;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.essential-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}
.essential-card p { margin: 0; color: var(--muted); }

.evening { background: var(--cream); }
.evening-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 90px);
}
.evening-copy { color: var(--muted); }
.evening-copy p + p { margin-top: 20px; }

.class-flow { background: var(--white); }
.flow-list {
    max-width: 900px;
    border-top: 1px solid var(--line);
}
.flow-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.flow-time {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 700;
}
.flow-item h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}
.flow-item p { margin: 0; color: var(--muted); }

.bring { background: var(--cream); }
.bring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 90px);
    align-items: start;
}
.bring-box {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: clamp(30px, 5vw, 50px);
    box-shadow: var(--shadow);
}
.bring-box .section-label { color: #f0d39a; }
.bring-box h2 { color: var(--white); }
.bring-box p:last-child { margin-bottom: 0; color: #e3e9ed; }
.check-list { border-top: 1px solid var(--line); }
.check-list div {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.check-list strong { color: var(--navy); }
.check-list span { color: var(--muted); }

.encouragement { background: var(--warm-white); }
.encouragement-inner { text-align: center; max-width: 820px; }
.encouragement-inner h2 { margin-left: auto; margin-right: auto; }
.encouragement-inner > p:not(.section-label) { color: var(--muted); }
.button {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}
.button:hover { background: var(--blue); }

.site-footer { background: var(--navy-deep); color: var(--white); padding: 42px 0; }
.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}
.footer-inner strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.footer-inner p { margin: 4px 0 0; color: #c9d2d9; font-size: 0.9rem; }

@media (max-width: 1050px) {
    .essentials-grid { grid-template-columns: repeat(2, 1fr); }
    .evening-grid,
    .bring-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        padding: 18px 0;
        flex-direction: column;
    }
    .site-nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    .site-nav { gap: 4px 14px; }
    .site-nav a { font-size: 0.82rem; }
    .page-hero { padding: 65px 0 75px; }
    .essentials-grid { grid-template-columns: 1fr; }
    .essential-card { padding: 24px; }
    .flow-item { grid-template-columns: 50px 1fr; gap: 15px; }
    .check-list div { grid-template-columns: 1fr; gap: 3px; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}

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