/* ============================================================
   Hameed Urdu Academy Premium
   Custom editorial homepage. All selectors are namespaced.
============================================================ */

:root {
  --hua-navy: #081c3a;
  --hua-navy-2: #12305a;
  --hua-gold: #c9a227;
  --hua-gold-light: #e2c96c;
  --hua-white: #ffffff;
  --hua-ivory: #faf8f4;
  --hua-card: #f4f7fa;
  --hua-text: #0f172a;
  --hua-muted: #475569;
  --hua-faint: #94a3b8;
  --hua-border: #e6ecf2;
  --hua-success: #2e8b57;
  --hua-shadow-soft: 0 18px 60px rgba(8, 28, 58, 0.08);
  --hua-shadow-high: 0 30px 90px rgba(8, 28, 58, 0.14);
  --hua-shell: min(1320px, calc(100vw - 48px));
  --hua-serif: "Cormorant Garamond", Georgia, serif;
  --hua-sans: "Poppins", Arial, sans-serif;
  --hua-ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hua-text);
  background: var(--hua-white);
  font-family: var(--hua-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(201, 162, 39, .26); color: var(--hua-navy); }

.hua-shell { width: var(--hua-shell); margin-inline: auto; }
.hua-section { padding: clamp(88px, 9vw, 154px) 0; }

.hua-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--hua-gold);
  color: var(--hua-navy);
  font-weight: 600;
}
.hua-skip-link:focus { transform: translateY(0); }

.hua-eyebrow {
  margin: 0 0 14px;
  color: var(--hua-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hua-eyebrow--light { color: var(--hua-gold-light); }

.hua-section-heading { max-width: 820px; margin-bottom: clamp(42px, 5vw, 76px); }
.hua-section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: end;
  gap: 56px;
}
.hua-section-heading h2,
.hua-faq__intro h2,
.hua-mentor__content h2,
.hua-cta h2 {
  margin: 0;
  font-family: var(--hua-serif);
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 600;
}
.hua-section-heading p,
.hua-faq__intro > p:last-child {
  margin: 0;
  color: var(--hua-muted);
  max-width: 56ch;
}

.hua-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform .3s var(--hua-ease), background .3s var(--hua-ease), border-color .3s var(--hua-ease), box-shadow .3s var(--hua-ease), color .3s var(--hua-ease);
}
.hua-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--hua-ease); }
.hua-button:hover { transform: translateY(-2px); }
.hua-button:hover svg { transform: translateX(3px); }
.hua-button--gold { background: var(--hua-gold); color: var(--hua-navy); box-shadow: 0 14px 36px rgba(201,162,39,.23); }
.hua-button--gold:hover { background: #d4ad31; box-shadow: 0 18px 42px rgba(201,162,39,.3); }
.hua-button--ghost { border-color: rgba(255,255,255,.28); color: var(--hua-white); background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.hua-button--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.hua-button--navy { background: var(--hua-navy); color: var(--hua-white); }
.hua-button--navy:hover { background: var(--hua-navy-2); }
.hua-button--compact { min-height: 44px; padding: 10px 17px; border-radius: 14px; }

.hua-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hua-navy);
  font-size: 13px;
  font-weight: 600;
}
.hua-text-link span { transition: transform .3s var(--hua-ease); }
.hua-text-link:hover span { transform: translate(3px, -3px); }

/* Header */
.hua-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--hua-white);
  transition: background .35s var(--hua-ease), box-shadow .35s var(--hua-ease), color .35s var(--hua-ease), backdrop-filter .35s var(--hua-ease);
}
.admin-bar .hua-header { top: 32px; }
body:not(.home) .hua-header,
.hua-header.is-scrolled {
  color: var(--hua-text);
  background: rgba(255,255,255,.88);
  box-shadow: 0 1px 0 rgba(8,28,58,.08), 0 12px 38px rgba(8,28,58,.06);
  backdrop-filter: blur(18px);
}
.hua-header__inner { min-height: 88px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 28px; }
.hua-brand { display: inline-flex; align-items: center; gap: 10px; width: 188px; }
.hua-brand__emblem { flex: 0 0 54px; width: 54px; height: 46px; object-fit: contain; }
.hua-brand__copy { display: grid; line-height: 1; }
.hua-brand__copy strong { color: var(--hua-gold-light); font-family: var(--hua-serif); font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.hua-brand__copy small { margin-top: 6px; color: currentColor; font-size: 8px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
body:not(.home) .hua-brand__copy strong, .hua-header.is-scrolled .hua-brand__copy strong { color: var(--hua-gold); }
.hua-nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2.8vw, 42px); }
.hua-nav a { position: relative; font-size: 13px; font-weight: 500; }
.hua-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .3s var(--hua-ease); }
.hua-nav a:hover::after { right: 0; }
.hua-header__actions { display: flex; align-items: center; gap: 12px; }
.hua-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: transparent; cursor: pointer; }
body:not(.home) .hua-menu-toggle, .hua-header.is-scrolled .hua-menu-toggle { border-color: var(--hua-border); }
.hua-menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .3s var(--hua-ease); }

