/* PVHS Digital Media shared stylesheet
   Midtone "dusk slate" hybrid: between dark and light mode, same framework.
   Built on the Light Writerz (lightwriterz.org) framework:
   dark base, PVHS teal #007474 glow, Oswald headings, Inter body,
   logo row, sticky teal nav that docks, full-bleed hero, quick tiles, feature bands. */

:root {
  --teal: #007474;
  --teal-dark: #005656;
  --teal-light-accent: #80e0e0;
  --gold: #f5b301;
  --black: #344141;
  --ink: #f2f6f6;
  --gray: #b9c8c8;
  --line: rgba(255,255,255,0.12);
  --paper: #435151;
  --surface: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.045) 100%);
  --surface-border: rgba(255,255,255,0.14);
  --glow: 0 16px 40px rgba(0,0,0,0.22);
  --max: 1200px;
  --font-head: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(0,116,116,0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(0,116,116,0.12), transparent 60%),
    radial-gradient(900px 700px at 110% 90%, rgba(128,224,224,0.07), transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-light-accent); }
a:hover { color: #fff; }
a, button { -webkit-tap-highlight-color: rgba(128,224,224,0.15); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Logo row ---------- */
.masthead { background: linear-gradient(180deg, #374545 0%, #3d4c4c 100%); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #fff; }
.brand .mark { height: 80px; width: auto; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-sub { font-size: 13px; color: var(--gray); margin-top: 6px; letter-spacing: 0.03em; }
.masthead .cta { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Main nav (teal bar, docks on scroll) ---------- */
.mainnav { background: linear-gradient(180deg, #008080 0%, #006565 100%); position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.mainnav .wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.mainnav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.mainnav a {
  display: block; padding: 15px 22px; color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.mainnav a:hover { background: var(--teal-dark); color: #fff; }
.mainnav a[aria-current="page"] { border-bottom-color: #fff; }
.navtoggle { display: none; }
.dock-logo { position: absolute; left: 24px; top: 50%; display: block; width: 40px; height: 40px; opacity: 0; pointer-events: none;
  transform: translate(-10px, -50%) scale(0.8); transition: opacity 0.25s ease, transform 0.25s ease; }
.dock-logo img { height: 40px; width: auto; display: block; margin: 0 auto; }
.mainnav a.dock-logo, .mainnav a.dock-logo:hover { padding: 0; border: 0; background: none; }
.mainnav.docked .dock-logo { opacity: 1; pointer-events: auto; transform: translate(0, -50%) scale(1); }
[id] { scroll-margin-top: 76px; }

@media (min-width: 761px) {
  .mainnav::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
    background: linear-gradient(180deg, #3f4d4d 0%, #333f3f 100%); box-shadow: inset 0 -2px 0 #007474; }
  .mainnav.docked::before { opacity: 1; }
  .mainnav > .wrap { z-index: 1; }
  .mainnav.docked a:hover { background: rgba(0,116,116,0.35); }
  .mainnav.docked a[aria-current="page"] { border-bottom-color: var(--teal-light-accent); }
}
@media (min-width: 761px) and (max-width: 1060px) { .mainnav a { padding: 15px 14px; font-size: 15px; } }
@media (min-width: 761px) and (max-width: 900px) { .mainnav a { padding: 15px 9px; font-size: 14px; letter-spacing: 0.05em; } .mainnav a.dock-logo { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 6px; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 16px; padding: 13px 26px; border: 2px solid var(--teal); background: var(--teal); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--black); }
.btn.dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.28); color: #fff; }
.btn.dark:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.teal .btn.dark { background: #2f3b3b; border-color: #2f3b3b; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--black) center / cover no-repeat; min-height: 620px; display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.42) 45%, #435151 100%); }
.hero .wrap { position: relative; width: 100%; padding-bottom: 150px; }
.hero h1 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 0.98; font-size: clamp(44px, 8vw, 104px); letter-spacing: 0.01em; }
.hero h1 .accent { color: var(--teal-light-accent); }
.hero p { font-size: clamp(17px, 2vw, 21px); max-width: 660px; margin-top: 18px; color: #eaeaea; }
.hero .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero h1, .hero .eyebrow, .hero p { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero.page { min-height: 400px; }
.hero.page .wrap { padding-bottom: 56px; }
.hero.page h1 { font-size: clamp(40px, 6vw, 76px); }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; color: var(--teal-light-accent); margin-bottom: 10px; }

.hero-home { background-image: url("../images/hero-home.jpg"); background-position: center 40%; }
.hero-photo { background-image: url("../images/hero-photo.jpg"); background-position: center 45%; }
.hero-arts { background-image: url("../images/hero-arts.jpg"); background-position: center 30%; }
.hero-teachers { background:
  radial-gradient(900px 420px at 80% 10%, rgba(0,116,116,0.45), transparent 65%),
  radial-gradient(700px 400px at 0% 100%, rgba(128,224,224,0.12), transparent 65%), #364343; }

/* ---------- Quick tiles (overlap hero) ---------- */
.tiles { position: relative; z-index: 2; margin-top: -90px; }
.tiles ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.tiles a {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: 26px 24px; height: 100%;
  background: linear-gradient(160deg, #50605f 0%, #445352 100%); color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,0.06); transition: background 0.2s;
}
.tiles li:nth-child(2) a { background: linear-gradient(160deg, #536363 0%, #475656 100%); }
.tiles li:nth-child(3) a { background: linear-gradient(160deg, #566a6a 0%, #4a5b5b 100%); }
.tiles li:nth-child(4) a { background: linear-gradient(160deg, #008080 0%, #005252 100%); }
.tiles a:hover, .tiles li:nth-child(n) a:hover { background: linear-gradient(160deg, #009090 0%, #005c5c 100%); }
.tiles .num { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.16em; color: var(--teal-light-accent); }
.tiles li:nth-child(4) .num { color: #d7f1f1; }
.tiles h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 26px; letter-spacing: 0.04em; line-height: 1.1; }
.tiles span.more { font-size: 14px; color: #cfcfcf; }
.tiles span.more::after { content: "\00a0\2192"; }

/* ---------- Sections ---------- */
section.band { padding: 96px 0; }
section.band.tight { padding: 64px 0; }
section.band.gray { background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,116,116,0.12) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.dark { background: radial-gradient(900px 500px at 20% 0%, rgba(0,116,116,0.18), transparent 65%), #364343; color: #eee; }
section.band.teal { background: radial-gradient(800px 300px at 50% 0%, rgba(128,224,224,0.25), transparent 70%), linear-gradient(180deg, #007a7a 0%, #004f4f 100%); color: #fff; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 14px; position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 84px; height: 3px; background: var(--teal-light-accent); }
.dark .section-head, .teal .section-head { border-bottom-color: #fff; }
.section-head h2, h2.title { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); letter-spacing: 0.03em; line-height: 1.05; }
.section-head .sub { color: var(--gray); font-size: 15px; }
.dark .section-head .sub, .teal .section-head .sub { color: #cfe; }
h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.lead { font-size: 20px; line-height: 1.6; }
p + p { margin-top: 1em; }
.muted { color: #d6e0e0; }
.note { font-size: 14px; color: var(--gray); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo-fig img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06); }
.photo-fig figcaption { font-size: 14px; color: var(--gray); margin-top: 12px; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 24px; }
.stats .n { font-family: var(--font-head); font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--gold); }
.stats .l { text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; margin-top: 10px; color: #d6f0f0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--surface-border); border-top: 4px solid var(--teal); padding: 28px; border-radius: 6px; box-shadow: var(--glow); }
.card.gold-top { border-top-color: var(--gold); }
.card .kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--teal-light-accent); margin-bottom: 8px; }
.card.gold-top .kicker { color: var(--gold); }
.card p { color: #d6e0e0; font-size: 16px; }
.card .btn { margin-top: 22px; }

/* Program cards (home) */
.program { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.program .cover { aspect-ratio: 16 / 9; background: #344141 center / cover no-repeat; }
.program .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.program .body .btn { margin-top: auto; align-self: flex-start; }
.program .body p:last-of-type { margin-bottom: 22px; }
.program .courses { list-style: none; margin: 4px 0 18px; }
.program .courses li { padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px; color: #fff; }
.program .courses li span { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--gray); margin-left: 8px; }

/* Numbered steps (the shared rhythm) */
.principles { counter-reset: p; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.principles li { counter-increment: p; padding: 22px 0 22px 64px; position: relative; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--font-head); font-size: 34px; color: var(--teal-light-accent); line-height: 1; }
.principles strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 19px; font-weight: 600; color: #fff; }
.principles span { color: #d6e0e0; font-size: 16px; }

.checklist { list-style: none; columns: 2; column-gap: 32px; margin-top: 16px; }
.checklist li { padding: 8px 0 8px 30px; position: relative; break-inside: avoid; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-light-accent); font-weight: 700; }
.checklist.one { columns: 1; }

/* Course blocks */
.course { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.course + .course { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.course-side { position: sticky; top: 90px; }
.course-level { display: inline-block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: #111; background: var(--gold); padding: 5px 12px; margin-bottom: 14px; }
.course-level.entry { background: var(--teal-light-accent); }
.course-side h2 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(36px, 4.4vw, 54px); line-height: 1; letter-spacing: 0.02em; }
.course-side .identity { margin-top: 18px; font-size: 18px; color: #dfe8e8; }
.facts { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .k { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; color: var(--teal-light-accent); margin-bottom: 2px; }
.facts .v { font-size: 15.5px; color: #d6e0e0; }
.course-main h3 { margin-top: 44px; }
.course-main h3:first-child { margin-top: 0; }
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 16px; }
.unit { background: var(--surface); border: 1px solid var(--surface-border); border-left: 4px solid var(--teal-light-accent); border-radius: 6px; padding: 20px 22px; }
.unit strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.unit span { font-size: 15px; color: #d6e0e0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tags li { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; padding: 8px 15px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); color: #dfe8e8; border-radius: 999px; }
.callout { margin-top: 32px; background: radial-gradient(500px 260px at 100% 0%, rgba(0,116,116,0.32), transparent 70%), #344141; border: 1px solid var(--surface-border); border-radius: 8px; padding: 26px 28px; }
.callout .k { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--gold); margin-bottom: 6px; }
.callout p { color: #dfe8e8; }

/* Student work strip */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work.five { grid-template-columns: repeat(5, 1fr); }
.work figure { background: #3a4747; border-radius: 6px; overflow: hidden; box-shadow: var(--glow); }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work.tall img { aspect-ratio: 4 / 5; }
.work.five img { aspect-ratio: 1236 / 1600; }
.work figcaption { padding: 10px 14px 12px; font-size: 14px; color: #d6e0e0; }
.work figcaption b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; font-size: 16px; color: #fff; }

/* Teachers */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 8px; overflow: hidden; box-shadow: var(--glow); display: flex; flex-direction: column; }
.person .ph { aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 40%, #2f5a5a 0%, #3a4848 75%); display: flex; align-items: center; justify-content: center; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .ph .initials { font-family: var(--font-head); font-weight: 600; font-size: 72px; letter-spacing: 0.04em; color: rgba(128,224,224,0.5); }
.person .body { padding: 22px 24px 26px; }
.person .role { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--teal-light-accent); }
.person h3 { font-size: 28px; margin: 4px 0 12px; }
.person p { font-size: 15.5px; color: #d6e0e0; }
.person .person-link { margin-top: 16px; }
.person .person-link a { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; text-decoration: none;
  color: var(--teal-light-accent); border-bottom: 1px solid rgba(128,224,224,0.4); padding-bottom: 2px; }
.person .person-link a:hover { color: #fff; border-bottom-color: #fff; }
.team-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-mini .card { display: flex; align-items: center; gap: 20px; }
.team-mini .head { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(128,224,224,0.55), 0 0 0 6px rgba(0,116,116,0.18), 0 10px 24px rgba(0,0,0,0.5); }
.team-mini .head.empty { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 35%, #2f5a5a, #3a4848);
  font-family: var(--font-head); font-size: 28px; color: rgba(128,224,224,0.7); }
.team-mini h3 { font-size: 22px; margin-bottom: 2px; }
.team-mini p { font-size: 14.5px; }

/* Pull quote */
blockquote.pull { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; letter-spacing: 0.01em; border-left: 8px solid var(--teal); padding-left: 28px; }
blockquote.pull .accent { color: var(--teal-light-accent); }
blockquote.pull cite { display: block; font-family: var(--font-body); text-transform: none; font-style: normal; font-size: 16px; letter-spacing: 0; margin-top: 16px; color: #aaa; }

/* ---------- Footer ---------- */
footer.site { background: radial-gradient(900px 400px at 80% 0%, rgba(0,116,116,0.16), transparent 70%), #2f3b3b; border-top: 1px solid var(--line); color: #cdd8d8; padding: 70px 0 30px; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer.site .foot-mark { height: 96px; width: auto; margin-bottom: 16px; display: block; }
footer.site h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 500; }
footer.site ul { list-style: none; }
footer.site li { padding: 4px 0; }
footer.site a { color: #cdd8d8; text-decoration: none; }
footer.site a:hover { color: var(--teal-light-accent); }
footer.site .motto { font-family: var(--font-head); text-transform: uppercase; color: #fff; font-size: 20px; line-height: 1.2; letter-spacing: 0.03em; margin-bottom: 10px; }
footer.site .motto span { color: var(--teal-light-accent); }
footer.site .legal { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #a9b8b8; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tiles ul { grid-template-columns: repeat(2, 1fr); }
  .cards, .people, .team-mini { grid-template-columns: 1fr 1fr; }
  .course { grid-template-columns: 1fr; gap: 32px; }
  .course-side { position: static; }
  .work.five { grid-template-columns: repeat(3, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Phones (iPhone first) ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; background-attachment: scroll; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  h1, h2, h3 { overflow-wrap: anywhere; }
  [id] { scroll-margin-top: 86px; }

  /* One dark sticky row: mark left, name centered, hamburger right. Teal bar becomes a 10px line. */
  .masthead { position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top); border-bottom: 0; }
  .masthead .wrap { position: relative; display: block; min-height: 64px; }
  .masthead .cta { display: none; }
  .brand { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 64px; gap: 0; }
  .brand .mark { height: 44px; width: auto; justify-self: start; }
  .brand > div { text-align: center; }
  .brand-name { font-size: 22px; letter-spacing: 0.04em; }
  .brand-sub { font-size: 11px; margin-top: 3px; }

  .mainnav { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 59; box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    background: linear-gradient(90deg, #005f5f 0%, #009090 50%, #005f5f 100%); }
  .mainnav .wrap { min-height: 10px; }
  .dock-logo { display: none; }
  .navtoggle {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; right: max(4px, calc(env(safe-area-inset-right) - 12px)); transform: translateY(-50%);
    width: 48px; height: 48px; padding: 0; cursor: pointer; background: none; border: 0; color: #fff;
  }
  .navtoggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .navtoggle .bars, .navtoggle .bars::before, .navtoggle .bars::after { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 0.2s ease, background 0.2s ease; }
  .navtoggle .bars::before, .navtoggle .bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle .bars::before { top: -7px; }
  .navtoggle .bars::after { top: 7px; }
  .navtoggle[aria-expanded="true"] .bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .mainnav ul { display: none; }
  .mainnav.open ul {
    display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start;
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 74px); z-index: 55; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px max(16px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: radial-gradient(600px 400px at 100% 0%, rgba(0,116,116,0.3), transparent 70%), #3a4848;
  }
  .mainnav a { font-size: 25px; letter-spacing: 0.05em; padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mainnav a:hover { background: none; }
  .mainnav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.08); color: var(--teal-light-accent); }
  html.menu-open { overflow: hidden; }

  .hero { min-height: 540px; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 55%, #435151 100%); }
  .hero h1 { font-size: clamp(36px, 11.2vw, 56px); }
  .hero .wrap { padding-bottom: 104px; }
  .hero.page { min-height: 280px; }
  .hero.page h1 { font-size: clamp(32px, 10vw, 48px); }
  .hero.page .wrap { padding-bottom: 30px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 0.16em; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { text-align: center; padding: 15px 20px; }
  .btn { min-height: 44px; }
  .band .btn { display: block; width: 100%; text-align: center; padding: 15px 20px; }
  .hero-home { background-image: url("../images/hero-home-m.jpg"); background-position: 55% 40%; }
  .hero-photo { background-image: url("../images/hero-photo-m.jpg"); }
  .hero-arts { background-image: url("../images/hero-arts-m.jpg"); }

  .tiles { margin-top: -64px; }
  .tiles ul { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
  .tiles li { display: flex; min-width: 0; }
  .tiles a { flex: 1; min-width: 0; min-height: 148px; padding: 18px 14px 16px; justify-content: flex-start; gap: 6px; border-right: 0; }
  .tiles li:nth-child(odd) a { border-right: 1px solid rgba(255,255,255,0.06); }
  .tiles li:nth-child(-n+2) a { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .tiles .num { font-size: 12px; }
  .tiles h2 { font-size: clamp(16px, 5.1vw, 22px); letter-spacing: 0.02em; line-height: 1.08; }
  .tiles span.more { margin-top: auto; font-size: 13px; line-height: 1.3; }

  section.band { padding: 56px 0; }
  section.band.tight { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head h2, h2.title { font-size: clamp(26px, 8vw, 34px); }
  .lead { font-size: 18px; }
  .split, .principles, .cards, .cards.two, .people, .team-mini, .units { grid-template-columns: 1fr; gap: 24px; }
  .split { gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .principles { gap: 0; }
  .principles li { padding-left: 54px; }
  .checklist { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .stats .n { font-size: clamp(40px, 13vw, 56px); }
  .stats .l { font-size: 12px; letter-spacing: 0.08em; }
  .card { padding: 22px 18px; }
  .program { padding: 0; }
  .program .body { padding: 22px 18px; }
  .program .courses li span { display: block; margin: 2px 0 0; }
  .course + .course { margin-top: 56px; padding-top: 56px; }
  .work, .work.five { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work figcaption { padding: 8px 10px 10px; font-size: 13px; }
  .work figcaption b { font-size: 14px; }
  .person .ph { aspect-ratio: 1 / 1; }
  .person .ph img { object-position: 50% 22%; }
  .team-mini .head { width: 72px; height: 72px; }
  blockquote.pull { font-size: clamp(26px, 8.2vw, 36px); padding-left: 18px; border-left-width: 6px; }

  footer.site { padding: 52px 0 calc(24px + env(safe-area-inset-bottom)); }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  footer.site .cols > div:first-child, footer.site .cols > div:last-child { grid-column: 1 / -1; }
  footer.site .foot-mark { height: 72px; width: auto; }
  footer.site .legal { margin-top: 34px; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}

/* Stats: word values (a-g "F", SkillsUSA) scale down to sit level with numbers */
.stats.four .n.word { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.65; white-space: nowrap; }

/* SkillsUSA band */
section.band.skills { background: radial-gradient(800px 420px at 100% 0%, rgba(245,179,1,0.10), transparent 65%); }
.cards.status { grid-template-columns: 1fr; gap: 20px; }
.callout.skills-callout { border-left: 4px solid var(--gold); }
.callout.skills-callout a { color: var(--gold); }

@media (max-width: 760px) {
  .stats.four .n.word { font-size: clamp(26px, 8.4vw, 36px); line-height: 1.55; }
}

/* a-g "F" band */
section.band.ag { background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(245,179,1,0.06) 100%); border-top: 1px solid var(--line); }
.ag .split { grid-template-columns: 380px 1fr; }
.ag-badge { aspect-ratio: 1; max-width: 380px; width: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(245,179,1,0.20), transparent 60%), radial-gradient(circle at 50% 50%, #3a4848, #2f3b3b);
  box-shadow: 0 0 0 2px rgba(245,179,1,0.65), 0 0 0 14px rgba(245,179,1,0.08), var(--glow); }
.ag-top, .ag-bot { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.16em; font-size: 15px; color: #e8eded; }
.ag-letter { font-family: var(--font-head); font-weight: 700; font-size: 170px; line-height: 1; color: var(--gold); margin: 4px 0 6px; }
.person .exp, .exp-mini { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.person .exp { font-size: 13.5px; margin: -6px 0 12px; }
.exp-mini { font-size: 12px; }
@media (max-width: 1000px) { .ag .split { grid-template-columns: 1fr; } .ag-badge { max-width: 280px; margin: 0 auto; } }
@media (max-width: 760px) { .ag-badge { max-width: 230px; padding: 0 30px; } .ag-letter { font-size: 104px; } .ag-top, .ag-bot { font-size: 11px; letter-spacing: 0.1em; line-height: 1.35; } }
