.inner-page {
  background: var(--off-white);
}

.offer-confirmed-note {
  display: grid;
  width: fit-content;
  max-width: 680px;
  gap: 2px;
  margin: 0 0 20px;
  padding: 11px 14px 11px 38px;
  color: var(--white);
  background: rgba(2, 28, 47, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
}

.offer-confirmed-note::before {
  width: 10px;
  height: 10px;
  background: #6ed16f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(110, 209, 111, 0.16);
  content: "";
  left: 15px;
  position: absolute;
  top: 17px;
}

.offer-confirmed-note strong,
.offer-confirmed-note span {
  color: inherit;
}

.offer-confirmed-note span {
  color: rgba(255, 255, 255, 0.82);
}

/* Legal and contact pages */
.legal-hero,
.contact-hero {
  padding-block: clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 88% 15%, rgba(47, 132, 53, 0.15), transparent 25%),
    linear-gradient(145deg, #fbfdfc, #eaf3ed);
}

.legal-container {
  max-width: 900px;
}

.legal-hero h1 {
  margin-bottom: 14px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  padding-block: clamp(54px, 7vw, 90px);
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
  color: #41596b;
  overflow-wrap: anywhere;
}

.legal-card a,
.form-submit-row a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.contact-grid > div > p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-grid h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

.contact-card {
  display: grid;
  padding: clamp(28px, 4vw, 42px);
  background: var(--navy);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p,
.contact-card strong {
  color: var(--white);
}

.contact-card h2 {
  margin-bottom: 5px;
  font-size: 2rem;
}

.contact-card > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card > a {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card > a span {
  color: #aee5ae;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-card > a strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-card small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.contact-options {
  background: var(--white);
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.contact-option-grid article {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 27px;
  background: #f5f8f6;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-option-grid h3 {
  font-size: 1.25rem;
}

.contact-option-grid p {
  color: var(--muted);
}

.contact-option-grid .text-link {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 900;
}

.form-status a,
.form-status button {
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .contact-grid,
  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .contact-option-grid article {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .legal-card {
    padding: 24px 20px;
    border-radius: 15px;
  }

  .contact-grid h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }
}

.inner-page .site-header {
  background: rgba(255, 255, 255, 0.98);
}

.inner-page main {
  overflow: clip;
}

.inner-page h1 {
  font-size: clamp(2.9rem, 5.9vw, 5.7rem);
}

.inner-page h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: #a7b4bd;
  content: "/";
}

.breadcrumb a:hover {
  color: var(--green-dark);
}

.inner-section {
  padding-block: clamp(72px, 8vw, 112px);
}

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

.inner-section.tint {
  background: linear-gradient(145deg, #f4f8f5, #eef4f1);
}

.inner-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.inner-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.inner-heading.center {
  margin-inline: auto;
  text-align: center;
}

.inner-heading.center p:not(.eyebrow) {
  margin-inline: auto;
}

.source-note {
  margin: 26px 0 0;
  color: #778a98;
  font-size: 0.75rem;
  line-height: 1.55;
}

.source-note a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Quiz */
.quiz-intro {
  position: relative;
  padding-block: clamp(58px, 7vw, 92px) clamp(76px, 9vw, 124px);
  background:
    radial-gradient(circle at 86% 18%, rgba(239, 39, 124, 0.14), transparent 22%),
    linear-gradient(145deg, #f9fcfa, #edf5f0);
}

.quiz-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.quiz-intro-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quiz-meta span {
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(7, 54, 90, 0.05);
  font-size: 0.75rem;
  font-weight: 800;
}

.quiz-preview {
  position: relative;
  min-height: 390px;
}

.preview-card {
  position: absolute;
  display: grid;
  width: min(72%, 340px);
  min-height: 160px;
  align-content: end;
  padding: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.preview-card span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.preview-card strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.preview-card small {
  margin-top: 5px;
  opacity: 0.78;
}

.preview-card.one {
  top: 8px;
  left: 0;
  background: var(--pink);
  transform: rotate(-4deg);
}

.preview-card.two {
  top: 102px;
  right: 0;
  z-index: 2;
  background: var(--navy);
  transform: rotate(3deg);
}

.preview-card.three {
  bottom: 0;
  left: 12%;
  background: var(--green);
  transform: rotate(-1deg);
}

.quiz-workspace {
  padding-block: clamp(72px, 8vw, 112px);
  background: var(--white);
}

.quiz-card {
  width: min(100%, 940px);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(7, 54, 90, 0.12);
  overflow: hidden;
}

.quiz-progress-wrap {
  padding: 24px 30px 0;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.quiz-progress-track {
  height: 8px;
  background: #e9eff2;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #73ca68);
  border-radius: inherit;
  transition: width 260ms ease;
}

.quiz-question {
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
}

.quiz-step-heading {
  margin-bottom: 26px;
}

.quiz-step-heading h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.quiz-step-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.quiz-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-statements {
  display: grid;
  gap: 14px;
}

.quiz-comparisons {
  display: grid;
  gap: 15px;
}

.quiz-comparison {
  margin: 0;
  padding: 20px 22px;
  background: #f8faf9;
  border: 1px solid #e2ebe5;
  border-radius: 15px;
}

.quiz-statement {
  margin: 0;
  padding: 20px 22px;
  background: #f8faf9;
  border: 1px solid #e2ebe5;
  border-radius: 15px;
}

.quiz-statement legend,
.quiz-comparison legend {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 17px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
}

.quiz-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-choice {
  position: relative;
  display: grid;
  min-height: 88px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid #dfe8e2;
  border-radius: 13px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quiz-choice:hover {
  border-color: rgba(73, 169, 66, 0.55);
  transform: translateY(-2px);
}

.quiz-choice:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(73, 169, 66, 0.16);
  outline: 0;
}

.quiz-choice.selected {
  background: #eef8ee;
  border-color: var(--green);
}

.quiz-choice input {
  position: absolute;
  opacity: 0;
}

.quiz-choice-letter {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green-dark);
  background: #eaf6ea;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.quiz-choice.selected .quiz-choice-letter {
  color: var(--white);
  background: var(--green);
}

.quiz-choice strong {
  font-size: 0.875rem;
  line-height: 1.4;
}

.quiz-choice-both {
  min-height: 58px;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  justify-content: center;
  padding-block: 11px;
  background: #f3f6f4;
}

.quiz-choice-both strong {
  color: var(--green-dark);
  white-space: nowrap;
}

.quiz-choice-both small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.quiz-statement-index {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--green-dark);
  background: #eaf6ea;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.quiz-scale {
  display: grid;
  grid-template-columns: repeat(5, 48px);
  justify-content: end;
  gap: 9px;
}

.quiz-scale-option {
  position: relative;
  cursor: pointer;
}

.quiz-scale-option input {
  position: absolute;
  opacity: 0;
}

.quiz-scale-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border: 2px solid #dbe5df;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.quiz-scale-option:hover .quiz-scale-number,
.quiz-scale-option:focus-within .quiz-scale-number {
  border-color: var(--green);
  transform: translateY(-2px);
}

.quiz-scale-option:focus-within .quiz-scale-number {
  outline: 3px solid rgba(73, 169, 66, 0.2);
  outline-offset: 2px;
}

.quiz-scale-option.selected .quiz-scale-number {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.quiz-scale-labels {
  display: flex;
  width: 276px;
  justify-content: space-between;
  gap: 14px;
  margin: 7px 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
}

.quiz-scale-labels span:last-child {
  text-align: right;
}

.quiz-grade-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding: 15px 17px;
  color: var(--navy);
  background: #eef8ee;
  border: 1px solid rgba(73, 169, 66, 0.24);
  border-radius: 13px;
}

.quiz-grade-note strong {
  color: var(--green-dark);
  font-size: 0.875rem;
}

.quiz-grade-note span {
  color: var(--muted);
  font-size: 0.8rem;
}

.quiz-grade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.quiz-grade-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px;
  color: var(--navy);
  background: #f8faf9;
  border: 1px solid #e2ebe5;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 800;
}

.quiz-grade-field small {
  min-height: 1.2em;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.quiz-grade-field select {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 42px 0 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cfddd4;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.quiz-grade-field select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(73, 169, 66, 0.18);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.quiz-back {
  min-height: 48px;
  padding: 10px 4px;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.quiz-back[hidden] {
  visibility: hidden;
}

.quiz-next[disabled] {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.quiz-result {
  padding: clamp(30px, 5vw, 58px);
}

.result-intro {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.result-badge {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--white);
  background: var(--result-color, var(--pink));
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.result-badge svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.result-intro h2 {
  margin-bottom: 5px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.result-intro p {
  margin: 0;
  color: var(--muted);
}

.result-intro-neutral {
  grid-template-columns: 1fr;
}

.result-inconclusive {
  padding: 24px;
  background: #f6f9f7;
  border: 1px solid #e5ece7;
  border-radius: 15px;
}

.result-inconclusive strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.result-inconclusive p {
  max-width: 650px;
  margin: 6px 0 18px;
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 13px;
}

.result-field {
  display: block;
  padding: 22px;
  color: var(--navy);
  background: #f6f9f7;
  border: 1px solid #e5ece7;
  border-radius: 15px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.result-field:hover,
.result-field:focus-visible {
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(7, 54, 90, 0.1);
  transform: translateY(-3px);
}

.result-field.top-result {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.result-field .rank {
  display: block;
  margin-bottom: 24px;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-field.top-result .rank {
  color: #9be197;
}

.result-field h3 {
  margin: 0;
  font-size: 1rem;
  hyphens: manual;
}

.result-field-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.result-field-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--result-color, var(--green));
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(7, 54, 90, 0.08);
}

.result-field-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.result-field.top-result h3 {
  color: var(--white);
}

.result-field p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.result-field.top-result p {
  color: #cbdbe5;
}

.result-field-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #dce6df;
  color: var(--muted);
  font-size: 0.72rem;
}

.result-field-footer strong {
  color: var(--green-dark);
  font-size: 0.75rem;
  text-align: right;
}

.result-field.top-result .result-field-footer {
  color: #cbdbe5;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.result-field.top-result .result-field-footer strong {
  color: #a7e8a3;
}

.quiz-result-locations {
  margin-top: 30px;
  padding: 20px;
  background: #f6f9f7;
  border: 1px solid #e5ece7;
  border-radius: 14px;
}

.quiz-result-locations > .filter-label {
  margin: 0 0 3px;
}

.quiz-location-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.result-opportunities-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.result-opportunities-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.result-opportunities-head a {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.quiz-no-offers {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: var(--navy);
  background: #f6f9f7;
  border-radius: 12px;
  font-size: 0.78rem;
}

.quiz-no-offers span {
  color: var(--muted);
  font-size: 0.75rem;
}

.result-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.result-field:first-child p {
  color: #cbdbe5;
}

.result-opportunities {
  margin-top: 34px;
}

.result-opportunities > h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.result-offer-list {
  display: grid;
  gap: 10px;
}

.result-offer {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.result-offer:hover {
  border-color: var(--green);
  transform: translateX(4px);
}

.result-offer-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--result-color, var(--green));
  border-radius: 10px;
  font-weight: 900;
}

.result-offer-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.result-offer strong,
.result-offer small {
  display: block;
}

.result-offer strong {
  color: var(--navy);
  font-size: 0.83rem;
  hyphens: manual;
}

.result-offer small {
  color: var(--muted);
  font-size: 0.75rem;
}

.result-offer-employer {
  display: flex !important;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.result-offer-employer img {
  width: auto;
  max-width: 62px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}

.result-reset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.result-reset-row p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.result-next-step {
  max-width: 650px;
}

.result-next-step > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 0.82rem;
}

/* Employer profile */
.profile-hero {
  position: relative;
  padding-block: 34px 72px;
  background: linear-gradient(145deg, #f7faf8, #eaf2ed);
}

.profile-hero-grid {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1.02fr);
  align-items: stretch;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 4vw, 64px);
}

.profile-logo {
  width: 165px;
  max-height: 86px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
}

.profile-hero-copy h1 {
  max-width: 100%;
  margin-bottom: 16px;
  font-size: clamp(3rem, 4vw, 3.8rem);
  hyphens: manual;
}

.profile-hero-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
}

.profile-hero-media {
  position: relative;
  min-height: 500px;
}

.profile-hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 54, 90, 0.12), transparent 42%);
  content: "";
}

.profile-hero-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  padding: 12px 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.profile-stats {
  position: relative;
  z-index: 3;
  display: grid;
  margin-top: -32px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-stat {
  padding: 24px;
  color: #d6e3ea;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-stat:last-child {
  border-right: 0;
}

.profile-stat strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1;
}

.profile-stat span {
  font-size: 0.75rem;
  font-weight: 700;
}

.profile-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
}

.profile-about-copy p:not(.eyebrow) {
  color: var(--muted);
}

.profile-about-copy .button-row {
  margin-top: 28px;
}

.profile-mosaic {
  display: grid;
  min-height: 490px;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.profile-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.profile-mosaic img:first-child {
  grid-row: 1 / span 2;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.area-card {
  position: relative;
  min-height: 400px;
  color: var(--white);
  background: var(--navy);
  border-radius: 17px;
  isolation: isolate;
  overflow: hidden;
}

.area-card img,
.area-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.area-card img {
  z-index: -2;
  object-fit: cover;
  transition: transform 500ms ease;
}

.area-card::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 28%, rgba(4, 31, 50, 0.94));
  content: "";
}

.area-card:hover img {
  transform: scale(1.04);
}

.area-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.area-card small {
  display: block;
  margin-bottom: 7px;
  color: #a5e5a0;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-card h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 1.35rem;
}

.area-card p {
  margin: 0;
  color: #d7e2e9;
  font-size: 0.78rem;
}

.team-voice {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.team-voice img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
}

.team-voice-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 74px);
}

.team-voice blockquote {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.team-voice figcaption strong,
.team-voice figcaption span {
  display: block;
}

.team-voice figcaption strong {
  color: var(--navy);
  font-size: 0.75rem;
}

.team-voice figcaption span {
  color: var(--muted);
  font-size: 0.75rem;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.featured-opportunity,
.job-opportunities {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 18px;
}

.featured-opportunity {
  position: relative;
  color: var(--white);
  background: var(--green);
  overflow: hidden;
}

.featured-opportunity::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.featured-opportunity .eyebrow {
  color: #e3f7e1;
}

.featured-opportunity-label,
.offer-field-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.featured-opportunity-label .eyebrow,
.offer-field-label .eyebrow {
  margin: 0;
}

.featured-field-icon,
.offer-field-icon,
.profile-job-field-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
}

.featured-field-icon,
.offer-field-icon {
  width: 44px;
  height: 44px;
  background: var(--category-color, var(--green));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
}

.featured-field-icon {
  background: rgba(255, 255, 255, 0.16);
}

.featured-field-icon svg,
.offer-field-icon svg,
.profile-job-field-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.featured-field-icon svg,
.offer-field-icon svg {
  width: 24px;
  height: 24px;
}

.featured-opportunity h3 {
  max-width: 550px;
  color: var(--white);
  font-size: clamp(2rem, 3.7vw, 3.3rem);
}

.featured-opportunity p {
  max-width: 580px;
}

.featured-opportunity .button {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  color: var(--navy);
  background: var(--white);
  box-shadow: none;
}

.job-opportunities {
  background: var(--navy);
}

.job-opportunities h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1.2rem;
}

.profile-job-list {
  display: grid;
  gap: 0;
}

.profile-job-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: #d9e6ed;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-job-list a:hover {
  color: var(--white);
}

.profile-job-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  hyphens: manual;
}

