:root {
  color-scheme: light;
  --navy: #0b2545;
  --navy-deep: #071a31;
  --gold: #c7a970;
  --paper: #f7f1e5;
  --mist: #d7d2c8;
  --mist-light: #ebe6dd;
  --white: #ffffff;
  --ink: #102944;
  --muted: #687384;
  --shadow: 0 28px 66px rgba(7, 26, 49, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(178px, 1fr) auto auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding: 14px max(24px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(215, 210, 200, 0.92);
  background: rgba(247, 241, 229, 0.94);
  backdrop-filter: blur(18px);
  transition: min-height 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(7, 26, 49, 0.08);
}

.brand,
.header-actions,
.hero-actions,
.contact-actions > div {
  display: flex;
  align-items: center;
}

.brand-lockup {
  display: block;
  width: 174px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #536172;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a,
.text-link,
.contact-link,
.hero-scroll {
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.text-link:hover,
.contact-link:hover,
.hero-scroll:hover {
  color: var(--gold);
}

.header-actions {
  justify-self: end;
  gap: 9px;
}

.portal-link,
.exam-link,
.consultation-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.portal-link:hover,
.exam-link:hover,
.consultation-link:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.consultation-link,
.primary-action {
  background: var(--navy);
  color: var(--white);
}

.consultation-link:hover,
.primary-action:hover {
  background: #17416f;
}

.exam-link {
  border-color: rgba(11, 37, 69, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: var(--navy);
}

.portal-link {
  min-height: 0;
  border: 0;
  padding: 10px 3px 10px 8px;
  color: var(--navy);
}

.exam-link {
  border-color: rgba(11, 37, 69, 0.18);
  background: var(--white);
  color: var(--navy);
}

.hero-section {
  position: relative;
  min-height: clamp(580px, 78svh, 760px);
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-image {
  background: url("./assets/pinnacle-harbour-consultation-hero.webp") center / cover no-repeat;
  transform: scale(1.015);
  animation: settle-hero 1800ms ease-out both;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 26, 49, 0.86) 0%, rgba(7, 26, 49, 0.66) 51%, rgba(7, 26, 49, 0.34) 100%);
}

.hero-layout {
  position: relative;
  display: flex;
  min-height: clamp(580px, 78svh, 760px);
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 96px;
  padding-bottom: 66px;
}

.hero-copy {
  width: min(820px, 100%);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #e4ca97;
}

.hero-copy h1 {
  max-width: 820px;
  margin-top: 20px;
  color: var(--white);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.17;
}

.hero-copy h1 span {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-description {
  max-width: 760px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.78;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-evidence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 800px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-evidence span {
  min-height: 52px;
  padding: 16px 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-evidence span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-primary {
  background: var(--gold);
  color: var(--navy);
}

.hero-primary:hover {
  background: #ddc18a;
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.secondary-action:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-scroll {
  display: grid;
  gap: 9px;
  align-self: flex-end;
  min-width: 92px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.hero-scroll span:first-child {
  color: #e4ca97;
  font-size: 17px;
}

.introduction-section {
  padding: 84px 0 88px;
  background: var(--navy);
  color: var(--white);
}

.introduction-grid,
.assessment-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 80px;
  align-items: center;
}

.introduction-heading h2,
.section-heading h2,
.focus-heading h2,
.assessment-copy h2,
.assessment-heading h2,
.schools-heading h2,
.contact-layout h2 {
  margin-top: 13px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
}

.introduction-copy {
  padding-left: 28px;
  border-left: 1px solid rgba(228, 202, 151, 0.72);
}

.introduction-copy p,
.schools-heading > p,
.assessment-copy > p:not(.eyebrow),
.contact-actions > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.text-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.text-link span,
.contact-link span {
  color: var(--gold);
  font-size: 20px;
}

.focus-section,
.service-section,
.journey-section {
  padding: 112px 0;
}

.focus-section {
  position: relative;
  min-height: 700px;
  padding: 102px 0 66px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  isolation: isolate;
}

.focus-image,
.focus-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.focus-image {
  background: url("./assets/pinnacle-focus-family.webp") center center / cover no-repeat;
}

.focus-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 26, 49, 0.93) 0%, rgba(7, 26, 49, 0.82) 34%, rgba(7, 26, 49, 0.48) 67%, rgba(7, 26, 49, 0.53) 100%);
}

.focus-layout {
  display: flex;
  min-height: 532px;
  flex-direction: column;
  justify-content: space-between;
}

.focus-heading {
  max-width: 780px;
}

.focus-heading .eyebrow {
  color: #e4ca97;
}

.focus-heading h2 {
  color: var(--white);
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
}

.focus-list article {
  min-height: 160px;
  padding: 27px 28px 0 0;
}

.focus-list article + article {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.focus-list h3,
.service-rail h3,
.journey-list h3 {
  margin-top: 20px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.35;
}

.focus-list h3 {
  margin-top: 0;
  color: var(--white);
}

.focus-list p,
.service-rail p,
.journey-list p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.focus-list p {
  color: rgba(255, 255, 255, 0.77);
}

.service-section {
  overflow: hidden;
  background: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  gap: 80px;
  align-items: end;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.service-hub {
  position: relative;
  max-width: 1120px;
  height: 590px;
  margin: 68px auto 0;
  border-top: 1px solid rgba(11, 37, 69, 0.14);
  border-bottom: 1px solid rgba(11, 37, 69, 0.14);
}

.service-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 458px;
  height: 2px;
  background: rgba(11, 37, 69, 0.16);
  transform-origin: left center;
  transition: background-color 420ms ease, opacity 420ms ease;
}

.service-connector-top-left {
  transform: rotate(-152deg);
}

.service-connector-top-right {
  transform: rotate(-28deg);
}

.service-connector-bottom-right {
  transform: rotate(28deg);
}

.service-connector-bottom-left {
  transform: rotate(152deg);
}

.service-hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 246px;
  min-height: 198px;
  align-content: center;
  justify-items: center;
  padding: 28px;
  border: 1px solid rgba(220, 192, 135, 0.88);
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  transform: translate(-50%, -50%);
}

.service-hub-core::before {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(183, 142, 71, 0.44);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.service-hub-core span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-hub-core strong {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.4;
}

.service-spoke {
  position: absolute;
  z-index: 1;
  width: min(100%, 308px);
  min-height: 180px;
  padding: 26px 27px;
  border: 1px solid rgba(11, 37, 69, 0.14);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(7, 26, 49, 0.05);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 420ms ease, border-color 420ms ease, box-shadow 420ms ease, color 420ms ease, transform 420ms ease;
}

.service-spoke::before {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--gold);
  content: "";
  transform-origin: left center;
  transition: background-color 420ms ease, transform 420ms ease;
}

.service-spoke-top-left {
  top: 0;
  left: 0;
}

.service-spoke-top-right {
  top: 0;
  right: 0;
}

.service-spoke-bottom-right {
  right: 0;
  bottom: 0;
}

.service-spoke-bottom-left {
  bottom: 0;
  left: 0;
}

.service-spoke h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.38;
}

.service-index {
  position: absolute;
  top: 24px;
  right: 25px;
  color: #98753d;
  font-size: 12px;
  font-weight: 900;
}

.service-spoke p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-spoke:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 30px rgba(7, 26, 49, 0.11);
  transform: translateY(-4px);
}

.service-spoke:focus-visible {
  outline: 3px solid rgba(199, 169, 112, 0.58);
  outline-offset: 4px;
}

.service-connector.is-active {
  background: var(--gold);
}

.service-spoke.is-active {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 18px 34px rgba(7, 26, 49, 0.18);
  transform: translateY(-8px);
}

.service-spoke.is-active::before {
  background: #e4ca97;
  transform: scaleX(1.75);
}

.service-spoke.is-active h3 {
  color: var(--white);
}

.service-spoke.is-active .service-index {
  color: #e4ca97;
}

.service-spoke.is-active p {
  color: rgba(255, 255, 255, 0.78);
}

.service-hub-core.is-pulsing {
  animation: hub-pulse 580ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.service-hub[data-reveal].is-visible .service-hub-core {
  animation: hub-settle 720ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.service-hub[data-reveal].is-visible .service-spoke {
  animation: spoke-arrive 620ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.service-hub[data-reveal].is-visible .service-spoke-top-left {
  animation-delay: 110ms;
}

.service-hub[data-reveal].is-visible .service-spoke-top-right {
  animation-delay: 190ms;
}

.service-hub[data-reveal].is-visible .service-spoke-bottom-right {
  animation-delay: 270ms;
}

.service-hub[data-reveal].is-visible .service-spoke-bottom-left {
  animation-delay: 350ms;
}

.assessment-section {
  padding: 118px 0;
  background: #eef1ef;
}

.assessment-heading {
  max-width: 900px;
}

.assessment-heading h2 {
  margin-top: 13px;
  font-size: 52px;
  line-height: 1.18;
}

.assessment-heading > p:not(.eyebrow) {
  max-width: 840px;
  margin-top: 22px;
  color: #536172;
  font-size: 18px;
  line-height: 1.88;
}

.assessment-demo {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 58px;
  padding: 48px 0;
  border-top: 1px solid rgba(11, 37, 69, 0.16);
  border-bottom: 1px solid rgba(11, 37, 69, 0.16);
}

.assessment-steps {
  display: grid;
  align-content: start;
}

.assessment-steps button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 6px 14px;
  width: 100%;
  min-height: 112px;
  align-content: center;
  padding: 18px 17px;
  border: 0;
  border-bottom: 1px solid rgba(11, 37, 69, 0.16);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.assessment-steps button:first-child {
  border-top: 1px solid rgba(11, 37, 69, 0.16);
}

.assessment-steps button > span {
  grid-row: 1 / 3;
  color: #9a763b;
  font-size: 13px;
  font-weight: 900;
}

.assessment-steps strong {
  font-size: 18px;
  line-height: 1.42;
}

.assessment-steps small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.assessment-steps button:hover {
  background: rgba(255, 255, 255, 0.62);
}

.assessment-steps button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  transform: translateX(8px);
}

.assessment-steps button[aria-pressed="true"] > span {
  color: #e4ca97;
}

.assessment-steps button[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.76);
}

.assessment-steps button:focus-visible {
  outline: 3px solid rgba(199, 169, 112, 0.58);
  outline-offset: 3px;
}

.assessment-stage {
  min-width: 0;
}

.assessment-panel {
  margin: 0;
  animation: assessment-panel-enter 420ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.assessment-panel[hidden] {
  display: none;
}

.assessment-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 69, 0.18);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 24px 54px rgba(7, 26, 49, 0.14);
}

.assessment-screen > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.assessment-inset {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 43%;
  max-height: 57%;
  border: 5px solid var(--white);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(7, 26, 49, 0.25);
  object-fit: cover;
  object-position: center 62%;
}

.assessment-report-screen > img:first-child {
  object-position: center top;
}

.assessment-panel figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 18px;
  color: #526173;
  font-size: 13px;
  line-height: 1.7;
}

.assessment-panel figcaption span {
  flex: 0 0 auto;
  color: #8b6a34;
  font-size: 12px;
  font-weight: 900;
}

.system-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(11, 37, 69, 0.2);
  border-bottom: 1px solid rgba(11, 37, 69, 0.2);
}

.system-boundary > div {
  min-height: 180px;
  padding: 32px 34px 30px 0;
}

.system-boundary > div + div {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(11, 37, 69, 0.2);
}

.system-boundary h3 {
  margin-top: 8px;
  font-size: 26px;
}

.system-boundary > div > p:last-child {
  margin-top: 13px;
  color: #536172;
  font-size: 15px;
  line-height: 1.78;
}

.assessment-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 42px;
}

