:root {
  color-scheme: light;
  --ink: #18332f;
  --muted: #71817a;
  --green: #286b5c;
  --green-dark: #17483f;
  --paper: #f4f6f1;
  --white: #fff;
  --line: #dfe6de;
  --orange: #db805c;
  --mint: #dce9df;
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 50%; font-size: 19px; font-weight: 600; }
.brand-name { font-size: 14px; font-weight: 600; }
.brand-name span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 27px; color: #53665e; font-size: 13px; }
.site-nav a, .header-contact, .text-link, .contact-email { transition: color .18s ease; }
.site-nav a:hover, .header-contact:hover, .text-link:hover, .contact-email:hover { color: var(--orange); }
.header-contact { color: var(--green-dark); font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-contact span { margin-right: 4px; }
.menu-toggle { display: none; }

.intro-section { min-height: 565px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; padding-block: 62px 74px; }
.intro-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--green); font-size: 13px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 8px; border-radius: 50%; background: #72a47e; box-shadow: 0 0 0 4px #e1ede2; }
h1 { margin: 21px 0 2px; font-size: clamp(38px, 5vw, 62px); line-height: 1.35; letter-spacing: 0; }
.name-period { color: var(--orange); }
.job-title { margin: 5px 0 20px; color: var(--green); font-size: 19px; font-weight: 500; }
.title-divider { margin-inline: 7px; color: #a0ada5; }
.intro-text { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }
.intro-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 0; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); }
.button svg { width: 19px; height: 19px; fill: currentColor; }
.button-arrow { margin-right: 3px; }
.text-link { color: var(--green-dark); font-size: 13px; font-weight: 600; }
.text-link span { margin-right: 4px; }
.quick-facts { display: flex; align-items: center; gap: 23px; margin-top: 34px; color: #74847c; font-size: 12px; }
.quick-facts span { display: inline-flex; align-items: center; gap: 7px; }
.quick-facts i { color: var(--orange); font-size: 17px; font-style: normal; }

.intro-art { position: relative; min-height: 385px; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: #e6eee6; }
.intro-art::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, transparent 49.8%, #c9d9cf 50%, transparent 50.2%), linear-gradient(45deg, transparent 49.8%, #d4e1d7 50%, transparent 50.2%); background-size: 53px 53px; opacity: .55; content: ""; }
.art-grid { position: absolute; inset: 18px; border: 1px solid #cad9ce; }
.art-orbit { position: absolute; width: 255px; height: 255px; border: 1px solid #a9c4b2; border-radius: 50%; }
.orbit-one { transform: scaleX(.72) rotate(33deg); }
.orbit-two { transform: scaleX(.72) rotate(-33deg); }
.art-monogram { position: relative; z-index: 1; display: grid; width: 146px; height: 146px; place-items: center; border: 1px solid #b4cbbb; border-radius: 50%; background: #eff4ed; color: var(--green-dark); font-size: 91px; font-weight: 500; line-height: 1; box-shadow: 0 15px 50px #264b3b14; }
.art-monogram span { position: absolute; right: 101px; bottom: 25px; color: var(--orange); font-size: 34px; }
.art-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--green-dark); font-size: 11px; box-shadow: 0 7px 22px #264b3b10; }
.tag-top { top: 56px; right: 27px; padding: 10px 13px; direction: ltr; font-family: monospace; }
.tag-bottom { bottom: 45px; left: 25px; padding: 10px 13px; }
.tag-bottom .status-dot { width: 6px; height: 6px; flex-basis: 6px; box-shadow: none; }
.art-coordinate { position: absolute; color: #6e8879; font-size: 9px; letter-spacing: 0; direction: ltr; }
.coordinate-one { top: 28px; left: 33px; }
.coordinate-two { right: 34px; bottom: 27px; }

.content-section { padding-block: 77px; border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 29px; }
.section-index { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 600; }
.section-index > span { color: var(--orange); }
.section-heading h2 { margin: 12px 0 0; font-size: 30px; line-height: 1.55; letter-spacing: 0; }
.section-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-aside { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.skills-list { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-chip { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid #d8e1d8; background: #fafbf8; color: #3d554c; font-size: 13px; }
.skill-chip b { color: var(--orange); font-size: 10px; font-weight: 500; }

.projects-section { background: #eaf0e9; padding-inline: max(24px, calc((100% - 1120px) / 2)); }
.projects-list { border-top: 1px solid #d5e0d6; }
.project-item { min-height: 120px; display: grid; grid-template-columns: 56px minmax(250px, 1fr) minmax(220px, .8fr) 24px; align-items: center; gap: 18px; border-bottom: 1px solid #d5e0d6; transition: padding .2s ease, background .2s ease; }
.project-item:hover { padding-inline: 10px; background: #f0f4ee; }
.project-number { align-self: start; padding-top: 32px; color: var(--orange); font-size: 12px; }
.project-copy h3 { margin: 0 0 5px; font-size: 18px; font-weight: 600; }
.project-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.project-tags { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 7px; }
.project-tags span { padding: 5px 8px; border: 1px solid #d5e0d6; color: #66796f; font-size: 10px; }
.project-arrow { color: var(--green); font-size: 20px; }

.education-section { padding-bottom: 83px; }
.education-card { min-height: 102px; display: flex; align-items: center; gap: 18px; padding: 19px 21px; border: 1px solid var(--line); background: #fafbf8; }
.education-symbol { width: 43px; height: 43px; display: grid; flex: 0 0 43px; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 20px; }
.education-copy h3 { margin: 0 0 4px; font-size: 16px; }
.education-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.education-status { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: var(--muted); font-size: 12px; }
.education-status .status-dot { width: 7px; height: 7px; flex-basis: 7px; box-shadow: none; }

.contact-section { background: var(--green-dark); color: white; }
.contact-inner { width: min(1120px, calc(100% - 48px)); min-height: 340px; display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-inline: auto; padding-block: 63px; }
.contact-section .section-index { color: #b6d5c0; }
.contact-copy h2 { margin: 16px 0 12px; font-size: 42px; line-height: 1.45; }
.contact-copy h2 span { color: #d7e8d7; }
.contact-copy p { margin: 0; color: #c2d4c8; font-size: 14px; }
.contact-actions { min-width: 290px; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.button-whatsapp { min-height: 54px; background: #e5f0e5; color: var(--green-dark); font-size: 15px; }
.button-whatsapp:hover { background: white; }
.contact-email { color: #e0eee3; font-size: 14px; }
.contact-email span { margin-right: 5px; color: #a9c8b2; }
.contact-location { display: inline-flex; align-items: center; gap: 8px; margin: 1px 0 0; color: #b7cdbd; font-size: 12px; }
.contact-location span { color: #e49a75; font-size: 17px; }

.site-footer { background: #123b34; color: #bdd0c3; }
.footer-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 11px; }
.footer-brand { color: white; font-size: 12px; font-weight: 600; }
.footer-brand span { color: #e49a75; }
.footer-inner p { margin: 0; }
.copyright { color: #9bb2a3; }

@media (max-width: 820px) {
  .container { width: min(100% - 36px, 650px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-right: auto; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-contact { margin-right: 15px; }
  .intro-section { grid-template-columns: 1fr; gap: 39px; padding-block: 54px 58px; }
  .intro-art { min-height: 330px; }
  .art-orbit { width: 225px; height: 225px; }
  .art-monogram { width: 128px; height: 128px; font-size: 78px; }
  .art-monogram span { right: 88px; bottom: 23px; }
  .projects-section { padding-inline: 24px; }
  .project-item { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; padding-block: 18px; }
  .project-number { padding-top: 3px; }
  .project-tags { grid-column: 2; grid-row: 2; }
  .project-arrow { grid-column: 3; grid-row: 1; }
  .contact-inner { width: min(100% - 36px, 650px); }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 13px; }
  .header-contact { font-size: 12px; }
  .intro-section { padding-block: 45px 48px; }
  h1 { font-size: 39px; }
  .job-title { font-size: 17px; }
  .intro-text { font-size: 15px; }
  .intro-actions { gap: 17px; }
  .button { padding-inline: 14px; font-size: 13px; }
  .quick-facts { gap: 15px; flex-wrap: wrap; }
  .intro-art { min-height: 285px; }
  .art-grid { inset: 12px; }
  .art-orbit { width: 195px; height: 195px; }
  .art-monogram { width: 110px; height: 110px; font-size: 68px; }
  .art-monogram span { right: 75px; bottom: 19px; font-size: 28px; }
  .tag-top { top: 36px; right: 20px; }
  .tag-bottom { bottom: 32px; left: 18px; }
  .coordinate-one { top: 20px; left: 22px; }
  .coordinate-two { right: 23px; bottom: 18px; }
  .content-section { padding-block: 57px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-aside { margin: 0; }
  .skill-chip { min-height: 40px; gap: 8px; padding-inline: 10px; font-size: 12px; }
  .projects-section { padding-inline: 16px; }
  .project-item { grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 9px; }
  .project-copy h3 { font-size: 15px; }
  .project-copy p { font-size: 12px; }
  .project-tags { gap: 5px; }
  .project-tags span { padding: 4px 6px; font-size: 9px; }
  .education-card { align-items: flex-start; gap: 12px; padding: 16px 12px; }
  .education-copy h3 { font-size: 14px; }
  .education-status { gap: 6px; align-self: center; font-size: 10px; white-space: nowrap; }
  .contact-inner { width: calc(100% - 32px); min-height: auto; align-items: flex-start; flex-direction: column; gap: 28px; padding-block: 52px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-actions { min-width: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}