/* Hero */
.hua-hero {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  color: var(--hua-white);
  background:
    radial-gradient(circle at 76% 30%, rgba(201,162,39,.15), transparent 34%),
    linear-gradient(110deg, #06152c 0%, var(--hua-navy) 55%, #0b2345 100%);
}
.hua-hero__texture { position: absolute; inset: 0; opacity: .25; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 78px 78px; mask-image: linear-gradient(to bottom, black 0%, transparent 94%); }
.hua-hero__grid { position: relative; min-height: 800px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr); align-items: end; gap: 36px; padding-top: 128px; }
.hua-hero__content { align-self: center; padding: 86px 0 108px; z-index: 2; }
.hua-hero h1 { margin: 0; font-family: var(--hua-serif); font-size: clamp(72px, 7.7vw, 118px); line-height: .86; letter-spacing: -.05em; font-weight: 600; }
.hua-hero h1 em { color: var(--hua-gold-light); font-style: normal; }
.hua-hero__lead { max-width: 620px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; }
.hua-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hua-hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 690px; margin: 50px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.13); }
.hua-hero__proof div { padding: 22px 22px 0 0; }
.hua-hero__proof div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.13); }
.hua-hero__proof dt { color: var(--hua-gold-light); font-family: var(--hua-serif); font-size: 33px; line-height: 1; font-weight: 600; }
.hua-hero__proof dd { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }
.hua-hero__visual { position: relative; min-height: 720px; align-self: end; }
.hua-hero__halo { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -40px; bottom: 80px; background: radial-gradient(circle, rgba(201,162,39,.23), rgba(201,162,39,.03) 55%, transparent 72%); border: 1px solid rgba(201,162,39,.16); }
.hua-hero__portrait { position: absolute; z-index: 1; width: min(560px, 42vw); height: auto; right: 0; bottom: -2px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); }
.hua-hero__quote { position: absolute; z-index: 3; right: 0; top: 150px; width: 230px; margin: 0; padding: 22px 22px 22px 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(8,28,58,.48); backdrop-filter: blur(16px); color: rgba(255,255,255,.82); font-family: var(--hua-serif); font-size: 21px; line-height: 1.18; }
.hua-hero__quote > span { position: absolute; left: 13px; top: 8px; color: var(--hua-gold-light); font-size: 42px; }

