/* WolfOS Academy — shared style kit. Every page links this one file. */
:root {
  --navy-900: #060d1c;
  --navy-800: #0a1528;
  --navy-700: #0f1d36;
  --navy-600: #172846;
  --gold-500: #e2a63b;
  --gold-400: #f0bd5c;
  --gold-300: #f6d48f;
  --ink: #eef1f6;
  --ink-soft: #c3cad8;
  --ink-mute: #8f9ab0;
  --line: rgba(226, 166, 59, 0.45);
  --line-soft: rgba(226, 166, 59, 0.22);
  --radius: 10px;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --caps: "Cinzel", "Georgia", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--navy-900);
  background-image: radial-gradient(ellipse at top, #12234a 0%, var(--navy-900) 60%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-300); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Locked header ---------- */
.site-header { border-bottom: 1px solid var(--line-soft); background: rgba(6, 13, 28, 0.85); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.brand-name span { color: var(--gold-500); }
.brand-sub { font-family: var(--caps); font-size: 11px; letter-spacing: 0.42em; color: var(--ink-soft); margin-top: 3px; }
.tagline { border-left: 1px solid var(--line); padding-left: 16px; font-family: var(--caps); font-size: 12px; letter-spacing: 0.12em; color: var(--gold-500); line-height: 1.35; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-family: var(--caps); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-soft); padding: 14px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold-500); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--gold-400); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; }
.display { font-family: var(--serif); font-size: clamp(40px, 6vw, 68px); line-height: 1.02; }
.display .gold { color: var(--gold-500); }
.kicker { font-family: var(--caps); letter-spacing: 0.22em; font-size: 14px; color: var(--ink-soft); }
.section-title { font-family: var(--caps); font-size: 16px; letter-spacing: 0.16em; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.section-title svg { color: var(--gold-500); }

/* ---------- Buttons: solid = the one main action, outline = everything else ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--caps); font-size: 14px; letter-spacing: 0.12em; padding: 12px 22px; border-radius: 6px; border: 1px solid var(--gold-500); cursor: pointer; }
.btn-solid { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); }
.btn-solid:hover { color: var(--navy-900); filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--gold-400); }
.btn-outline:hover { background: rgba(226, 166, 59, 0.1); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }

/* ---------- Cards ---------- */
.card { background: linear-gradient(180deg, rgba(23, 40, 70, 0.75), rgba(10, 21, 40, 0.9)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- Locked footer ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line-soft); background: var(--navy-900); position: relative; overflow: hidden; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr 1fr; align-items: start; gap: 28px; padding-top: 32px; padding-bottom: 28px; position: relative; z-index: 1; }
.site-footer h4 { font-family: var(--caps); font-size: 12px; letter-spacing: 0.18em; color: var(--ink); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; }
.site-footer ul a { color: var(--ink-soft); }
.footer-tag { font-family: var(--caps); font-size: 12px; letter-spacing: 0.12em; color: var(--gold-500); margin-top: 10px; }
.copyright { font-size: 12px; color: var(--ink-mute); margin-top: 12px; }
.contact-box { display: inline-block; margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font-size: 14px; }
.skyline-col { display: flex; align-items: center; justify-content: flex-end; align-self: center; }
.skyline { display: block; width: 100%; max-width: 280px; height: auto; opacity: 0.75; mix-blend-mode: screen; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 75%, transparent 100%); }

@media (max-width: 760px) {
  .tagline { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .skyline-col { justify-content: center; } .skyline { max-width: 240px; }
}

/* ---------- Header: brand, main navigation, language ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.head-row { gap: 22px; }
.brand { flex: none; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.main-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 12px 8px; border-bottom: 2px solid transparent; color: var(--ink-soft); font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .15s, border-color .15s; }
.main-nav .ic { width: 24px; height: 24px; }
.main-nav a:hover { color: var(--gold-300); }
.main-nav a[aria-current="page"] { color: var(--gold-400); border-bottom-color: var(--gold-500); }
.lang { position: relative; flex: none; }
.lang-btn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(6, 13, 28, 0.6); color: var(--gold-300); font: 500 14px var(--sans); cursor: pointer; }
.lang-btn:hover { border-color: var(--gold-500); background: rgba(226, 166, 59, 0.1); }
.lang-btn .ic { width: 20px; height: 20px; }
.lang-btn .ic:last-child { width: 14px; height: 14px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 190px; max-height: 70vh; overflow: auto; background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 8px 12px; border: 0; border-radius: 5px; background: none; color: var(--ink); font: 15px var(--sans); cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(226, 166, 59, 0.14); color: var(--gold-300); outline: none; }
.lang-menu button[aria-current="true"] { color: var(--gold-400); font-weight: 600; }
/* hide Google Translate's own bar and tooltips */
body { top: 0 !important; }
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
font[style*="background-color"] { background: none !important; box-shadow: none !important; }

/* ---------- Icons: one set, one look ---------- */
.ic { display: block; width: 24px; height: 24px; flex: none; overflow: visible; }
.medal { position: relative; display: grid; place-items: center; width: var(--medal, 60px); height: var(--medal, 60px); flex: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #1f3560, #0a1528 72%);
  box-shadow: inset 0 0 0 1.5px var(--gold-500), inset 0 0 0 5px #0a1528, inset 0 0 0 6px rgba(226, 166, 59, 0.55), 0 6px 16px rgba(0, 0, 0, 0.45); }
.medal .ic { width: calc(var(--medal, 60px) * 0.52); height: calc(var(--medal, 60px) * 0.52); }
.medal::after { content: ""; position: absolute; top: -3px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; background: var(--gold-400); transform: rotate(45deg); box-shadow: 0 0 0 2px #0a1528; }

@media (max-width: 1180px) {
  .main-nav a { padding: 6px 8px 8px; font-size: 12px; }
}
@media (max-width: 980px) {
  .head-row { flex-wrap: wrap; row-gap: 8px; }
  .lang { margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  .main-nav ul { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .lang-label { display: none; }
  .brand-name { font-size: 24px; }
}

/* Gold emblem medallions (courses and history skills) */
.emb { display: block; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55)); }

/* Glossy gold emblems (from Mr. Wolfinger's artwork): <i class="gem" style="--g:N"></i>
   0 World Studies, 1 U.S. History, 2 Civics, 3 Electives, 4 Ask Questions, 5 Analyze Sources,
   6 Contextualize, 7 Corroborate, 8 Construct Arguments, 9 Communicate */
.gem { display: block; flex: none; width: var(--s, 80px); height: var(--s, 80px); background: url("https://static.wixstatic.com/media/c805c5_00e5720c32654f6e9de9444c84eea26e~mv2.webp") no-repeat; background-size: calc(var(--s, 80px) * 10) var(--s, 80px); background-position: calc(var(--g, 0) * var(--s, 80px) * -1) 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)); }

/* Header fits Teacher / Co-Teacher links */
@media (min-width: 981px) { .main-nav a { padding: 6px 7px 8px; } }
