:root {
  color-scheme: light;
  --navy: #101d31;
  --navy-soft: #1b2b43;
  --ivory: #f7f6f1;
  --white: #ffffff;
  --gold: #b99a62;
  --ink: #18263a;
  --muted: #536174;
  --rule: rgba(16, 29, 49, 0.16);
  --font-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.page-wrap {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4.75rem);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--navy);
  border-bottom: 1px solid rgba(185, 154, 98, 0.3);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(185, 154, 98, 0.52);
  color: var(--gold);
  transition: border-color 180ms ease, color 180ms ease;
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.brand-mark:hover {
  border-color: var(--gold);
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.site-header :focus-visible,
.hero :focus-visible {
  outline-color: var(--white);
}

.hero {
  overflow: hidden;
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.hero-inner {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.75rem);
  padding-block: clamp(4rem, 9vw, 7.5rem) 5.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: hero-arrive 720ms cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

.hero-copy h1 {
  max-width: 11em;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.34;
  text-wrap: pretty;
}

.hero-intro {
  max-width: 39rem;
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
  line-height: 2;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
}

.hero-actions {
  margin-top: 2.3rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: var(--white);
  color: var(--navy);
}

.button-gold svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.button-gold:hover svg {
  transform: translateX(-3px);
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  text-decoration-color: rgba(185, 154, 98, 0.65);
  text-underline-offset: 0.35em;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--gold);
}

.text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero-art {
  position: relative;
  display: grid;
  width: min(100%, 470px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  animation: art-arrive 900ms 120ms cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  width: 1px;
  height: 62%;
  background: linear-gradient(transparent, rgba(185, 154, 98, 0.7), transparent);
  content: "";
}

.hero-art::before {
  right: 4%;
  transform: rotate(23deg);
}

.hero-art::after {
  left: 4%;
  transform: rotate(-23deg);
}

.fingerprint-art {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  transform: rotate(-4deg);
}

.fingerprint-art path {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  opacity: 0.88;
}

.fingerprint-art .art-orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.fingerprint-art .art-orbit-inner {
  stroke: rgba(185, 154, 98, 0.2);
  stroke-dasharray: 2 8;
}

.fingerprint-art .art-tail {
  opacity: 0.66;
}

.fingerprint-art .art-point {
  fill: var(--gold);
  stroke: none;
}

.about-section {
  background: var(--ivory);
}

.about-inner {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(130px, 0.62fr) minmax(0, 1.7fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 5.5rem;
}

.section-heading {
  align-self: start;
  padding-top: 0.45rem;
}

.section-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 1.2rem;
  background: var(--gold);
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
}

.about-copy {
  max-width: 42rem;
}

.about-name {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 500;
  line-height: 1.75;
}

.about-description {
  max-width: 37rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 2;
}

.about-index {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid rgba(185, 154, 98, 0.65);
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.contact-section {
  background: var(--navy-soft);
  color: var(--white);
}

.contact-inner {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: 5.5rem;
}

.contact-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 500;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  max-width: 27rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.contact-details address {
  margin: 0;
  font-style: normal;
}

.email-link {
  display: inline-block;
  max-width: 100%;
  color: var(--white);
  font-size: clamp(1.08rem, 2.1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(185, 154, 98, 0.8);
  text-underline-offset: 0.35em;
  unicode-bidi: isolate;
}

.email-link:hover {
  color: var(--gold);
}

.contact-actions {
  margin-top: 1.55rem;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--gold);
  background: rgba(185, 154, 98, 0.12);
}

.button-outline svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-section :focus-visible {
  outline-color: var(--gold);
}

.copy-status {
  min-height: 1.8em;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.copy-status[data-state="error"] {
  color: #ffe1d8;
}

.site-footer {
  background: var(--ivory);
  color: var(--navy);
}

.footer-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--rule);
}

.footer-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.footer-inner p {
  margin: 0;
  font-size: 0.91rem;
  font-weight: 500;
}

.noscript-note {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  text-align: center;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes art-arrive {
  from {
    opacity: 0;
    transform: translateX(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(245px, 0.74fr);
    gap: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
  }

  .about-inner {
    grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.45fr);
  }

  .about-index {
    display: none;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    gap: 1.2rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding-block: 4.4rem 4rem;
  }

  .hero-copy h1 {
    max-width: 13em;
    font-size: clamp(2.3rem, 9.4vw, 3.55rem);
    line-height: 1.4;
  }

  .hero-intro {
    margin-top: 1.15rem;
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 1.55rem;
  }

  .hero-art {
    width: min(64vw, 280px);
    justify-self: center;
    margin-top: 1rem;
  }

  .hero-art::before,
  .hero-art::after {
    height: 52%;
  }

  .about-inner {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 4rem;
  }

  .section-heading {
    padding-top: 0;
  }

  .section-rule {
    margin-bottom: 0.6rem;
  }

  .about-description {
    margin-top: 0.8rem;
    font-size: 1rem;
  }

  .contact-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding-block: 4rem;
  }

  .contact-copy p {
    margin-top: 0.65rem;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-actions .button {
    flex: 1 1 auto;
  }

  .footer-inner {
    min-height: 86px;
  }

  .footer-inner p {
    font-size: 0.8rem;
    line-height: 1.7;
  }
}

@media (max-width: 390px) {
  .page-wrap {
    padding-inline: 1rem;
  }

  .main-nav {
    gap: 0.9rem;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    gap: 0.7rem 1rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