/* Qualification Explorer */
.hua-qualifications { background: var(--hua-white); }
.hua-route-groups { display: grid; gap: 18px; }
.hua-route-group { display: grid; grid-template-columns: 250px 1fr; gap: 18px; }
.hua-route-group__label { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--hua-border); border-radius: 24px; background: var(--hua-ivory); }
.hua-route-group__label > span { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--hua-navy); color: var(--hua-gold-light); font-family: var(--hua-serif); font-size: 20px; }
.hua-route-group__label strong { display: block; font-size: 14px; }
.hua-route-group__label small { color: var(--hua-muted); font-size: 11px; }
.hua-route-rail { display: grid; grid-template-columns: repeat(6, minmax(128px, 1fr)); gap: 8px; }
.hua-route-rail--compact { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.hua-route-tab { position: relative; min-height: 114px; padding: 18px 14px; border: 1px solid var(--hua-border); border-radius: 20px; background: var(--hua-white); text-align: left; cursor: pointer; transition: transform .3s var(--hua-ease), border-color .3s var(--hua-ease), background .3s var(--hua-ease), color .3s var(--hua-ease), box-shadow .3s var(--hua-ease); }
.hua-route-tab:hover { transform: translateY(-3px); border-color: rgba(201,162,39,.55); box-shadow: var(--hua-shadow-soft); }
.hua-route-tab.is-active { color: var(--hua-white); background: var(--hua-navy); border-color: var(--hua-navy); box-shadow: 0 18px 50px rgba(8,28,58,.17); }
.hua-route-tab > span { display: block; color: var(--hua-gold); font-family: var(--hua-serif); font-size: 22px; font-weight: 600; line-height: 1; }
.hua-route-tab strong { display: block; margin-top: 14px; font-size: 12px; line-height: 1.3; }
.hua-route-tab small { display: block; margin-top: 4px; color: var(--hua-muted); font-size: 10px; line-height: 1.35; }
.hua-route-tab.is-active small { color: rgba(255,255,255,.62); }
.hua-route-detail { display: grid; grid-template-columns: 1.2fr 1fr .75fr; gap: 34px; align-items: center; margin-top: 14px; padding: 34px; border: 1px solid var(--hua-border); border-radius: 28px; background: var(--hua-card); }
.hua-route-detail__intro > span { color: var(--hua-gold); font-family: var(--hua-serif); font-size: 24px; }
.hua-route-detail__intro h3 { margin: 6px 0 8px; font-family: var(--hua-serif); font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.hua-route-detail__intro p, .hua-route-detail__action p { margin: 0; color: var(--hua-muted); font-size: 13px; }
.hua-route-detail__features { display: grid; gap: 9px; }
.hua-route-detail__features span { position: relative; padding-left: 22px; color: var(--hua-muted); font-size: 12px; }
.hua-route-detail__features span::before { content: "✓"; position: absolute; left: 0; color: var(--hua-success); font-weight: 700; }
.hua-route-detail__action { display: grid; justify-items: start; gap: 16px; }
.hua-route-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hua-route-detail__actions .hua-button { min-height: 48px; padding-inline: 18px; }

/* Story imagery */
.hua-story { position: relative; min-height: clamp(520px, 52vw, 760px); display: grid; align-items: end; overflow: hidden; }
.hua-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 1.2s var(--hua-ease); }
.hua-story.is-visible > img { transform: scale(1); }
.hua-story__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,14,28,.78) 0%, rgba(5,14,28,.38) 42%, rgba(5,14,28,.05) 74%), linear-gradient(0deg, rgba(5,14,28,.32), transparent 50%); }
.hua-story__content { position: relative; z-index: 2; padding-bottom: clamp(64px, 7vw, 104px); color: var(--hua-white); }
.hua-story__content h2 { max-width: 700px; margin: 0; font-family: var(--hua-serif); font-size: clamp(52px, 6vw, 88px); line-height: .93; letter-spacing: -.035em; font-weight: 600; }
.hua-story__content p:not(.hua-eyebrow) { margin: 18px 0 0; color: rgba(255,255,255,.76); }
.hua-story__content--right { display: flex; min-height: inherit; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; }
.hua-story__content--right h2, .hua-story__content--right p { max-width: 620px; }
.hua-story--mentorship .hua-story__shade { background: linear-gradient(270deg, rgba(5,14,28,.86) 0%, rgba(5,14,28,.45) 44%, rgba(5,14,28,.04) 76%); }

/* Courses */
.hua-courses { background: var(--hua-ivory); }
.hua-course-editorial { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 28px; }
.hua-course-feature { position: relative; overflow: hidden; min-height: 690px; border-radius: 32px; box-shadow: var(--hua-shadow-high); }
.hua-course-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hua-ease); }
.hua-course-feature:hover img { transform: scale(1.035); }
.hua-course-feature__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,16,34,.9) 0%, rgba(5,16,34,.28) 62%, transparent 100%); }
.hua-course-feature__content { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(30px, 4vw, 54px); color: var(--hua-white); }
.hua-course-feature__content > span, .hua-course-row > div > span { color: var(--hua-gold-light); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hua-course-feature h3 { margin: 10px 0 10px; font-family: var(--hua-serif); font-size: clamp(44px, 5vw, 68px); line-height: .96; }
.hua-course-feature p { max-width: 540px; margin: 0; color: rgba(255,255,255,.72); }
.hua-course-feature a { display: inline-flex; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 600; }
.hua-course-list { display: grid; gap: 18px; }
.hua-course-row { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 32px; border: 1px solid var(--hua-border); border-radius: 26px; background: var(--hua-white); transition: transform .35s var(--hua-ease), box-shadow .35s var(--hua-ease), border-color .35s var(--hua-ease); }
.hua-course-row:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.36); box-shadow: var(--hua-shadow-soft); }
.hua-course-row h3 { margin: 8px 0 6px; font-family: var(--hua-serif); font-size: 34px; line-height: 1; }
.hua-course-row p { margin: 0; color: var(--hua-muted); font-size: 13px; }
.hua-course-row > a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--hua-border); border-radius: 50%; color: var(--hua-gold); font-size: 20px; }
.hua-course-row--media { grid-template-columns: 1fr 180px; overflow: hidden; padding: 0 0 0 32px; }
.hua-course-row--media img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.hua-course-row--media a { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--hua-navy); font-size: 12px; font-weight: 600; }