.assessment-action p {
  max-width: 680px;
  color: #536172;
  font-size: 17px;
  line-height: 1.78;
}

.assessment-action .primary-action {
  flex: 0 0 auto;
}

.schools-section {
  padding: 118px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.schools-layout {
  display: block;
}

.schools-heading {
  max-width: 735px;
}

.schools-heading h2 {
  font-size: 47px;
}

.schools-heading > p {
  margin-top: 22px;
}

.school-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 48px;
}

.school-list a {
  display: flex;
  min-height: 96px;
  align-items: center;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.school-list a:hover,
.school-list a:focus-visible {
  z-index: 1;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  color: var(--navy);
  transform: translateY(-2px);
}

.school-list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.journey-section {
  background: var(--white);
}

.journey-heading {
  max-width: 800px;
}

.work-gallery {
  margin-top: 60px;
}

.work-gallery-viewport {
  overflow: hidden;
}

.work-gallery-track {
  display: flex;
  transition: transform 720ms cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: transform;
}

.work-slide {
  position: relative;
  min-width: 0;
  flex: 0 0 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.work-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 49, 0.03) 24%, rgba(7, 26, 49, 0.82) 100%);
  content: "";
}

.work-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.work-slide:hover img {
  transform: scale(1.04);
}

.work-slide-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  max-width: 540px;
  padding: 36px 38px 34px;
  color: var(--white);
}

