@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f6f8f7;
  --panel-strong: #eef3f0;
  --text: #17201c;
  --muted: #5f6c66;
  --line: #dfe6e2;
  --green: #0d6b4f;
  --green-dark: #084935;
  --gold: #b98b2e;
  --shadow: 0 22px 60px rgba(23, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.is-rtl {
  font-family: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--green-dark);
  background: var(--panel);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--green);
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 54px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-role {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.hero-focus {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.hero-lead,
.section-copy p,
.section-heading p:not(.eyebrow),
.contact-section h2 {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

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

.button-secondary {
  color: var(--green-dark);
  background: #fff;
}

.button-quiet {
  color: var(--muted);
  background: var(--panel);
}

.button:hover,
.contact-actions a:hover,
.project-card a:hover {
  transform: translateY(-1px);
}

.hero-panel {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.hero-stat-grid span {
  min-height: 86px;
  padding: 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}

.hero-stat-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.1;
}

.hero-stat-grid em {
  display: block;
  font-style: normal;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

.section-copy p {
  margin-bottom: 16px;
}

.focus-row,
.skills-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-row span,
.skills-board span {
  padding: 10px 12px;
  color: var(--green-dark);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.project-card,
.timeline-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card {
  padding: 22px;
}

.info-card p,
.project-card p,
.timeline-item p,
.timeline-item li {
  color: var(--muted);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.skills-board {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skills-board span {
  background: #fff;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.project-card:hover {
  border-color: rgba(13, 107, 79, 0.35);
  box-shadow: var(--shadow);
}

.project-card.featured {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  min-height: 330px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--green-dark);
  border-color: rgba(8, 73, 53, 0.2);
  box-shadow: var(--shadow);
}

.project-copy {
  max-width: 820px;
}

.project-card.featured h3,
.project-card.featured p {
  color: #fff;
}

.project-card h4 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-card.featured h4 {
  color: #d8b35d;
}

.project-card.featured h3 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.project-card.featured .card-kicker {
  color: #d8b35d;
}

.project-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.project-label-row .card-kicker {
  margin-bottom: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: #8a4b05;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-section {
  margin-top: 20px;
}

.case-section:first-of-type {
  margin-top: 0;
}

.business-impact {
  margin-top: 24px;
}

.project-status {
  padding: 12px 14px;
  background: #fffaf2;
  border: 1px solid #fed7aa;
  border-radius: 7px;
}

.project-status h4 {
  color: #9a5a09;
}

.project-status p {
  margin-bottom: 0;
  color: #7c4a03;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.outcome-list,
.tag-list,
.roadmap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.outcome-list span,
.tag-list span,
.roadmap-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--green-dark);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.outcome-list {
  margin-top: 0;
  padding-top: 2px;
}

.outcome-list span {
  color: #265749;
  background: #f7faf8;
}

.outcome-list span::before,
.roadmap-list .is-complete::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green);
  font-weight: 900;
}

.roadmap-list {
  margin-top: 0;
  padding-top: 2px;
}

.roadmap-list span {
  color: #4f5f58;
  background: #fbfcfb;
}

.roadmap-list .is-progress {
  color: #7c4a03;
  background: #fffaf2;
  border-color: #fed7aa;
}

.roadmap-list .is-progress::before,
.roadmap-list .is-planned::before {
  content: "⏳";
  margin-right: 6px;
}

.roadmap-list .is-planned {
  color: #5f6c66;
}

.is-rtl .outcome-list span::before,
.is-rtl .roadmap-list span::before {
  margin-right: 0;
  margin-left: 6px;
}

.project-card.featured .tag-list {
  margin-top: 0;
}

.project-card.featured .outcome-list span,
.project-card.featured .tag-list span {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.project-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  margin-top: 16px;
  padding: 10px 14px;
  color: var(--green-dark);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.project-card .business-impact + a,
.project-card .case-section + a {
  margin-top: 22px;
}

.project-card.featured a {
  background: #fff;
  border-color: #fff;
}

.timeline {
  display: grid;
  gap: 14px;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  padding: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.timeline-item ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contact-section {
  align-items: start;
  margin-bottom: 40px;
  padding: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.contact-actions a {
  min-height: 92px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease;
  overflow-wrap: anywhere;
}

.contact-actions a:hover {
  border-color: rgba(13, 107, 79, 0.35);
}

.contact-actions span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-actions em {
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.is-rtl .site-header,
.is-rtl .brand,
.is-rtl .site-nav,
.is-rtl .hero-actions,
.is-rtl .focus-row,
.is-rtl .skills-board,
.is-rtl .site-footer {
  direction: rtl;
}

.is-rtl .site-nav {
  justify-content: flex-start;
}

.is-rtl h1,
.is-rtl h2,
.is-rtl h3,
.is-rtl .hero-role,
.is-rtl .hero-focus,
.is-rtl .card-kicker,
.is-rtl .project-badge,
.is-rtl .tag-list span,
.is-rtl .button,
.is-rtl .project-card a,
.is-rtl .brand-mark,
.is-rtl .language-switcher button,
.is-rtl .focus-row span,
.is-rtl .skills-board span {
  font-weight: 700;
}

.is-rtl h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4.9vw, 58px);
  line-height: 1.32;
}

.is-rtl h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(23px, 2.9vw, 32px);
  line-height: 1.38;
}

.is-rtl h3 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.4;
}

.is-rtl .project-card h4 {
  font-weight: 700;
  letter-spacing: 0;
}

.is-rtl .hero-role {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.38;
}

.is-rtl .hero-focus {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.9;
}

.is-rtl .hero-lead,
.is-rtl .section-copy p,
.is-rtl .section-heading p:not(.eyebrow),
.is-rtl .contact-section h2 {
  font-size: 16px;
  line-height: 2;
}

.is-rtl .section-heading {
  margin-bottom: 38px;
}

.is-rtl .project-list {
  gap: 20px;
}

.is-rtl .project-card {
  min-height: 390px;
  padding: 28px;
}

.is-rtl .project-card h3 {
  max-width: 15em;
  text-wrap: balance;
}

.is-rtl .project-card p {
  margin-top: 4px;
  line-height: 2;
}

.is-rtl .project-card.featured {
  align-items: center;
  gap: 52px;
  min-height: 310px;
  padding: clamp(38px, 4.5vw, 56px);
}

.is-rtl .project-copy {
  max-width: 760px;
}

.is-rtl .project-card.featured h3 {
  max-width: 13em;
  margin-bottom: 28px;
  font-size: clamp(24px, 2.75vw, 34px);
  line-height: 1.4;
  text-wrap: balance;
}

.is-rtl .project-card.featured p {
  max-width: 720px;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 2.05;
}

.is-rtl .project-badge {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0;
}

.is-rtl .card-kicker {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0;
}

.is-rtl .project-label-row {
  align-items: flex-start;
}

.is-rtl .project-label-row .card-kicker {
  margin-bottom: 0;
}

.is-rtl .status-badge,
.is-rtl .project-status p {
  font-weight: 700;
}

.is-rtl .tag-list {
  gap: 10px;
  padding-top: 20px;
}

.is-rtl .outcome-list,
.is-rtl .roadmap-list {
  gap: 10px;
  padding-top: 4px;
}

.is-rtl .outcome-list span,
.is-rtl .tag-list span,
.is-rtl .roadmap-list span {
  min-height: 30px;
  font-size: 11px;
}

.is-rtl .project-card a {
  margin-top: 22px;
}

.is-rtl .timeline {
  padding-right: 24px;
  padding-left: 0;
  border-right: 2px solid var(--line);
  border-left: 0;
}

.is-rtl .timeline-item::before {
  right: -32px;
  left: auto;
}

.is-rtl .timeline-item ul {
  padding-right: 18px;
  padding-left: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

  .project-card,
  .project-card.featured {
    grid-column: span 6;
  }

  .project-card.featured {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .is-rtl .project-card.featured {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 32px, 1160px);
    padding: 56px 0;
  }

  .site-header {
    padding: 14px 16px;
  }

  .site-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .is-rtl h1 {
    font-size: 34px;
    line-height: 1.35;
  }

  .is-rtl h2 {
    font-size: 25px;
    line-height: 1.4;
  }

  .is-rtl h3 {
    font-size: 17px;
    line-height: 1.45;
  }

  .is-rtl .hero-role {
    font-size: 20px;
    line-height: 1.45;
  }

  .is-rtl .hero-focus {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-lead,
  .section-copy p,
  .section-heading p:not(.eyebrow),
  .contact-section h2 {
    font-size: 16px;
  }

  .is-rtl .hero-lead,
  .is-rtl .section-copy p,
  .is-rtl .section-heading p:not(.eyebrow),
  .is-rtl .contact-section h2 {
    font-size: 15px;
    line-height: 2;
  }

  .is-rtl .project-card {
    padding: 24px;
  }

  .is-rtl .project-card.featured {
    padding: 28px 24px;
  }

  .is-rtl .project-card.featured h3 {
    max-width: 11em;
    font-size: 25px;
    line-height: 1.38;
  }

  .project-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-stat-grid,
  .card-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .contact-section {
    padding: 28px 18px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item::before {
    left: -26px;
  }

  .is-rtl .timeline {
    padding-right: 18px;
    padding-left: 0;
  }

  .is-rtl .timeline-item::before {
    right: -26px;
    left: auto;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
  }
}