/* Mentor */
.hua-mentor { overflow: hidden; background: var(--hua-white); }
.hua-mentor__grid { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr); gap: clamp(60px, 8vw, 120px); align-items: center; }
.hua-mentor__portrait { position: relative; min-height: 720px; display: grid; align-items: end; justify-items: center; overflow: hidden; border-radius: 32px; background: var(--hua-card); }
.hua-mentor__portrait-bg { position: absolute; width: 520px; height: 520px; border-radius: 50%; bottom: 90px; background: radial-gradient(circle, rgba(201,162,39,.25), rgba(201,162,39,.03) 65%, transparent 70%); }
.hua-mentor__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,58,.12), transparent 48%); pointer-events: none; }
.hua-mentor__portrait img { position: relative; z-index: 1; max-height: 660px; width: auto; }
.hua-mentor__badge { position: absolute; z-index: 3; left: 28px; bottom: 28px; width: 190px; padding: 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: var(--hua-shadow-soft); backdrop-filter: blur(14px); }
.hua-mentor__badge strong { display: block; color: var(--hua-navy); font-family: var(--hua-serif); font-size: 40px; line-height: 1; }
.hua-mentor__badge span { display: block; margin-top: 6px; color: var(--hua-muted); font-size: 11px; line-height: 1.4; }
.hua-mentor__lead { max-width: 680px; margin: 24px 0 0; color: var(--hua-muted); font-size: 18px; }
.hua-mentor__credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hua-mentor__credentials span { padding: 9px 13px; border: 1px solid var(--hua-border); border-radius: 999px; background: var(--hua-ivory); color: var(--hua-navy); font-size: 11px; }
.hua-process { list-style: none; margin: 38px 0 34px; padding: 0; border-top: 1px solid var(--hua-border); }
.hua-process li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--hua-border); }
.hua-process li > span { color: var(--hua-gold); font-family: var(--hua-serif); font-size: 22px; }
.hua-process strong { display: block; font-size: 13px; }
.hua-process p { margin: 3px 0 0; color: var(--hua-muted); font-size: 12px; }

