:root {
  color-scheme: light;
  --ink: #12201d;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --muted: #5f6f6b;
  --line: #d9ded8;
  --forest: #173f35;
  --gold: #c6a04b;
  --blue: #2f75a8;
  --clay: #8f4f3c;
  --mist: #eef3ef;
  --shadow: 0 24px 70px rgba(18, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 0;
  background:
    linear-gradient(180deg, #f5f2ea 0, var(--paper) 42%, #eef3ef 100%);
  color: var(--ink);
  font-family:
    Inter,
    "IBM Plex Sans Arabic",
    "Noto Sans Arabic",
    Arial,
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 32, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 29, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(18, 32, 29, 0.1);
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(198, 160, 75, 0.5);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--ink);
}

.lang-switch {
  color: var(--forest);
  font-weight: 900;
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(18, 32, 29, 0.12);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.88);
  box-shadow: 0 18px 50px rgba(18, 32, 29, 0.14);
  backdrop-filter: blur(16px);
}

.quick-actions a,
.mobile-action-bar a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.quick-actions a:first-child,
.mobile-action-bar a:last-child {
  background: var(--forest);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: calc(86vh - 79px);
  padding: clamp(34px, 5vw, 68px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 58px);
}

.hero-copy {
  min-width: 0;
  max-width: 870px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.22;
}

.hero-role {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  font-weight: 820;
  line-height: 1.18;
}

.hero-text,
.profile-copy p,
.media-teaser p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 850;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 63, 53, 0.42);
  background: var(--surface);
}

.button-primary {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.button-primary:hover {
  background: #0f3028;
  color: #fff;
}

.hero-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(18, 32, 29, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: center;
}

.hero-portrait figcaption {
  display: grid;
  gap: 3px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.hero-portrait span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-portrait strong {
  color: var(--forest);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.recruiter-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  margin: 0 clamp(18px, 5vw, 72px) clamp(18px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(18, 32, 29, 0.06);
}

.recruiter-snapshot h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.8rem);
}

.snapshot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.snapshot-list article {
  min-height: 126px;
  padding: 18px;
  background: rgba(251, 250, 246, 0.96);
}

.snapshot-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snapshot-list p {
  margin: 0;
  color: var(--ink);
  font-weight: 820;
  line-height: 1.35;
}

.signal-strip article {
  min-height: 156px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.82);
}

.signal-strip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 0.9;
}

.signal-strip span {
  color: var(--muted);
  font-weight: 760;
}

.section {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: start;
}

.section-heading {
  max-width: 820px;
}

.industry-section .section-heading,
.faq-section .section-heading {
  max-width: 720px;
}

.industry-section .section-heading h2,
.faq-section .section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.55rem);
}

.profile-copy {
  display: grid;
  gap: 14px;
  padding-top: 7px;
}

.personal-note {
  margin: 6px 0 0;
  border-inline-start: 4px solid var(--gold);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  font-weight: 820;
  line-height: 1.55;
}

.role-section,
.proof-section {
  padding-top: clamp(36px, 5vw, 76px);
}

.role-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.role-grid article,
.proof-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 50px rgba(18, 32, 29, 0.06);
}

.role-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  place-items: center;
  border: 1px solid rgba(198, 160, 75, 0.55);
  border-radius: 50%;
  color: var(--clay);
  font-weight: 850;
}

.role-grid p,
.proof-card p,
.timeline p,
.project-card span,
.industry-grid p,
.faq-grid p {
  color: var(--muted);
}

.experience-section {
  position: relative;
  background: rgba(238, 243, 239, 0.64);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-left: 34px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--blue), var(--forest));
  content: "";
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.26fr) minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.8);
  animation: timeline-rise 0.62s ease both;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.timeline article::before {
  position: absolute;
  top: 28px;
  left: -32px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(18, 32, 29, 0.14);
  content: "";
}

.timeline article:nth-child(2)::before {
  background: #2f75a8;
}

.timeline article:nth-child(3)::before {
  background: #5f8f7b;
}

.timeline article:nth-child(4)::before {
  background: var(--forest);
}

