* { box-sizing: border-box; }

:root {
  --bg: #07111f;
  --ink: #050a11;
  --navy: #0b1830;
  --card: rgba(255,255,255,0.075);
  --card-2: rgba(255,255,255,0.105);
  --border: rgba(255,255,255,0.14);
  --text: #f5f7fb;
  --muted: #bcc7d8;
  --gold: #d8b15f;
  --gold-soft: rgba(216,177,95,0.18);
  --teal: #79d4cf;
  --teal-soft: rgba(121,212,207,0.16);
  --plum: #7d6be8;
  --plum-soft: rgba(125,107,232,0.16);
  --shadow: rgba(0,0,0,0.36);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(121,212,207,0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(216,177,95,0.14), transparent 25%),
    radial-gradient(circle at 55% 72%, rgba(125,107,232,0.15), transparent 31%),
    linear-gradient(180deg, #07111f 0%, #0b1830 45%, #050a11 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; }
h1,h2,h3,p,ul { margin-top: 0; }

.hero {
  min-height: 94vh;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(7,17,31,0.97), rgba(7,17,31,0.80), rgba(7,17,31,0.22)),
    url("images/background.svg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -130px;
  bottom: -160px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216,177,95,0.16), transparent 55%),
    radial-gradient(circle, rgba(121,212,207,0.12), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.nav {
  width: min(1160px,100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text);
  transform: translateY(-1px);
}

.book-link, .nav-book {
  color: var(--gold) !important;
  border: 1px solid rgba(216,177,95,0.4);
  background: rgba(216,177,95,0.06);
}

.hero-copy, .hero-inner {
  width: min(1160px,100%);
  margin: auto;
  padding: 84px 0 108px;
  position: relative;
  z-index: 2;
}

.eyebrow, .section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 1;
  max-width: 820px;
  margin-bottom: 20px;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.035em;
}

h3 { font-size: 1.08rem; margin-bottom: 10px; }

.lede, .hero-copy .hero-text {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.hero-badges span {
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.formula-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.formula-strip span {
  min-width: 48px;
  height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: rgba(246,248,252,0.88);
  background:
    linear-gradient(135deg, rgba(121,212,207,0.16), rgba(216,177,95,0.12));
  border: 1px solid rgba(255,255,255,0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #e4c371, #c99b42);
  color: #07111f;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(216,177,95,0.25);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(216,177,95,0.30);
}

main {
  width: min(1160px,100%);
  margin: 0 auto;
  padding: 60px 24px;
}

.card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(24px,4vw,42px);
  box-shadow: 0 22px 70px var(--shadow);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(121,212,207,0.10), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(216,177,95,0.10), transparent 32%);
}

.card > * { position: relative; z-index: 1; }

.feature-card { border-color: rgba(121,212,207,0.22); }

.accent-card {
  background:
    linear-gradient(135deg, rgba(121,212,207,0.115), rgba(255,255,255,0.045)),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.pattern-card::after {
  content: "∫   Δ   π   sin θ   F = ma   ∇";
  position: absolute;
  right: -22px;
  bottom: 18px;
  color: rgba(255,255,255,0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8vw, 6rem);
  white-space: nowrap;
  pointer-events: none;
}

.warm-card { border-color: rgba(216,177,95,0.22); }

.rate-section {
  background:
    linear-gradient(135deg, rgba(216,177,95,0.13), rgba(255,255,255,0.045));
}

.payment-section {
  background:
    linear-gradient(135deg, rgba(125,107,232,0.16), rgba(255,255,255,0.045));
}

.booking-section {
  border-color: rgba(121,212,207,0.26);
  background:
    radial-gradient(circle at 20% 10%, rgba(121,212,207,0.13), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
}

.about-grid, .where-grid, .booking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.headshot-wrap, .headshot-card, .side-graphic, .side-image-wrap {
  position: relative;
}

.headshot-wrap::before, .headshot-card::before, .side-graphic::before, .side-image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(121,212,207,0.24), rgba(216,177,95,0.18), rgba(125,107,232,0.20));
  filter: blur(18px);
  opacity: 0.75;
}

.headshot-wrap img, .headshot-card img, .side-graphic img, .side-image-wrap img {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px var(--shadow);
  position: relative;
  z-index: 1;
}

.caption, .headshot-note {
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
}

.grid { display: grid; gap: 18px; margin-top: 22px; }
.two-col, .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col, .three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mini-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.subject { min-height: 260px; }
.subject ul, .subject-card ul { padding-left: 1.15rem; margin-bottom: 0; }

.icon, .subject-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px rgba(121,212,207,0.24);
}

.number {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold); font-weight: 800; margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(216,177,95,0.24);
}

.intro, .intro-text, .rates-note { color: var(--muted); }

.travel-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(216,177,95,0.10), rgba(255,255,255,0.055));
  border: 1px solid rgba(216,177,95,0.20);
}

.price, .payment-value {
  color: var(--gold);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}

