:root {
  --ink: #171b18;
  --paper: #fafbf8;
  --green: #69f39a;
  --forest: #18432e;
  --muted: #6b716b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #159c52;
  outline-offset: 5px;
}
.wrap {
  width: min(1280px, calc(100% - 80px));
  margin: auto;
}
.nav {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  letter-spacing: -3px;
  font-weight: 800;
}
.brand span {
  font-size: 11px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}
.nav nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}
.nav nav a:hover {
  color: #158d4a;
}
.nav-contact {
  border: 1px solid #d4d8d1;
  border-radius: 30px;
  padding: 9px 10px 9px 19px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-contact span {
  background: var(--ink);
  color: white;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}
.hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 25px;
  padding: 30px 36px 36px;
  overflow: hidden;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
  line-height: 1.6;
}
.eyebrow i,
.pill i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
}
.location {
  font-size: 9px;
  letter-spacing: 1px;
  color: #a9b0a8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 35px;
  margin-top: 37px;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  letter-spacing: -4px;
  font-size: clamp(45px, 5.2vw, 75px);
  line-height: 1.07;
  font-weight: 500;
  margin: 12px 0 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-copy > p {
  color: #aeb5ae;
  max-width: 370px;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-radius: 30px;
  padding: 15px 21px;
  font-size: 12px;
  font-weight: 600;
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button.dark {
  background: var(--ink);
  color: var(--paper);
}
.button:hover {
  transform: translateY(-2px);
}
.hero-art {
  position: relative;
  min-height: 395px;
  background: radial-gradient(ellipse at 40% 30%, #d5d8d2, #858c86 55%, #393f3b);
  border-radius: 145px 145px 22px 22px;
  overflow: hidden;
  isolation: isolate;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 270px;
  height: 105px;
  border: 26px solid #c0c7bf;
  border-left-color: #f2f3ef;
  border-top-color: #e2e5df;
  border-bottom-color: #6e766e;
  border-radius: 50%;
  box-shadow:
    12px 19px 18px #242c2777,
    inset 6px 12px 15px #293329aa;
  transform: translate(-50%, -50%) rotate(-38deg);
}
.orbit-one {
  top: 22%;
  width: 180px;
  height: 86px;
}
.orbit-two {
  top: 35%;
  width: 215px;
}
.orbit-three {
  top: 49%;
  width: 250px;
}
.orbit-four {
  top: 63%;
  width: 280px;
}
.orbit-five {
  top: 77%;
  width: 310px;
}
.art-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.art-mark {
  position: absolute;
  right: 18px;
  bottom: 14px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.intro-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.intro-strip > div {
  border-radius: 19px;
  padding: 25px 28px;
}
.green {
  background: var(--green);
}
.intro-note p {
  font-size: 25px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 12px 0 0;
}
.stat {
  background: #ebede7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat strong {
  font-family: Manrope, sans-serif;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -2px;
}
.stat strong span {
  font-size: 29px;
}
.stat > span {
  font-size: 11px;
  color: #636b62;
  margin-top: 5px;
}
.forest {
  background: var(--forest);
  color: white;
}
.strip-focus p {
  margin: 12px 0 0;
  line-height: 1.55;
  font-size: 15px;
}
.section {
  padding-top: 108px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 33px;
}
.muted {
  color: var(--muted);
}
h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -2.1px;
  margin: 17px 0 0;
}
.section-head > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 3px;
}
.project {
  background: #f0f2ec;
  border-radius: 23px;
  overflow: hidden;
}
.project-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  padding: 10px;
}
.project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  min-height: 360px;
}
.tracking {
  background: var(--forest);
  color: white;
}
.visual-top {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  font-size: 9px;
  letter-spacing: 1px;
  z-index: 2;
}
.shipment-art {
  position: absolute;
  inset: 60px 20px 30px;
  display: grid;
  place-items: center;
}
.parcel {
  width: 188px;
  height: 210px;
  background: #dce6d8;
  border-radius: 12px;
  transform: rotate(-12deg);
  box-shadow: 30px 35px 50px #031e1b70;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--forest);
  border-top: 25px solid #b6cbb2;
}
.parcel > span {
  font-size: 42px;
  font-weight: 700;
}
.barcode {
  height: 34px;
  width: 100px;
  margin: 13px;
  background: repeating-linear-gradient(
    90deg,
    #18432e 0 2px,
    transparent 2px 4px,
    #18432e 4px 5px,
    transparent 5px 9px
  );
}
.parcel small {
  font-size: 6px;
  letter-spacing: 1px;
}
.route-line {
  position: absolute;
  width: 370px;
  height: 190px;
  border: 1px dashed #7ac595;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.route-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--green);
  border: 3px solid #43805a;
  border-radius: 50%;
}
.dot-a {
  left: 13%;
  top: 34%;
}
.dot-b {
  right: 11%;
  bottom: 29%;
}
.route-label {
  position: absolute;
  background: #fff;
  border-radius: 5px;
  padding: 12px;
  font-size: 7px;
  letter-spacing: 0.8px;
  color: var(--forest);
  box-shadow: 0 6px 20px #001e1966;
}
.label-a {
  left: 5%;
  bottom: 19%;
}
.label-b {
  right: 2%;
  top: 20%;
}
.label-b b {
  color: #1abd61;
  margin-left: 10px;
}
.visual-caption {
  position: absolute;
  bottom: 17px;
  left: 22px;
  font-size: 7px;
  letter-spacing: 1.1px;
  opacity: 0.65;
}
.project-copy {
  padding: 30px 34px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -1.2px;
  font-weight: 500;
  line-height: 1.17;
  font-size: 32px;
  margin: 24px 0 16px;
}
.project-copy > p {
  font-size: 13px;
  line-height: 1.75;
  color: #535d52;
}
.project-detail {
  font-size: 12px !important;
}
.project-outcome {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0;
}
.project-outcome strong {
  font-family: Manrope, sans-serif;
  font-size: 36px;
  letter-spacing: -1px;
  font-weight: 500;
}
.project-outcome span {
  font-size: 11px;
  color: var(--muted);
}
.text-button {
  border: 0;
  border-bottom: 1px solid #bac5b7;
  background: none;
  padding: 17px 0 10px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.text-button:hover {
  color: #168642;
}
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.compact {
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.compact .project-visual {
  min-height: 285px;
}
.compact .project-copy {
  padding: 25px 23px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.compact h3 {
  font-size: 28px;
}
.heat {
  background: #d8e5d2;
}
.heat-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 95%, #2c5c2820 95%),
    linear-gradient(transparent 95%, #2c5c2820 95%);
  background-size: 30px 30px;
  transform: rotate(-18deg) scale(1.5);
}
.heat-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -15px;
  top: 40px;
  background: radial-gradient(
    ellipse,
    #f1dc89 0 10%,
    #9cbd6b 18%,
    #568153 28%,
    #8cba7e 38%,
    #c5d9ac 48%,
    transparent 60%
  );
  border-radius: 40%;
  transform: rotate(-25deg);
  filter: blur(2px);
}
.heat-label {
  position: absolute;
  bottom: 52px;
  left: 25px;
  font-family: Manrope, sans-serif;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -1px;
}
.grading {
  background: #242824;
  color: #ecefe9;
}
.paper {
  position: absolute;
  top: 65px;
  left: 27%;
  width: 205px;
  height: 220px;
  background: #eeeae0;
  transform: rotate(12deg);
  color: #26372b;
  padding: 25px;
  box-shadow: 15px 20px 40px #0008;
}
.handwriting {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 25px;
}
.paper-lines {
  height: 70px;
  margin-top: 15px;
  background: repeating-linear-gradient(transparent 0 14px, #bfc5b8 14px 15px);
}
.scan-line {
  position: absolute;
  left: -24px;
  right: -24px;
  top: 115px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 20px 5px #69f39a66;
}
.paper > b {
  position: absolute;
  right: -17px;
  bottom: 35px;
  background: var(--green);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.about {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 90px;
}
.about h2 {
  font-size: 43px;
}
.dim {
  color: #8b9288;
}
.about-intro > p {
  font-size: 14px;
  color: #626c61;
  line-height: 1.8;
  max-width: 450px;
}
.about-intro .button {
  margin-top: 16px;
}
.about-cards {
  display: grid;
  gap: 12px;
}
.education {
  background: var(--green);
  padding: 28px;
  border-radius: 21px;
}
.education > strong {
  display: block;
  font-size: 43px;
  letter-spacing: -2px;
  line-height: 1.05;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  margin: 22px 0;
}
.education > p {
  font-size: 12px;
  line-height: 1.6;
}
.language-card {
  padding: 24px 28px;
  background: #eceee7;
  border-radius: 20px;
}
.language-card > p {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin: 12px 0 0;
}
.language-card > p > span {
  font-size: 11px;
  color: var(--muted);
}
.pill {
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid #d6ddcf;
  padding: 9px 13px;
  border-radius: 20px;
}
.pill i {
  width: 6px;
  height: 6px;
  background: #1c9d50;
}
.experience-grid {
  border-top: 1px solid #d8ded2;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 0.6fr 1.6fr;
  gap: 60px;
}
.elm-block {
  background: #e9ede3;
  border-radius: 20px;
  padding: 30px;
  align-self: start;
  position: relative;
}
.elm-block > span {
  font-family: Manrope, sans-serif;
  font-size: 55px;
  letter-spacing: -3px;
  font-weight: 700;
}
.elm-block small {
  font-size: 36px;
  position: absolute;
  right: 30px;
  top: 37px;
  color: #77866c;
}
.elm-block > p {
  font-size: 9px;
  letter-spacing: 1px;
  margin: 26px 0 0;
}
.experience-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.experience-title h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.6px;
}
.experience-title h3 > span {
  color: #778071;
  font-size: 19px;
}
.experience-title > span {
  font-size: 9px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding-top: 5px;
}
.experience-copy > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 490px;
  margin: 20px 0;
}
.experience-points > div {
  display: flex;
  gap: 20px;
  border-top: 1px solid #dbe0d6;
  padding: 14px 0;
}
.experience-points b {
  font-size: 10px;
  color: #5a7851;
  font-weight: 500;
  padding-top: 3px;
}
.experience-points p {
  margin: 0;
  font-size: 12px;
  color: #596353;
  line-height: 1.6;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}
.capabilities h2 {
  font-size: 38px;
}
.skill-list > div {
  display: grid;
  grid-template-columns: 25px 100px 1fr;
  gap: 12px;
  border-bottom: 1px solid #d9dfd3;
  padding: 23px 0;
}
.skill-list > div:first-child {
  padding-top: 0;
}
.skill-list span {
  font-size: 9px;
  color: #8a9582;
  padding-top: 6px;
}
.skill-list h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0;
}
.skill-list p {
  font-size: 12px;
  color: #6b7466;
  line-height: 1.7;
  margin: 0;
}
.contact {
  margin-top: 105px;
  background: var(--green);
  padding: 36px 42px;
  border-radius: 24px;
}
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 13px 0 40px;
  gap: 25px;
}
.contact-main h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  letter-spacing: -2.7px;
}
.contact-arrow {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid #1e4d2d;
  border-radius: 50%;
  font-size: 50px;
  flex-shrink: 0;
  transition: 0.2s;
}
.contact-arrow:hover {
  background: var(--ink);
  color: var(--green);
  transform: none;
}
.contact-bottom {
  border-top: 1px solid #224b2c40;
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 35px;
  font-size: 10px;
  color: #6e7768;
}
footer > span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 1px;
}
dialog {
  border: 0;
  border-radius: 24px;
  max-width: 630px;
  width: calc(100% - 40px);
  padding: 45px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #102218aa;
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 15px;
  border: 0;
  background: none;
  font-size: 28px;
}
dialog h2 {
  font-size: 36px;
  margin-bottom: 25px;
}
dialog h3 {
  font-size: 19px;
  margin-top: 25px;
}
dialog p {
  font-size: 14px;
  line-height: 1.8;
  color: #586452;
}
dialog .button {
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 78px;
  }
  .hero-art {
    min-height: 440px;
  }
  .orbit {
    margin-top: 10px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    padding: 25px;
  }
  .hero-grid {
    gap: 20px;
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: 47px;
    letter-spacing: -2.8px;
  }
  .hero-art {
    min-height: 350px;
  }
  .orbit {
    transform: translate(-50%, -50%) rotate(-38deg) scale(0.8);
  }
  .intro-strip > div {
    padding: 20px;
  }
  .intro-note p {
    font-size: 21px;
  }
  .stat strong {
    font-size: 34px;
  }
  .about {
    gap: 35px;
  }
  .about h2 {
    font-size: 34px;
  }
  .project-copy {
    padding: 25px;
  }
  .project-feature {
    grid-template-columns: 1fr 1fr;
  }
  .route-label {
    font-size: 6px;
  }
  .route-line {
    width: 280px;
  }
  .experience-grid {
    gap: 30px;
  }
  .capabilities {
    gap: 30px;
  }
  .skill-list > div {
    grid-template-columns: 20px 75px 1fr;
  }
  .skill-list h3 {
    font-size: 18px;
  }
  .location {
    font-size: 7px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .nav {
    height: 80px;
  }
  .nav nav {
    gap: 17px;
    font-size: 11px;
  }
  .nav nav a:last-child {
    display: none;
  }
  .brand {
    font-size: 26px;
  }
  .nav-contact {
    padding: 5px 6px 5px 12px;
    gap: 10px;
    font-size: 10px;
  }
  .nav-contact span {
    height: 23px;
    width: 23px;
  }
  .hero {
    padding: 22px;
    border-radius: 20px;
  }
  .location {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.7px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-art {
    min-height: 290px;
    border-radius: 110px 110px 16px 16px;
  }
  .orbit {
    transform: translate(-50%, -50%) rotate(-38deg) scale(0.83);
  }
  .intro-strip {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .intro-strip > div {
    padding: 20px 17px;
    border-radius: 16px;
  }
  .intro-note {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .intro-note .eyebrow {
    max-width: 110px;
    font-size: 8px;
  }
  .intro-note p {
    margin: 0;
    font-size: 22px;
  }
  .strip-focus .eyebrow {
    font-size: 8px;
  }
  .strip-focus p {
    font-size: 12px;
  }
  .stat strong {
    font-size: 35px;
  }
  .stat > span {
    font-size: 10px;
  }
  .section {
    padding-top: 70px;
  }
  .section-head {
    display: block;
    margin-bottom: 23px;
  }
  .section-head > p {
    margin-top: 17px;
    font-size: 12px;
  }
  .section-head > p br {
    display: none;
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
  .project-feature,
  .project-pair,
  .about,
  .experience-grid,
  .capabilities {
    grid-template-columns: 1fr;
  }
  .project-visual {
    min-height: 310px;
  }
  .project-copy {
    padding: 24px 17px;
  }
  .project-copy h3 {
    font-size: 29px;
  }
  .project-pair {
    gap: 15px;
    margin-top: 15px;
  }
  .compact .project-copy {
    padding: 24px 17px;
  }
  .compact .project-visual {
    min-height: 280px;
  }
  .about {
    gap: 30px;
  }
  .about h2 {
    font-size: 35px;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
  .education > strong {
    font-size: 40px;
  }
  .experience .pill {
    display: inline-block;
    margin-top: 20px;
  }
  .experience-title {
    flex-direction: column;
    gap: 12px;
  }
  .experience-grid {
    gap: 25px;
  }
  .elm-block {
    padding: 23px;
  }
  .elm-block > p {
    margin-top: 10px;
  }
  .elm-block small {
    top: 25px;
  }
  .experience-copy {
    padding: 0 5px;
  }
  .capabilities {
    gap: 30px;
  }
  .skill-list > div {
    grid-template-columns: 20px 90px 1fr;
  }
  .contact {
    padding: 27px 23px;
    margin-top: 65px;
  }
  .contact-main {
    margin-bottom: 30px;
    align-items: flex-end;
  }
  .contact-main h2 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
  .contact-arrow {
    width: 49px;
    height: 49px;
    font-size: 31px;
  }
  .contact-bottom {
    gap: 15px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  footer {
    font-size: 9px;
    gap: 15px;
    padding: 25px 0;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  dialog {
    padding: 34px 25px;
  }
  dialog h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Refined reading scale and spacing across screen sizes. */
.hero h1 {
  font-size: clamp(46px, 5.1vw, 70px);
  letter-spacing: -3.4px;
  line-height: 1.1;
}
.hero-grid {
  align-items: center;
  margin-top: 32px;
  gap: 42px;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 405px;
  margin-bottom: 27px;
}
.hero-art {
  min-height: 410px;
}
.art-caption {
  bottom: 23px;
  max-width: calc(100% - 90px);
  font-size: 7px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.35px;
}
.location {
  font-size: 9px;
}
.section {
  padding-top: 88px;
}
.section-head {
  margin-bottom: 30px;
  gap: 28px;
}
.section-head > p {
  font-size: 14px;
  line-height: 1.7;
}
h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -1.9px;
  line-height: 1.16;
}
.project-copy {
  padding: 32px;
}
.project-copy > p {
  font-size: 14px;
  line-height: 1.75;
}
.project-detail {
  font-size: 13px !important;
}
.project-meta {
  font-size: 9px;
  line-height: 1.6;
  gap: 20px;
}
.text-button {
  font-size: 12px;
  min-height: 46px;
}
.visual-top {
  font-size: 9px;
  line-height: 1.5;
  gap: 20px;
}
.visual-caption {
  font-size: 8px;
  letter-spacing: 0.8px;
}
.compact .project-copy {
  padding: 27px 24px;
}
.compact h3 {
  min-height: 66px;
  margin: 20px 0 14px;
  line-height: 1.2;
  font-size: 27px;
}
.compact .project-copy > p {
  margin-top: 0;
}
.about {
  gap: 70px;
}
.about h2 {
  font-size: 40px;
  line-height: 1.2;
}
.about-intro > p {
  font-size: 15px;
  line-height: 1.8;
  margin: 21px 0;
  max-width: 490px;
}
.education {
  padding: 30px;
}
.education > p {
  font-size: 13px;
  line-height: 1.7;
}
.education-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #1b412735;
  padding-top: 20px;
  margin-top: 22px;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.language-card .eyebrow {
  font-size: 9px;
}
.language-card > p {
  margin-top: 15px;
  align-items: center;
}
.language-card > p > span {
  font-size: 12px;
}
.experience-grid {
  grid-template-columns: 0.7fr 1.6fr;
  gap: 48px;
}
.experience-title h3 {
  font-size: 25px;
  line-height: 1.3;
}
.experience-title h3 > span {
  font-size: 20px;
}
.experience-title > span {
  font-size: 10px;
  line-height: 1.6;
}
.experience-copy > p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 540px;
}
.experience-points > div {
  padding: 17px 0;
}
.experience-points p {
  font-size: 13px;
  line-height: 1.75;
}
.skill-list p {
  font-size: 13px;
  line-height: 1.75;
}
.skill-list > div {
  grid-template-columns: 24px 105px 1fr;
  padding: 24px 0;
}
.capabilities {
  gap: 55px;
}
.capabilities h2 {
  font-size: 36px;
  line-height: 1.2;
}
.contact {
  margin-top: 88px;
  padding: 38px 40px;
}
.contact-main h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -2px;
}
.contact-bottom {
  font-size: 13px;
}
.nav nav {
  font-size: 14px;
}
.button {
  font-size: 13px;
}
.nav-contact {
  font-size: 13px;
}
footer {
  font-size: 11px;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 74px;
  }
  .hero-art {
    min-height: 440px;
  }
}
@media (max-width: 1000px) and (min-width: 601px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: clamp(43px, 5.9vw, 59px);
    letter-spacing: -2.8px;
  }
  .hero-art {
    min-height: 395px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .about {
    gap: 35px;
  }
  .about h2 {
    font-size: 33px;
  }
  .experience-grid {
    gap: 28px;
    grid-template-columns: 0.7fr 1.5fr;
  }
  .experience-title {
    flex-direction: column;
    gap: 12px;
  }
  .capabilities {
    gap: 35px;
  }
  .skill-list > div {
    grid-template-columns: 18px 82px 1fr;
  }
  .compact h3 {
    font-size: 25px;
  }
  .contact-main h2 {
    font-size: 43px;
  }
  .elm-block {
    padding: 24px;
  }
  .elm-block small {
    right: 22px;
  }
}
@media (max-width: 600px) {
  .nav nav {
    font-size: 11px;
  }
  .nav-contact {
    font-size: 11px;
  }
  .hero-grid {
    gap: 28px;
    margin-top: 21px;
  }
  .hero h1 {
    font-size: clamp(39px, 11.8vw, 52px);
    letter-spacing: -2.6px;
    line-height: 1.1;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.75;
  }
  .hero-art {
    min-height: 285px;
  }
  .hero {
    padding: 24px 22px;
  }
  .intro-strip .eyebrow {
    line-height: 1.8;
  }
  .section {
    padding-top: 62px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head > p {
    font-size: 13px;
    line-height: 1.7;
  }
  h2 {
    font-size: 33px;
    letter-spacing: -1.5px;
    line-height: 1.2;
  }
  .project-copy,
  .compact .project-copy {
    padding: 24px 17px;
  }
  .project-copy > p {
    font-size: 14px;
  }
  .compact h3 {
    min-height: 0;
    font-size: 27px;
  }
  .about {
    gap: 26px;
  }
  .about h2 {
    font-size: 33px;
  }
  .about-intro > p {
    font-size: 14px;
    margin: 18px 0;
  }
  .education {
    padding: 26px;
  }
  .education > strong {
    font-size: 38px;
  }
  .education-footer {
    font-size: 8px;
  }
  .language-card {
    padding: 24px 26px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .experience-title h3 {
    font-size: 24px;
  }
  .experience-copy > p {
    font-size: 14px;
  }
  .experience-points p {
    font-size: 13px;
  }
  .capabilities {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .capabilities h2 {
    font-size: 33px;
  }
  .skill-list > div {
    grid-template-columns: 18px 80px 1fr;
    gap: 10px;
    padding: 21px 0;
  }
  .skill-list p {
    font-size: 12px;
  }
  .contact {
    margin-top: 62px;
    padding: 28px 23px;
  }
  .contact-main {
    align-items: flex-start;
    gap: 15px;
    margin: 18px 0 28px;
  }
  .contact-main h2 {
    font-size: clamp(26px, 7.3vw, 34px);
    line-height: 1.2;
    letter-spacing: -1.2px;
  }
  .contact-arrow {
    height: 44px;
    width: 44px;
    font-size: 28px;
  }
  .contact-bottom {
    font-size: 12px;
    line-height: 1.7;
  }
  .contact > .eyebrow {
    font-size: 9px;
  }
  footer {
    font-size: 10px;
  }
  .visual-caption {
    font-size: 7px;
  }
}

/* Local project font files stay outside the published website. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-switch {
  font-family: 'Portfolio Thmanyah Sans', Tahoma, sans-serif;
  font-size: 14px;
  border-bottom: 1px solid #b7c4b1;
  padding: 7px 2px;
}
.language-switch:hover {
  color: #168542;
}
html[lang='ar'] body,
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] .education > strong,
html[lang='ar'] .heat-label {
  font-family: 'Portfolio Thmanyah Sans', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
html[lang='ar'] .eyebrow,
html[lang='ar'] .location,
html[lang='ar'] .project-meta,
html[lang='ar'] .visual-top,
html[lang='ar'] .visual-caption,
html[lang='ar'] .education-footer,
html[lang='ar'] .pill,
html[lang='ar'] footer {
  letter-spacing: 0;
}
html[lang='ar'] h1 {
  font-size: clamp(43px, 4.6vw, 65px);
  line-height: 1.42;
  letter-spacing: 0;
  margin: 0 0 20px;
}
html[lang='ar'] .hero-copy > p {
  font-size: 17px;
  line-height: 1.9;
  max-width: 450px;
}
html[lang='ar'] .hero-grid {
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
html[lang='ar'] .hero-art {
  min-height: 435px;
}
html[lang='ar'] h2 {
  line-height: 1.55;
  letter-spacing: 0;
  font-size: 40px;
}
html[lang='ar'] h3 {
  line-height: 1.6;
  letter-spacing: 0;
}
html[lang='ar'] .nav nav {
  font-size: 16px;
}
html[lang='ar'] .nav-contact,
html[lang='ar'] .button {
  font-size: 15px;
}
html[lang='ar'] .eyebrow {
  font-size: 12px;
}
html[lang='ar'] .location {
  font-size: 11px;
}
html[lang='ar'] .eyebrow i,
html[lang='ar'] .pill i {
  margin-right: 0;
  margin-left: 8px;
}
html[lang='ar'] .intro-note p {
  line-height: 1.7;
  font-size: 24px;
  letter-spacing: 0;
}
html[lang='ar'] .strip-focus p {
  font-size: 17px;
  line-height: 1.9;
}
html[lang='ar'] .stat > span {
  font-size: 14px;
}
html[lang='ar'] .stat strong {
  align-self: flex-start;
}
html[lang='ar'] .section-head > p {
  font-size: 16px;
  line-height: 1.9;
}
html[lang='ar'] .project-copy > p {
  font-size: 16px;
  line-height: 1.95;
}
html[lang='ar'] .project-detail {
  font-size: 15px !important;
}
html[lang='ar'] .project-meta {
  font-size: 11px;
}
html[lang='ar'] .project-outcome span {
  font-size: 14px;
}
html[lang='ar'] .text-button {
  font-size: 15px;
}
html[lang='ar'] .compact h3 {
  font-size: 27px;
  min-height: 86px;
  line-height: 1.65;
}
html[lang='ar'] .visual-top {
  font-size: 11px;
}
html[lang='ar'] .visual-caption {
  font-size: 10px;
  right: 22px;
  left: auto;
}
html[lang='ar'] .heat-label {
  right: 25px;
  left: auto;
  font-size: 30px;
  line-height: 1.7;
}
html[lang='ar'] .art-caption {
  left: auto;
  right: 20px;
  font-size: 9px;
  letter-spacing: 0;
  max-width: calc(100% - 95px);
}
html[lang='ar'] .art-mark {
  right: auto;
  left: 18px;
}
html[lang='ar'] .parcel,
html[lang='ar'] .route-label,
html[lang='ar'] .paper {
  direction: rtl;
}
html[lang='ar'] .parcel small {
  font-size: 9px;
  letter-spacing: 0;
}
html[lang='ar'] .route-label {
  font-size: 10px;
  letter-spacing: 0;
}
html[lang='ar'] .label-b b {
  margin-left: 0;
  margin-right: 8px;
}
html[lang='ar'] .handwriting {
  font-family: 'Portfolio Thmanyah Sans', Tahoma, sans-serif;
  font-style: normal;
  font-size: 25px;
  line-height: 1.7;
}
html[lang='ar'] .about h2 {
  font-size: 37px;
}
html[lang='ar'] .about-intro > p {
  font-size: 17px;
  line-height: 2;
}
html[lang='ar'] .education > strong {
  font-size: 43px;
  line-height: 1.5;
  letter-spacing: 0;
}
html[lang='ar'] .education > p {
  font-size: 16px;
  line-height: 1.9;
}
html[lang='ar'] .education-footer {
  font-size: 11px;
}
html[lang='ar'] .language-card > p {
  font-size: 20px;
  line-height: 1.8;
}
html[lang='ar'] .language-card > p > span {
  font-size: 15px;
}
html[lang='ar'] .experience-title h3 {
  font-size: 26px;
  line-height: 1.6;
}
html[lang='ar'] .experience-title h3 > span {
  font-size: 20px;
}
html[lang='ar'] .experience-title > span {
  font-size: 12px;
}
html[lang='ar'] .experience-copy > p {
  font-size: 16px;
  line-height: 1.95;
}
html[lang='ar'] .experience-points p {
  font-size: 15px;
  line-height: 1.95;
}
html[lang='ar'] .elm-block > p {
  font-size: 12px;
  letter-spacing: 0;
}
html[lang='ar'] .skill-list h3 {
  font-size: 23px;
}
html[lang='ar'] .skill-list p {
  font-size: 15px;
  line-height: 1.95;
}
html[lang='ar'] .contact-main h2 {
  font-size: 49px;
  line-height: 1.6;
  letter-spacing: 0;
}
html[lang='ar'] .contact-bottom {
  font-size: 15px;
}
html[lang='ar'] footer {
  font-size: 13px;
}
html[lang='ar'] footer > span:nth-child(2) {
  font-size: 11px;
}
html[lang='ar'] dialog h2 {
  font-size: 32px;
  line-height: 1.6;
}
html[lang='ar'] dialog h3 {
  font-size: 22px;
}
html[lang='ar'] dialog p {
  font-size: 16px;
  line-height: 2;
}
html[lang='ar'] .dialog-close {
  right: auto;
  left: 20px;
}
@media (max-width: 1000px) and (min-width: 601px) {
  html[lang='ar'] .hero-grid {
    gap: 25px;
  }
  html[lang='ar'] h1 {
    font-size: 42px;
  }
  html[lang='ar'] .hero-art {
    min-height: 410px;
  }
  html[lang='ar'] h2 {
    font-size: 33px;
  }
  html[lang='ar'] .about h2 {
    font-size: 32px;
  }
  html[lang='ar'] .contact-main h2 {
    font-size: 39px;
  }
}
@media (max-width: 600px) {
  .nav-actions {
    gap: 12px;
  }
  .language-switch {
    font-size: 12px;
  }
  .nav-contact {
    display: none;
  }
  .nav nav {
    gap: 18px;
  }
  .nav {
    gap: 12px;
  }
  html[lang='ar'] .nav nav {
    font-size: 14px;
  }
  html[lang='ar'] .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  html[lang='ar'] h1 {
    font-size: clamp(34px, 9.3vw, 43px);
    line-height: 1.5;
  }
  html[lang='ar'] .hero-copy > p {
    font-size: 16px;
    line-height: 1.95;
  }
  html[lang='ar'] .hero-art {
    min-height: 285px;
  }
  html[lang='ar'] h2,
  html[lang='ar'] .about h2 {
    font-size: 31px;
    line-height: 1.6;
  }
  html[lang='ar'] .intro-note p {
    font-size: 19px;
  }
  html[lang='ar'] .intro-note .eyebrow {
    font-size: 10px;
  }
  html[lang='ar'] .strip-focus p {
    font-size: 14px;
  }
  html[lang='ar'] .stat > span {
    font-size: 12px;
  }
  html[lang='ar'] .eyebrow {
    font-size: 11px;
  }
  html[lang='ar'] .section-head > p {
    font-size: 15px;
  }
  html[lang='ar'] .project-copy h3 {
    font-size: 27px;
    line-height: 1.65;
  }
  html[lang='ar'] .compact h3 {
    min-height: 0;
  }
  html[lang='ar'] .visual-top {
    font-size: 10px;
  }
  html[lang='ar'] .visual-caption {
    font-size: 9px;
  }
  html[lang='ar'] .about-intro > p {
    font-size: 16px;
  }
  html[lang='ar'] .education-footer {
    font-size: 10px;
  }
  html[lang='ar'] .experience-title h3 {
    font-size: 25px;
  }
  html[lang='ar'] .experience-title > span {
    font-size: 12px;
  }
  html[lang='ar'] .skill-list > div {
    grid-template-columns: 18px 65px 1fr;
  }
  html[lang='ar'] .skill-list h3 {
    font-size: 20px;
  }
  html[lang='ar'] .skill-list p {
    font-size: 14px;
  }
  html[lang='ar'] .contact-main h2 {
    font-size: 31px;
    line-height: 1.6;
  }
  html[lang='ar'] .contact-bottom {
    font-size: 13px;
  }
  html[lang='ar'] footer {
    font-size: 11px;
  }
}
.project-source {
  color: #236b3b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
html[lang='ar'] .compact h3 {
  min-height: 100px;
}
html[lang='ar'] .hero h1 {
  font-size: clamp(43px, 4.6vw, 65px);
}
@media (max-width: 600px) {
  html[lang='ar'] .compact h3 {
    min-height: 0;
  }
  html[lang='ar'] .hero h1 {
    font-size: clamp(33px, 9.3vw, 43px);
  }
}
/* RecoverFlow shares the illustrated project-card style. */
.project-feature + .project-feature {
  margin-top: 18px;
}
.recovery {
  background: #18432e;
  color: #fff;
}
.recovery-art {
  position: absolute;
  inset: 60px 20px 35px;
  display: grid;
  place-items: center;
}
.recovery-orbit {
  position: absolute;
  width: 350px;
  height: 225px;
  border: 1px dashed #7ac595;
  border-radius: 50%;
  transform: rotate(-26deg);
}
.receipt {
  position: absolute;
  width: 180px;
  height: 235px;
  border-radius: 12px;
  background: #e2e8dc;
  box-shadow: 20px 25px 40px #031e1b55;
}
.receipt-back {
  transform: rotate(14deg) translate(17px, -6px);
  background: #8fae94;
  border-top: 21px solid #bed0b7;
}
.receipt-front {
  transform: rotate(-12deg);
  color: #18432e;
  padding: 23px 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.receipt-icon {
  font-size: 29px;
  line-height: 1;
  margin-bottom: 16px;
}
.receipt-front small {
  font-size: 8px;
  letter-spacing: 0.6px;
  font-weight: 700;
  line-height: 1.7;
}
.receipt-lines {
  width: 100%;
  height: 41px;
  margin: 13px 0;
  background:
    linear-gradient(#a5b99d, #a5b99d) 0 0/100% 3px,
    linear-gradient(#a5b99d, #a5b99d) 0 14px/80% 3px,
    linear-gradient(#a5b99d, #a5b99d) 0 28px/55% 3px;
  background-repeat: no-repeat;
}
.receipt-barcode {
  width: 95px;
  height: 27px;
  background: repeating-linear-gradient(
    90deg,
    #18432e 0 2px,
    transparent 2px 4px,
    #18432e 4px 5px,
    transparent 5px 9px
  );
}
.receipt-id {
  font-size: 7px;
  letter-spacing: 2px;
  margin-top: 10px;
}
.recovery-check {
  position: absolute;
  top: calc(50% + 43px);
  left: calc(50% + 43px);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #18432e;
  font-size: 34px;
  box-shadow: 0 9px 20px #031e1b50;
}
.recovery-status {
  position: absolute;
  left: 6%;
  bottom: 18%;
  background: white;
  color: #18432e;
  padding: 12px;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 20px #001e1966;
}
.recovery-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22b566;
  border-radius: 50%;
  margin-inline-end: 8px;
}
.recovery-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #43805a;
}
.node-one {
  left: 14%;
  top: 34%;
}
.node-two {
  right: 10%;
  bottom: 31%;
}
html[lang='ar'] .receipt-front small {
  font-size: 13px;
  letter-spacing: 0;
}
html[lang='ar'] .receipt-front {
  align-items: flex-end;
}
html[lang='ar'] .recovery-status {
  font-size: 12px;
  letter-spacing: 0;
}
@media (max-width: 900px) and (min-width: 601px) {
  .recovery-orbit {
    width: 280px;
  }
  .recovery-status {
    left: 0;
    font-size: 7px;
  }
}
@media (max-width: 600px) {
  .recovery {
    min-height: 310px;
  }
  .recovery-art {
    inset: 55px 18px 32px;
  }
  .receipt {
    width: 155px;
    height: 205px;
  }
  .receipt-front {
    padding: 18px;
  }
  .receipt-icon {
    margin-bottom: 10px;
  }
  .receipt-lines {
    margin: 10px 0;
  }
  .recovery-orbit {
    width: 280px;
    height: 185px;
  }
  .recovery-check {
    width: 52px;
    height: 52px;
    font-size: 29px;
  }
  .recovery-status {
    left: 0;
    bottom: 11%;
    font-size: 7px;
  }
  html[lang='ar'] .recovery-status {
    font-size: 10px;
  }
}
/* Consistent rhythm for project summaries without a featured test score. */
.project-feature .project-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.project-feature .project-copy > .project-outcome {
  margin-bottom: 0;
}
.compact h3 {
  min-height: 70px;
}
@media (max-width: 600px) {
  .compact h3 {
    min-height: 0;
  }
}
/* Project actions follow the description without a badge row. */
.project-copy > .text-button {
  margin-top: auto;
  padding-top: 22px;
}
.project-outcome + .text-button {
  margin-top: 12px;
}
@media (max-width: 600px) {
  .project-copy > .text-button {
    margin-top: 8px;
    padding-top: 16px;
  }
}
/* Original az + eight-point-star signature. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0;
}
.brand img {
  display: block;
  width: 96px;
  height: auto;
}
@media (max-width: 600px) {
  .brand img {
    width: 75px;
  }
}
/* Keep bilingual company names in normal flow, including RTL layouts. */
.elm-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.elm-block .elm-name > span {
  font-family: Manrope, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
}
.elm-block .elm-name > small {
  position: static;
  font-size: 37px;
  line-height: 1.5;
  color: #77866c;
  letter-spacing: 0;
}
.skill-list > div {
  grid-template-columns: 24px minmax(115px, 145px) 1fr;
  column-gap: 17px;
  align-items: start;
}
.skill-list h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}
html[lang='ar'] .skill-list h3 {
  font-size: 21px;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .skill-list > div,
  html[lang='ar'] .skill-list > div {
    grid-template-columns: 22px 1fr;
    row-gap: 9px;
  }
  .skill-list p {
    grid-column: 2;
  }
  .elm-block .elm-name > span {
    font-size: 42px;
  }
  .elm-block .elm-name > small {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .skill-list > div,
  html[lang='ar'] .skill-list > div {
    padding: 23px 0;
    grid-template-columns: 22px 1fr;
  }
  .skill-list h3 {
    font-size: 21px;
  }
  .skill-list p {
    font-size: 14px;
    line-height: 1.8;
  }
  html[lang='ar'] .skill-list h3 {
    font-size: 22px;
  }
  html[lang='ar'] .skill-list p {
    font-size: 16px;
  }
  .elm-name {
    justify-content: flex-start;
    gap: 30px;
  }
  .elm-block .elm-name > span {
    font-size: 46px;
  }
  .elm-block .elm-name > small {
    font-size: 35px;
  }
}
/* Arabic display titles; local font assets follow the existing font setup. */
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] .education > strong,
html[lang='ar'] .heat-label {
  font-family: 'Portfolio Thmanyah Display', Thmanyah, Tahoma, serif;
  font-weight: 500;
  letter-spacing: 0;
}

/* Keyboard navigation and predictable dialog controls. */
.skip-link {
  position: fixed;
  inset-inline-start: 20px;
  top: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.nav nav a,
.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  line-height: 1;
  top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* A consistent vector icon system, independent of text fonts. */
.ui-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
  overflow: visible;
  line-height: 1;
}
.button > span,
.text-button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.button,
.text-button {
  align-items: center;
}
.nav-contact .ui-icon {
  width: 15px;
  height: 15px;
}
.contact-arrow .ui-icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}
.contact-arrow:hover {
  transform: none;
}
.art-mark .ui-icon {
  width: 23px;
  height: 23px;
}
.receipt-icon .ui-icon {
  width: 29px;
  height: 29px;
}
.recovery-check .ui-icon {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}
.paper > b .ui-icon {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}
.dialog-close .ui-icon {
  width: 21px;
  height: 21px;
}
.contact-bottom > a,
footer > a,
.project-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-bottom .ui-icon,
footer .ui-icon,
.project-source .ui-icon {
  width: 15px;
  height: 15px;
}
html[dir='rtl'] .icon-directional {
  transform: scaleX(-1);
}
@media (max-width: 600px) {
  .contact-arrow .ui-icon {
    width: 23px;
    height: 23px;
  }
  .recovery-check .ui-icon {
    width: 26px;
    height: 26px;
  }
}

/* Arabic reading rhythm and mixed-script names. */
html[lang='ar'] {
  word-spacing: normal;
  letter-spacing: 0;
}
html[lang='ar'] :is(p, h1, h2, h3, button, a) {
  word-break: normal;
  overflow-wrap: normal;
  letter-spacing: 0;
}
html[lang='ar']
  :is(.hero-copy > p, .project-copy > p, .about-intro > p, .experience-copy > p, dialog p) {
  text-align: start;
  line-height: 1.95;
}
bdi[dir='ltr'] {
  unicode-bidi: isolate;
}
.text-button {
  text-align: start;
}
.contact-bottom a[href^='mailto:'] {
  overflow-wrap: anywhere;
}
dialog h2 {
  padding-inline-end: 24px;
}

/* AI Therapist: a concept illustration using the existing project palette. */
.therapist-project {
  margin-top: 18px;
}
.expression {
  background: #dce5d5;
  color: var(--forest);
}
.expression-art {
  position: absolute;
  inset: 55px 24px 38px;
  display: grid;
  place-items: center;
}
.expression-orbit {
  width: 290px;
  height: 290px;
  border: 1px solid #18432e25;
  border-radius: 50%;
  position: absolute;
}
.expression-frame {
  width: 210px;
  height: 230px;
  background: var(--ink);
  color: #a7edb8;
  border-radius: 25px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  box-shadow: 18px 20px 35px #18432e25;
}
.expression-frame svg {
  width: 180px;
  height: 180px;
}
.expression-wave {
  position: absolute;
  bottom: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  width: 180px;
  border-radius: 14px;
  background: var(--green);
  box-shadow: 0 8px 24px #18432e20;
}
.expression-wave i {
  width: 3px;
  height: 12px;
  background: var(--forest);
  border-radius: 3px;
}
.expression-wave i:nth-child(3n) {
  height: 32px;
}
.expression-wave i:nth-child(4n) {
  height: 23px;
}
.expression-wave i:nth-child(5n) {
  height: 40px;
}
@media (max-width: 600px) {
  .expression {
    min-height: 310px;
  }
  .expression-orbit {
    width: 245px;
    height: 245px;
  }
  .expression-frame {
    width: 175px;
    height: 195px;
  }
  .expression-frame svg {
    width: 150px;
    height: 150px;
  }
}

/* Project names and descriptions have separate visual hierarchy. */
dialog #dialog-content > .dialog-subtitle {
  margin-top: 12px;
  margin-bottom: 28px;
  font-size: 20px;
  color: var(--forest);
  line-height: 1.6;
}