.timeline article:nth-child(2) {
  animation-delay: 0.06s;
}

.timeline article:nth-child(3) {
  animation-delay: 0.12s;
}

.timeline article:nth-child(4) {
  animation-delay: 0.18s;
}

.timeline article:hover {
  transform: translateX(4px);
  border-color: rgba(23, 63, 53, 0.28);
  box-shadow: 0 18px 46px rgba(18, 32, 29, 0.08);
}

@keyframes timeline-rise {
  from {
    transform: translateY(14px);
  }

  to {
    transform: translateY(0);
  }
}

.timeline time {
  color: var(--clay);
  font-size: 0.94rem;
  font-weight: 850;
}

.company {
  margin-bottom: 12px;
  color: var(--forest);
  font-weight: 820;
}

.media-teaser,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.matrix-section,
.faq-section {
  padding-top: clamp(36px, 5vw, 76px);
}

.matrix-table {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.matrix-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(220px, 0.7fr) minmax(220px, 0.85fr);
  gap: 1px;
  background: var(--line);
}

.matrix-table span {
  display: grid;
  min-height: 82px;
  align-content: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.matrix-table [role="columnheader"] {
  min-height: 58px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.matrix-table [role="cell"]:first-child {
  color: var(--forest);
  font-weight: 850;
}

.industry-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.industry-grid article,
.faq-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(18, 32, 29, 0.055);
}

.faq-grid article {
  min-height: 230px;
}

.updated-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.media-teaser {
  margin: 0 clamp(18px, 5vw, 72px) clamp(42px, 7vw, 86px);
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--ink);
  color: #fff;
}

.media-teaser .eyebrow,
.media-teaser p {
  color: rgba(255, 255, 255, 0.72);
}

.media-teaser .button {
  width: fit-content;
  justify-self: end;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.contact-section {
  border-top: 1px solid var(--line);
}

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

.contact-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 70px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.contact-item small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  min-width: 0;
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.2;
}

.contact-email .contact-icon {
  background: #2f75a8;
}

.contact-phone .contact-icon {
  background: #16865c;
}

.contact-linkedin .contact-icon {
  background: #0a66c2;
  font-family: Arial, sans-serif;
}

.contact-instagram .contact-icon {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 16%, #fa7e1e 28%, transparent 48%),
    linear-gradient(135deg, #405de6, #833ab4 34%, #c13584 58%, #fd1d1d 78%, #fcb045);
}

.contact-cv .contact-icon {
  background: var(--forest);
}

.contact-media .contact-icon {
  background: var(--clay);
}

[dir="rtl"] body {
  font-family:
    "IBM Plex Sans Arabic",
    "Noto Sans Arabic",
    Tahoma,
    Arial,
    sans-serif;
}

[dir="rtl"] .site-nav,
[dir="rtl"] .hero-actions,
[dir="rtl"] .quick-actions {
  direction: rtl;
}

[dir="rtl"] .timeline {
  padding-right: 34px;
  padding-left: 0;
}

[dir="rtl"] .timeline::before {
  right: 10px;
  left: auto;
}

[dir="rtl"] .timeline article::before {
  right: -32px;
  left: auto;
}

[dir="rtl"] .timeline article:hover {
  transform: translateX(-4px);
}

[dir="rtl"] .contact-list a {
  grid-template-columns: 42px minmax(0, 1fr);
}

[dir="rtl"] .contact-item small {
  letter-spacing: 0;
}

.media-hero {
  min-height: calc(88vh - 79px);
}

.media-hero .hero-portrait img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #121716;
}