.work-slide-copy span {
  color: #e4ca97;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.work-slide-copy h3 {
  margin-top: 13px;
  color: var(--white);
  font-size: 34px;
  font-weight: 750;
  line-height: 1.3;
}

.work-slide-copy p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
}

.work-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.work-gallery-dots {
  display: flex;
  gap: 8px;
}

.work-gallery-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--mist);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.work-gallery-dots button[aria-pressed="true"] {
  background: var(--gold);
  transform: scaleX(1.25);
}

.work-gallery-dots button:focus-visible,
.work-gallery-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.work-gallery-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--mist);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.work-gallery-toggle:hover {
  border-color: var(--gold);
  background: var(--paper);
}

.work-gallery-toggle span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.work-gallery-toggle.is-paused span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.contact-section {
  padding: 98px 0;
  background: var(--navy);
  color: var(--white);
}

.service-section,
.assessment-section,
.schools-section,
.journey-section,
.contact-section {
  scroll-margin-top: 92px;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
}

.contact-layout h2 {
  max-width: 690px;
  font-size: 48px;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 28px;
  padding-left: 29px;
  border-left: 1px solid rgba(228, 202, 151, 0.72);
}

.contact-actions > div {
  flex-wrap: wrap;
  gap: 21px;
}

.contact-primary {
  background: var(--gold);
  color: var(--navy);
}