.profile-job-field-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.profile-job-field-icon svg {
  width: 16px;
  height: 16px;
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-bottom: 34px;
}

.contact-choice {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-choice:hover,
.contact-choice.active {
  border-color: var(--pink);
  box-shadow: 0 12px 30px rgba(239, 39, 124, 0.1);
  transform: translateY(-3px);
}

.contact-choice-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--white);
  background: var(--pink);
  border-radius: 50%;
  font-weight: 900;
}

.contact-choice strong,
.contact-choice small {
  display: block;
}

.contact-choice strong {
  margin-bottom: 5px;
  font-size: 0.86rem;
}

.contact-choice small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.contact-details {
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  background: var(--navy);
}

.contact-details h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.contact-details p {
  color: #c9d9e3;
  font-size: 0.78rem;
}

.contact-details address {
  margin-top: 30px;
  font-size: 0.77rem;
  font-style: normal;
  line-height: 1.9;
}

.contact-details address a {
  color: #a4e5a0;
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: clamp(28px, 4vw, 46px);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--navy);
  background: #f8faf9;
  border: 1px solid #dbe5df;
  border-radius: 9px;
  outline: 0;
  font: inherit;
  font-size: 0.78rem;
}

.form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(73, 169, 66, 0.12);
}

.form-submit-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-submit-row small {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: -3px 0 0;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

/* Apprenticeship detail */
.offer-hero {
  position: relative;
  min-height: 700px;
  color: var(--white);
  background: var(--navy-deep);
  isolation: isolate;
  overflow: hidden;
}

.offer-hero > img,
.offer-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.offer-hero > img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.offer-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 28, 46, 0.95) 0%, rgba(3, 28, 46, 0.82) 42%, rgba(3, 28, 46, 0.14) 76%);
  content: "";
}