.price.small { font-size: 1.8rem; }

.contact-block, .contact-info { margin-top: 22px; }
.contact-block a, .contact-info a { color: var(--teal); }

form {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.20);
}

label { display: grid; gap: 8px; font-weight: 700; }

input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.09);
  color: white;
  font: inherit;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 13px 14px;
}

select option { color: #07111f; }

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(121,212,207,0.35);
  border-color: rgba(121,212,207,0.55);
}

input[type="file"] { padding: 11px; }
textarea { resize: vertical; }

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: -4px 0 0;
}

.hidden { display: none; }

.footer {
  text-align: center;
  color: var(--muted);
  padding: 0 24px 40px;
}





/* Physics problem writing background */
.problem-scroll-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}

.problem-scroll-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,17,31,0.40), rgba(7,17,31,0.08), rgba(7,17,31,0.32)),
    radial-gradient(circle at 15% 14%, rgba(121,212,207,0.10), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(216,177,95,0.10), transparent 22%);
  z-index: 1;
}

.problem-writing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 5600px;
  display: block;
  opacity: 1;
}

.problem-writing text {
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke: rgba(7,17,31,0.26);
  stroke-width: 1.2px;
}

.problem-grid {
  opacity: 0.11;
}

.write-group {
  opacity: 0;
}

.draw-group {
  opacity: 1;
}

.draw-path {
  opacity: 0;
}

body {
  position: relative;
  z-index: 0;
}

main, .footer, .nav, .hero-copy, .hero-inner {
  position: relative;
  z-index: 1;
}

.hero {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.93), rgba(7,17,31,0.56), rgba(7,17,31,0.08)),
    url("images/background.svg") center/cover no-repeat;
}

.card {
  background:
    linear-gradient(135deg, rgba(7,17,31,0.70), rgba(18,28,46,0.52));
}

.card::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(121,212,207,0.10), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(216,177,95,0.10), transparent 32%);
}
/* Snappy scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .fall-reveal {
    opacity: 0;
    transform: translate3d(0, -96px, 0) scale(0.985);
    transition:
      opacity 220ms linear,
      transform 420ms cubic-bezier(0.2, 0.95, 0.28, 1.16);
    transition-delay: var(--fall-delay, 0ms);
    will-change: opacity, transform;
  }

  .fall-reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .card.fall-reveal {
    transform: translate3d(0, -115px, 0) scale(0.99);
  }

  .mini-card.fall-reveal,
  .location-row.fall-reveal,
  .hero-badges span.fall-reveal,
  .formula-strip span.fall-reveal {
    transform: translate3d(0, -72px, 0) scale(0.975);
    transition-duration: 360ms;
  }

  .mini-card.fall-reveal.visible,
  .location-row.fall-reveal.visible,
  .hero-badges span.fall-reveal.visible,
  .formula-strip span.fall-reveal.visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .button.fall-reveal,
  button.fall-reveal {
    transform: translate3d(0, -56px, 0) scale(0.96);
    transition-duration: 320ms;
  }

  .button.fall-reveal.visible,
  button.fall-reveal.visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fall-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .two-col, .three-col, .two-up, .three-up, .about-grid, .where-grid, .booking-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 82vh; padding: 22px; }
  .hero-copy, .hero-inner { padding: 68px 0 70px; }
}










/* Projectile range lesson */
.projectile-game-section {
  border-color: rgba(121,212,207,0.24);
  background:
    radial-gradient(circle at 82% 12%, rgba(216,177,95,0.13), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(121,212,207,0.13), transparent 32%),
    linear-gradient(135deg, rgba(7,17,31,0.74), rgba(18,28,46,0.54));
}

.game-heading {
  max-width: 820px;
}

.projectile-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.projectile-stage-wrap,
.range-graph-wrap {
  background:
    radial-gradient(circle at 55% 45%, rgba(121,212,207,0.10), transparent 34%),
    rgba(255,255,255,0.055);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}

#projectileCanvas,
#rangeGraphCanvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 20%, rgba(121,212,207,0.08), transparent 25%),
    linear-gradient(180deg, rgba(5,10,17,0.90), rgba(9,20,35,0.95));
  border: 1px solid rgba(255,255,255,0.12);
}