/* Success */
.hua-success { background: var(--hua-ivory); }
.hua-success__dashboard { display: grid; grid-template-columns: .72fr 1.25fr .83fr; gap: 20px; }
.hua-success__dashboard article { border: 1px solid var(--hua-border); border-radius: 28px; background: var(--hua-white); }
.hua-success__metrics { display: grid; overflow: hidden; }
.hua-success__metrics div { padding: 30px; }
.hua-success__metrics div + div { border-top: 1px solid var(--hua-border); }
.hua-success__metrics strong { display: block; color: var(--hua-navy); font-family: var(--hua-serif); font-size: 54px; line-height: 1; }
.hua-success__metrics span { display: block; margin-top: 8px; color: var(--hua-muted); font-size: 12px; }
.hua-success__focus { padding: clamp(34px, 4vw, 52px); background: var(--hua-navy) !important; color: var(--hua-white); box-shadow: var(--hua-shadow-high); }
.hua-success__label { color: var(--hua-gold-light); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hua-success__focus h3 { max-width: 520px; margin: 16px 0 16px; font-family: var(--hua-serif); font-size: clamp(42px, 4vw, 62px); line-height: .96; }
.hua-success__focus p { max-width: 560px; color: rgba(255,255,255,.68); }
.hua-success__focus ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.hua-success__focus li { position: relative; padding: 14px 14px 14px 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.04); font-size: 12px; }
.hua-success__focus li::before { content: "✓"; position: absolute; left: 15px; color: var(--hua-gold-light); }
.hua-success__quote { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; overflow: hidden; background: linear-gradient(145deg, #fff, #f7f0df) !important; }
.hua-success__quote > span { position: absolute; top: 18px; left: 26px; color: rgba(201,162,39,.34); font-family: var(--hua-serif); font-size: 96px; line-height: 1; }
.hua-success__quote p { position: relative; margin: 100px 0 28px; font-family: var(--hua-serif); font-size: 28px; line-height: 1.1; }
.hua-success__quote strong { color: var(--hua-muted); font-size: 11px; }

/* Resources */
.hua-resources { background: var(--hua-white); }
.hua-resource-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; gap: 20px; }
.hua-resource { overflow: hidden; border-radius: 28px; background: var(--hua-card); }
.hua-resource a { height: 100%; display: flex; flex-direction: column; }
.hua-resource img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--hua-ease); }
.hua-resource:hover img { transform: scale(1.035); }
.hua-resource__content { flex: 1; padding: 24px; border: 1px solid var(--hua-border); border-top: 0; border-radius: 0 0 28px 28px; background: var(--hua-white); }
.hua-resource__content span { color: var(--hua-gold); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hua-resource__content h3 { margin: 10px 0 12px; font-family: var(--hua-serif); font-size: 30px; line-height: 1.02; }
.hua-resource__content p { margin: 0; color: var(--hua-faint); font-size: 10px; }
.hua-resource--feature .hua-resource__content { padding: 30px; }
.hua-resource--feature .hua-resource__content h3 { max-width: 640px; font-size: clamp(36px, 4vw, 54px); }

/* FAQ */
.hua-faq { background: var(--hua-ivory); }
.hua-faq__grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(64px, 9vw, 130px); align-items: start; }
.hua-faq__intro { position: sticky; top: 140px; }
.hua-faq__intro h2 { margin-bottom: 24px; }
.hua-accordion { border-top: 1px solid var(--hua-border); }
.hua-accordion__item { border-bottom: 1px solid var(--hua-border); }
.hua-accordion__item h3 { margin: 0; }
.hua-accordion__item button { width: 100%; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: var(--hua-serif); font-size: 27px; line-height: 1.08; }
.hua-accordion__item button > span { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--hua-border); border-radius: 50%; }
.hua-accordion__item button > span::before, .hua-accordion__item button > span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--hua-navy); transform: translate(-50%,-50%); transition: transform .3s var(--hua-ease); }
.hua-accordion__item button > span::after { transform: translate(-50%,-50%) rotate(90deg); }
.hua-accordion__item.is-open button > span::after { transform: translate(-50%,-50%) rotate(0); }
.hua-accordion__panel { padding: 0 50px 26px 0; color: var(--hua-muted); }
.hua-accordion__panel p { margin: 0; }

