@font-face {
  font-family: Kanit;
  src: url("media/kanit-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Kanit;
  src: url("media/kanit-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  --blue: #24b5ea;
  --navy: #082139;
  --ink: #0e2a42;
  --muted: #496378;
  --paper: #f7fbfe;
  --line: #d9e8f1;
  --gutter: clamp(16px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
  font: 400 1.05rem/1.6 Kanit, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #067db3; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: clamp(115px, 15vw, 178px); height: auto; }
.header-nav, .language { display: flex; align-items: center; gap: clamp(14px, 3vw, 38px); }
.header-nav { font-weight: 600; font-size: .92rem; }
.language { gap: 6px; font-size: .82rem; }
.language a { padding: 5px 9px; border-radius: 5px; }
.language a[aria-current] { background: var(--blue); color: var(--navy); font-weight: 600; }
.hero { position: relative; isolation: isolate; background: var(--navy); color: #f4faff; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  padding-block: clamp(36px, 4.5vw, 66px);
}
.hero-copy { position: relative; z-index: 1; text-shadow: 0 2px 18px #061b32; }
.eyebrow, .kicker { color: #83d9ff; font-size: .78rem; font-weight: 600; letter-spacing: .11em; }
h1 { font-size: clamp(2.9rem, 6.3vw, 5.8rem); font-weight: 600; line-height: .99; letter-spacing: -.035em; margin-block: .2em .26em; }
html[lang="th"] h1 { line-height: 1.06; letter-spacing: -.025em; }
h1 span { display: block; color: var(--blue); }
.intro { max-width: 32ch; font-size: clamp(1rem, 1.75vw, 1.32rem); line-height: 1.52; color: #dceef9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 22px; margin-top: 25px; }
.button, .text-action { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-weight: 600; line-height: 1.2; }
.button { border-radius: 8px; padding: 11px 16px; color: #061c30; background: var(--blue); }
.button:hover { background: #78d9ff; }
.text-action { color: #ecfaff; text-underline-offset: 4px; text-decoration: underline; }
.hero-visual {
  position: relative;
  width: min(100%, 330px);
  min-width: 0;
  justify-self: end;
}
.course-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 20px 20px 6px 6px;
  border: 1px solid #6cc9f085;
  background: #041626;
  box-shadow: 0 22px 58px #010b17a6;
}
.scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 75% 45%, #133f65, var(--navy) 74%);
}
.plane {
  position: absolute;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0);
}
.plane img { width: 100%; height: 100%; }
.far { inset: -16% -8%; }
.far-sky { object-fit: cover; object-position: 62% 46%; }
.plane .far-cast {
  position: absolute;
  top: 6%;
  left: 34%;
  width: 65%;
  height: auto;
  opacity: .9;
}
.middle {
  left: 45%;
  top: 7%;
  width: min(31%, 440px);
  height: 73%;
}
.middle img { object-fit: contain; }
.near {
  left: 30%;
  bottom: -7%;
  width: min(67%, 980px);
  height: 45%;
}
.near img { object-fit: contain; object-position: center bottom; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #082139 7%, #082139f0 26%, #082139bd 40%, #08213912 61%, #08213918 80%, #0821399c),
    linear-gradient(0deg, #082139d4, transparent 20%, transparent 88%, #08213945);
}
.hero-visual figcaption {
  display: grid;
  gap: 2px;
  padding: 10px 0 0;
  color: #c4e4f3;
  font-size: .8rem;
  text-shadow: 0 2px 10px #041626;
}
.hero-visual strong { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.facts div { padding: clamp(13px, 2.8vw, 30px); }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: clamp(1.15rem, 2.1vw, 1.65rem); font-weight: 600; line-height: 1.15; }
.facts dd { font-size: .92rem; color: var(--muted); margin-top: .25rem; }
.section { padding-block: clamp(46px, 7vw, 92px); scroll-margin-top: 15px; }
.kicker { color: #086a91; margin-bottom: .45rem; }
h2 { font-size: clamp(1.8rem, 4.1vw, 3.35rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.25; }
.lede { max-width: 67ch; margin-top: .8rem; color: var(--muted); }
.shots, .steps, .details-grid { display: grid; gap: clamp(14px, 2.4vw, 30px); margin-top: 26px; }
.shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots figure { background: white; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.shots img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.shots figcaption { padding: 17px 19px; }
.shots p, .steps p, .details-grid p { margin-top: .4rem; color: var(--muted); }
.path { background: #e8f5fd; }
.art-note { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.steps { list-style: none; padding: 0; margin-bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { border-top: 2px solid #8cc8e5; padding-top: 12px; }
.steps span { display: block; color: #086a91; font-weight: 600; font-size: .85rem; margin-bottom: .45rem; }
.steps img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 7;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 13px;
  background: var(--navy);
}
.details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-grid article { border-top: 1px solid #b6d6e6; padding-top: 15px; }
.inline-link { display: inline-block; margin-top: 1rem; color: #075f85; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq { padding-top: 0; }
.faq h2 { margin-bottom: 21px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 4px; }
.faq details p { color: var(--muted); max-width: 70ch; padding: 0 4px 16px; }
.enrol { background: var(--navy); color: #f2faff; }
.enrol-inner { display: flex; align-items: center; justify-content: space-between; gap: 19px; padding-block: 36px; }
.enrol p { color: #cae3ef; margin-top: .55rem; }
.enrol .button { flex: none; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) {
  .header-nav { display: none; }
  .site-header { min-height: 62px; }
  .steps, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 10px; padding-block: 29px; }
  .eyebrow { font-size: .64rem; letter-spacing: .055em; line-height: 1.35; }
  h1 { font-size: clamp(1.55rem, 7.45vw, 2.85rem); margin-block: .22em .4em; }
  .intro { font-size: clamp(.79rem, 3.25vw, .97rem); line-height: 1.42; }
  .hero-actions { gap: 2px 9px; margin-top: 11px; }
  .hero-actions a { font-size: .76rem; gap: 5px; }
  .hero-actions .button { padding-inline: 8px; }
  .course-video { border-radius: 11px 11px 4px 4px; }
  .far-sky { object-position: 59% center; }
  .plane .far-cast { top: 19%; left: 21%; width: 92%; }
  .middle { left: 25%; top: 9%; width: 45%; height: 68%; }
  .near { left: 17%; width: 93%; bottom: -4%; height: 42%; }
  .scene::after {
    background:
      linear-gradient(90deg, #082139fa 4%, #082139ea 25%, #082139ae 51%, #08213935 79%),
      linear-gradient(0deg, #082139b8, transparent 31%);
  }
  .hero-visual figcaption { display: grid; padding: 6px 0 0; font-size: .66rem; line-height: 1.3; }
  .shots, .details-grid { grid-template-columns: minmax(0, 1fr); }
  .enrol-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .plane { transform: none; }
}