.offer-hero .container {
  display: flex;
  min-height: 700px;
  flex-direction: column;
  justify-content: center;
  padding-block: 50px;
}

.offer-hero .breadcrumb,
.offer-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.offer-hero-content {
  max-width: 760px;
}

.offer-hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--white);
}

.offer-hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #dce7ed;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.offer-facts span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 800;
}

.offer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: start;
  gap: clamp(44px, 7vw, 94px);
}

.offer-main > section + section {
  margin-top: 74px;
}

.offer-main h2 {
  margin-bottom: 22px;
}

.offer-main > section > p {
  max-width: 780px;
  color: var(--muted);
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 28px;
}

.learning-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.learning-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.learning-card h3 {
  margin-bottom: 7px;
  font-size: 0.96rem;
}

.learning-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  position: relative;
  padding: 13px 14px 13px 44px;
  color: var(--navy);
  background: #eef5f0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.check-grid li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.application-steps {
  display: grid;
  gap: 0;
  margin-top: 26px;
  counter-reset: step;
}

.application-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.application-step::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 900;
}

.application-step h3 {
  margin-bottom: 5px;
  font-size: 0.94rem;
}

.application-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.offer-sidebar {
  position: sticky;
  top: 106px;
}

.apply-card {
  padding: 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: 17px;
  box-shadow: var(--shadow);
}

