/* Bay Area Homeschool Academy
   Palette: bay water, marsh grass, school-bus sun, cool paper. */
:root {
  --bay: #1f3f57;      /* deep shade of the logo blue: headings, buttons, hero */
  --bay-2: #35698c;
  --tide: #4c80a2;     /* logo laurel blue */
  --char: #333333;     /* logo shield charcoal */
  --marsh: #5d7a4a;
  --marsh-soft: #e5ecdc;
  --sun: #f2b630;
  --sun-soft: #fdf1d2;
  --paper: #f5f8f8;
  --card: #ffffff;
  --ink: #262b30;
  --ink-2: #4c5d64;
  --line: #d4dfe2;
  --red: #b3412f;
  --red-soft: #f8e3df;
  --radius: 10px;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--bay-2); text-underline-offset: 2px; }
a:hover { color: var(--bay); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--bay); margin: 1.4em 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-top: .2em; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.announce { background: var(--sun); color: var(--ink); text-align: center; padding: 8px 16px; font-weight: 700; font-size: .95rem; }
.site-head { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(31,63,87,.04); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--tide); text-decoration: none; margin-right: auto; padding-right: 16px; flex: none; }
.brand img { height: 50px; width: auto; }
.brand img.full { height: 54px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--bay); display: grid; place-items: center; font: 800 1.35rem/1 var(--display); }
.brand-name { font: 400 1.18rem/1.02 "Oswald", var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--tide); max-width: 12ch; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav > ul > li > a, .sub-btn { white-space: nowrap; color: var(--ink); text-decoration: none; background: none; border: 0; font: 700 .93rem var(--body); padding: 10px 8px; border-radius: 6px; cursor: pointer; display: block; }
.sub-btn::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.site-nav > ul > li > a:hover, .sub-btn:hover, .sub-btn[aria-expanded="true"] { background: var(--paper); color: var(--bay); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10,30,40,.18); list-style: none; padding: 8px; margin: 4px 0 0; }
.sub a { display: block; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 6px; }
.sub a:hover { background: var(--paper); color: var(--bay); }
.has-sub.open .sub { display: block; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; }
@media (max-width: 1060px) {
  .nav-toggle { display: block; background: var(--paper); color: var(--bay); border: 1px solid var(--line); padding: 10px 14px; border-radius: 6px; font: 700 1rem var(--body); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10,30,40,.12); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; max-height: calc(100vh - 68px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .sub { position: static; box-shadow: none; background: var(--paper); margin: 0 0 8px; }
  .nav-actions { flex-wrap: wrap; }
}

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .97rem var(--body); padding: 10px 18px; border-radius: 999px; border: 2px solid var(--bay); background: var(--bay); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--bay-2); border-color: var(--bay-2); color: #fff; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--bay); }
.btn-sun:hover { background: #e7a915; border-color: #e7a915; color: var(--bay); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; padding: 7px 12px; font-size: .9rem; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.btn-line { background: transparent; color: var(--bay); }
.site-head .btn-ghost { border-color: var(--line); color: var(--bay); }
.site-head .btn-ghost:hover { background: var(--paper); border-color: var(--bay); color: var(--bay); }
.btn-line:hover { background: var(--bay); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-danger:hover { background: #923222; border-color: #923222; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--bay-2); text-decoration: underline; cursor: pointer; font: inherit; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: var(--bay); font-size: .8rem; font-weight: 700; }

/* Flash */
.flashes { margin-top: 18px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 8px; border-left: 5px solid var(--marsh); background: var(--marsh-soft); }
.flash-error { border-color: var(--red); background: var(--red-soft); }
.flash-info { border-color: var(--sun); background: var(--sun-soft); }

/* Home */
.hero { background: var(--bay); color: #fff; padding: 56px 0 0; overflow: hidden; position: relative; }
.hero-mark { position: absolute; right: max(20px, calc((100vw - var(--wrap)) / 2)); top: 40px; width: 300px; opacity: .95; filter: drop-shadow(0 10px 30px rgba(0,0,0,.25)); }
@media (max-width: 980px) { .hero-mark { display: none; } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 14ch; margin: 0 0 16px; }
.hero p.lede { font-size: 1.2rem; max-width: 54ch; color: #dbe7ef; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 40px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 8px; }
.door { padding: 32px 28px 36px; color: var(--ink); text-decoration: none; display: block; position: relative; }
.door h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.door p { margin: 0 0 12px; max-width: 42ch; }
.door .go { font-weight: 700; color: var(--bay); text-decoration: underline; }
.door-k5 { background: var(--sun); border-radius: 18px 0 0 0; }
.door-612 { background: #fff; border-radius: 0 18px 0 0; }
.door:hover h2 { text-decoration: underline; }
@media (max-width: 720px) { .doors { grid-template-columns: 1fr; } .door-k5 { border-radius: 18px 18px 0 0; } .door-612 { border-radius: 0; } }
.closed-note { background: var(--card); border-left: 5px solid var(--sun); padding: 18px 22px; border-radius: var(--radius); margin: 32px 0; }
.home-body { padding: 24px 0 48px; }

/* Content pages */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 36px 0 24px; }
.page-head h1 { margin: 0; }
.page-head .crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: 6px; }
.page-head .crumbs a { color: var(--ink-2); }
.content { padding: 28px 0 56px; }
.prose { max-width: 74ch; }
.prose img { border-radius: var(--radius); margin: 12px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--sun); background: var(--card); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.grid2 > .card, .grid3 > .card { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Class catalog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 22px; }
.filters label { font-size: .85rem; font-weight: 700; display: block; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { padding: 6px 14px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 700; font-size: .92rem; }
.chip.on, .chip:hover { border-color: var(--bay); color: var(--bay); }
.chip.on { background: var(--bay); color: #fff; }
.subject-group h2 { border-bottom: 2px solid var(--bay); padding-bottom: 6px; }
.class-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.class-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.class-item a.title { font: 700 1.1rem var(--display); color: var(--bay); text-decoration: none; }
.class-item a.title:hover { text-decoration: underline; }
.class-meta { font-size: .9rem; color: var(--ink-2); }
.class-times { font-size: .88rem; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.time-tag { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.price { font-weight: 700; color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span:first-child { color: var(--ink-2); }
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.teacher-card { text-decoration: none; color: var(--ink); text-align: center; }
.teacher-card .ph { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--marsh-soft); display: grid; place-items: center; font: 800 2.4rem var(--display); color: var(--marsh); margin-bottom: 10px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.teacher-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card strong { display: block; font-family: var(--display); color: var(--bay); }
.teacher-card:hover strong { text-decoration: underline; }
.teacher-photo { width: 100%; max-width: 300px; border-radius: 16px; }

/* Forms */
.form { display: grid; gap: 16px; }
.field label, .lbl { display: block; font-weight: 700; margin-bottom: 4px; }
.field .help { font-size: .86rem; color: var(--ink-2); margin-top: 4px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid #b9c8cc; border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--bay); outline: 2px solid rgba(31,63,87,.15); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
input, select, textarea { min-width: 0; max-width: 100%; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.errors { background: var(--red-soft); border-left: 5px solid var(--red); padding: 12px 16px; border-radius: var(--radius); }
.errors ul { margin: 0; padding-left: 18px; }
.hp { position: absolute; left: -5000px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0; background: #fff; }
legend { font: 700 1.05rem var(--display); color: var(--bay); padding: 0 6px; }
.kid-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .8fr auto; gap: 10px; align-items: end; margin-bottom: 10px; }
@media (max-width: 720px) { .kid-row { grid-template-columns: 1fr 1fr; } }
.auth-box { max-width: 460px; margin: 40px auto; }

/* Portal */
.portal-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.portal-head h1 { margin: 0; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 52px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.steps li.done::before { content: "✓"; background: var(--marsh); color: #fff; }
.steps li.now { border-color: var(--bay); box-shadow: inset 4px 0 0 var(--sun); }
.steps li strong { display: block; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.status.ok, .status.paid, .status.approved, .status.cleared { background: var(--marsh-soft); border-color: #b9cba8; color: #34501f; }
.status.warn, .status.cart, .status.office, .status.processing, .status.applicant, .status.waitlist, .status.scheduled, .status.checkout, .status.pending { background: var(--sun-soft); border-color: #efd28a; color: #7a5600; }
.status.bad, .status.declined, .status.failed, .status.returned, .status.canceled, .status.dropped { background: var(--red-soft); border-color: #e7b4aa; color: var(--red); }
table.list { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
table.list th { text-align: left; background: #edf2f3; font-size: .82rem; color: var(--ink-2); padding: 9px 12px; }
table.list td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
table.list td.num, table.list th.num { text-align: right; white-space: nowrap; }
table.list tr.total td { font-weight: 700; background: #f7fafa; }
.table-wrap { overflow-x: auto; }
.countdown { font: 800 2rem var(--display); color: var(--bay); }

/* Weekly schedule grid — the heart of 6-12 registration */
.sched-wrap { overflow-x: auto; }
.sched { display: grid; gap: 6px; min-width: 640px; }
.sched .hd { font: 700 .95rem var(--display); color: var(--bay); padding: 6px 4px; }
.sched .blk { padding: 10px 6px; font-size: .86rem; color: var(--ink-2); border-top: 2px solid var(--line); }
.sched .blk strong { display: block; color: var(--ink); font-size: .95rem; }
.slot { min-height: 92px; border: 2px dashed #c3d1d5; border-radius: 10px; background: #fff; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.slot.empty { align-items: flex-start; justify-content: center; }
.slot .pick { background: none; border: 0; color: var(--bay-2); font: 700 .9rem var(--body); cursor: pointer; padding: 4px 0; text-align: left; }
.slot .pick:hover { text-decoration: underline; }
.slot .none { font-size: .82rem; color: #8a9aa0; }
.slot.has { border-style: solid; border-color: var(--bay); background: #eaf2f5; }
.slot.has.paid { border-color: var(--marsh); background: var(--marsh-soft); }
.slot .t { font-weight: 700; color: var(--bay); line-height: 1.25; }
.slot .m { font-size: .8rem; color: var(--ink-2); }
.slot .x { margin-top: auto; align-self: flex-start; font-size: .8rem; }
.slot.study { border: 2px solid var(--sun); background: repeating-linear-gradient(-45deg, var(--sun-soft), var(--sun-soft) 8px, #fff8e4 8px, #fff8e4 16px); }
.slot.study .t { color: #7a5600; }
.slot.nostudy { background: #f4f6f6; }
.picker { position: fixed; inset: 0; background: rgba(12,30,38,.45); display: none; align-items: flex-end; justify-content: center; z-index: 50; }
.picker.open { display: flex; }
.picker-panel { background: #fff; width: min(680px, 100%); max-height: 85vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 22px; }
@media (min-width: 700px) { .picker { align-items: center; } .picker-panel { border-radius: 18px; } }
.opt { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; }
.opt h4 { margin: 0; font-size: 1.05rem; }
.opt .meta { font-size: .88rem; color: var(--ink-2); }
.opt.full { background: #f7f7f7; }
.seats { font-size: .82rem; font-weight: 700; }
.seats.low { color: var(--red); }
.sticky-sum { position: sticky; top: 84px; }
.student-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.student-tabs a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; }
.student-tabs a.on { border-color: var(--bay); background: var(--bay); color: #fff; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); margin: 10px 0 0; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 2px solid var(--bay); background: #eaf2f5; }
.legend .l-paid::before { border-color: var(--marsh); background: var(--marsh-soft); }
.legend .l-study::before { border-color: var(--sun); background: var(--sun-soft); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 60; max-width: 90vw; }
.toast.err { background: var(--red); }

/* Master schedule */
.master td { font-size: .86rem; }
.master .cls { display: block; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.master .cls:last-child { border-bottom: 0; }

/* Footer */
.site-foot { background: #10222c; color: #c9d7dc; margin-top: 40px; padding: 40px 0 24px; font-size: .95rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.foot-grid p { margin: 0 0 4px; }
.foot-name { font: 700 1.15rem var(--display); color: #fff; }
.foot-h { font-weight: 700; color: #fff; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .85rem; }

/* Print: schedules and receipts */
@media print {
  .site-head, .site-foot, .announce, .no-print, .flashes { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .sched { min-width: 0; }
  .slot { min-height: 60px; }
  .print-break { break-after: page; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Registration status bar — the loudest thing on the page when registration is open */
.regbar { font-weight: 700; }
.regbar.is-open { background: var(--sun); color: var(--bay); }
.regbar.is-soon { background: var(--bay); color: #fff; }
.regbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 10px; padding-bottom: 10px; }
.regbar-item { display: inline-flex; align-items: center; gap: 8px; }
.regbar .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.regbar.is-open .dot { background: #2f7d32; box-shadow: 0 0 0 3px rgba(47,125,50,.25); }
.regbar .btn { margin-left: auto; }
.btn-dark { background: var(--bay); border-color: var(--bay); color: #fff; }
.btn-line-dark { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .regbar.is-open .dot { animation: regpulse 2s ease-out infinite; }
  @keyframes regpulse { 0% { box-shadow: 0 0 0 0 rgba(47,125,50,.45); } 70% { box-shadow: 0 0 0 9px rgba(47,125,50,0); } 100% { box-shadow: 0 0 0 0 rgba(47,125,50,0); } }
}
.viewas { background: #6b2f8a; color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; }
.viewas a { color: #fff; }

/* ---------- Homepage ---------- */
.hero2 { background: var(--bay); color: #fff; padding: 56px 0 120px; position: relative; overflow: hidden; }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--paper); clip-path: ellipse(75% 100% at 50% 100%); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero2 h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; margin: 0 0 18px; max-width: 13ch; }
.hero2 .lede { font-size: 1.18rem; color: #dbe7ef; max-width: 48ch; }
.hero2-place { color: #a9c3d3; font-size: .95rem; margin-top: 18px; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.hero2-art { position: relative; height: 430px; }
.hero2-art .ph { position: absolute; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(5,20,30,.35); }
.hero2-art .ph-a { width: 74%; height: 330px; right: 0; top: 0; transform: rotate(2deg); }
.hero2-art .ph-b { width: 52%; height: 230px; left: 0; bottom: 0; transform: rotate(-3deg); }
.hero2-art .crest { position: absolute; left: 34%; top: 38%; width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(5,20,30,.3); }
.hero2-art .crest img { width: 78px; }
@media (max-width: 900px) {
  .hero2 { padding-bottom: 90px; }
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-art { height: 300px; }
  .hero2-art .ph-a { height: 240px; }
  .hero2-art .ph-b { height: 170px; }
  .hero2-art .crest { width: 84px; height: 84px; } .hero2-art .crest img { width: 58px; }
}

.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -70px; position: relative; z-index: 2; }
.program { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(20,45,60,.12); display: flex; flex-direction: column; }
.program-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.program-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.program-body h2 { margin: 2px 0 8px; font-size: 1.7rem; }
.program-body p { margin: 0 0 12px; }
.grades { color: var(--tide); font-weight: 700; font-size: .92rem; }
.program-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.reg-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.reg-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.reg-open { background: #e3f1df; color: #2f6b22; }
.reg-soon { background: var(--sun-soft); color: #7a5600; }
.reg-closed { background: #edf1f2; color: var(--ink-2); }
@media (max-width: 760px) { .programs { grid-template-columns: 1fr; margin-top: -50px; } }

.news { margin-top: 40px; }
.news .prose { background: #fff; border-left: 5px solid var(--sun); border-radius: 12px; padding: 20px 24px; max-width: none; }

.join { margin-top: 56px; padding: 48px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.join h2 { margin-top: 0; }
.join-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: j; }
.join-steps li { counter-increment: j; position: relative; padding-top: 58px; }
.join-steps li::before { content: counter(j); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--tide); color: #fff; font: 800 1.3rem/44px var(--display); text-align: center; }
.join-steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -10px; border-top: 2px dashed #b9cdd8; }
.join-steps strong { display: block; font: 700 1.2rem var(--display); color: var(--bay); margin-bottom: 4px; }
.join-steps span { color: var(--ink-2); }
.join-note { margin: 26px 0 0; }
@media (max-width: 760px) { .join-steps { grid-template-columns: 1fr; } .join-steps li:not(:last-child)::after { display: none; } }

.beyond { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.tile { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.tile:hover { border-color: var(--tide); }
.tile img { width: 150px; height: 120px; object-fit: cover; border-radius: 10px; }
.tile strong { display: block; font: 700 1.2rem var(--display); color: var(--bay); margin-bottom: 4px; }
.tile:hover strong { text-decoration: underline; }
@media (max-width: 760px) { .beyond { grid-template-columns: 1fr; } .tile { grid-template-columns: 110px 1fr; } .tile img { width: 110px; height: 96px; } }

.belief { margin-top: 56px; background: var(--tide); color: #fff; padding: 56px 0; }
.belief blockquote { margin: 0 0 16px; font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1.35 var(--display); max-width: 34em; }
.belief a { color: #fff; font-weight: 700; }

.campus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 10px; }
.campus h3 { margin: 0 0 6px; }
.campus p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .campus { grid-template-columns: 1fr; } }

/* ---------- Fine Arts Friday ---------- */
.faf-head { display: flex; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; align-items: center; background: var(--bay); color: #fff; border-radius: 14px; padding: 22px 24px; margin: 18px 0 20px; }
.faf-head h3 { color: #fff; margin: 2px 0 6px; font-size: 1.4rem; }
.faf-head p { margin: 0; max-width: 62ch; color: #dfe9ef; }
.faf-head .eyebrow { color: var(--sun); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.faf-head .btn-line { color: #fff; border-color: rgba(255,255,255,.6); }
.faf-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.faf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.prose .faf-grid h4, .faf-grid h4 { margin: 0; font-size: 1.06rem; line-height: 1.3; }
.faf-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.faf-card.is-full { background: #f6f7f7; }
.faf-card.is-full .faf-price { background: #e7eaeb; color: var(--ink-2); }
.faf-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.faf-price { flex: none; background: var(--sun-soft); color: var(--bay); font-weight: 800; border-radius: 999px; padding: 2px 10px; font-size: .95rem; }
.prose .faf-meta, .faf-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: .88rem; color: var(--ink-2); }
.prose .faf-card p.seats, .faf-card .seats { margin: 0; }
.faf-card details { margin-top: auto; font-size: .93rem; }
.faf-card details summary { cursor: pointer; color: var(--bay-2); font-weight: 600; }
.faf-card details .prose { margin-top: 8px; }
.faf-add { display: flex; gap: 8px; }
.faf-add select { flex: 1; min-width: 0; }
.tile .reg-chip { display: flex; width: max-content; max-width: 100%; margin-top: 10px; font-style: normal; font-size: .84rem; padding: 4px 10px; }

/* Fine Arts Friday page */
.faf-hero { background: var(--bay); color: #fff; padding: 48px 0 76px; }
.faf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; }
.faf-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 4px 0 16px; }
.faf-hero .eyebrow { color: var(--sun); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; margin: 0; }
.faf-hero .lede { color: #dbe7ef; font-size: 1.1rem; max-width: 56ch; margin: 0 0 16px; }
.faf-session { display: flex; flex-direction: column; gap: 2px; margin: 0 0 22px; color: #c4d6e1; font-size: .95rem; border-left: 3px solid var(--sun); padding-left: 12px; }
.faf-session strong { color: #fff; font-size: 1.05rem; }
.faf-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.faf-jump { color: #fff; font-weight: 700; }
.faf-hero .faf-chip { margin: 0 0 14px; font-size: .85rem; padding: 4px 12px; }
.faf-hero .eyebrow { margin-bottom: 10px; }
.faf-hero-art img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.28); transform: rotate(1.5deg); background: var(--bay-2); }
.faf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: -40px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 26px rgba(31,63,87,.10); overflow: hidden; }
.faf-facts > div { padding: 16px 18px; font-weight: 700; color: var(--bay); line-height: 1.35; font-size: .97rem; border-left: 1px solid var(--line); margin-left: -1px; }
.faf-facts > div::before { content: ""; display: block; width: 22px; height: 4px; border-radius: 2px; background: var(--sun); margin-bottom: 10px; }
.faf-facts .small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.faf-classes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; }
.faf-classes-head h2 { margin: 0; }
.faf-links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.faf-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 14px; }
.faf-filter label { font-weight: 700; }
.faf-filter select { width: auto; min-width: 110px; }
.faf-card[hidden] { display: none; }
.faf-more { margin-top: 28px; }
@media (max-width: 820px) {
  .faf-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .faf-hero-art { order: -1; }
  .faf-hero-art img { transform: none; aspect-ratio: 16 / 9; }
  .faf-facts { margin-top: 16px; }
}
.faf-facts > div:first-child { border-left: 0; margin-left: 0; }
