@font-face { font-family: Kanit; src: url("/wp-content/mu-plugins/rg-minecraft-course/media/kanit-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Kanit; src: url("/wp-content/mu-plugins/rg-minecraft-course/media/kanit-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Kanit; src: url("/wp-content/mu-plugins/rg-minecraft-course/media/kanit-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
:root { color-scheme: light; --navy: #0b2036; --ink: #10283a; --muted: #476172; --brand: #4aa9d4; --light: #7eccee; --link: #00678d; --pale: #edf8fd; --line: #d2e4ed; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.55 Kanit, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #e87527; outline-offset: 4px; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; padding: 12px; background: var(--navy); color: #fff; z-index: 5; transform: translateY(-140%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { width: 177px; height: auto; }
.header-nav, .languages, .actions { display: flex; align-items: center; gap: 24px; }
.header-nav a, .languages a, .footer a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.header-nav a:hover, .footer a:hover { color: var(--link); }
.languages { gap: 3px; }
.languages a { min-width: 44px; justify-content: center; border-radius: 6px; font-size: 14px; }
.languages a[aria-current] { color: var(--navy); background: #d5effb; }
.hero {
  --hero-travel: clamp(230px, 30vh, 310px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: calc(-8px - var(--hero-travel)) -8px -8px;
  z-index: -2;
  background: url("/wp-content/mu-plugins/rg-minecraft-course/media/minecraft-hero-background-hd.jpg") center 58% / cover no-repeat;
  transform: translate3d(0, calc(var(--hero-progress, 0) * var(--hero-travel)), 0);
}
.hero::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, #0b20365c, transparent 31%),
    linear-gradient(90deg, #0b203650, #0b203617 68%, #0b203644);
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { inset: -8px; transform: none; }
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: clamp(34px, 5vw, 68px); }
.eyebrow { color: var(--link); font-size: 14px; font-weight: 600; letter-spacing: .045em; }
.hero .eyebrow, .consult .eyebrow { color: #a4dbf5; }
.eyebrow span { font-variant-numeric: tabular-nums; }
h1 { margin-top: 10px; font-size: clamp(49px, 6.4vw, 92px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
h1 span { display: block; color: var(--light); }
.color-strip { width: 112px; height: 4px; margin-block: 19px 16px; border-radius: 10px; background: linear-gradient(to right,#59b6e2 25%,#87bc43 25% 44%,#f3d44d 44% 63%,#ef725b 63% 82%,#aa86bd 82%); }
.hero-intro { max-width: 440px; color: #d9ebf7; font-size: clamp(17px, 1.6vw, 21px); }
.actions { margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.button, .outline { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 8px 16px; font-weight: 600; line-height: 1.22; }
.button { color: #08253d; background: var(--brand); }
.button:hover { background: #92d7f6; }
.outline { border: 1px solid #8baec4; color: #edf8ff; }
.outline:hover { background: #1a4160; }
.button img, .text-link img { filter: brightness(0) saturate(100%) invert(27%) sepia(46%) saturate(1292%) hue-rotate(159deg); }
.hero-photo { width: min(100%, 310px); justify-self: center; border: 1px solid #41718d; border-radius: 12px; overflow: hidden; background: #15334c; }
.hero-photo video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.course-archive { margin-block: 0 44px; border-block: 1px solid var(--line); scroll-margin-top: 20px; }
.course-archive > summary { padding: 14px 0; }
.course-archive-body { max-width: 900px; padding: 0 0 28px; overflow-wrap: anywhere; }
.course-archive-body :is(h2,h3,h4) { margin-block: 22px 10px; scroll-margin-top: 16px; }
.course-archive-body :is(p,figure,blockquote,ol,ul) { margin-block: 10px; }
.course-archive-body img { height: auto; }
.course-archive-body a { color: var(--link); text-decoration: underline; }
.course-archive-body .archive-video { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
figcaption { padding: 11px 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
figcaption span { font-size: 13px; color: #bbd8e8; }
.sound-toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 6px 12px;
  border: 1px solid #81c5e5;
  border-radius: 7px;
  background: #1d435e;
  color: #effaff;
  font: 600 15px/1.2 Kanit, sans-serif;
  cursor: pointer;
}
.sound-toggle span { color: inherit; font-size: inherit; }
.sound-toggle:hover { background: #245875; }
.section { padding-block: clamp(38px, 6vw, 77px); }
.section-head { max-width: 760px; margin-bottom: 24px; }
h2 { font-size: clamp(29px, 4.1vw, 53px); line-height: 1.16; font-weight: 800; margin: 5px 0 9px; letter-spacing: -.015em; }
.section-head > p:last-child:not(.eyebrow), .case-copy > p:last-child { color: var(--muted); }
h3 { margin-block: 9px 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.21; }
summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--link); font-weight: 600; }
.prep details p, .faq details p { color: var(--muted); padding-bottom: 10px; }
.projects { background: var(--pale); }
.cases { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.case { overflow: hidden; border-radius: 9px; border: 1px solid var(--line); background: #fff; }
.case img { width: 100%; height: auto; aspect-ratio: 1.76; object-fit: cover; object-position: center 51%; }
.case-copy { padding: 16px 19px 20px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin-top: 11px; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.consult { display: grid; grid-template-columns: 1.07fr .93fr; gap: clamp(22px,5vw,64px); padding: clamp(22px,4vw,54px); border-radius: 11px; background: var(--navy); color: #fff; }
.consult p:not(.eyebrow) { color: #d5e8f3; }
.faq { padding-bottom: clamp(35px, 6vw, 68px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-block: 12px; align-items: center; gap: 16px; }
@media (max-width: 720px) {
  .hero { --hero-travel: clamp(140px, 21vh, 185px); }
  .hero::before { background-position: 53% 58%; }
  .hero::after { background: linear-gradient(180deg, #0b20364d, #0b203622 47%, #0b203615 77%, #0b203653); }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .logo { width: 142px; }
  .header-nav { display: none; }
  .hero-grid, .consult { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; padding-block: 28px 30px; }
  h1 { font-size: clamp(43px, 10.3vw, 66px); }
  .actions { margin-top: 17px; }
  .button, .outline { min-height: 44px; font-size: 15px; padding-inline: 12px; }
  .cases { grid-template-columns: 1fr; gap: 12px; }
}
.hero-grid { grid-template-columns: 1fr 1.05fr; }
.hero-copy { min-width: 0; position: relative; isolation: isolate; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -24% -29%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, #071b30e0 21%, #071b30c7 44%, #071b3066 63%, transparent 78%);
}
.hero-copy :is(h1, .eyebrow, .hero-intro, .facts, .outline) {
  text-shadow: 0 1px 3px #061424, 0 0 10px #061424b3;
}
h1 { font-size: clamp(39px, 4.5vw, 65px); }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.facts li { padding-block: 7px; border-top: 1px solid #41657d; }
.facts b, .facts span { display: block; }
.facts b { color: var(--light); font-size: 18px; }
.facts span { color: #d5e8f3; font-size: 14px; }
.mission-grid, .cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.mission-grid article { border-top: 3px solid var(--brand); padding: 14px 13px 8px 0; }
.mission-grid article:nth-child(2) { border-color: #85ac41; }
.mission-grid article:nth-child(3) { border-color: #e0aa38; }
.mission-grid article > p:last-child { color: var(--muted); }
.case-copy > .eyebrow { font-size: 13px; }
.case img { object-position: center; }
.prep, .faq { max-width: 900px; }
.prep details { border-top: 1px solid var(--line); }
.prep details:last-child { border-bottom: 1px solid var(--line); }
.faq { padding-bottom: 0; }
.consult { display: block; }
.consult > p:not(.eyebrow) { max-width: 680px; }
@media (max-width: 720px) {
  .hero-grid, .mission-grid, .cases { grid-template-columns: 1fr; }
  h1 { font-size: clamp(36px, 9.5vw, 62px); }
  .facts { margin-top: 17px; }
  .facts b { font-size: 16px; }
  .facts span { font-size: 13px; }
}