.media-hero h1 {
  overflow-wrap: anywhere;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(18, 32, 29, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 117, 168, 0.42);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.project-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .hero,
  .profile-grid,
  .recruiter-snapshot,
  .media-teaser,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    max-width: 620px;
  }

  .role-grid,
  .proof-grid,
  .industry-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-teaser .button {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 70px;
    line-height: 1.5;
  }

  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 8px;
  }

  .brand {
    width: 100%;
    gap: 9px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 0.74rem;
  }

  .site-nav {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    color: var(--ink);
    font-size: 0.78rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(18, 32, 29, 0.1);
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.58);
  }

  .lang-switch {
    position: sticky;
    inset-inline-end: 0;
    flex: 0 0 auto;
    background: var(--ink) !important;
    color: var(--gold) !important;
    box-shadow: 0 8px 18px rgba(18, 32, 29, 0.12);
  }

  .hero,
  .section {
    padding-inline: 14px;
  }

  .hero {
    gap: 20px;
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(3rem, 17vw, 4.35rem);
    line-height: 0.9;
  }

  .media-hero h1 {
    font-size: clamp(2.7rem, 14vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .industry-section .section-heading h2,
  .faq-section .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.08rem;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .hero-role {
    margin-bottom: 12px;
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }

  .hero-text,
  .profile-copy p,
  .media-teaser p {
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero-portrait {
    width: min(100%, 330px);
    justify-self: center;
    box-shadow: 0 14px 40px rgba(18, 32, 29, 0.1);
  }

  .hero-portrait img {
    aspect-ratio: 5 / 4.8;
  }

  .hero-portrait figcaption {
    padding: 12px 14px;
  }

  .media-hero .hero-portrait {
    width: 100%;
  }

  .media-hero .hero-portrait img {
    aspect-ratio: 16 / 9;
  }

  .role-grid,
  .proof-grid,
  .industry-grid,
  .faq-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .signal-strip,
  .recruiter-snapshot {
    margin-inline: 14px;
  }

  .recruiter-snapshot {
    gap: 16px;
    padding: 18px;
  }

  .recruiter-snapshot h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .snapshot-list {
    grid-template-columns: 1fr;
  }

  .snapshot-list article {
    min-height: auto;
    padding: 14px;
  }

  .snapshot-list span {
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  .snapshot-list p {
    font-size: 0.93rem;
  }

  .signal-strip article {
    min-height: 118px;
    padding: 16px 14px;
  }

  .signal-strip strong {
    margin-bottom: 8px;
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }

  .signal-strip span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .profile-grid {
    gap: 18px;
  }

  .profile-copy {
    gap: 10px;
  }

  .personal-note {
    padding: 13px 14px;
    font-size: 0.95rem;
  }

  .role-section,
  .proof-section,
  .matrix-section,
  .faq-section {
    padding-top: 34px;
  }

  .role-grid,
  .proof-grid,
  .industry-grid,
  .faq-grid,
  .project-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .role-grid article,
  .proof-card,
  .industry-grid article,
  .faq-grid article {
    min-height: auto;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(18, 32, 29, 0.045);
  }

  .role-grid span {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    font-size: 0.76rem;
  }

  .quick-actions {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid rgba(18, 32, 29, 0.12);
    padding: 8px 12px;
    background: rgba(251, 250, 246, 0.94);
    box-shadow: 0 -14px 36px rgba(18, 32, 29, 0.1);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    border: 1px solid var(--line);
    background: var(--surface);
    min-height: 44px;
    font-size: 0.86rem;
  }

  .mobile-action-bar a:last-child {
    border-color: var(--forest);
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .timeline {
    gap: 10px;
    margin-top: 20px;
    padding-left: 24px;
  }

  [dir="rtl"] .timeline {
    padding-right: 24px;
    padding-left: 0;
  }

  .timeline::before {
    left: 7px;
  }

  [dir="rtl"] .timeline::before {
    right: 7px;
    left: auto;
  }

  .timeline article::before {
    top: 18px;
    left: -25px;
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  [dir="rtl"] .timeline article::before {
    right: -25px;
    left: auto;
  }

  .timeline time {
    font-size: 0.78rem;
  }

  .company {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .matrix-table {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .matrix-table [role="row"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .matrix-table [role="row"]:first-child {
    display: none;
  }

  .matrix-table span {
    min-height: auto;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .matrix-table span:last-child {
    border-bottom: 0;
  }

  .media-teaser {
    margin-inline: 14px;
    margin-bottom: 30px;
    padding: 18px;
  }

  .media-teaser .button {
    justify-self: stretch;
    width: 100%;
  }

  .contact-section {
    gap: 18px;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-list a {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 58px;
    padding: 10px;
    font-size: 0.88rem;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .contact-item small {
    font-size: 0.66rem;
  }

  .contact-item strong {
    font-size: 0.88rem;
  }

  .project-card img {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #f4f1ea;
  }

  .project-card div {
    padding: 14px;
  }
}

@media (max-width: 430px) {
  .hero,
  .section {
    padding-inline: 12px;
  }

  .signal-strip,
  .recruiter-snapshot,
  .media-teaser {
    margin-inline: 12px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .signal-strip article {
    min-height: 108px;
    padding: 14px 12px;
  }

  .signal-strip strong {
    font-size: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 11mm 10mm;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    padding: 0;
    background: #fff;
    color: #12201d;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  body::before,
  .site-header,
  .quick-actions,
  .mobile-action-bar,
  .hero-actions,
  .media-teaser .button {
    display: none !important;
  }

  a {
    color: inherit;
  }

  .hero,
  .section,
  .recruiter-snapshot,
  .signal-strip,
  .media-teaser {
    margin: 0;
    padding: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 38mm;
    gap: 9mm;
    min-height: 0;
    align-items: start;
    padding-bottom: 8mm;
    border-bottom: 1px solid #d9ded8;
  }

  .media-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    margin-bottom: 4mm;
    font-size: 38pt;
    line-height: 0.92;
  }

  h2,
  .recruiter-snapshot h2,
  .industry-section .section-heading h2,
  .faq-section .section-heading h2 {
    font-size: 20pt;
    line-height: 1.06;
  }

  h3 {
    font-size: 12.5pt;
  }

  p {
    orphans: 3;
    widows: 3;
  }

  .eyebrow {
    margin-bottom: 2.5mm;
    color: #8f4f3c;
    font-size: 7.5pt;
    letter-spacing: 0.04em;
  }

  [dir="rtl"] .eyebrow {
    letter-spacing: 0;
  }

  .hero-role {
    max-width: none;
    margin-bottom: 4mm;
    font-size: 16pt;
  }

  .hero-text,
  .profile-copy p,
  .media-teaser p {
    max-width: none;
    color: #42524e;
    font-size: 10.5pt;
  }

  .hero-portrait {
    width: 38mm;
    border-radius: 5px;
    break-inside: avoid;
  }

  .hero-portrait img {
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
  }

  .media-hero .hero-portrait {
    display: none;
  }

  .hero-portrait figcaption {
    padding: 3mm;
  }

  .hero-portrait span,
  .hero-portrait strong {
    font-size: 7.5pt;
    line-height: 1.25;
  }

  .recruiter-snapshot,
  .profile-grid,
  .media-teaser,
  .contact-section {
    display: block;
    align-items: start;
    border: 0;
    background: transparent;
  }

  .recruiter-snapshot,
  .section,
  .media-teaser {
    padding-top: 7mm;
  }

  .section-heading,
  .recruiter-snapshot > div:first-child,
  .contact-section > div:first-child,
  .media-teaser > div:first-child {
    max-width: none;
    break-after: avoid;
    page-break-after: avoid;
  }

  .section-heading h2,
  .recruiter-snapshot h2,
  .contact-section h2,
  .media-teaser h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .section-heading + *,
  .recruiter-snapshot > div:first-child + *,
  .contact-section > div:first-child + *,
  .media-teaser > div:first-child + * {
    break-before: avoid;
    page-break-before: avoid;
  }

  .role-section,
  .proof-section,
  .matrix-section,
  .media-teaser,
  .contact-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .snapshot-list,
  .signal-strip,
  .role-grid,
  .proof-grid,
  .industry-grid,
  .faq-grid,
  .contact-list,
  .project-grid {
    display: grid;
    gap: 3mm;
    margin-top: 5mm;
    border: 0;
    background: transparent;
  }

  .snapshot-list,
  .role-grid,
  .proof-grid,
  .industry-grid,
  .faq-grid,
  .contact-list,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 6mm;
  }

  .snapshot-list article,
  .signal-strip article,
  .role-grid article,
  .proof-card,
  .industry-grid article,
  .faq-grid article,
  .contact-list a,
  .project-card {
    min-height: 0;
    border: 1px solid #d9ded8;
    border-radius: 5px;
    padding: 3.5mm;
    background: #fff;
    break-inside: avoid;
  }

  .snapshot-list span,
  .project-card span,
  .contact-item small {
    font-size: 7.3pt;
    letter-spacing: 0.02em;
  }

  [dir="rtl"] .snapshot-list span,
  [dir="rtl"] .project-card span,
  [dir="rtl"] .contact-item small {
    letter-spacing: 0;
  }

  .signal-strip strong {
    margin-bottom: 2mm;
    color: #2f75a8;
    font-size: 23pt;
  }

  .signal-strip span,
  .role-grid p,
  .proof-card p,
  .timeline p,
  .industry-grid p,
  .faq-grid p {
    color: #42524e;
    font-size: 9.4pt;
  }

  .personal-note {
    margin-top: 3mm;
    border-inline-start: 3px solid #c6a04b;
    padding: 4mm;
    background: #fbfaf6;
    font-size: 10.5pt;
    break-inside: avoid;
  }

  .role-grid span {
    width: 8mm;
    height: 8mm;
    margin-bottom: 5mm;
    font-size: 7.5pt;
  }

  .experience-section {
    background: transparent;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2mm;
    margin-top: 4mm;
    padding-left: 0;
  }

  [dir="rtl"] .timeline {
    padding-right: 0;
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline article {
    grid-template-columns: 36mm 1fr;
    gap: 4mm;
    padding: 2.2mm 3.2mm;
    border-radius: 5px;
    break-inside: avoid;
    page-break-inside: avoid;
    animation: none;
  }

  [dir="rtl"] .timeline article {
    grid-template-columns: 36mm 1fr;
  }

  .timeline article::before {
    top: 3mm;
    left: 3mm;
    width: 3mm;
    height: 3mm;
    border-width: 0.7mm;
  }

  [dir="rtl"] .timeline article::before {
    right: 3mm;
    left: auto;
  }

  .timeline time,
  .company {
    font-size: 7.5pt;
  }

  .timeline time {
    display: block;
    padding-inline-start: 5mm;
    line-height: 1.2;
  }

  .timeline h3 {
    margin-bottom: 1mm;
    font-size: 10.6pt;
  }

  .timeline p {
    margin-bottom: 0;
    font-size: 8.1pt;
    line-height: 1.34;
  }

  .matrix-table {
    display: grid;
    margin-top: 5mm;
    border: 1px solid #d9ded8;
    border-radius: 5px;
    overflow: hidden;
    background: #d9ded8;
    break-inside: avoid;
  }

  .matrix-table [role="row"] {
    display: grid;
    grid-template-columns: 0.42fr 0.66fr 0.8fr;
    gap: 1px;
  }

  .matrix-table span {
    min-height: 0;
    padding: 3mm;
    background: #fff;
    font-size: 8.6pt;
  }

  .matrix-table [role="columnheader"] {
    background: #12201d;
    color: #fff;
    font-size: 7.5pt;
    letter-spacing: 0;
  }

  .project-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .project-card div {
    padding: 3mm 0 0;
  }

  .media-teaser {
    border: 1px solid #d9ded8;
    border-radius: 5px;
    padding: 5mm;
    background: #12201d;
    color: #fff;
    break-inside: avoid;
  }

  .media-teaser p {
    color: rgba(255, 255, 255, 0.84);
  }

  .contact-section {
    border-top: 1px solid #d9ded8;
    break-inside: avoid;
  }

  .updated-note {
    display: none !important;
  }

  .contact-list a {
    grid-template-columns: 8mm 1fr;
    gap: 3mm;
  }

  .contact-cv,
  .contact-media {
    display: none !important;
  }

  .contact-email strong,
  .contact-phone strong {
    direction: ltr;
    unicode-bidi: embed;
    text-align: start;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .contact-icon {
    width: 8mm;
    height: 8mm;
    border-radius: 3px;
    font-size: 8pt;
  }

  .contact-item strong {
    font-size: 9pt;
  }
}
