/* ============================================================
   Inside China's Tech Frontier — page styles
   ============================================================ */

/* ---------- Top strip ---------- */
.topstrip {
  background: var(--oa-dark-blue);
  color: #fff;
  font-size: 13px;
}
.topstrip__in {
  display: flex; align-items: center; gap: 16px;
  min-height: 40px; padding-block: 8px;
}
.topstrip__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.ti-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oa-green); box-shadow: 0 0 0 4px rgba(35,165,100,.2); }
.topstrip__note { color: #B9C6E8; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topstrip__hrdc { height: 26px; font-size: 12px; background: rgba(176,194,247,.16); color: #DCE5FF; }

/* ---------- Nav (dark, white logo — matches theopenacademy.org) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--oa-dark-blue);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav--scrolled { background: rgba(7,23,73,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 30px -18px rgba(0,0,0,.8); border-bottom-color: rgba(176,194,247,.16); }
.nav__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo .word { font-size: 23px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: #DDE6FF; text-decoration: none;
  position: relative; padding: 4px 0; transition: color .18s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--oa-light-blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 4px; }
@media (max-width: 1000px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding-block: clamp(52px, 7vw, 92px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(37,72,219,.42), transparent 55%),
    radial-gradient(80% 70% at 92% 100%, rgba(35,165,100,.18), transparent 60%);
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero .display { color: #fff; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: #D7E0F5; margin-bottom: 16px; }
.hero__sub { font-size: 16px; line-height: 1.6; color: #9FB0D6; margin-bottom: 28px; max-width: 560px; }
.hero__checks { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; }
.hero__img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 8; background: transparent; }
.hero__badge {
  position: static; margin-top: 14px;
  background: var(--oa-bg-dark-alt);
  border: 1px solid rgba(176,194,247,.2);
  border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero__badge .caption { color: #9FB0D6; }
.hero__badge strong { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* hero motifs */
.motif--burst { top: -28px; right: 6%; opacity: .9; }
.motif--bubble { top: 38%; right: -34px; opacity: .9; }
.motif--star { bottom: 6%; left: -26px; }
@media (max-width: 880px) { .motif--bubble, .motif--star { display: none; } }

/* ---------- Trusted ---------- */
.trusted { padding-block: clamp(40px, 5vw, 60px); background: var(--oa-bg-alt); border-bottom: 1px solid var(--oa-border-weak); }
.trusted__label { text-align: center; font-family: var(--oa-font-accent); font-style: italic; color: var(--oa-text-tertiary); font-size: 15px; margin-bottom: 26px; }
.trusted__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; max-width: 760px; margin-inline: auto; }
.trusted__logo { width: 100%; height: 84px; background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak); padding: 14px 18px; }
@media (max-width: 760px) { .trusted__row { grid-template-columns: repeat(2,1fr); } }

/* ---------- Why ---------- */
.why__in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.why__lead { margin: 18px 0 16px; color: var(--oa-text); }
.why__body { font-size: 16px; line-height: 1.65; }
.why__stats { display: flex; gap: 36px; margin-top: 32px; }
.why__stats > div { display: flex; flex-direction: column; gap: 2px; }
.why__num { font-family: var(--oa-font-display); font-weight: 700; font-size: 40px; letter-spacing: -.03em; color: var(--oa-primary); line-height: 1; }
.why__stats .caption { color: var(--oa-text-secondary); }
.why__media { position: relative; }
.why__img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; box-shadow: var(--oa-shadow-card); }
.motif--arc { bottom: -36px; left: -30px; }
@media (max-width: 860px) { .why__in { grid-template-columns: 1fr; } .motif--arc { display: none; } }

/* ---------- Outcomes ---------- */
.outcomes__grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.outcome { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--a); }
.outcome__ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  color: var(--a); background: color-mix(in srgb, var(--a) 12%, white);
  margin-bottom: 4px;
}
.outcome h3 { letter-spacing: -.02em; }
.outcomes__grid .outcome:nth-child(4) { grid-column: span 1; }
@media (max-width: 900px) { .outcomes__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .outcomes__grid { grid-template-columns: 1fr; } }