.projectile-readout {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.projectile-readout strong {
  color: var(--gold);
}

.projectile-controls {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}

.projectile-controls label {
  font-weight: 800;
}

.projectile-controls label span {
  color: var(--gold);
  font-weight: 900;
}

.projectile-controls input[type="range"] {
  padding: 0;
  accent-color: var(--gold);
  border: none;
  background: transparent;
}

.angle-pair-buttons,
.game-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.angle-pair-buttons button {
  background: rgba(121,212,207,0.12);
  color: var(--text);
  border: 1px solid rgba(121,212,207,0.24);
  box-shadow: none;
}

.secondary-button {
  background: rgba(255,255,255,0.10);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.lesson-panel,
.formula-card {
  border: 1px solid rgba(121,212,207,0.22);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  background: rgba(7,17,31,0.48);
  line-height: 1.55;
}

.lesson-panel p,
.formula-card p {
  margin: 0;
}

.formula-card {
  border-color: rgba(216,177,95,0.28);
}

.formula-label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 4px !important;
}

.formula-main {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  margin-bottom: 8px !important;
}

.fraction {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-items: center;
  text-align: center;
  vertical-align: middle;
  margin: 0 4px;
  line-height: 1;
}

.fraction span:first-child {
  border-bottom: 1px solid currentColor;
  padding: 0 5px 3px;
}

.fraction span:last-child {
  padding-top: 3px;
}

.range-graph-wrap {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .projectile-game-layout {
    grid-template-columns: 1fr;
  }
}


/* Guided projectile lesson additions */
.concept-builder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 22px;
}

.concept-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.115), rgba(255,255,255,0.058));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.concept-step {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.component-visual,
.time-visual,
.formula-build {
  margin-top: 14px;
  background: rgba(7,17,31,0.45);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  padding: 12px;
}

#componentCanvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.mini-equation,
.small-note {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.time-bar {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
}

.time-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  transition: width 180ms ease;
}

.formula-build p {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  font-size: 1.04rem;
}

.formula-build p:last-child {
  color: var(--gold);
  margin-bottom: 0;
  font-size: 1.18rem;
}

.angle-control-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin: 22px 0 18px;
  padding: 18px;
  border: 1px solid rgba(121,212,207,0.22);
  border-radius: 20px;
  background: rgba(7,17,31,0.42);
}

.angle-control-strip label {
  font-weight: 900;
}

.angle-control-strip input[type="range"] {
  padding: 0;
  accent-color: var(--gold);
  border: none;
  background: transparent;
}

.angle-control-strip span {
  color: var(--gold);
  font-weight: 900;
}

.quick-angle-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-angle-buttons button {
  background: rgba(121,212,207,0.12);
  color: var(--text);
  border: 1px solid rgba(121,212,207,0.24);
  box-shadow: none;
}

.top-lesson-panel {
  margin-bottom: 22px;
}

.compact-controls {
  align-self: start;
}

@media (max-width: 980px) {
  .concept-builder {
    grid-template-columns: 1fr;
  }

  .angle-control-strip {
    grid-template-columns: 1fr;
  }
}


/* Form success page */
.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.success-card {
  max-width: 720px;
}

.success-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.success-card a:not(.button) {
  color: var(--teal);
}


/* Mobile polish for background writing and projectile controls */
@media (max-width: 700px) {
  .problem-scroll-bg {
    opacity: 1;
    overflow: hidden;
  }

  .problem-scroll-bg::before {
    background:
      linear-gradient(90deg, rgba(7,17,31,0.32), rgba(7,17,31,0.04), rgba(7,17,31,0.26)),
      radial-gradient(circle at 18% 12%, rgba(121,212,207,0.12), transparent 24%),
      radial-gradient(circle at 80% 22%, rgba(216,177,95,0.12), transparent 22%);
  }

  .problem-writing {
    width: 185%;
    max-width: none;
    left: -42%;
    min-height: 6200px;
  }

  .problem-writing text {
    stroke-width: 0.8px;
  }

  .problem-grid {
    opacity: 0.08;
  }

  .projectile-game-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .concept-builder {
    gap: 12px;
    margin: 18px 0 16px;
  }

  .concept-card {
    padding: 16px;
  }

  .component-visual,
  .time-visual,
  .formula-build {
    margin-top: 10px;
    padding: 10px;
  }

  .angle-control-strip {
    gap: 10px;
    margin: 14px 0;
    padding: 14px;
  }

  .quick-angle-buttons,
  .angle-pair-buttons,
  .game-buttons {
    gap: 8px;
  }

  .quick-angle-buttons button,
  .angle-pair-buttons button,
  .game-buttons button {
    padding: 10px 13px;
  }

  .projectile-game-layout {
    gap: 14px;
    margin-top: 16px;
  }

  .projectile-stage-wrap,
  .range-graph-wrap {
    padding: 10px;
    border-radius: 18px;
  }

  .projectile-controls {
    gap: 10px;
    padding: 14px;
  }

  .lesson-panel,
  .formula-card {
    padding: 12px;
  }

  .top-lesson-panel {
    margin-bottom: 14px;
  }

  .range-graph-wrap {
    margin-top: 14px;
  }

  .projectile-readout {
    gap: 8px;
    font-size: 0.88rem;
  }
}


/* Real headshot */
.headshot-wrap img,
.headshot-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  max-width: 360px;
  margin: 0 auto;
}

.headshot-wrap,
.headshot-card {
  display: grid;
  place-items: center;
}

.headshot-wrap::before,
.headshot-card::before {
  border-radius: 50%;
  inset: 8%;
}
