/* Visa guides extend the established JCRS navy and gold identity. */
.brand-tagline { font-size: 0.75rem; letter-spacing: 0.045em; }
.eyebrow,
.section-kicker,
.card-topline span,
.card-label,
.support-strip > span,
.step-number,
.about-values span { font-size: 0.8rem; }
.primary-nav > a,
.nav-dropdown > summary {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav-dropdown > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown[open] > summary { color: var(--gold-light); }
.nav-dropdown[open] > summary > span { transform: rotate(180deg); }

.visa-menu {
  position: absolute;
  top: calc(var(--header-height) - 4px);
  right: max(24px, calc((100vw - 1240px) / 2));
  width: min(620px, calc(100vw - 48px));
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 22px 60px #0003;
}

.menu-eyebrow {
  margin: 0 0 18px;
  color: #79602f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visa-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }
.visa-menu-grid a { padding: 14px 10px; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.visa-menu-grid strong { font-size: 1rem; }
.visa-menu-grid span { color: var(--slate); font-size: 0.88rem; line-height: 1.5; }
.visa-menu-grid a:hover { background: var(--paper); }
.visa-menu a:focus-visible { outline-color: #aa7b29; }
.menu-all-link { display: block; padding-top: 22px; font-size: 0.94rem; font-weight: 650; }
.menu-all-link > span { margin-left: 6px; }

.hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr); gap: clamp(36px, 5vw, 76px); }
.hero-profile { width: 100%; max-width: 360px; justify-self: end; align-self: center; background: var(--ink); border: 1px solid #e2c58f77; }
.hero-profile > a { display: block; }
.hero-profile img { width: 100%; height: auto; }
.hero-profile a > div { padding: 24px; border-top: 1px solid var(--line-dark); }
.hero-profile span { color: var(--gold-light); font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; }
.hero-profile strong { display: block; margin-top: 8px; font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.hero-profile p { margin: 12px 0 0; color: #dbe2e6; font-size: 0.9rem; line-height: 1.5; }

.visa-home { background: #fff; }
.visa-home .section-heading h2 { font-size: clamp(2.6rem, 4.2vw, 4.1rem); }
.visa-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.visa-card { display: flex; min-width: 0; flex-direction: column; padding: clamp(24px, 2.8vw, 36px); background: #f5f6f7; border: 1px solid #d9dfe4; border-top: 3px solid var(--gold); transition: background 160ms ease, border-color 160ms ease; }
.visa-card:hover { background: #fff; border-color: #aa7b29; }
.visa-card .visa-type { margin: 0 0 26px; color: #755628; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.visa-card h3 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(1.8rem, 2.3vw, 2.2rem); font-weight: 400; line-height: 1.1; }
.visa-card h3 a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.visa-card h3 span { font-family: var(--sans); font-size: 1.2rem; color: #896835; }
.visa-card h4 { margin: 0; font-size: 1.08rem; font-weight: 650; line-height: 1.4; }
.visa-card > p:not(.visa-type) { margin: 14px 0 30px; color: var(--slate); font-size: 1rem; }
.visa-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.93rem; font-weight: 650; }
.visa-section-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 38px; }
.visa-section-footer p { max-width: 650px; color: var(--slate); }

.process-home { color: #fff; background: var(--ink); }
.process-home .section-heading { grid-template-columns: 1.3fr 0.7fr; }
.process-home .section-heading h2 { font-size: clamp(2.6rem, 4.2vw, 4.1rem); }
.process-home .section-heading > p { color: #c1cbd2; }
.process-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line-dark); }
.process-home-grid > a { display: flex; flex-direction: column; padding: 36px 32px 36px 0; }
.process-home-grid > a + a { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.process-home-grid > a > span { color: var(--gold-light); font-size: 0.85rem; }
.process-home-grid h3 { margin: 28px 0 14px; font-family: var(--display); font-size: 2.1rem; font-weight: 400; line-height: 1.2; }
.process-home-grid p { margin: 0 0 24px; color: #c1cbd2; }
.process-home-grid strong { margin-top: auto; color: var(--gold-light); font-size: 0.9rem; font-weight: 500; }
.process-home-grid > a:hover h3 { color: var(--gold-light); }
.process-guide-link { display: inline-block; margin-top: 26px; padding-block: 12px; text-decoration: underline; text-underline-offset: 6px; font-size: 0.94rem; color: #e2c58f; }
.process-home :focus-visible { outline-color: var(--gold-light); }

.visa-hub-hero h1 { max-width: 1000px; }
.visa-goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 52px; border: 1px solid #ffffff40; background: #ffffff40; }
.visa-goals a { display: grid; gap: 8px; padding: 26px; background: #102334; }
.visa-goals a:hover { background: #213747; }
.visa-goals strong { color: #fff; font-size: 1rem; font-weight: 600; }
.visa-goals span { color: var(--gold-light); font-size: 0.9rem; }
.visa-group { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 56px; padding-block: 48px; border-top: 1px solid var(--line); }
.visa-group:first-child { padding-top: 0; border-top: 0; }
.visa-group .visa-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visa-group h2,
.comparison-section h2,
.process-invitation h2,
.process-guide h2 { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3.3rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
.visa-group-heading .section-kicker { margin-bottom: 18px; }
.visa-group .visa-card-grid:has(> :only-child) { grid-template-columns: 1fr; }
.comparison-section { margin-top: 72px; }
.comparison-section > p:not(.section-kicker) { max-width: 780px; color: var(--slate); }
.comparison-scroll { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.comparison-scroll table { width: 100%; border-collapse: collapse; min-width: 700px; font-size: 0.96rem; }
.comparison-scroll caption { text-align: left; padding: 20px 24px; font-size: 0.88rem; color: var(--slate); border-bottom: 1px solid var(--line); }
.comparison-scroll th,
.comparison-scroll td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-scroll thead { color: #fff; background: var(--ink); }
.comparison-scroll tbody th { white-space: nowrap; font-weight: 650; }
.comparison-scroll tbody td { color: #43535f; }
.comparison-scroll tbody tr:last-child > * { border-bottom: 0; }
.comparison-scroll a { text-decoration: underline; text-underline-offset: 4px; }
.process-invitation { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(30px, 4vw, 52px); margin: 72px 0 42px; background: #e7ecef; border-left: 3px solid var(--gold); }
.process-invitation > div { max-width: 730px; }
.process-invitation p:not(.section-kicker) { margin-bottom: 0; color: #43535f; }
.process-invitation .button { flex-shrink: 0; }
.visa-hero-columns { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; align-items: end; }
.visa-detail-hero h1 { font-size: clamp(2.65rem, 4.5vw, 4.65rem); }
.visa-facts { margin: 0; border-top: 1px solid #ffffff44; }
.visa-facts > div { padding: 22px 0; border-bottom: 1px solid #ffffff44; }
.visa-facts dt { color: var(--gold-light); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.visa-facts dd { margin: 8px 0 0; font-size: 1rem; }
.guide-navigation { position: sticky; z-index: 40; top: var(--header-height); background: #fff; border-bottom: 1px solid var(--line); }
.guide-navigation nav { display: flex; gap: clamp(18px, 3vw, 42px); overflow-x: auto; }
.guide-navigation a { display: flex; align-items: center; min-height: 64px; white-space: nowrap; font-size: 0.91rem; font-weight: 600; border-bottom: 2px solid transparent; }
.guide-navigation a:hover { border-bottom-color: #aa7b29; }
.guide-navigation a:focus-visible { outline-offset: -4px; }
.visa-article section[id] { scroll-margin-top: 84px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(56px, 8vw, 120px); }
.guide-copy { min-width: 0; }
.guide-copy > section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.guide-copy h2 { font-family: var(--display); font-size: clamp(2.15rem, 3.3vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 400; margin: 0 0 28px; }
.guide-copy h3 { margin: 30px 0 12px; font-size: 1.2rem; font-weight: 650; line-height: 1.35; }
.guide-copy p { color: #43535f; line-height: 1.8; }
.guide-copy .section-kicker { color: #8f6c33; }
.guide-copy .scope-box h2 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 12px; line-height: 1.5; }
.guide-copy .scope-box p { margin-bottom: 0; }
.criteria-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); }
.criteria-list h3 { margin: 0 0 12px; }
.criteria-list p { margin: 0; }
.criteria-number { padding-top: 3px; font-size: 0.85rem; color: #8f6c33; }
.guide-callout { margin: 28px 0; padding: 22px 26px; background: #e8ecee; border-left: 3px solid var(--gold); color: #374853; font-size: 1rem; line-height: 1.7; }
.editorial-list { margin: 22px 0 30px; padding-left: 23px; color: #43535f; }
.editorial-list li { padding: 10px 0 10px 6px; border-bottom: 1px solid var(--line); }
.inline-link { display: inline-block; padding-block: 12px; text-decoration: underline; text-underline-offset: 5px; font-size: 0.96rem; font-weight: 600; }
.source-note { display: grid; gap: 8px; margin-top: 24px; color: #5f6d77; font-size: 0.875rem; line-height: 1.6; }
.source-note > span { font-size: 0.8rem; font-weight: 650; }
.source-note a { width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.source-note a:hover { color: #263e50; }
.guide-sidebar { min-width: 0; align-self: start; }
.sidebar-founder { background: #fff; border: 1px solid var(--line); padding: 26px; }
.sidebar-founder img { width: 90px; height: 112px; margin-bottom: 24px; }
.sidebar-founder .section-kicker { font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 18px; }
.sidebar-founder h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.17; }
.sidebar-founder p:not(.section-kicker) { margin-block: 22px; color: var(--slate); font-size: 0.94rem; }
.sidebar-founder .button { padding-inline: 16px; width: 100%; }
.related-visas { margin-top: 32px; }
.related-visas h2 { font-size: 1rem; font-weight: 650; margin: 0 0 18px; }
.related-visas a { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.related-visas a:hover { text-decoration: underline; text-underline-offset: 5px; }
.guide-copy .accordion .answer p { padding-right: 12px; }
.process-basics { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 70px; }
.basics-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.basics-list dt { margin: 0 0 14px; font-family: var(--display); font-size: 1.95rem; line-height: 1.2; }
.basics-list dd { margin: 0; color: #43535f; font-size: 1rem; }
.process-index { display: flex; flex-wrap: wrap; gap: 12px; margin: 58px 0 0; padding-bottom: 46px; }
.process-index a { padding: 12px 18px; border: 1px solid #bfc8cf; font-size: 0.92rem; }
.process-index a:hover { background: var(--ink); color: #fff; }
.process-chapter { display: grid; grid-template-columns: 0.32fr 1fr; gap: 70px; padding-block: 62px; border-top: 1px solid var(--line); }
.chapter-number { font-family: var(--display); font-size: 4rem; line-height: 1; color: #8f6c33; }
.process-chapter h2 { margin-bottom: 28px; }
.process-chapter p:not(.section-kicker) { color: #43535f; line-height: 1.8; }
.process-planning { padding: 48px; margin-top: 34px; background: var(--ink); color: #fff; }
.process-planning > .section-kicker { color: var(--gold-light); }
.planning-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 38px; }
.planning-columns h3 { font-size: 1.12rem; font-weight: 600; margin: 0 0 16px; }
.planning-columns p { margin: 0; color: #c1cbd2; }
.process-questions { margin-top: 72px; max-width: 930px; }
.process-questions .accordion { margin-top: 32px; }
.process-guide .scope-box h2 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
.footer-nav { gap: 12px 24px; }
.footer-nav a { min-height: 32px; display: inline-flex; align-items: center; font-size: 0.875rem; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
  .hero h1 { font-size: 3.65rem; }
  .hero-actions { flex-wrap: wrap; }
  .visa-card-grid { gap: 18px; }
  .visa-card h3 { font-size: 1.85rem; }
  .visa-hero-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .visa-group { grid-template-columns: 1fr; gap: 28px; }
  .process-invitation { flex-direction: column; align-items: flex-start; }
  .primary-nav { gap: 16px; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 8vw, 4.9rem); }
  .hero-profile { display: none; }
  .primary-nav > a,
  .nav-dropdown > summary { padding: 16px 0; font-family: var(--display); font-size: 1.65rem; font-weight: 400; border-bottom: 1px solid var(--line-dark); }
  .nav-dropdown > summary { justify-content: space-between; }
  .visa-menu { position: static; width: 100%; padding: 22px; margin-top: 8px; box-shadow: none; }
  .visa-menu-grid { gap: 8px 16px; }
  .visa-menu-grid a { padding-inline: 0; }
  .visa-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visa-section-footer { flex-direction: column; align-items: flex-start; }
  .process-home .section-heading { grid-template-columns: 1fr; }
  .process-home-grid h3 { font-size: 1.8rem; }
  .process-home-grid > a { padding-right: 22px; }
  .process-home-grid > a + a { padding-left: 22px; }
  .visa-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visa-hero-columns { grid-template-columns: 1fr; }
  .visa-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .visa-facts dd { font-size: 0.94rem; }
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .guide-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-visas { margin-top: 0; }
  .process-basics { grid-template-columns: 1fr; gap: 36px; }
  .process-chapter { grid-template-columns: 65px 1fr; gap: 28px; }
  .process-planning { padding: 36px; }
  .planning-columns { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.55rem, 9.7vw, 3.7rem); }
  .hero-actions { align-items: stretch; }
  .hero-principles li { font-size: 0.78rem; }
  .visa-card-grid,
  .visa-group .visa-card-grid { grid-template-columns: 1fr; }
  .visa-card { padding: 28px 24px; }
  .visa-card h3 { font-size: 2rem; }
  .visa-card .visa-type { font-size: 0.8rem; }
  .visa-home .section-heading h2,
  .process-home .section-heading h2 { font-size: clamp(2.4rem, 10vw, 3.3rem); }
  .visa-menu-grid { grid-template-columns: 1fr; }
  .visa-menu { padding: 20px; }
  .process-home-grid { grid-template-columns: 1fr; }
  .process-home-grid > a,
  .process-home-grid > a + a { padding: 28px 0; border-left: 0; }
  .process-home-grid > a + a { border-top: 1px solid var(--line-dark); }
  .process-home-grid h3 { margin-top: 16px; font-size: 2rem; }
  .visa-goals { margin-top: 38px; }
  .visa-goals a { padding: 20px 16px; }
  .visa-goals strong { font-size: 0.94rem; }
  .visa-goals span { font-size: 0.85rem; }
  .visa-group { padding-block: 36px; }
  .visa-detail-hero h1 { font-size: clamp(2.4rem, 9.5vw, 3.7rem); }
  .visa-facts { grid-template-columns: 1fr; gap: 0; }
  .visa-facts > div { padding-block: 18px; }
  .visa-facts dt { font-size: 0.8rem; }
  .guide-navigation a { min-height: 56px; }
  .guide-copy > section { padding-bottom: 38px; margin-bottom: 42px; }
  .guide-copy h2 { font-size: 2.15rem; }
  .guide-copy h3 { font-size: 1.13rem; }
  .criteria-list > div { grid-template-columns: 30px 1fr; gap: 12px; }
  .guide-callout { padding: 20px; }
  .guide-sidebar { grid-template-columns: 1fr; }
  .basics-list { grid-template-columns: 1fr; gap: 28px; }
  .basics-list > div { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .process-chapter { grid-template-columns: 1fr; gap: 22px; padding-block: 42px; }
  .chapter-number { font-size: 2.8rem; }
  .process-chapter .section-kicker { font-size: 0.8rem; }
  .process-planning { padding: 30px 24px; }
  .process-invitation { padding: 28px 22px; }
  .process-invitation h2,
  .process-guide h2 { font-size: 2.2rem; }
  .process-invitation .button { width: 100%; flex-shrink: 1; }
  .comparison-section { margin-top: 48px; }
  .comparison-scroll th,
  .comparison-scroll td { padding: 18px; }
  .source-note a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .visa-card { transition: none; }
}

/* A clear first step, tangible deliverables and optional contact preparation. */
.hero-reassurance { margin: 24px 0 0; color: #e2c58f; font-size: 1rem; line-height: 1.6; }
.hero-principles li { font-size: 0.875rem; }
.beginner-home { background: #fff; }
.beginner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.goal-card { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid #d5dce1; border-top: 3px solid var(--gold); background: #f5f6f7; }
.goal-card:hover { background: #fff; border-color: #a07935; }
.goal-number { color: #795822; font-size: 0.875rem; font-weight: 600; }
.goal-card h3 { margin: 30px 0 16px; font-family: var(--display); font-weight: 400; font-size: 1.85rem; line-height: 1.15; }
.goal-card p { margin: 0 0 26px; color: #43535f; font-size: 1rem; }
.goal-card strong { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 650; }
.goal-card strong > span { white-space: nowrap; }
.beginner-help { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 32px; padding: 26px 0; border-block: 1px solid var(--line); }
.beginner-help p { margin: 0; max-width: 670px; color: #43535f; }
.beginner-help strong { display: block; margin-bottom: 4px; color: var(--ink); }
.beginner-help .inline-link { flex-shrink: 0; }
.beginner-note { max-width: 960px; margin: 22px 0 0; color: #566572; font-size: 0.875rem; line-height: 1.7; }
.service-outputs { margin: 0; padding: 0; list-style: none; }
.service-outputs li { padding: 22px 0; border-top: 1px solid #ffffff30; }
.service-outputs strong { display: block; margin-bottom: 8px; color: #fff; font-size: 1.05rem; font-weight: 600; }
.service-outputs span { color: #c4ced5; line-height: 1.7; }
.solution-card-featured .card-link { color: var(--gold-light); }
.solution-card .card-link { min-height: 44px; font-size: 0.94rem; }
.solution-card .delivery-example { color: #344956; }
.delivery-example strong { color: var(--ink); font-weight: 650; }
.visa-card > p.visa-code { margin: 0 0 4px; color: #795822; font-size: 1rem; font-weight: 650; }
.contact-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 85px); }
.direct-contact { margin-top: 32px; }
.contact-copy > p.contact-expectation { font-size: 1rem; color: #c4ced5; }
.contact-form { align-self: start; }
.contact-form h3 { margin: 0 0 16px; font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1.2; }
.message-help { margin: 0 0 32px; color: #c4ced5; font-size: 1rem; }
.contact-form label small { font-size: 0.875rem; font-weight: 400; letter-spacing: 0; color: #c4ced5; }
.contact-form select { font-size: 1rem; }
.contact-form option, .contact-form optgroup { color: var(--ink); background: #fff; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #c4ced5; opacity: 1; }
.contact-form :focus-visible, .direct-contact:focus-visible { outline-color: var(--gold-light); }

@media (max-width: 1080px) {
  .beginner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beginner-help { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .beginner-grid { grid-template-columns: 1fr; gap: 16px; }
  .goal-card { padding: 26px; }
  .goal-card h3 { margin-top: 18px; }
  .direct-contact { width: 100%; }
  .contact-form h3 { font-size: 1.85rem; }
  .hero-principles { gap: 10px 18px; }
}

/* Educational depth within the existing navy and gold visual system. */
.editorial-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-block: 24px; color: #52626e; font-size: 0.875rem; border-bottom: 1px solid var(--line); }
.editorial-meta a { text-decoration: underline; text-underline-offset: 4px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.knowledge-grid > a { display: flex; flex-direction: column; padding: 30px 0; border-top: 1px solid #ffffff38; }
.knowledge-grid h3 { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.18; }
.knowledge-grid p { margin: 0 0 22px; color: #c4ced5; }
.knowledge-grid a > span { margin-top: auto; color: var(--gold-light); font-size: 0.94rem; }
.knowledge-grid a:hover h3 { color: var(--gold-light); }
.confidence-block { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.confidence-block h3 { font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1.2; margin: 0 0 22px; }
.confidence-block ul { padding-left: 20px; color: #43535f; }
.confidence-block li { margin-bottom: 16px; }
.confidence-block p { font-size: 0.94rem; }
.knowledge-chapter { padding-block: 56px; border-top: 1px solid var(--line); }
.knowledge-chapter > p:not(.section-kicker), .knowledge-chapter dd { color: #43535f; line-height: 1.8; }
.knowledge-chapter h2 { max-width: 940px; margin-bottom: 28px; }
.knowledge-chapter h3 { margin: 28px 0 16px; font-size: 1.15rem; line-height: 1.4; }
.knowledge-chapter .basics-list { margin-block: 36px; }
.journey-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 44px; padding: 0; list-style: none; counter-reset: journey; }
.journey-list li { counter-increment: journey; padding: 26px; background: #e8ecee; border-left: 3px solid var(--gold); }
.journey-list li::before { content: '0' counter(journey); color: #795822; font-weight: 650; font-size: 0.875rem; }
.journey-list h3 { margin-top: 14px; }
.journey-list p { margin-bottom: 0; color: #43535f; }
.practical-points { display: grid; gap: 20px; margin-block: 30px; }
.practical-points > div { padding: 24px; background: #e8ecee; border-left: 3px solid var(--gold); }
.practical-points h3 { margin: 0 0 12px; }
.practical-points p { margin: 0; color: #43535f; }
.evidence-criteria { padding-left: 26px; color: #43535f; }
.evidence-criteria li { padding: 12px 0 12px 6px; border-bottom: 1px solid var(--line); }
.evidence-criteria li::marker { color: #795822; font-weight: 650; }
.guide-copy .inline-link { margin-right: 18px; }
@media (max-width: 880px) { .knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .knowledge-grid, .journey-list { grid-template-columns: 1fr; }
  .knowledge-grid h3 { font-size: 1.85rem; }
  .knowledge-chapter { padding-block: 38px; }
  .editorial-meta { gap: 12px; }
}

/* Institutional introduction and a separate seven-question intake. */
.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero-copy { max-width: 920px; }
.hero h1 { max-width: 920px; font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.hero-lead { max-width: 700px; }
.assessment-hero h1 { max-width: 940px; }
.assessment-hero .text-link { display: inline-block; margin-top: 22px; }
.assessment-intro-note { max-width: 760px; margin: 22px 0 0; color: #c4ced5; font-size: 0.94rem; }
.assessment-layout { max-width: 1120px; }
.assessment-form { padding: clamp(24px, 4vw, 56px); background: #fff; border: 1px solid var(--line); }
.assessment-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.assessment-form h2, .assessment-result h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 3.5vw, 3.5rem); font-weight: 400; line-height: 1.12; }
.assessment-progress { flex-shrink: 0; margin: 0; padding: 10px 14px; color: #725522; background: #f3ead9; font-size: 0.875rem; }
.assessment-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.assessment-field { min-width: 0; }
.assessment-field label { display: block; font-size: 1.05rem; font-weight: 650; line-height: 1.55; }
.question-number { display: block; color: #876428; font-size: 0.875rem; margin-bottom: 10px; }
.assessment-field p { margin: 10px 0 14px; color: #52626e; font-size: 0.94rem; }
.assessment-field select { width: 100%; min-width: 0; min-height: 54px; padding: 14px 30px 14px 12px; border: 1px solid #a9b6bf; border-radius: 0; background: #f6f8f9; color: var(--ink); font-size: 1rem; }
.assessment-privacy { margin: 36px 0 26px; color: #52626e; font-size: 0.875rem; line-height: 1.7; }
.assessment-privacy a, .assessment-form noscript a { text-decoration: underline; text-underline-offset: 4px; }
.assessment-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.assessment-clear, .assessment-edit { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 0.94rem; cursor: pointer; color: var(--ink); }
.assessment-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.assessment-error { color: #96311f; font-size: 0.94rem; }
.assessment-result { padding: clamp(24px, 4vw, 56px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.assessment-result h3 { margin: 30px 0 20px; font-size: 1.2rem; line-height: 1.4; }
.assessment-result p { color: #43535f; }
.assessment-checklist { padding-left: 22px; color: #43535f; }
.assessment-checklist li { padding: 12px 0 12px 6px; border-bottom: 1px solid var(--line); }
.assessment-summary { margin-block: 30px; border: 1px solid var(--line); padding: 20px 24px; }
.assessment-summary summary { min-height: 30px; font-weight: 650; cursor: pointer; }
.assessment-summary dl > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.assessment-summary dl > div:last-child { border: 0; }
.assessment-summary dt { font-weight: 650; }
.assessment-summary dd { margin: 8px 0 0; color: #43535f; }
.assessment-result-note { padding: 20px 24px; background: #e8ecee; border-left: 3px solid var(--gold); font-size: 0.94rem; }
.assessment-result-contact { margin-top: 32px; padding: clamp(24px, 3vw, 38px); background: var(--ink); color: #fff; }
.assessment-result-contact h3 { margin-top: 0; font-family: var(--display); font-size: 2rem; font-weight: 400; }
.assessment-result-contact p { color: #c4ced5; }
.assessment-result-contact .button { margin: 10px 20px 10px 0; }
.assessment-edit { color: #e2c58f; }
.assessment-result-contact :focus-visible { outline-color: var(--gold-light); }
.assessment-form[hidden], .assessment-result[hidden] { display: none; }
@media (max-width: 640px) {
  .assessment-form-heading { flex-direction: column; gap: 22px; }
  .assessment-fields { grid-template-columns: 1fr; gap: 28px; }
  .assessment-actions .button, .assessment-result-contact .button { width: 100%; }
  .assessment-summary { padding: 18px; }
}