/* ---------- Ticks list ---------- */
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--oa-text-secondary); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--a, var(--oa-primary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks--dark li { color: #C3CEEA; }

/* ---------- Journey ---------- */
.journey__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.phase {
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-md); padding: 28px; position: relative;
  border-top: 4px solid var(--a);
}
.phase--lead { box-shadow: var(--oa-shadow-card); }
.phase__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phase__no {
  font-family: var(--oa-font-accent); font-style: italic; font-size: 14px;
  color: var(--a); font-weight: 400;
}
.phase__dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--oa-text-secondary); background: var(--oa-bg-base); padding: 5px 12px; border-radius: var(--oa-radius-full); }
.phase h3 { letter-spacing: -.02em; margin-bottom: 6px; }
.phase__sub { color: var(--oa-text-secondary); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.phase__sub i { color: var(--a); }
.phase__note { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--oa-text-tertiary); border-top: 1px solid var(--oa-border-weak); padding-top: 14px; }
.phase__deliver { margin-top: 18px; padding: 14px 16px; background: color-mix(in srgb, var(--a) 10%, white); border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
.phase__deliver .caption { color: var(--oa-text-secondary); }
.phase__deliver strong { font-weight: 600; color: var(--oa-text); letter-spacing: -.01em; }
@media (max-width: 880px) { .journey__grid { grid-template-columns: 1fr; } }

/* ---------- Visits ---------- */
.visits { overflow: hidden; }
.motif--arrow { top: 60px; left: -20px; opacity: .8; }
.visits__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.visit {
  background: var(--oa-bg-dark-alt); border: 1px solid rgba(176,194,247,.14);
  border-radius: var(--oa-radius-md); padding: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.visit::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--a); z-index: 2; }