.apply-card .eyebrow {
  color: #9ee399;
}

.apply-card h2 {
  color: var(--white);
  font-size: 2rem;
}

.apply-card > p {
  color: #d4e1e9;
  font-size: 0.79rem;
}

.apply-card .button {
  width: 100%;
  margin-top: 9px;
}

.apply-card .button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.apply-contact {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.apply-contact span,
.apply-contact a {
  display: block;
}

.apply-contact span {
  color: #aabecb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-contact a {
  margin-top: 5px;
  color: #a4e5a0;
  font-size: 0.78rem;
  font-weight: 800;
}

.employer-mini-card {
  margin-top: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.employer-mini-card img {
  width: 115px;
  max-height: 64px;
  margin-bottom: 17px;
  object-fit: contain;
  object-position: left center;
}

.employer-mini-card strong,
.employer-mini-card small {
  display: block;
}

.employer-mini-card strong {
  color: var(--navy);
  font-size: 0.83rem;
}

.employer-mini-card small {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.employer-mini-card a {
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.offer-team-strip {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  background: var(--pink);
}

.offer-team-strip img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.offer-team-copy {
  padding: clamp(40px, 7vw, 84px);
  color: var(--white);
}

.offer-team-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.offer-team-copy blockquote {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.offer-team-copy cite {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

/* Training profile: one profession at one regional employer */
.training-profile-hero {
  min-height: 760px;
}

.training-profile-hero .container {
  min-height: 760px;
}

.training-profile-hero .offer-hero-content {
  max-width: 860px;
}

.training-profile-hero h1 {
  margin-bottom: 4px;
}

.training-profile-hero h1 span {
  font-size: 0.45em;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.training-employer-line {
  margin-bottom: 17px;
  color: #a4ea9f;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
}

.training-profile-hero .offer-hero-copy {
  margin-bottom: 24px;
}

.training-entry-options {
  display: grid;
  max-width: 820px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.training-entry-options a {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(2, 20, 33, 0.17);
  transition: transform 160ms ease, background 160ms ease;
}

.training-entry-options a:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.training-entry-options strong,
.training-entry-options span {
  display: block;
}

.training-entry-options strong {
  font-size: 0.9rem;
}

.training-entry-options span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.training-section {
  padding-block: clamp(70px, 8vw, 112px);
  background: var(--off-white);
}

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

.training-section .inner-heading {
  max-width: 760px;
}

.training-activity-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.training-activity-grid article {
  min-height: 168px;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.training-activity-grid span,
.training-activity-grid strong {
  display: block;
}

.training-activity-grid span {
  margin-bottom: 44px;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.training-activity-grid strong {
  color: var(--navy);
  font-size: 0.83rem;
  line-height: 1.35;
}

.training-copy-grid,
.training-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
}

.training-copy-grid > div > p:not(.eyebrow),
.training-fit-grid > div > p:not(.eyebrow) {
  color: var(--muted);
}

.training-learn-list,
.training-company-facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-learn-list li,
.training-company-facts li {
  position: relative;
  padding: 17px 18px 17px 50px;
  color: var(--navy);
  background: #eef5f0;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.training-learn-list li::before,
.training-company-facts li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.training-try {
  color: var(--white);
  background: linear-gradient(130deg, var(--navy-deep), var(--navy));
}

.training-try-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
}

.training-try h2 {
  color: var(--white);
}

.training-try p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
}

.training-try-actions {
  display: grid;
  min-width: 250px;
  gap: 10px;
}

.button-light,
.button-outline-light {
  color: var(--navy);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
}

.training-employer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.training-employer-brand {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.training-employer-brand > img {
  width: 150px;
  max-height: 100px;
  padding: 10px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.training-employer-brand h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.training-employer-brand p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.training-company-contact {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 21px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

.training-company-contact a {
  color: var(--green-dark);
  font-weight: 900;
}

.training-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 34px;
}

.training-gallery-grid figure {
  position: relative;
  min-height: 390px;
  margin: 0;
  background: #dce6e9;
  border-radius: 16px;
  overflow: hidden;
}

.training-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-gallery-grid figcaption {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  padding: 11px 13px;
  color: var(--white);
  background: rgba(4, 41, 68, 0.86);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.training-fit-grid .check-grid {
  margin: 0;
}

.training-contact {
  padding-block: clamp(72px, 9vw, 120px);
  color: var(--white);
  background: var(--navy-deep);
}

.training-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  align-items: start;
  gap: clamp(44px, 8vw, 105px);
}

.training-contact h2 {
  color: var(--white);
}

.training-contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.training-contact-options {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.training-contact-options button {
  min-height: 48px;
  padding: 11px 15px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
}

.training-contact-options button.active {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.training-direct-contact {
  display: grid;
  gap: 4px;
  margin-top: 24px;
}

.training-direct-contact a {
  color: #a4e5a0;
  font-size: 0.8rem;
  font-weight: 800;
}

.training-inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--navy);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.17);
}

.training-inquiry-form label {
  display: grid;
  gap: 7px;
}

.training-inquiry-form label > span {
  font-size: 0.75rem;
  font-weight: 800;
}

.training-inquiry-form input,
.training-inquiry-form select,
.training-inquiry-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--navy);
  background: #f7faf8;
  border: 1px solid #d7e2dc;
  border-radius: 9px;
  font: inherit;
  font-size: 0.82rem;
}

.training-inquiry-form input,
.training-inquiry-form select {
  min-height: 49px;
}

.training-inquiry-form textarea {
  resize: vertical;
}

.training-inquiry-form .full {
  grid-column: 1 / -1;
}

.training-form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 3px;
}

.training-form-submit small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.training-generic-employer {
  margin: -12px 0 18px;
  color: var(--green-dark) !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  font-weight: 800;
}

.training-generic-hero .training-entry-options {
  margin-top: 28px;
}

.training-entry-options-light a {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(7, 54, 90, 0.08);
}

.training-generic-education {
  background: var(--off-white);
}

.training-contact-links {
  max-width: none;
  margin-top: 32px;
}

@media (max-width: 1080px) {
  .quiz-intro-grid,
  .profile-about-grid {
    grid-template-columns: 1fr;
  }

  .quiz-preview {
    max-width: 650px;
  }

  .profile-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .profile-hero-media {
    min-height: 470px;
    order: -1;
  }

  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-stat:nth-child(2) {
    border-right: 0;
  }

  .profile-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .area-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-detail-layout {
    grid-template-columns: 1fr;
  }

  .offer-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .employer-mini-card {
    margin-top: 0;
  }

  .training-activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .training-copy-grid,
  .training-fit-grid,
  .training-contact-grid {
    grid-template-columns: 1fr;
  }

  .training-learn-list,
  .training-fit-grid .check-grid,
  .training-inquiry-form {
    max-width: 760px;
  }

  .training-employer-card {
    grid-template-columns: 1fr;
  }

  .training-company-contact {
    grid-column: auto;
  }
}

@media (max-width: 740px) {
  .inner-page h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .quiz-intro {
    padding-bottom: 78px;
  }

  .quiz-intro-grid {
    gap: 28px;
  }

  .quiz-preview {
    min-height: 315px;
  }

  .preview-card {
    width: min(74%, 285px);
    min-height: 136px;
    padding: 19px;
  }

  .preview-card span {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
  }

  .quiz-progress-wrap {
    padding: 20px 20px 0;
  }

  .quiz-grade-grid {
    grid-template-columns: 1fr;
  }

  .quiz-choice-grid {
    grid-template-columns: 1fr;
  }

  .quiz-choice-both {
    grid-column: auto;
  }

  .result-grid,
  .inquiry-form,
  .learning-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .result-intro {
    grid-template-columns: 66px 1fr;
  }

  .result-badge {
    width: 66px;
    height: 66px;
    font-size: 1.55rem;
  }

  .result-offer {
    grid-template-columns: 42px 1fr 18px;
  }

  .result-reset-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .profile-hero {
    padding-block: 20px 58px;
  }

  .profile-hero-grid {
    border-radius: 16px;
  }

  .profile-hero-media {
    min-height: 330px;
  }

  .profile-hero-copy {
    padding: 32px 24px 38px;
  }

  .profile-stats {
    margin-top: -22px;
  }

  .profile-stat {
    padding: 20px 17px;
  }

  .profile-mosaic {
    min-height: 520px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr 0.85fr;
  }

  .profile-mosaic img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .area-grid,
  .team-voice,
  .opportunity-grid,
  .contact-panel,
  .offer-team-strip {
    grid-template-columns: 1fr;
  }

  .area-card,
  .area-card:last-child {
    min-height: 350px;
    grid-column: auto;
  }

  .team-voice img {
    min-height: 340px;
  }

  .contact-choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-choice {
    min-height: 155px;
  }

  .form-field.full,
  .form-submit-row,
  .form-status {
    grid-column: auto;
  }

  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-hero,
  .offer-hero .container {
    min-height: 660px;
  }

  .offer-hero > img {
    object-position: 62% center;
  }

  .offer-hero::after {
    background: linear-gradient(180deg, rgba(3, 28, 46, 0.18) 0%, rgba(3, 28, 46, 0.92) 52%, rgba(3, 28, 46, 0.98) 100%);
  }

  .offer-hero .container {
    justify-content: flex-end;
    padding-bottom: 54px;
  }

  .offer-sidebar {
    grid-template-columns: 1fr;
  }

  .offer-team-strip img {
    min-height: 340px;
  }

  .training-profile-hero,
  .training-profile-hero .container {
    min-height: 720px;
  }

  .training-entry-options {
    grid-template-columns: 1fr;
  }

  .training-entry-options a {
    min-height: 67px;
    padding: 12px 15px;
  }

  .training-activity-grid,
  .training-gallery-grid {
    grid-template-columns: 1fr;
  }

  .training-activity-grid article {
    display: grid;
    min-height: 0;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 13px;
    padding: 17px;
  }

  .training-activity-grid span {
    margin: 0;
  }

  .training-try-grid {
    grid-template-columns: 1fr;
  }

  .training-try-actions {
    min-width: 0;
  }

  .training-employer-brand {
    grid-template-columns: 1fr;
  }

  .training-gallery-grid figure {
    min-height: 340px;
  }

  .training-inquiry-form {
    grid-template-columns: 1fr;
  }

  .training-inquiry-form .full {
    grid-column: auto;
  }

  .training-form-submit {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .quiz-meta span {
    font-size: 0.75rem;
  }

  .quiz-card {
    border-radius: 16px;
  }

  .quiz-question,
  .quiz-result {
    padding: 24px 18px 28px;
  }

  .quiz-step-heading {
    margin-bottom: 20px;
  }

  .quiz-grade-note {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .quiz-statement {
    padding: 17px 14px;
  }

  .quiz-comparison {
    padding: 17px 14px;
  }

  .quiz-statement legend,
  .quiz-comparison legend {
    gap: 10px;
    font-size: 0.86rem;
  }

  .quiz-choice {
    min-height: 76px;
    padding: 13px 14px;
  }

  .quiz-choice-both {
    min-height: 58px;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .quiz-choice-both strong {
    white-space: normal;
  }

  .quiz-statement-index {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .quiz-scale {
    grid-template-columns: repeat(5, 40px);
    justify-content: center;
    gap: 6px;
  }

  .quiz-scale-number {
    width: 40px;
    height: 40px;
  }

  .quiz-scale-labels {
    width: 224px;
    margin-inline: auto;
    font-size: 0.62rem;
  }

  .quiz-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quiz-next {
    width: 100%;
  }

  .result-intro {
    display: block;
  }

  .result-badge {
    margin-bottom: 16px;
  }

  .result-opportunities-head,
  .result-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions .button {
    width: 100%;
  }

  .profile-stats,
  .contact-choice-grid {
    grid-template-columns: 1fr;
  }

  .profile-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .profile-stat:last-child {
    border-bottom: 0;
  }

  .contact-choice {
    min-height: 135px;
  }

  .offer-hero h1 {
    font-size: 2.65rem;
  }

  .training-profile-hero,
  .training-profile-hero .container {
    min-height: 760px;
  }

  .training-profile-hero h1 span {
    display: block;
    margin-top: 7px;
    font-size: 0.54em;
  }

  .training-company-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-gallery-grid figure {
    min-height: 290px;
  }
}