/* CTA */
.hua-cta { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 180px) 0; color: var(--hua-white); background: linear-gradient(135deg, #07172f, #0c2a52); text-align: center; }
.hua-cta__rings { position: absolute; inset: -45% -10%; background: radial-gradient(circle at center, transparent 0 17%, rgba(201,162,39,.11) 17.2% 17.5%, transparent 17.8% 28%, rgba(201,162,39,.08) 28.2% 28.5%, transparent 28.8% 40%, rgba(201,162,39,.05) 40.2% 40.5%, transparent 40.8%); opacity: .8; }
.hua-cta__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hua-cta h2 { max-width: 900px; }
.hua-cta__content > p:not(.hua-eyebrow) { max-width: 720px; margin: 24px auto 0; color: rgba(255,255,255,.7); }
.hua-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.hua-cta small { margin-top: 20px; color: rgba(255,255,255,.52); font-size: 11px; }

/* Footer */
.hua-footer { padding: 86px 0 28px; color: rgba(255,255,255,.68); background: #051225; }
.hua-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; padding-bottom: 64px; }
.hua-brand--footer { width: 190px; }
.hua-brand--footer img { width: 190px; height: 92px; object-fit: contain; object-position: left center; }
.hua-footer__brand p { max-width: 300px; margin: 18px 0 0; font-size: 12px; }
.hua-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hua-footer__column h2 { margin: 0 0 10px; color: var(--hua-white); font-family: var(--hua-serif); font-size: 22px; }
.hua-footer__column a, .hua-footer__column span { font-size: 11px; }
.hua-footer__column a:hover { color: var(--hua-gold-light); }
.hua-footer__base { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.hua-footer__base p { margin: 0; }
.hua-footer__base div { display: flex; gap: 20px; }

/* Assessment modal */
.hua-assessment { width: min(760px, calc(100vw - 32px)); max-height: min(88vh, 820px); padding: 0; border: 0; border-radius: 28px; background: transparent; box-shadow: var(--hua-shadow-high); }
.hua-assessment::backdrop { background: rgba(3,12,26,.72); backdrop-filter: blur(8px); }
.hua-assessment__panel { position: relative; overflow: auto; max-height: inherit; padding: clamp(30px, 5vw, 52px); background: var(--hua-white); }
.hua-assessment__close { position: absolute; right: 20px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hua-border); border-radius: 50%; background: var(--hua-white); cursor: pointer; font-size: 24px; }
.hua-assessment h2 { margin: 0; font-family: var(--hua-serif); font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.hua-assessment__panel > p:not(.hua-eyebrow) { margin: 14px 0 0; color: var(--hua-muted); }
.hua-assessment__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.hua-assessment__form label { display: grid; gap: 8px; }
.hua-assessment__form label > span { color: var(--hua-muted); font-size: 11px; font-weight: 500; }
.hua-assessment__form input, .hua-assessment__form select, .hua-assessment__form textarea { width: 100%; border: 1px solid var(--hua-border); border-radius: 14px; background: var(--hua-ivory); color: var(--hua-text); outline: none; }
.hua-assessment__form input, .hua-assessment__form select { height: 52px; padding: 0 14px; }
.hua-assessment__form textarea { min-height: 120px; resize: vertical; padding: 14px; }
.hua-assessment__form input:focus, .hua-assessment__form select:focus, .hua-assessment__form textarea:focus { border-color: var(--hua-gold); box-shadow: 0 0 0 3px rgba(201,162,39,.13); }
.hua-assessment__full { grid-column: 1 / -1; }
.hua-assessment__submit { grid-column: 1 / -1; justify-self: start; }

/* Standard WordPress pages */
.hua-basic-page { min-height: 70vh; padding: 160px 0 100px; }
.hua-basic-page h1 { font-family: var(--hua-serif); font-size: clamp(54px, 7vw, 90px); line-height: .95; }
.hua-basic-page__content { max-width: 860px; }

/* Reveal motion */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--hua-ease), transform .75s var(--hua-ease); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Focus states */
:focus-visible { outline: 3px solid rgba(201,162,39,.55); outline-offset: 4px; }

/* Tablet */
@media (max-width: 1120px) {
  .hua-header__inner { grid-template-columns: 180px 1fr auto; }
  .hua-nav { gap: 20px; }
  .hua-hero__grid { grid-template-columns: 1fr .8fr; }
  .hua-hero__portrait { width: 470px; right: -40px; }
  .hua-hero__quote { right: -12px; top: 170px; }
  .hua-route-group { grid-template-columns: 1fr; }
  .hua-route-rail { grid-template-columns: repeat(3, 1fr); }
  .hua-route-rail--compact { grid-template-columns: repeat(3, 1fr); }
  .hua-route-detail { grid-template-columns: 1fr 1fr; }
  .hua-route-detail__action { grid-column: 1 / -1; }
  .hua-course-editorial { grid-template-columns: 1fr; }
  .hua-course-feature { min-height: 620px; }
  .hua-course-list { grid-template-columns: repeat(2, 1fr); }
  .hua-course-row--media { grid-column: 1 / -1; }
  .hua-mentor__grid { grid-template-columns: .9fr 1.1fr; gap: 54px; }
  .hua-success__dashboard { grid-template-columns: .72fr 1.28fr; }
  .hua-success__quote { grid-column: 1 / -1; min-height: 320px; }
  .hua-resource-grid { grid-template-columns: 1.15fr .85fr; }
  .hua-resource:last-child { grid-column: 1 / -1; }
  .hua-footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .hua-footer__contact { grid-column: 2 / -1; }
}

/* Mobile navigation and compact layouts */
@media (max-width: 900px) {
  :root { --hua-shell: min(100% - 36px, 1320px); }
  .admin-bar .hua-header { top: 46px; }
  .hua-header__inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .hua-brand { width: 170px; }
  .hua-brand__emblem { width: 48px; height: 42px; }
  .hua-brand__copy strong { font-size: 24px; }
  .hua-nav { position: fixed; inset: 76px 18px auto; z-index: 1001; display: grid; gap: 0; padding: 16px; border: 1px solid var(--hua-border); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: var(--hua-shadow-high); color: var(--hua-text); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .25s var(--hua-ease), transform .25s var(--hua-ease); }
  .admin-bar .hua-nav { inset-block-start: 122px; }
  .hua-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hua-nav a { padding: 13px 10px; border-bottom: 1px solid var(--hua-border); }
  .hua-nav a:last-child { border-bottom: 0; }
  .hua-header__actions .hua-button { display: none; }
  .hua-menu-toggle { display: block; }
  .hua-hero { min-height: auto; }
  .hua-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-top: 118px; }
  .hua-hero__content { padding: 64px 0 24px; }
  .hua-hero h1 { font-size: clamp(62px, 16vw, 92px); }
  .hua-hero__visual { min-height: 620px; }
  .hua-hero__portrait { width: min(580px, 92vw); left: 50%; right: auto; transform: translateX(-50%); }
  .hua-hero__halo { left: 50%; right: auto; transform: translateX(-50%); }
  .hua-hero__quote { top: auto; right: 0; bottom: 44px; width: 220px; }
  .hua-section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .hua-route-detail { grid-template-columns: 1fr; }
  .hua-route-detail__action { grid-column: auto; }
  .hua-course-list { grid-template-columns: 1fr; }
  .hua-course-row--media { grid-column: auto; }
  .hua-mentor__grid { grid-template-columns: 1fr; }
  .hua-mentor__portrait { min-height: 640px; }
  .hua-success__dashboard { grid-template-columns: 1fr; }
  .hua-success__quote { grid-column: auto; }
  .hua-resource-grid { grid-template-columns: 1fr 1fr; }
  .hua-resource--feature { grid-column: 1 / -1; }
  .hua-resource:last-child { grid-column: auto; }
  .hua-faq__grid { grid-template-columns: 1fr; gap: 50px; }
  .hua-faq__intro { position: static; }
  .hua-footer__grid { grid-template-columns: 1fr 1fr; }
  .hua-footer__brand { grid-column: 1 / -1; }
  .hua-footer__contact { grid-column: auto; }
}