.visit__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #0a1430; }
.visit__tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 12px; font-weight: 500; color: #EAF0FF; background: rgba(4,13,42,.6); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: var(--oa-radius-full); display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.14); }
.visit__body { padding: 22px 24px 26px; }
.visit h3 { color: #fff; letter-spacing: -.02em; margin-bottom: 6px; }
.visit__focus { color: var(--a); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
@media (max-width: 1000px) { .visits__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .visits__grid { grid-template-columns: 1fr; } }

/* ---------- Curriculum ---------- */
.modules { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.module {
  display: flex; align-items: center; gap: 18px;
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-md); padding: 22px 24px;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--oa-shadow-card); border-color: transparent; }
.module__no {
  font-family: var(--oa-font-display); font-weight: 700; font-size: 26px;
  letter-spacing: -.03em; color: var(--oa-primary);
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--oa-tint-blue-100);
}
.module h4 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
@media (max-width: 900px) { .modules { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }

/* ---------- Certification ---------- */
.certification__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.certification__copy h2 { margin: 0 0 16px; }
.certification__req { margin-top: 20px; max-width: 340px; }
.certification__req li { font-size: 16px; }
.certificate { perspective: 1200px; }
.certificate__inner {
  background: #fff; border-radius: var(--oa-radius-md);
  border: 1px solid var(--oa-border-weak);
  box-shadow: var(--oa-shadow-ambient);
  padding: 40px; text-align: center;
  position: relative; overflow: hidden;
}
.certificate__inner::before {
  content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--oa-tint-blue-200);
  border-radius: 10px; pointer-events: none;
}
.certificate__mark { color: var(--oa-dark-blue); margin: 0 auto 16px; }
.certificate .caption { color: var(--oa-text-tertiary); text-transform: uppercase; letter-spacing: .14em; font-family: var(--oa-font-body); font-size: 11px; }
.certificate__title { font-family: var(--oa-font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin: 6px auto 0; max-width: 320px; line-height: 1.2; }
.certificate__rule { width: 56px; height: 3px; background: var(--oa-primary); border-radius: 3px; margin: 18px auto; }
.certificate__line { font-family: var(--oa-font-accent); font-style: italic; color: var(--oa-text-secondary); font-size: 14px; }
.certificate__name { font-family: var(--oa-font-display); font-weight: 600; font-size: 19px; color: var(--oa-text); margin-top: 2px; }
.certificate__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.certificate__foot .caption { text-transform: none; letter-spacing: 0; font-size: 13px; font-family: var(--oa-font-accent); }
@media (max-width: 860px) { .certification__in { grid-template-columns: 1fr; } }

/* ---------- Attend ---------- */
.attend__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.attend__copy h2 { margin: 0 0 14px; }
.attend__list { display: flex; flex-wrap: wrap; gap: 12px; }
.rolechip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-full); padding: 13px 22px;
  font-weight: 500; font-size: 16px; color: var(--oa-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rolechip:hover { transform: translateY(-2px); box-shadow: var(--oa-shadow-card); border-color: transparent; }
.rolechip i { font-size: 20px; color: var(--oa-primary); }
@media (max-width: 860px) { .attend__in { grid-template-columns: 1fr; } }

/* ---------- Culture carousel ---------- */
.culture__lead { margin-top: 16px; max-width: 640px; }
.culture__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel__nav { display: flex; gap: 12px; flex: none; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: var(--oa-radius-full);
  display: grid; place-items: center; cursor: pointer;
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-medium);
  color: var(--oa-text); font-size: 22px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease, opacity .18s ease;
}
.carousel__btn:hover { background: var(--oa-primary); color: #fff; border-color: transparent; transform: translateY(-1px); }
.carousel__btn:active:not(:disabled) { transform: scale(.96); }
.carousel__btn:disabled { opacity: .35; cursor: default; transform: none; background: var(--oa-bg-alt); color: var(--oa-text); border-color: var(--oa-border-medium); }
.culture__track {
  margin-top: 40px; display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scroll-padding-left: var(--oa-gutter);
  padding-bottom: 8px;
  -ms-overflow-style: none; scrollbar-width: none;
  /* full-bleed to the right edge so it reads as a scrollable banner */
  margin-right: calc(var(--oa-gutter) * -1);
  padding-right: var(--oa-gutter);
}
.culture__track::-webkit-scrollbar { display: none; }
.place { margin: 0; flex: 0 0 clamp(300px, 30vw, 440px); scroll-snap-align: start; }
.place__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; box-shadow: var(--oa-shadow-card); }
.place figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 1px; }
.place figcaption strong { font-weight: 600; letter-spacing: -.01em; font-size: 18px; }
.place figcaption .caption { color: var(--oa-text-tertiary); font-size: 14px; }
@media (max-width: 700px) { .carousel__nav { display: none; } .place { flex-basis: 78vw; } }

/* ---------- Included ---------- */
.included__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inc {
  display: flex; align-items: center; gap: 14px;
  background: var(--oa-bg-dark-alt); border: 1px solid rgba(176,194,247,.14);
  border-radius: var(--oa-radius-md); padding: 22px 20px;
  font-weight: 500; color: #EAF0FF; font-size: 16px; line-height: 1.25;
}
.inc i { font-size: 26px; color: var(--oa-light-blue); flex: none; }
@media (max-width: 900px) { .included__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .included__grid { grid-template-columns: 1fr; } }

