:root {
  --ivory: #f7f4ef;
  --charcoal: #171b20;
  --gold: #a48759;
  --line: #ddd5c8;
  --muted: #626970;
  --white: #ffffff;
  --soft: #eee8df;
  --error: #8b2c23;
  --success: #1f6047;
  --shadow: 0 18px 50px rgba(23, 27, 32, 0.08);
  --radius: 8px;
  --shell: 1180px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
  font-family: "Tajawal", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: -5rem;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: var(--ivory);
  background: var(--charcoal);
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
  font-weight: 700;
  font-size: 1.04rem;
  text-decoration: none;
}

.wordmark i {
  width: 34px;
  height: 1px;
  display: block;
  background: var(--gold);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
}

.primary-nav a {
  padding: 0.45rem 0;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-color: var(--gold);
}

.primary-nav .nav-cta {
  padding: 0.66rem 0.9rem;
  color: var(--ivory);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.primary-nav .language-switch {
  min-width: 64px;
  padding: 0.55rem 0.7rem;
  text-align: center;
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
}

.nav-toggle b,
.nav-toggle b::before,
.nav-toggle b::after {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
}

.nav-toggle b {
  position: relative;
}

.nav-toggle b::before,
.nav-toggle b::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle b::before {
  transform: translateY(-5px);
}

.nav-toggle b::after {
  transform: translateY(5px);
}

.hero {
  min-height: calc(100svh - 84px);
  padding-block: clamp(3.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.kicker {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .kicker {
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-block-start: 0;
}

h1 {
  max-width: 950px;
  margin-block-end: 1.7rem;
  font-size: clamp(3.2rem, 5.3vw, 4.75rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

[dir="rtl"] h1 {
  font-size: clamp(2.7rem, 5vw, 4.45rem);
  line-height: 1.3;
  letter-spacing: 0;
}

h2 {
  margin-block-end: 1.3rem;
  font-size: clamp(2.15rem, 3.9vw, 3.55rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

[dir="rtl"] h2 {
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.38;
}

.hero-lead {
  max-width: 640px;
  margin: 0 0 1rem;
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  font-weight: 500;
  line-height: 1.65;
}

.hero-body,
.page-lead,
.section-intro {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.button-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.button {
  min-height: 50px;
  padding: 0.82rem 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--ivory);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.text-link svg,
.opportunity-card b svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .button svg,
[dir="rtl"] .text-link svg,
[dir="rtl"] .opportunity-card b svg {
  transform: scaleX(-1);
}

.button-secondary {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--charcoal);
}

.button-secondary:hover {
  color: var(--ivory);
  background: var(--charcoal);
}

.portrait-frame {
  position: relative;
  margin: 0;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset-block-start: -12px;
  inset-inline-end: -12px;
  width: 90px;
  height: 90px;
  border-block-start: 2px solid var(--gold);
  border-inline-end: 2px solid var(--gold);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 0.778;
  object-fit: cover;
  object-position: center top;
  background: var(--white);
}

.portrait-frame.portrait-landscape {
  padding: 4px;
  box-shadow: none;
}

.portrait-frame.portrait-landscape::before {
  content: none;
  display: none;
}

.portrait-frame.portrait-landscape img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 3rem;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.split-heading > div {
  max-width: 780px;
}

.split-heading .button {
  flex: 0 0 auto;
  margin-bottom: 0.45rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.focus-card {
  min-height: 335px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
}

.focus-number,
.credential-grid article > span,
.opportunity-card > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.icon {
  width: 42px;
  height: 42px;
  margin: 2rem 0 2.6rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-card h3 {
  margin-bottom: 0.75rem;
}

.focus-card p,
.approach-grid p,
.venture-card p,
.credential-grid p,
.training-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.education-band {
  color: var(--ivory);
  background: var(--charcoal);
}

.education-band-inner {
  min-height: 270px;
  padding-block: 3.7rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.education-band .kicker,
.final-cta .kicker,
.group-feature .kicker {
  color: #c7ad7e;
}

.education-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 0;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  line-height: 1.45;
}

.education-list span {
  display: flex;
  align-items: center;
}

.education-list span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline: 1rem;
  background: var(--gold);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link.light {
  color: var(--ivory);
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.venture-card {
  min-height: 390px;
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(23, 27, 32, 0.035);
}

.venture-card[hidden] {
  display: none;
}

.venture-monogram {
  width: 58px;
  height: 58px;
  margin-bottom: 2.3rem;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.venture-copy {
  flex: 1;
}

.venture-sector {
  margin-bottom: 0.65rem !important;
  color: var(--gold) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[dir="rtl"] .venture-sector {
  letter-spacing: 0;
}

.venture-card h3 {
  margin-bottom: 0.8rem;
}

.status-pill {
  margin-top: 1.2rem;
  padding: 0.32rem 0.55rem;
  display: inline-flex;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
}

.venture-card .text-link {
  margin-top: 1.6rem;
}

.approach-section {
  background: var(--white);
}

.approach-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.approach-grid article {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.approach-grid .icon {
  margin: 1.5rem 0 2rem;
}

.approach-grid h3 {
  margin-bottom: 0.6rem;
}

.final-cta {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  color: var(--ivory);
  background: var(--charcoal);
}

.final-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.final-cta h2 {
  max-width: 750px;
}

.final-cta p:not(.kicker) {
  max-width: 700px;
  margin-bottom: 0;
  color: #c9c9c5;
}

.final-cta .button {
  color: var(--charcoal);
  background: var(--ivory);
  border-color: var(--ivory);
  flex: 0 0 auto;
}

.page-hero {
  min-height: 54vh;
  padding-block: clamp(5rem, 10vw, 9rem);
  display: flex;
  align-items: end;
}

.page-hero > div {
  max-width: 1000px;
}

.page-hero h1 {
  max-width: 960px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.portrait-small {
  max-width: 330px;
  justify-self: end;
}

.portrait-small.portrait-landscape {
  width: min(100%, 480px);
  max-width: 480px;
}

[dir="rtl"] .portrait-small {
  justify-self: start;
}

.prose-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 4rem;
}

.prose-copy {
  max-width: 790px;
}

.prose-copy p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.95;
}

.credentials-section {
  background: var(--white);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.credential-grid article {
  min-height: 280px;
  padding: 1.7rem;
  background: var(--white);
}

.credential-grid h3 {
  margin: 3.2rem 0 0.8rem;
}

.training-card {
  margin-top: 1.5rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  background: var(--soft);
  border: 1px solid var(--line);
}

.training-card h3 {
  margin-bottom: 0;
}

.training-card ul {
  margin: 0;
  padding-inline-start: 1.3rem;
}

.training-card li + li {
  margin-top: 0.65rem;
}

.section-actions {
  margin-top: 2.5rem;
}

.group-feature {
  padding-block: 4rem;
  color: var(--ivory);
  background: var(--charcoal);
}

.group-feature-inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.group-mark {
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  background: var(--ivory);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.group-feature h2 {
  max-width: 850px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.filter-bar {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ivory);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.opportunity-card {
  min-height: 310px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.opportunity-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.opportunity-card h2 {
  margin: 3.2rem 0 0.8rem;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
}

.opportunity-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.opportunity-card b {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
}

.form-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--charcoal);
}

.form-card {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  background: var(--white);
  border-radius: var(--radius);
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-header h2 {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-grid label,
.budget-group label {
  min-width: 0;
  display: block;
}

.form-grid label > span,
.budget-group label > span {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.budget-group input,
.budget-group select {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.85rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.form-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.budget-group input:focus,
.budget-group select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}

.span-2,
.budget-group {
  grid-column: 1 / -1;
}

.budget-group {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 1.15rem;
}

.form-note {
  margin: 1.6rem 0;
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: var(--soft);
  border-inline-start: 3px solid var(--gold);
  font-size: 0.85rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--charcoal);
}

.form-submit {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.form-submit button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status.success {
  color: var(--success);
  font-weight: 700;
}

.form-status.error {
  color: var(--error);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 120px;
}

.contact-details > a:not(.button) {
  margin-bottom: 1.2rem;
  display: block;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-details > a span {
  margin-bottom: 0.2rem;
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.contact-details > p:not(.kicker) {
  margin: 2rem 0 1.4rem;
  color: var(--muted);
}

.compact-form {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.legal-hero {
  min-height: 48vh;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin-top: 3.2rem;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--muted);
  line-height: 1.95;
}

.site-footer {
  padding-top: 4rem;
  color: var(--ivory);
  background: #101317;
}

.footer-grid {
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 0.65fr;
  gap: 2.5rem;
}

.footer-brand strong,
.footer-brand span,
.footer-contact a,
.footer-legal a,
.site-footer nav a {
  display: block;
}

.footer-brand strong {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.footer-brand span {
  color: #aeb1b3;
  font-size: 0.86rem;
}

.site-footer nav a,
.footer-contact a,
.footer-legal a {
  margin-bottom: 0.55rem;
  color: #d9dad8;
  font-size: 0.82rem;
  line-height: 1.55;
  text-decoration: none;
}

.site-footer a:hover {
  color: #c7ad7e;
}

.copyright {
  padding-block: 1.15rem;
  color: #8f9293;
  border-top: 1px solid #2f3338;
  font-size: 0.74rem;
}

.not-found {
  min-height: 100svh;
  padding-block: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found h1 {
  max-width: 900px;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 0.75rem;
  }

  .primary-nav a {
    font-size: 0.78rem;
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    inset: 72px 0 auto;
    padding: 1rem max(1.5rem, calc((100vw - var(--shell)) / 2));
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 28px rgba(23, 27, 32, 0.1);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 46px;
    padding: 0.72rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav-cta,
  .primary-nav .language-switch {
    margin-top: 0.65rem;
    padding-inline: 0.8rem;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--shell), calc(100% - 2rem));
  }

  body {
    font-size: 16px;
  }

  .wordmark {
    font-size: 0.95rem;
  }

  .hero {
    padding-block: 3.4rem 4.5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .portrait-frame {
    order: 2;
    width: min(100%, 420px);
    justify-self: center;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  [dir="rtl"] .hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.35rem);
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .focus-grid,
  .venture-grid,
  .approach-grid,
  .credential-grid,
  .opportunity-grid,
  .form-grid,
  .budget-group {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: 285px;
  }

  .education-band-inner,
  .split-heading,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .education-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .education-list span:not(:last-child)::after {
    display: none;
  }

  .split-heading .button,
  .final-cta .button {
    width: 100%;
  }

  .selected-grid .venture-card {
    min-height: 360px;
  }

  .page-hero {
    min-height: auto;
    padding-block: 4rem 5rem;
  }

  .editorial-hero {
    grid-template-columns: 1fr;
  }

  .editorial-hero .portrait-frame {
    max-width: 280px;
    justify-self: start;
  }

  [dir="rtl"] .editorial-hero .portrait-frame {
    justify-self: end;
  }

  .prose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .training-card {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .group-feature-inner {
    grid-template-columns: 1fr;
  }

  .group-mark {
    width: 100px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    margin-inline: -1rem;
    padding-inline: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .span-2,
  .budget-group {
    grid-column: auto;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Home hero balance — intentionally scoped to the first section only. */
.page-home .hero {
  min-height: auto;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.page-home .hero-copy {
  max-width: 720px;
}

.page-home .hero h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(3.25rem, 4.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

[dir="rtl"] .page-home .hero h1 {
  font-size: clamp(3.25rem, 4.2vw, 3.75rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.page-home .hero-supporting {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: clamp(1.625rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.4;
}

.page-home .hero-summary {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.page-home .hero .button-row {
  margin-top: 1.65rem;
}

.page-home .portrait-frame {
  width: min(100%, 460px);
  max-width: 460px;
  padding: 4px;
  justify-self: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}

.page-home .portrait-frame::before {
  content: none;
  display: none;
}

.page-home .portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
  }

  .page-home .portrait-frame {
    width: min(100%, 360px);
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .page-home .hero {
    padding-block: 2.5rem 3.5rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-home .hero h1,
  [dir="rtl"] .page-home .hero h1 {
    margin-bottom: 0.45rem;
    font-size: clamp(2.25rem, 10vw, 2.625rem);
  }

  .page-home .hero-supporting {
    margin-bottom: 0.85rem;
    font-size: clamp(1.35rem, 6vw, 1.55rem);
  }

  .page-home .hero-summary {
    font-size: 1.0625rem;
    line-height: 1.75;
  }

  .page-home .hero .button-row {
    margin-top: 1.4rem;
  }

  .page-home .portrait-frame {
    width: min(100%, 420px);
    max-width: 420px;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .editorial-hero .portrait-frame.portrait-landscape {
    width: min(100%, 420px);
    max-width: 420px;
  }
}