@media (max-width: 640px) {
  :root { --hua-shell: min(100% - 28px, 1320px); }
  .hua-section { padding: 80px 0; }
  .hua-section-heading h2, .hua-faq__intro h2, .hua-mentor__content h2, .hua-cta h2 { font-size: clamp(42px, 14vw, 60px); }
  .hua-hero__content { padding-top: 40px; }
  .hua-hero__lead { font-size: 16px; }
  .hua-hero__actions { display: grid; }
  .hua-hero__actions .hua-button { width: 100%; }
  .hua-hero__proof { grid-template-columns: 1fr; }
  .hua-hero__proof div { padding: 16px 0; }
  .hua-hero__proof div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .hua-hero__visual { min-height: 540px; }
  .hua-hero__quote { display: none; }
  .hua-route-rail, .hua-route-rail--compact { grid-template-columns: 1fr 1fr; }
  .hua-route-group__label { padding: 18px; }
  .hua-route-detail { padding: 24px; }
  .hua-story { min-height: 520px; }
  .hua-story__content h2 { font-size: 50px; }
  .hua-story__content--right { align-items: flex-start; text-align: left; }
  .hua-story--mentorship .hua-story__shade { background: linear-gradient(0deg, rgba(5,14,28,.82), rgba(5,14,28,.1) 72%); }
  .hua-course-feature { min-height: 560px; }
  .hua-course-row--media { grid-template-columns: 1fr; padding: 28px 28px 0; }
  .hua-course-row--media img { min-height: 220px; margin: 18px -28px 0; width: calc(100% + 56px); }
  .hua-mentor__portrait { min-height: 560px; }
  .hua-mentor__portrait img { max-height: 540px; }
  .hua-success__focus ul { grid-template-columns: 1fr; }
  .hua-resource-grid { grid-template-columns: 1fr; }
  .hua-resource--feature, .hua-resource:last-child { grid-column: auto; }
  .hua-accordion__item button { min-height: 76px; font-size: 23px; }
  .hua-assessment__form { grid-template-columns: 1fr; }
  .hua-assessment__full, .hua-assessment__submit { grid-column: auto; }
  .hua-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hua-footer__brand, .hua-footer__contact { grid-column: auto; }
  .hua-footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .hua-route-detail__actions { width: 100%; flex-direction: column; }
  .hua-route-detail__actions .hua-button { width: 100%; justify-content: center; }
}