/* Divider-grouped manifest — breaks the boxed-card rhythm (spec-sheet style) */
.inc-list {
  margin: 48px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid rgba(176,194,247,.16);
}
.inc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 19px 2px;
  border-bottom: 1px solid rgba(176,194,247,.16);
  color: #EAF0FF; font-size: 16px; font-weight: 500; line-height: 1.3;
}
.inc-item i { font-size: 23px; color: var(--oa-light-blue); flex: none; }
@media (max-width: 700px) { .inc-list { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.finalcta {
  background: linear-gradient(150deg, #071749 0%, #0B2566 55%, #071749 100%);
  color: #fff; text-align: center; overflow: hidden;
}
.finalcta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 120%, rgba(37,72,219,.5), transparent 70%);
  pointer-events: none;
}
.finalcta__in { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.finalcta__title { color: #fff; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; margin-bottom: 18px; }
.finalcta__lead { color: #C3CEEA; font-size: clamp(17px,1.4vw,20px); line-height: 1.6; margin-bottom: 32px; max-width: 600px; margin-inline: auto; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.finalcta__limit { display: inline-flex; align-items: center; gap: 8px; color: #9FB0D6; font-size: 15px; font-weight: 500; }
.finalcta__limit i { color: var(--oa-yellow); font-size: 18px; }
.motif--burst2 { top: 8%; left: 8%; opacity: .6; }
@media (max-width: 700px) { .motif--burst2 { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--oa-bg-dark); color: #C3CEEA; padding-block: 64px 28px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer__logo .word { font-size: 23px; }
.footer__desc { font-size: 14px; line-height: 1.6; color: #8FA0C6; margin-top: 16px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
  color: #C3CEEA; background: rgba(255,255,255,.06);
  border: 1px solid rgba(176,194,247,.16);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.footer__social a:hover { background: var(--oa-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: #8FA0C6; text-decoration: none; font-size: 13px; transition: color .18s ease; }
.footer__legal a:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__h { font-weight: 600; color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer__col a { color: #B9C6E8; text-decoration: none; font-size: 15px; transition: color .18s ease; }
.footer__col a:hover { color: #fff; }
.footer__cta a { justify-content: flex-start; }
.footer__cta .btn { width: fit-content; }
.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(176,194,247,.14);
}
.footer__base .caption { color: #8FA0C6; }
@media (max-width: 860px) { .footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__in { grid-template-columns: 1fr; } .footer__base { flex-direction: column; align-items: flex-start; } }

/* ---------- The Opportunity: pillars + stat card ---------- */
.pillars { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pillars li { display: flex; gap: 14px; align-items: flex-start; }
.pillars li i { font-size: 24px; flex: none; margin-top: 2px; }
.pillars li div { display: flex; flex-direction: column; gap: 2px; }
.pillars li strong { font-weight: 600; letter-spacing: -.01em; font-size: 16px; color: var(--oa-text); }
.pillars li span { font-size: 15px; color: var(--oa-text-secondary); line-height: 1.45; }
.why__statcard {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border: 1px solid var(--oa-border-weak); border-radius: 14px;
  box-shadow: var(--oa-shadow-card); padding: 16px 8px;
}
.why__statcard > div { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.why__statcard .why__num { font-size: 30px; }
.why__statcard .caption { color: var(--oa-text-secondary); }
@media (max-width: 860px) { .why__statcard { position: static; margin-top: 16px; } }

.outcomes__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .outcomes__grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .outcomes__grid--4 { grid-template-columns: 1fr; } }

/* ---------- Travel itinerary ---------- */
.journey__lead { margin: 16px auto 0; max-width: 620px; }
.itinerary { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day {
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-md); padding: 26px;
  border-top: 4px solid var(--a); display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.day:hover { transform: translateY(-3px); box-shadow: var(--oa-shadow-card); }
.day__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.day__no { font-family: var(--oa-font-display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--a); }
.day__city { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--oa-text-secondary); }
.day__city i { color: var(--a); }
.day__module {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 500;
  color: var(--oa-text-selected); background: var(--oa-tint-blue-100);
  padding: 5px 12px; border-radius: var(--oa-radius-full); margin-bottom: 10px;
}
.day__title { font-size: 19px; letter-spacing: -.02em; margin-bottom: 2px; }
.day__list { margin-top: 12px; }
.day__list li { font-size: 14px; }
@media (max-width: 880px) { .itinerary { grid-template-columns: 1fr; } }
@media (min-width: 881px) and (max-width: 1100px) { .itinerary { grid-template-columns: repeat(2,1fr); } }

/* ---------- Visit nickname ---------- */
.visit__nick { font-family: var(--oa-font-accent); font-style: italic; font-size: 14px; color: var(--a); display: block; margin-bottom: 2px; }
.visit__body h3 { margin-bottom: 14px; }

/* ---------- Core value proposition ---------- */
.vp__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vp {
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-md); padding: 30px;
  border-top: 4px solid var(--a);
}
.vp__dim {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--oa-font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -.02em; color: var(--oa-text); margin-bottom: 18px;
}
.vp__dim i { font-size: 22px; color: var(--a); }
.vp__label {
  font-family: var(--oa-font-accent); font-style: italic; font-size: 13px;
  color: var(--a); margin-bottom: 4px;
}
.vp__gain { font-size: 15px; line-height: 1.55; color: var(--oa-text); font-weight: 500; margin-bottom: 18px; }
.vp__why { font-size: 15px; line-height: 1.55; color: var(--oa-text-secondary); }
@media (max-width: 880px) { .vp__grid { grid-template-columns: 1fr; } }

/* ---------- Target audience ---------- */
.audience__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.aud {
  background: var(--oa-bg-alt); border: 1px solid var(--oa-border-weak);
  border-radius: var(--oa-radius-md); padding: 28px;
  border-top: 4px solid var(--a);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.aud:hover { transform: translateY(-3px); box-shadow: var(--oa-shadow-card); }
.aud__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; color: var(--a); background: color-mix(in srgb, var(--a) 12%, white); margin-bottom: 14px;
}
.aud h3 { letter-spacing: -.02em; margin-bottom: 8px; font-size: 19px; }
@media (max-width: 1000px) { .audience__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .audience__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Accent emphasis tweak
   ============================================================ */
/* Restrained: tone down decorative accents, lean on navy + primary blue */
[data-accent="restrained"] .motif { opacity: .18 !important; filter: grayscale(.3); }
[data-accent="restrained"] .outcome { border-top-color: var(--oa-primary); }
[data-accent="restrained"] .outcome__ic { color: var(--oa-primary); background: var(--oa-tint-blue-100); }
[data-accent="restrained"] .phase, [data-accent="restrained"] .visit::before { border-top-color: var(--oa-primary); }
[data-accent="restrained"] .visit::before { background: var(--oa-primary); }
[data-accent="restrained"] .phase__no, [data-accent="restrained"] .phase__sub i, [data-accent="restrained"] .visit__focus { color: var(--oa-light-blue); }
[data-accent="restrained"] .day, [data-accent="restrained"] .vp, [data-accent="restrained"] .aud { border-top-color: var(--oa-primary); }
[data-accent="restrained"] .day__no, [data-accent="restrained"] .day__city i, [data-accent="restrained"] .visit__nick, [data-accent="restrained"] .vp__dim i, [data-accent="restrained"] .vp__label { color: var(--oa-light-blue); }
[data-accent="restrained"] .aud__ic, [data-accent="restrained"] .pillars li i { color: var(--oa-primary); background: var(--oa-tint-blue-100); }
[data-accent="restrained"] .ticks li::before { background: var(--oa-primary); }
[data-accent="restrained"] .hero__checks .ph-fill { color: var(--oa-light-blue) !important; }

/* Bright: amplify accents */
[data-accent="bright"] .section.tint { background: var(--oa-tint-blue-100); }
[data-accent="bright"] .outcome { border-top-width: 6px; }
[data-accent="bright"] .outcome__ic { color: #fff; background: var(--a); }
[data-accent="bright"] .visit { border-color: color-mix(in srgb, var(--a) 45%, transparent); }
[data-accent="bright"] .day, [data-accent="bright"] .vp, [data-accent="bright"] .aud { border-top-width: 6px; }
[data-accent="bright"] .aud__ic { color: #fff; background: var(--a); }
[data-accent="bright"] .module__no { background: color-mix(in srgb, var(--oa-magenta) 14%, white); color: var(--oa-magenta); }

/* Light hero variant */
[data-hero="light"] .hero { background: var(--oa-tint-blue-50); }
[data-hero="light"] .hero::before { background: radial-gradient(120% 90% at 18% 0%, rgba(37,72,219,.12), transparent 55%); }
[data-hero="light"] .hero .display { color: var(--oa-text); }
[data-hero="light"] .hero__lead { color: var(--oa-text); }
[data-hero="light"] .hero__sub { color: var(--oa-text-secondary); }
[data-hero="light"] .hero .eyebrow.on-dark { color: var(--oa-primary); }
[data-hero="light"] .hero .checkpill { background: #fff; border-color: var(--oa-border-weak); color: var(--oa-text); }
[data-hero="light"] .hero .btn-secondary.on-dark { background: #fff; color: var(--oa-primary); border-color: var(--oa-border-medium); }

/* ============================================================
   Production image rendering
   (replaces the <image-slot> custom element used in the design tool;
   class rules above already set width/height/aspect-ratio/shadow)
   ============================================================ */
.hero__img    { object-fit: contain; border-radius: 20px; }
.trusted__logo{ object-fit: contain; border-radius: 8px; }
.why__img     { object-fit: cover;   border-radius: 16px; }
.visit__img   { object-fit: cover; }            /* radius 0 — flush card top */
.place__img   { object-fit: cover;   border-radius: 16px; }

/* ============================================================
   Mobile fixes — stack hero & keep the nav within the viewport
   (the source design was only laid out for desktop widths)
   ============================================================ */
@media (max-width: 760px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { max-width: 400px; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .nav__in { gap: 14px; }
  .nav__logo .word { display: none; }   /* keep the colourful OA mark, drop the wordmark */
}

/* ---------- HRD Corp Claimable seal (hero) ---------- */
.hero__seal {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: clamp(78px, 8vw, 104px); height: auto; aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.45);
}
@media (max-width: 760px) {
  .hero__seal { position: static; display: block; margin: 0 auto 18px; width: 92px; }
}

/* ============================================================
   Apply modal — registration form
   ============================================================ */
.applydlg {
  width: min(720px, 100%); border: 0; padding: 0;
  border-radius: var(--oa-radius-lg);
  background: var(--oa-bg-alt); color: var(--oa-text);
  box-shadow: 0 40px 100px -24px rgba(4,13,42,.65);
  max-height: min(92vh, 940px); overflow: hidden;
  /* enter/exit — modal stays centered, so transform-origin: center (default) is correct */
  opacity: 1; transform: scale(1);
  transition: opacity .24s cubic-bezier(.2,.8,.2,1),
              transform .24s cubic-bezier(.2,.8,.2,1),
              overlay .24s allow-discrete,
              display .24s allow-discrete;
}
.applydlg:not([open]) { opacity: 0; transform: scale(.96); }
@starting-style { .applydlg[open] { opacity: 0; transform: scale(.96); } }

.applydlg::backdrop {
  background: rgba(4,13,42,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity .24s ease, overlay .24s allow-discrete, display .24s allow-discrete;
}
.applydlg:not([open])::backdrop { opacity: 0; }
@starting-style { .applydlg[open]::backdrop { opacity: 0; } }
.applyform { display: flex; flex-direction: column; max-height: inherit; }
.applyform__head { position: relative; padding: 28px 32px 18px; border-bottom: 1px solid var(--oa-border-weak); }
.applyform__head h2 { font-size: clamp(21px, 3vw, 27px); }
.applyform__head .muted { margin-top: 6px; font-size: 14px; max-width: 48ch; }
.applydlg__close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--oa-border-medium);
  background: var(--oa-bg-base); color: var(--oa-text); cursor: pointer;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.applydlg__close:hover { background: var(--oa-tint-blue-100); border-color: transparent; }
.applydlg__close:active { transform: scale(.94); }
.applyform__body { padding: 24px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; }
.applyform__foot { padding: 18px 32px 26px; border-top: 1px solid var(--oa-border-weak); display: flex; flex-direction: column; gap: 12px; }
.applyform__foot .btn { width: fit-content; }
.applyrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 600; color: var(--oa-text); padding: 0; }
.field .req { color: var(--oa-magenta); }
.field .hint { font-weight: 400; color: var(--oa-text-tertiary); font-family: var(--oa-font-accent); font-style: italic; font-size: 13px; margin-left: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  height: 46px; padding: 0 14px; border-radius: var(--oa-radius-sm);
  border: 1px solid var(--oa-border-medium); background: var(--oa-bg-base);
  font: inherit; font-size: 15px; color: var(--oa-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder { color: var(--oa-text-tertiary); }
.field input:focus-visible { outline: none; border-color: var(--oa-primary); background: #fff; box-shadow: 0 0 0 3px var(--oa-tint-blue-100); }
.field__err { color: var(--oa-magenta); font-size: 13px; display: none; }
.field[data-invalid] .field__err { display: block; }
.field[data-invalid] input { border-color: var(--oa-magenta); }

.optgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 2px; }
.opt {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--oa-text-secondary);
  padding: 11px 13px; border: 1px solid var(--oa-border-weak); border-radius: var(--oa-radius-sm);
  cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.opt:hover { border-color: var(--oa-border-medium); }
.opt input { width: 17px; height: 17px; accent-color: var(--oa-primary); flex: none; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--oa-primary); background: var(--oa-tint-blue-50); color: var(--oa-text); }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.opt:has(input:disabled) input { cursor: not-allowed; }

.applyform__status { font-size: 14px; min-height: 1em; }
.applyform__status[data-state="error"] { color: var(--oa-magenta); }
.applyform__success { padding: 48px 32px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.applyform__success i { font-size: 52px; color: var(--oa-green); }
.applyform__success h2 { font-size: 24px; }
.applyform__success .muted { max-width: 40ch; }

@media (max-width: 560px) {
  .applyrow, .optgrid { grid-template-columns: 1fr; }
  .applyform__head, .applyform__body, .applyform__foot { padding-inline: 20px; }
}

/* The [hidden] attribute must win over .applyform/.applyform__success display
   (its higher specificity already does — no !important needed) */
.applyform[hidden], .applyform__success[hidden] { display: none; }

/* ---------- FAQ (divider-grouped accordion) ---------- */
.faq__list { max-width: 760px; margin: 44px auto 0; border-top: 1px solid var(--oa-border-weak); }
.faq__item { border-bottom: 1px solid var(--oa-border-weak); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 2px;
  font-family: var(--oa-font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -.01em; color: var(--oa-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; line-height: 1; color: var(--oa-primary);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:focus-visible { outline: 3px solid var(--oa-primary); outline-offset: 3px; border-radius: 6px; }
.faq__a { padding: 0 2px 24px; }
.faq__a p { margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--oa-text-secondary); }

/* ============================================================
   Motion polish — touch hover gating + reduced motion
   ============================================================ */

/* On touch/coarse pointers, :hover fires on tap and sticks. Drop the lift
   transforms there (color/shadow hovers are harmless and brief). */
@media (hover: none), (pointer: coarse) {
  .card.hover:hover, .module:hover, .day:hover, .aud:hover, .rolechip:hover,
  .btn-primary:hover, .btn-secondary:hover, .btn-secondary.on-dark:hover,
  .carousel__btn:hover, .footer__social a:hover {
    transform: none;
  }
}

/* Reduced motion: keep opacity/colour fades (they aid comprehension),
   remove movement and scale. */
@media (prefers-reduced-motion: reduce) {
  .applydlg, .applydlg:not([open]) { transform: none; }
  @starting-style {
    .applydlg[open] { transform: none; }
  }
  .card.hover:hover, .module:hover, .day:hover, .aud:hover, .rolechip:hover,
  .btn:active, .btn-primary:hover, .btn-secondary:hover, .btn-secondary.on-dark:hover,
  .carousel__btn:hover, .carousel__btn:active:not(:disabled), .applydlg__close:active,
  .footer__social a:hover {
    transform: none;
  }
}