.contact-primary:hover {
  background: #ddc18a;
}

.site-footer {
  padding: 30px 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.64);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  display: block;
  width: 164px;
  height: auto;
}

.footer-inner p {
  font-size: 12px;
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 660ms ease var(--reveal-delay, 0ms), transform 660ms cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes settle-hero {
  from {
    opacity: 0.9;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes hub-settle {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes hub-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  45% {
    transform: translate(-50%, -50%) scale(1.035);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes spoke-arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes assessment-panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .hero-layout {
    min-height: clamp(560px, 76svh, 700px);
  }

  .introduction-grid,
  .assessment-layout,
  .schools-layout,
  .contact-layout {
    gap: 48px;
  }

  .introduction-heading h2,
  .section-heading h2,
  .focus-heading h2,
  .assessment-copy h2,
  .assessment-heading h2,
  .schools-heading h2,
  .contact-layout h2 {
    font-size: 42px;
  }

  .split-heading,
  .schools-layout {
    gap: 48px;
  }

  .school-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hub {
    max-width: 860px;
    height: 580px;
  }

  .service-connector {
    width: 360px;
  }

  .service-spoke {
    width: 258px;
  }

  .assessment-demo {
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 32px;
  }

  .assessment-steps button {
    min-height: 124px;
    padding: 16px 13px;
  }
}

@media (max-width: 760px) {
  .section-inner {
    width: min(100% - 36px, 1180px);
  }

  .site-header {
    min-height: 70px;
    padding: 11px 18px;
  }

  .site-header.is-scrolled {
    min-height: 64px;
  }

  .brand-lockup {
    width: 148px;
  }

  .header-actions {
    gap: 6px;
  }

  .portal-link,
  .exam-link {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .site-nav {
    gap: 20px;
    font-size: 13px;
  }

  .hero-section,
  .hero-layout {
    min-height: calc(100svh - 152px);
  }

  .hero-image {
    background-position: 68% center;
  }

  .hero-shade {
    background: rgba(7, 26, 49, 0.68);
  }

  .hero-layout {
    align-items: flex-end;
    padding-top: 66px;
    padding-bottom: 40px;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .hero-copy h1 span {
    margin-top: 12px;
    font-size: 15px;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions,
  .hero-actions a {
    width: 100%;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 25px;
  }

  .hero-evidence span {
    min-height: 42px;
    padding: 12px 10px 0 0;
    font-size: 11px;
  }

  .hero-evidence span + span {
    padding-left: 10px;
  }

  .hero-evidence span:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-scroll {
    display: none;
  }

  .introduction-section,
  .focus-section,
  .service-section,
  .assessment-section,
  .schools-section,
  .journey-section,
  .contact-section {
    padding: 70px 0;
  }

  .service-section,
  .assessment-section,
  .schools-section,
  .journey-section,
  .contact-section {
    scroll-margin-top: 116px;
  }

  .introduction-grid,
  .assessment-layout,
  .schools-layout,
  .contact-layout,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .introduction-heading h2,
  .section-heading h2,
  .focus-heading h2,
  .assessment-copy h2,
  .assessment-heading h2,
  .schools-heading h2,
  .contact-layout h2 {
    font-size: 34px;
    line-height: 1.28;
  }

  .introduction-copy,
  .contact-actions {
    padding-left: 20px;
  }

  .introduction-copy p,
  .schools-heading > p,
  .assessment-copy > p:not(.eyebrow),
  .contact-actions > p,
  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.78;
  }

  .focus-list,
  .school-list,
  .journey-list {
    grid-template-columns: 1fr;
  }

  .focus-section {
    min-height: 0;
    padding: 78px 0 58px;
  }

  .focus-image {
    background-position: 62% center;
  }

  .focus-shade {
    background: linear-gradient(180deg, rgba(7, 26, 49, 0.7) 0%, rgba(7, 26, 49, 0.82) 31%, rgba(7, 26, 49, 0.93) 100%);
  }

  .focus-layout {
    min-height: 0;
  }

  .focus-list {
    gap: 0;
    margin-top: 54px;
  }

  .focus-list article,
  .focus-list article + article {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
  }

  .focus-list article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
  }

  .focus-list {
    gap: 24px;
    margin-top: 40px;
  }

  .focus-list h3 {
    font-size: 21px;
  }

  .service-hub {
    display: grid;
    height: auto;
    margin-top: 44px;
    gap: 12px;
    border: 0;
  }

  .service-connector {
    display: none;
  }

  .service-hub-core,
  .service-spoke,
  .service-spoke-top-left,
  .service-spoke-top-right,
  .service-spoke-bottom-right,
  .service-spoke-bottom-left {
    position: static;
    width: auto;
    min-height: 0;
    transform: none;
  }

  .service-hub-core {
    min-height: 144px;
    padding: 23px;
  }

  .service-hub-core strong {
    font-size: 22px;
  }

  .service-spoke {
    padding: 21px 20px;
  }

  .service-spoke::before {
    margin-bottom: 15px;
  }

  .service-spoke.is-active {
    border-color: var(--navy);
    background: var(--navy);
    box-shadow: 0 16px 30px rgba(7, 26, 49, 0.16);
    transform: none;
  }

  .service-spoke.is-active h3 {
    color: var(--white);
  }

  .service-spoke.is-active p {
    color: rgba(255, 255, 255, 0.78);
  }

  .service-spoke h3 {
    font-size: 20px;
  }

  .service-hub[data-reveal].is-visible .service-hub-core,
  .service-hub[data-reveal].is-visible .service-spoke {
    animation: none;
  }

  .assessment-heading > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.78;
  }

  .assessment-demo {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
    padding: 34px 0;
  }

  .assessment-steps button {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 94px;
    padding: 14px 12px;
  }

  .assessment-steps button[aria-pressed="true"] {
    transform: none;
  }

  .assessment-steps strong {
    font-size: 16px;
  }

  .assessment-steps small {
    font-size: 12px;
    line-height: 1.5;
  }

  .assessment-screen {
    aspect-ratio: 4 / 3;
  }

  .assessment-inset {
    right: 10px;
    bottom: 10px;
    width: 49%;
    border-width: 3px;
  }

  .assessment-panel figcaption {
    display: grid;
    gap: 4px;
  }

  .system-boundary {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .system-boundary > div,
  .system-boundary > div + div {
    min-height: 0;
    padding: 25px 0;
    border-left: 0;
  }

  .system-boundary > div + div {
    border-top: 1px solid rgba(11, 37, 69, 0.2);
  }

  .system-boundary h3 {
    font-size: 23px;
  }

  .assessment-action {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
  }

  .assessment-action p {
    font-size: 16px;
  }

  .assessment-action .primary-action {
    width: 100%;
  }

  .school-list a {
    min-height: 82px;
    padding: 18px;
  }

  .school-list {
    gap: 10px;
    margin-top: 34px;
  }

  .work-gallery {
    margin-top: 44px;
  }

  .work-slide {
    aspect-ratio: 4 / 5.2;
  }

  .work-slide-copy {
    padding: 26px 22px 23px;
  }

  .work-slide-copy h3 {
    font-size: 27px;
  }

  .work-gallery-footer {
    margin-top: 18px;
  }

  .journey-list {
    margin-top: 44px;
  }

  .journey-list li,
  .journey-list li + li {
    min-height: 0;
    padding: 25px 0;
    border-left: 0;
  }

  .contact-actions > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Step 1: consultation, public contact details, and mobile conversion actions. */
.consultation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: 72px;
  align-items: start;
}

.consultation-intro {
  position: sticky;
  top: 112px;
}

.consultation-intro h2 {
  max-width: 620px;
  font-size: 48px;
  line-height: 1.18;
}

.consultation-lead {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.consultation-response {
  margin-top: 20px;
  color: #f4dca7;
  font-weight: 800;
}

.consultation-details {
  display: grid;
  gap: 18px;
  margin: 38px 0 0;
}

.consultation-details div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.consultation-details dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.consultation-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.65;
}

.consultation-details a:hover {
  color: #f4dca7;
}

.consultation-form {
  position: relative;
  border-radius: 8px;
  padding: 36px;
  background: var(--white);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.form-heading p {
  color: #8b6a34;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-heading h3 {
  margin-top: 6px;
  font-size: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.form-grid label,
.consent-field {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  font-size: 14px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c9ced5;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-grid input,
.form-grid select {
  min-height: 48px;
  padding: 10px 12px;
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 3px solid rgba(199, 169, 112, 0.3);
  border-color: var(--gold);
}

.form-grid [aria-invalid="true"] {
  border-color: #a62f41;
}

.form-grid small {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-wide {
  grid-column: 1 / -1;
}

.consent-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  margin-top: 22px;
  color: #4f5e70;
  font-size: 13px;
  line-height: 1.65;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.consent-field a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consultation-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.consultation-submit:hover {
  background: #12365f;
  transform: translateY(-1px);
}

.consultation-submit:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  color: #315b45;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.form-status.is-error {
  color: #a62f41;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(260px, 1fr) minmax(150px, 0.7fr) 146px;
  gap: 46px;
  align-items: start;
}

.footer-brand img {
  display: block;
  width: 164px;
  height: auto;
}

.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.footer-column {
  display: grid;
  gap: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.footer-column h2,
.footer-wechat h2 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-column a {
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-column address {
  margin-top: 6px;
  font-style: normal;
}

.footer-wechat img {
  display: block;
  width: 132px;
  height: auto;
  border: 5px solid var(--white);
  background: var(--white);
}

.footer-wechat p {
  margin-top: 8px;
  font-size: 12px;
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 30px;
  align-items: end;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  line-height: 1.6;
}

.footer-legal > p:first-child {
  max-width: 650px;
}

.footer-legal div {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.mobile-action-bar {
  display: none;
}

.legal-page {
  min-height: 100vh;
  background: #ffffff;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - 960px) / 2));
  border-bottom: 1px solid var(--mist-light);
  background: var(--paper);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.legal-header img {
  display: block;
  width: 168px;
  height: auto;
}

.legal-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 100px;
}

.legal-content h1 {
  margin-top: 12px;
  font-size: 48px;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: 22px;
}

.legal-content p {
  margin-top: 14px;
  color: #526173;
  line-height: 1.85;
}

.legal-content a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .consultation-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(440px, 1.25fr);
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-legal {
    grid-template-columns: 1fr auto;
  }

  .footer-legal > p:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .consultation-link,
  .header-actions .exam-link {
    display: none;
  }

  .consultation-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .consultation-intro {
    position: static;
  }

  .consultation-intro h2 {
    font-size: 34px;
  }

  .consultation-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .consultation-form {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .form-wide {
    grid-column: auto;
  }

  .footer-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-legal {
    gap: 14px;
  }

  .footer-legal > p:first-child {
    grid-column: auto;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(11, 37, 69, 0.16);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 28px rgba(7, 26, 49, 0.12);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 8px));
    transition: opacity 180ms ease, transform 240ms ease, visibility 240ms;
    visibility: hidden;
  }

  .show-mobile-actions .mobile-action-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-action-bar a {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(11, 37, 69, 0.22);
    border-radius: 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-action-bar a:first-child {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .legal-page {
    padding-bottom: 0;
  }

  .legal-header {
    padding: 12px 18px;
  }

  .legal-header img {
    width: 148px;
  }

  .legal-content {
    padding: 54px 0 74px;
  }

  .legal-content h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
