@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102d49;
  --body: #415970;
  --blue: #125d9f;
  --blue-deep: #0b477f;
  --ice: #e6f3ff;
  --mist: #f3f8fd;
  --line: #d8e6f1;
  --white: #fff;
  --gutter: clamp(1rem, 4.1vw, 4rem);
  --radius: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 500 1rem/1.65 Manrope, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
main:focus { outline: none; }
[id] { scroll-margin-block-start: 1.5rem; }

.wrap { width: min(calc(100% - var(--gutter) * 2), 82rem); margin-inline: auto; }
.section-space { padding-block: clamp(3.5rem, 7.1vw, 7.25rem); }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .65rem 1rem; transform: translateY(-180%); background: var(--white); border-radius: .4rem; }
.skip-link:focus { transform: translateY(0); }

.site-header { padding-block: .7rem .35rem; }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; min-height: 4.45rem; padding: .45rem clamp(.8rem, 2vw, 1.6rem); border: 1px solid #dfebf4; border-radius: 1.15rem; background: var(--white); box-shadow: 0 .25rem 1.35rem #143b6010; }
.brand { display: inline-flex; flex: 0 0 auto; padding: .25rem 0; }
.brand img { width: 5.25rem; height: auto; }
.header-brand { justify-self: start; }
.header-brand img { width: clamp(3.8rem, 6vw, 4.65rem); }
.header-hrd-badge { display: flex; grid-column: 3; grid-row: 1; align-items: center; justify-content: center; width: 8.4rem; padding: .2rem 0 .2rem .85rem; border-left: 1px solid var(--line); border-radius: .15rem; }
.header-hrd-badge img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-self: center; gap: .16rem; padding: .22rem; border: 1px solid #e8f0f8; border-radius: 2rem; background: var(--mist); font-size: .9375rem; font-weight: 750; }
.main-nav > a { display: flex; min-height: 2.75rem; justify-content: center; align-items: center; padding: .25rem clamp(.55rem, .9vw, .95rem); border-radius: 2rem; text-align: center; line-height: 1.25; text-decoration: none; }
.main-nav > a:hover, .main-nav > a:focus-visible, .main-nav > a[aria-current="page"] { color: var(--blue-deep); background: var(--white); box-shadow: 0 1px 4px #16365516; }
.menu-toggle { display: none; }

@media (min-height: 30rem) {
  html { scroll-padding-block-start: 5.35rem; }
  .site-header { position: sticky; z-index: 3; top: 0; pointer-events: none; background: linear-gradient(var(--white) 8%, #ffffffec 66%, #ffffff00); }
  .header-inner { pointer-events: auto; }
}

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: .5rem; font-size: .9375rem; font-weight: 800; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { position: relative; overflow: hidden; color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-deep); }
.button-outline { color: var(--blue-deep); border-color: #8bb3d5; background: transparent; }
.button-outline:hover { border-color: var(--blue); background: var(--white); }
.nav-cta { justify-self: end; min-height: 2.75rem; border-radius: 2rem; background: var(--ink); white-space: nowrap; }

.hero-wrap { padding-top: .7rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  min-height: clamp(27rem, 38vw, 34.25rem);
  padding: clamp(.65rem, 1.2vw, 1.125rem);
  border: 1px solid #dfebf4;
  border-radius: clamp(1.35rem, 2.3vw, 2rem);
  background:
    radial-gradient(ellipse at 92% 108%, #c9e5fd, transparent 54%),
    linear-gradient(115deg, #f6faff, #e8f4ff 72%);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(1.9rem, 3.55vw, 3.2rem) 0 clamp(1.9rem, 3.55vw, 3.2rem) clamp(1rem, 3.3vw, 3.1rem); }
.eyebrow { color: var(--blue-deep); font-size: .875rem; font-weight: 800; letter-spacing: .09em; line-height: 1.45; }
.hero-copy > .eyebrow, .programme-heading .eyebrow, .approach-copy > .eyebrow, .home-page #contact .eyebrow { width: fit-content; padding: .38rem .8rem; border: 1px solid #cee3f3; border-radius: 2rem; background: #ffffffc7; letter-spacing: .015em; }
h1, .section-heading h2, .approach h2, .contact h2 { font-weight: 800; line-height: 1.07; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 { margin-top: clamp(.85rem, 1.6vw, 1.4rem); font-size: clamp(2.55rem, 4.25vw + .2rem, 4.65rem); line-height: 1.03; letter-spacing: -.067em; }
.hero h1 em { display: block; color: var(--blue); font-style: normal; }
.hero-description { max-width: 29rem; margin-top: clamp(.9rem, 1.6vw, 1.4rem); color: var(--body); font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.15rem, 2vw, 1.75rem); }
.hero-actions .button { padding-inline: 1.15rem; border-radius: 2rem; }
.hero-actions .button-primary { background: var(--ink); }
.hero-actions .button-primary:hover { background: var(--blue-deep); }
.hero-actions .button-outline { border-color: #c1d9ec; background: #ffffffb8; }
.hero-actions .button-outline:hover { border-color: #8bb3d5; background: var(--white); }
.hero-photo, .approach-photo { position: relative; min-width: 0; overflow: hidden; background: #c6dce9; }
.approach-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-photo, .approach-photo { border: 1px solid #ffffffb8; border-radius: clamp(.9rem, 1.5vw, 1.4rem); box-shadow: 0 .6rem 1.65rem #143b6020; }
.hero-photo { align-self: center; }
.hero-photo img { width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .home-page .hero-copy > .eyebrow,
  .home-page .hero-copy > h1,
  .home-page .hero-description,
  .home-page .hero-actions {
    animation: hero-copy-in .75s cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .home-page .hero-copy > .eyebrow { animation-delay: .05s; }
  .home-page .hero-copy > h1 { animation-delay: .15s; }
  .home-page .hero-description { animation-delay: .27s; }
  .home-page .hero-actions { animation-delay: .39s; }
  .home-page .hero-photo {
    animation: hero-photo-in 1s cubic-bezier(.22, 1, .36, 1) .15s backwards;
  }
  .home-page .hero:focus-within .hero-copy > *,
  .home-page .hero:focus-within .hero-photo {
    animation: none;
  }

  @keyframes hero-copy-in {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes hero-photo-in {
    from { opacity: 0; transform: translateY(.75rem) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (max-width: 48rem) {
  .home-page .hero-copy > *,
  .home-page .hero-photo { animation: none; }
}

.client-section {
  --client-gap: clamp(.55rem, 1.1vw, .9rem);
  margin-block: clamp(1rem, 2.3vw, 2rem) clamp(2.4rem, 4.4vw, 4rem);
  padding: clamp(.9rem, 2vw, 1.65rem);
  border: 1px solid #dfebf4;
  border-radius: clamp(1.35rem, 2.3vw, 2rem);
  background: linear-gradient(112deg, #f6faff, #e8f4ff);
}
.client-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-block-end: clamp(.65rem, 1.4vw, 1rem); }
.client-title { font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.18; letter-spacing: -.04em; }
.client-strip { overflow-x: auto; border-radius: .85rem; scrollbar-color: #a6c5df transparent; }
.home-page .client-strip { scrollbar-color: #507ca2 transparent; }
.client-strip:has(.is-animated):not(:focus-visible, :has(:focus-visible)) {
  --fade: clamp(.75rem, 2vw, 1.85rem);
  overflow-x: hidden;
  mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.client-track, .client-list { display: flex; width: max-content; }
.client-list { flex: none; align-items: center; gap: var(--client-gap); margin: 0; padding: .2rem calc(var(--client-gap) / 2); list-style: none; }
.client-list li { display: grid; place-items: center; flex: none; inline-size: clamp(6.85rem, 10.25vw, 9.2rem); block-size: clamp(4.2rem, 6.2vw, 5.6rem); padding: .45rem .65rem; border: 1px solid #dfebf4; border-radius: .8rem; background: var(--white); }
.client-list li:has(> a) { display: block; padding: 0; }
.client-list a { display: grid; place-items: center; inline-size: 100%; block-size: 100%; padding: .45rem .65rem; border-radius: inherit; }
.client-list a:hover { background: var(--mist); box-shadow: inset 0 0 0 1px #8bb3d5; }
.client-list a:focus-visible { outline-offset: -3px; }
.client-list img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.client-track.is-animated { animation: client-scroll 70s linear infinite; }
.client-strip:is(:focus-visible, :has(:focus-visible)) .client-track { animation: none; }
.client-strip:is(:focus-visible, :has(:focus-visible)) .client-list[aria-hidden] { display: none; }
@keyframes client-scroll { to { transform: translateX(-50%); } }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: end; margin-bottom: clamp(1.6rem, 4vw, 3.5rem); }
.section-heading h2, .approach h2, .contact h2 { margin-top: .65rem; font-size: clamp(2.25rem, 4.15vw, 4rem); text-wrap: initial; }
.section-heading > p { max-width: 28rem; margin-bottom: .3rem; color: var(--body); font-size: 1.075rem; }
.programme-panel {
  padding: clamp(.85rem, 2.5vw, 2.15rem);
  border: 1px solid #dfebf4;
  border-radius: clamp(1.35rem, 2.3vw, 2rem);
  background:
    radial-gradient(ellipse at 8% -12%, #daeefe, transparent 55%),
    linear-gradient(120deg, #f6faff, #e8f4ff);
}
.programme-heading { margin-block-end: clamp(1.3rem, 2.6vw, 2.25rem); padding: clamp(.4rem, 1.2vw, .95rem) clamp(.25rem, 1.1vw, 1rem) 0; }
.programme-heading h2 { margin-block-start: .8rem; font-size: clamp(1.95rem, 4.1vw, 3.7rem); line-height: 1.04; }
.programme-heading h2 span { display: block; color: var(--blue); }
.programme-heading > p { max-width: 25rem; }
.programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 1.45vw, 1.25rem); }
.programme-card { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); min-width: 0; padding: .5rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--white); box-shadow: 0 .25rem 1rem #143b600b; }
.programme-photo { position: relative; min-height: 13rem; overflow: hidden; border-radius: .85rem; background: var(--ice); }
.programme-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.programme-card:nth-child(2) .programme-photo img { object-position: left center; }
.programme-card:nth-child(3) .programme-photo img { object-position: center 28%; }
.programme-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: clamp(.9rem, 1.5vw, 1.3rem); }
.programme-card h3 { font-size: clamp(1.125rem, 1.6vw, 1.4rem); line-height: 1.23; letter-spacing: -.035em; }
.programme-card p { margin-top: .6rem; padding-bottom: .85rem; color: var(--body); line-height: 1.55; }
.programme-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; padding: .35rem .9rem; border: 1px solid #cee3f3; border-radius: 2rem; background: var(--mist); color: var(--blue-deep); font-size: .9375rem; font-weight: 800; text-decoration: none; }
.programme-card:focus-within { border-color: #8bb3d5; box-shadow: 0 .55rem 1.45rem #123d6220; }
.programme-link:focus-visible { border-color: var(--blue-deep); background: var(--ice); }

@media (prefers-reduced-motion: no-preference) {
  .home-page #programmes .programme-reveal {
    animation: programme-reveal .7s cubic-bezier(.22, 1, .36, 1) var(--programme-delay, 0ms) backwards;
  }
  .home-page #programmes .programme-card.programme-reveal .programme-photo img {
    animation: programme-photo-settle 1.2s cubic-bezier(.22, 1, .36, 1) var(--programme-delay, 0ms) backwards;
  }

  @keyframes programme-reveal {
    from { opacity: 0; translate: 0 1.5rem; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes programme-photo-settle {
    from { scale: 1.055; }
    to { scale: 1; }
  }
}

.why-qom {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(0, 1.44fr);
  grid-template-areas: "heading deck" "extras deck";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 1.75rem clamp(1.5rem, 3.5vw, 3.25rem);
  margin-top: clamp(2rem, 4.4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.75rem);
  border: 1px solid #183f63;
  border-radius: clamp(1.35rem, 2.3vw, 2rem);
  color: var(--white);
  background: linear-gradient(115deg, var(--ink), #123f65);
}
.why-qom-heading { grid-area: heading; padding-top: .7rem; }
.why-qom .eyebrow { color: #bedef7; }
.why-qom h2 { margin-top: .8rem; font-size: clamp(2.1rem, 3.2vw, 3.1rem); font-weight: 800; line-height: 1.07; letter-spacing: -.04em; }
.why-qom h2 span { display: block; color: #a8d6fb; }
.why-qom-intro { max-width: 27rem; margin-top: 1.25rem; color: #d7e7f4; }
.why-qom-intro a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .85rem; color: var(--white); font-weight: 800; text-underline-offset: .25em; }
.why-qom a:hover { color: #a8d6fb; }
.why-qom a:focus-visible { outline-color: #a8d6fb; }
.why-qom-deck { grid-area: deck; display: grid; gap: .85rem; min-width: 0; }
.why-qom-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.why-qom-tabs button {
  min-height: 2.75rem;
  padding: .5rem .35rem;
  border: 1px solid #81abd180;
  border-radius: .6rem;
  color: var(--white);
  background: #ffffff0a;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}
.why-qom-tabs button:hover { background: #a8d6fb24; }
.why-qom-tabs button[aria-selected="true"] { border-color: #bedef7; color: var(--ink); background: #bedef7; }
.why-qom-deck :focus-visible { outline-color: #a8d6fb; }
.why-qom-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .53fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding: clamp(1rem, 2.75vw, 2.5rem);
  border-radius: 1rem;
  color: var(--ink);
  background: #f8fbff;
}
.why-qom-slide h3 { color: var(--why-accent, #005bcf); font-size: clamp(2rem, 3.9vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.why-qom-subtitle { margin-top: .35rem; font-size: clamp(1.14rem, 1.6vw, 1.45rem); font-weight: 800; line-height: 1.35; }
.why-qom-slide dl { display: grid; gap: .8rem; margin-top: 1.3rem; font-size: clamp(1.0625rem, 1.35vw, 1.22rem); line-height: 1.45; }
.why-qom-slide dt { font-weight: 800; }
.why-qom-slide dd { margin-top: .15rem; color: var(--body); }
.why-qom-slide img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: .75rem; object-fit: cover; }
#why-established img { object-position: 62% center; }
#why-experience { --why-accent: #aa4300; }
#why-experience img { max-height: none; object-position: 72% center; }
#why-entertaining { --why-accent: #08713b; }
#why-reasonable-rate { --why-accent: #bb1c4c; }
#why-entertaining img, #why-reasonable-rate img { aspect-ratio: 1; }
.why-qom-list { grid-area: extras; min-width: 0; margin: 0; padding: 0; list-style: none; }
.why-qom-list li { min-width: 0; border-bottom: 1px solid #81abd15c; }
.why-qom-list li:first-child { border-top: 1px solid #81abd15c; }
.why-qom-list summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.65rem, 1.3vw, 1.1rem); padding: 1rem .25rem; border-radius: .5rem; list-style: none; cursor: pointer; }
.why-qom-list summary::-webkit-details-marker { display: none; }
.why-qom-list summary::marker { content: ""; }
.why-qom-list summary:hover, .why-qom-list details[open] summary { color: #a8d6fb; }
.why-qom-list summary:focus-visible { outline-color: #a8d6fb; outline-offset: 3px; background: #ffffff0a; }
.why-qom-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #81abd15c; border-radius: .8rem; background: #a8d6fb12; color: #a8d6fb; }
.why-qom-icon svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-qom-list h3 { font-size: clamp(1.0625rem, 1.55vw, 1.35rem); line-height: 1.3; letter-spacing: -.025em; }
.why-qom-toggle { position: relative; width: 1.75rem; height: 1.75rem; border: 1px solid #81abd180; border-radius: 50%; color: #a8d6fb; }
.why-qom-toggle::before, .why-qom-toggle::after { content: ""; position: absolute; inset: calc(50% - 1px) calc(50% - .3rem) auto; height: 2px; border-radius: 1px; background: currentColor; }
.why-qom-toggle::after { transform: rotate(90deg); }
.why-qom-list details[open] .why-qom-toggle::after { transform: rotate(0); }
.why-qom-list details[open] .why-qom-icon { border-color: #a8d6fb; background: #a8d6fb24; }
.why-qom-list p { padding: 0 2.5rem 1.25rem calc(3rem + clamp(.65rem, 1.3vw, 1.1rem)); color: #d7e7f4; line-height: 1.65; }

@media (prefers-reduced-motion: no-preference) {
  .home-page #why-choose-qom .why-qom-heading > .shared-section-reveal {
    animation: why-copy-in .7s cubic-bezier(.22, 1, .36, 1) var(--shared-section-delay, 0ms) backwards;
  }
  .home-page #why-choose-qom .why-qom-list > .shared-section-reveal {
    animation: why-point-in .65s cubic-bezier(.22, 1, .36, 1) var(--shared-section-delay, 0ms) backwards;
  }
  .home-page #why-choose-qom .shared-section-reveal .why-qom-icon {
    animation: why-icon-in .7s cubic-bezier(.22, 1, .36, 1) calc(var(--shared-section-delay, 0ms) + .08s) backwards;
  }
  .home-page #why-choose-qom .shared-section-reveal:focus-within,
  .home-page #why-choose-qom li:focus-within .why-qom-icon { animation: none; }
  .why-qom-list summary { transition: color .2s ease, background-color .2s ease; }
  .why-qom-icon { transition: translate .2s ease, rotate .2s ease, border-color .2s ease, background-color .2s ease; }
  .why-qom-toggle { transition: background-color .2s ease, border-color .2s ease; }
  .why-qom-toggle::after { transition: transform .25s ease; }
  .why-qom-list details[open] p { animation: why-answer-in .3s ease-out; }
  .why-qom-list details[open] .why-qom-toggle { border-color: #a8d6fb; background: #a8d6fb18; }

  @keyframes why-copy-in {
    from { opacity: 0; translate: -.8rem 0; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes why-point-in {
    from { opacity: 0; translate: .9rem 0; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes why-icon-in {
    0% { opacity: 0; scale: .8; rotate: -8deg; }
    65% { opacity: 1; scale: 1.06; rotate: 2deg; }
    100% { opacity: 1; scale: 1; rotate: 0deg; }
  }
  @keyframes why-answer-in {
    from { opacity: 0; translate: 0 -.35rem; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .why-qom-list summary:hover .why-qom-icon { translate: 0 -2px; rotate: -4deg; border-color: #a8d6fb; background: #a8d6fb24; }
}

.approach {
  margin-block: clamp(2rem, 4.4vw, 4rem);
  padding: clamp(.65rem, 1.2vw, 1.125rem);
  border: 1px solid #dfebf4;
  border-radius: clamp(1.35rem, 2.3vw, 2rem);
  background:
    radial-gradient(ellipse at 95% 0%, #dceeff, transparent 56%),
    linear-gradient(116deg, #f6faff, #eaf4ff);
}
.approach-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(1rem, 2.2vw, 2rem); align-items: center; }
.approach-copy { padding: clamp(1.25rem, 3vw, 2.8rem) 0 clamp(1.25rem, 3vw, 2.8rem) clamp(1rem, 3.3vw, 3.1rem); }
.approach-copy h2 { margin-block-start: clamp(.85rem, 1.6vw, 1.35rem); font-size: clamp(2.1rem, 4.1vw, 3.7rem); line-height: 1.04; }
.approach-copy h2 span { display: block; color: var(--blue); }
.approach-copy > p:not(.eyebrow) { max-width: 28rem; margin-top: clamp(.9rem, 1.55vw, 1.35rem); color: var(--body); font-size: clamp(1rem, 1.3vw, 1.125rem); }
.approach-photo { aspect-ratio: 16 / 10; }
.approach-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); margin: clamp(.75rem, 1.5vw, 1.25rem) 0 0; padding: 0; list-style: none; }
.approach-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; row-gap: .3rem; align-content: start; align-items: start; padding: clamp(.75rem, 1.35vw, 1.2rem); border: 1px solid #dfebf4; border-radius: .95rem; background: var(--white); }
.approach-step-number { grid-area: 1 / 1 / span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ice); color: var(--blue-deep); font-size: .875rem; font-weight: 800; }
.approach-steps h3 { grid-column: 2; align-self: center; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.3; letter-spacing: -.025em; }
.approach-steps p { grid-column: 2; color: var(--body); line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .home-page #approach .approach-copy.approach-reveal {
    animation: approach-copy-in .85s cubic-bezier(.22, 1, .36, 1) var(--approach-delay, 0ms) backwards;
  }
  .home-page #approach .approach-photo.approach-reveal img {
    animation: approach-photo-open 1.1s cubic-bezier(.22, 1, .36, 1) var(--approach-delay, 0ms) backwards;
  }
  .home-page #approach .approach-steps > li.approach-reveal {
    animation: approach-step-in .75s cubic-bezier(.22, 1, .36, 1) var(--approach-delay, 0ms) backwards;
  }
  .home-page #approach .approach-steps > li:nth-child(even) { --approach-slide: 1rem; }
  .home-page #approach .approach-reveal .approach-step-number {
    animation: approach-number-in .7s cubic-bezier(.22, 1, .36, 1) calc(var(--approach-delay, 0ms) + .12s) backwards;
  }

  @keyframes approach-copy-in {
    from { opacity: 0; translate: -1rem 0; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes approach-photo-open {
    from { clip-path: inset(0 48%); }
    to { clip-path: inset(0); }
  }
  @keyframes approach-step-in {
    from { opacity: 0; translate: var(--approach-slide, -1rem) 0; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes approach-number-in {
    from { opacity: 0; rotate: -25deg; scale: .6; }
    to { opacity: 1; rotate: 0deg; scale: 1; }
  }
}

.funding-wrap { padding-bottom: clamp(3.5rem, 6vw, 6.25rem); }
.funding { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.4rem, 3.4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.funding h2 { font-size: clamp(1.55rem, 2.55vw, 2.35rem); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.funding p { max-width: 44rem; margin-top: .6rem; color: var(--body); }
.funding .button { flex-shrink: 0; }

.faq { border-top: 1px solid #e4edf5; background: var(--mist); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.65rem, 6vw, 6rem); }
.faq-heading { display: block; margin-bottom: 0; }
.faq-list { display: grid; gap: .65rem; align-content: start; }
.faq-list details { border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.faq-list summary { display: flex; min-height: 3.75rem; justify-content: space-between; align-items: center; gap: .9rem; padding: .8rem 1.1rem; border-radius: .65rem; font-weight: 800; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 1rem; height: 1rem; color: var(--blue); background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq-list details[open] summary::after { background-size: 100% 2px, 0 0; }
.faq-list details[open] { border-color: #8bb3d5; }
.faq-list details p { padding: 0 1.1rem 1rem; color: var(--body); }
.faq-list details a { color: var(--blue-deep); }

.contact { padding-block: clamp(2.6rem, 5.25vw, 5.1rem); color: var(--white); background: var(--blue-deep); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.contact .eyebrow { color: #c2e2fb; }
.contact p:not(.eyebrow) { margin-top: .9rem; color: #e2f1fd; font-size: 1.075rem; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.contact-numbers { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.button-light { min-width: 12rem; color: var(--blue-deep); background: var(--white); }
.button-light:hover { background: var(--ice); }
.contact-phone { color: var(--white); font-size: .9375rem; font-weight: 750; text-underline-offset: .25em; }
.contact a:focus-visible { outline-color: var(--white); }


.home-page .funding-wrap { padding-bottom: clamp(2rem, 4.4vw, 4rem); }
.home-page .funding { gap: clamp(1.25rem, 3vw, 2.75rem); border-color: #dfebf4; border-radius: clamp(1.35rem, 2.3vw, 2rem); background: linear-gradient(115deg, #f6faff, #e8f4ff); }
.home-page .funding .button { border-radius: 2rem; background: var(--white); }
.home-page .funding .button:hover { background: var(--ice); }

@media (prefers-reduced-motion: no-preference) {
  .home-page #hrd-corp .funding { position: relative; isolation: isolate; }
  .home-page #hrd-corp .funding > * { position: relative; z-index: 1; }
  .home-page #hrd-corp .funding.funding-reveal::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 35%, #ffffffeb 48%, transparent 61%) 100% 0 / 250% 100% no-repeat;
    opacity: 0;
    pointer-events: none;
    animation: funding-light-sweep 1.5s ease-in-out;
  }
  .home-page #hrd-corp .button.funding-reveal::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid #125d9f66;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    animation: funding-button-ring .85s ease-out .4s backwards;
  }
  .home-page #hrd-corp .button.funding-reveal:focus-visible::after { animation: none; }

  @keyframes funding-light-sweep {
    from { opacity: 0; background-position: 100% 0; }
    15%, 75% { opacity: 1; }
    to { opacity: 0; background-position: 0 0; }
  }
  @keyframes funding-button-ring {
    from { opacity: 0; scale: .98; }
    25% { opacity: .75; }
    to { opacity: 0; scale: 1.14; }
  }
}

.home-page .faq { padding-block: 0; border: 0; background: var(--white); }
.home-page .faq-inner { gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.15rem, 3.6vw, 3.25rem); border: 1px solid #dfebf4; border-radius: clamp(1.35rem, 2.3vw, 2rem); background: linear-gradient(115deg, #f6faff, #e8f4ff); }
.home-page .faq-heading .eyebrow { width: fit-content; padding: .38rem .8rem; border: 1px solid #cee3f3; border-radius: 2rem; background: #ffffffc7; letter-spacing: .015em; }
.home-page .faq-heading h2 { margin-top: 1rem; }
.home-page .faq-list details, .home-page .faq-list summary { border-radius: .9rem; }
.home-page .faq-list details[open] { box-shadow: 0 .35rem 1rem #143b600b; }
.home-page .contact { padding-block: clamp(2rem, 4.4vw, 4rem); color: var(--ink); background: var(--white); }
.home-page .contact-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.5rem, 3.5vw, 3.25rem); padding: clamp(1rem, 2.5vw, 2.25rem); border: 1px solid #dfebf4; border-radius: clamp(1.35rem, 2.3vw, 2rem); background: radial-gradient(ellipse at 5% 100%, #d8ecfd, transparent 60%), linear-gradient(115deg, #f6faff, #e8f4ff); }
.home-page .enquiry-details { min-width: 0; padding: clamp(.25rem, 1.3vw, 1.15rem); }
.home-page .contact .eyebrow { color: var(--blue-deep); }
.home-page .contact h2 { font-size: clamp(2.1rem, 3.4vw, 3.25rem); }
.home-page .contact p:not(.eyebrow) { color: var(--body); }
.home-page .contact-actions { align-items: flex-start; margin-top: 1.5rem; }
.home-page .contact-actions .button { border: 1px solid #b8d3ea; border-radius: 2rem; }
.home-page .contact-phone { color: var(--blue-deep); font-size: 1rem; }
.home-page .contact a:focus-visible { outline-color: var(--blue); }
.contact-channels { display: grid; justify-items: start; gap: .35rem; margin-top: 1.25rem; }
.contact-channels a { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; color: var(--blue-deep); font-size: 1rem; font-weight: 750; text-underline-offset: .25em; overflow-wrap: anywhere; }

.enquiry-form { min-width: 0; margin: 0; padding: clamp(1rem, 2.3vw, 2rem); border: 1px solid var(--line); border-radius: 1.2rem; color: var(--ink); background: var(--white); box-shadow: 0 .4rem 1.5rem #143b600b; font-size: 1rem; }
.enquiry-form h3 { margin-bottom: 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -.025em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; min-width: 0; align-content: start; gap: .4rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 1rem; font-weight: 750; line-height: 1.45; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 3rem; margin: 0; padding: .65rem .8rem; border: 1px solid #a9bfd2; border-radius: .55rem; color: var(--ink); background-color: var(--white); font: inherit; line-height: 1.5; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #627789; opacity: 1; }
.form-field select { appearance: none; padding-inline-end: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23102d49' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E"); background-position: right .8rem center; background-repeat: no-repeat; }
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.form-field [aria-invalid="true"], .form-field :user-invalid { border-color: #a32020; }
.form-field small, .form-field .field-error { font-size: .875rem; line-height: 1.5; }
.form-field .field-error { color: #a32020; }
.home-page .contact p.form-note, .enquiry-form .form-note { margin-block: 1rem 1.25rem; color: var(--body); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.home-page .contact p.form-status, .enquiry-form .form-status { margin-top: 1rem; padding: .8rem 1rem; border: 1px solid #b8d3ea; border-radius: .65rem; color: var(--ink); background: var(--mist); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.home-page .contact .form-status[data-state="error"], .enquiry-form .form-status[data-state="error"] { border-color: #d6a5a5; color: #8b2020; background: #fff4f4; }
.home-page .contact .form-status[data-state="success"], .enquiry-form .form-status[data-state="success"] { border-color: #9fbfb0; color: #19563b; background: #f1faf5; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.form-actions .button { border-radius: 2rem; font-size: 1rem; cursor: pointer; }
.form-actions .button:disabled { opacity: .65; cursor: wait; }
.enquiry-form .email-draft-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue-deep); font-weight: 750; text-underline-offset: .25em; }

@media (prefers-reduced-motion: no-preference) {
  .home-page #contact .enquiry-details.contact-reveal {
    animation: contact-copy-in .75s cubic-bezier(.22, 1, .36, 1) var(--contact-delay, 0ms) backwards;
  }
  .home-page #contact .enquiry-form.contact-reveal {
    transform-origin: center top;
    animation: contact-form-in .7s cubic-bezier(.22, 1, .36, 1) var(--contact-delay, 0ms) backwards;
  }
  .home-page #contact .form-field.contact-reveal,
  .home-page #contact .form-actions.contact-reveal {
    animation: contact-field-in .5s cubic-bezier(.22, 1, .36, 1) var(--contact-delay, 0ms) backwards;
  }
  .home-page #contact .contact-reveal:focus-within,
  .home-page #contact .enquiry-form:focus-within .contact-reveal { animation: none; }

  @keyframes contact-copy-in {
    from { opacity: 0; translate: 0 .75rem; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes contact-form-in {
    from { opacity: .35; scale: .985; }
    to { opacity: 1; scale: 1; }
  }
  @keyframes contact-field-in {
    from { opacity: 0; translate: 0 .5rem; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .shared-section-reveal {
    animation: shared-section-in .8s cubic-bezier(.22, 1, .36, 1) var(--shared-section-delay, 0ms) backwards;
  }
  .shared-section-reveal:focus-within { animation: none; }

  @keyframes shared-section-in {
    from { opacity: 0; translate: 0 1rem; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (hover: hover) and (pointer: fine) {
  .programme-card:hover { border-color: #8bb3d5; box-shadow: 0 .8rem 1.7rem #123d6226; }
  .programme-link:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
  .faq-list summary:hover { color: var(--blue-deep); background: var(--mist); }
  .faq-list details[open] summary:hover { background: var(--white); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .programme-card { transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
  .programme-photo img { transition: transform .35s ease; }
  .programme-card:hover { transform: translateY(-.3rem); }
  .programme-card:hover .programme-photo img { transform: scale(1.045); }
  .button { transition: transform .2s ease, background-color .18s ease, border-color .18s ease, color .18s ease; }
  .button:hover { transform: translateY(-2px); }
  .button-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, #ffffff21 48%, transparent 64%); transform: translateX(-100%); pointer-events: none; }
  .button-primary:hover::after { animation: button-sheen .55s ease-out; }
  @keyframes button-sheen { to { transform: translateX(100%); } }
}

@media (max-width: 74rem) {
  .programme-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .programme-photo { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 67rem) {
  .site-header { padding-block: .5rem .25rem; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: .65rem; min-height: 3.9rem; padding: .35rem .55rem .35rem .7rem; border-radius: .95rem; }
  .header-hrd-badge { grid-column: 2; width: 7.75rem; padding-left: .65rem; }
  .nav-cta { grid-column: 3; grid-row: 1; min-height: 2.75rem; padding-inline: .8rem; font-size: .875rem; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .js .menu-toggle { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; min-height: 2.75rem; padding-inline: .6rem; border: 1px solid #e7eff7; border-radius: 2rem; color: var(--blue-deep); background: var(--mist); font-size: .875rem; font-weight: 800; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] { border-color: #b8d3ea; background: var(--ice); }
  .menu-icon { display: block; position: relative; width: .85rem; height: .85rem; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon::before { transform: translateY(-3px); }
  .menu-icon::after { transform: translateY(3px); }
  [aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  [aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  .main-nav { grid-column: 1 / -1; grid-row: 2; display: grid; justify-self: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin-block-end: .2rem; padding: .45rem; border-radius: .8rem; }
  .js .main-nav { display: none; }
  .js [aria-expanded="true"] + .main-nav { display: grid; }
  .main-nav > a { justify-content: flex-start; padding-inline: .6rem; border: 1px solid #e4eef7; border-radius: .55rem; background: var(--white); text-align: start; }
  .main-nav > a:hover, .main-nav > a:focus-visible, .main-nav > a[aria-current="page"] { border-color: #b8d3ea; background: var(--ice); }
}

@media (max-width: 60rem) {
  .why-qom { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "deck" "extras"; grid-template-rows: auto; gap: 1.5rem; }
  .why-qom-heading { padding-top: 0; }
  .why-qom h2 span { display: inline; }
  .why-qom-intro { max-width: 36rem; }
}

@media (max-width: 51rem) {
  .hero-wrap { padding-top: .4rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: .5rem; min-height: 0; }
  .hero-copy { padding: clamp(1.05rem, 4.3vw, 2.2rem) clamp(.7rem, 3.25vw, 2rem); }
  .hero h1 { font-size: clamp(2.05rem, 8.3vw, 3.95rem); }
  .approach-intro, .approach-steps { grid-template-columns: minmax(0, 1fr); }
  .approach-intro { gap: .5rem; }
  .approach-copy { padding: clamp(1.05rem, 4.3vw, 2.2rem) clamp(.7rem, 3.25vw, 2rem); }
  .home-page .funding { flex-direction: column; align-items: flex-start; }
  .home-page .contact-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 47rem) {
  .why-qom-slide { grid-template-columns: minmax(0, 1fr); }
  .why-qom-slide img { justify-self: start; width: min(100%, 22rem); max-height: 18rem; }
  .why-qom-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading, .faq-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .section-heading { gap: .75rem; }
  .wide-break { display: none; }
  .contact-inner { gap: 1.35rem; }
  .contact-actions { align-items: flex-start; }
}

@media (max-width: 30rem) {
  .header-inner { gap: .45rem; }
  .header-hrd-badge { width: 6.85rem; padding-left: .5rem; }
  .why-qom-list summary { padding-block: .85rem; }
  .why-qom-list p { padding-inline: .25rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .programme-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .funding { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .client-track { animation: none !important; }
  .client-strip:has(.is-animated) { overflow-x: auto; mask-image: none; }
}
