:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #f7f3eb;
  --paper-2: #fffaf1;
  --ivory: #fffdf8;
  --charcoal: #101414;
  --charcoal-2: #171c1c;
  --emerald: #0c5f4b;
  --emerald-2: #13866c;
  --gold: #c9a15a;
  --gold-soft: #f4dfaf;
  --line: rgba(17, 24, 39, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(16, 20, 20, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 17, 17, 0.78);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 223, 175, 0.65);
  background: linear-gradient(145deg, rgba(201, 161, 90, 0.9), rgba(12, 95, 75, 0.88));
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  line-height: 1.15;
}

.brand small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: #fff;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher a {
  min-width: 36px;
  padding: 6px 10px;
  text-align: center;
  border-radius: 999px;
  font-size: 12px;
}

.language-switcher .active {
  background: var(--gold-soft);
  color: #17120a;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--emerald);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 138px 0 96px;
  color: #fff;
  background: #0d1111;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 13, 13, 0.95) 0%, rgba(10, 13, 13, 0.76) 38%, rgba(10, 13, 13, 0.18) 74%),
    linear-gradient(0deg, rgba(10, 13, 13, 0.44), rgba(10, 13, 13, 0.22));
}

html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(10, 13, 13, 0.95) 0%, rgba(10, 13, 13, 0.76) 38%, rgba(10, 13, 13, 0.18) 74%),
    linear-gradient(0deg, rgba(10, 13, 13, 0.44), rgba(10, 13, 13, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 80px));
  max-width: 760px;
  margin-inline: 40px auto;
}

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

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

.hero h1 {
  max-width: min(720px, 100%);
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[dir="rtl"] .hero h1 {
  max-width: min(680px, 100%);
  font-size: clamp(44px, 5.8vw, 78px);
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  overflow-wrap: anywhere;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), #f2d68d);
  color: #17120a;
  box-shadow: 0 18px 42px rgba(201, 161, 90, 0.22);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.button-secondary.dark {
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.2);
  background: transparent;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  max-width: 720px;
}

.hero-proof span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.intro-band {
  padding: 46px 0;
  background: var(--emerald);
  color: #fff;
}

.intro-grid,
.split-heading,
.proof-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.intro-grid h2,
.split-heading h2,
.proof-panel h2,
.contact-grid h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.split-heading > p,
.section-heading p,
.proof-panel p,
.contact-grid > div > p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  margin: 0;
}

.section {
  padding: 94px 0;
  scroll-margin-top: 88px;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(16, 20, 20, 0.97), rgba(16, 20, 20, 1)),
    var(--charcoal);
  color: #fff;
}

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

.section-heading p {
  color: var(--muted);
  margin-top: 16px;
}

.section-dark .split-heading > p,
.section-dark .service-card p {
  color: rgba(255, 255, 255, 0.7);
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  background: #e8ece7;
}

.work-copy {
  padding: 24px;
}

.work-type {
  margin: 0 0 8px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
}

.work-copy h3 {
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.15;
}

.work-copy p {
  margin: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag-row span {
  border-color: rgba(12, 95, 75, 0.18);
  color: var(--emerald);
  background: rgba(12, 95, 75, 0.08);
}

.featured-card {
  transform: translateY(28px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.service-card {
  min-height: 244px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(244, 223, 175, 0.12);
  color: var(--gold-soft);
  border: 1px solid rgba(244, 223, 175, 0.22);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
}

.proof-grid {
  align-items: stretch;
}

.proof-panel {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.proof-panel p {
  color: var(--muted);
  margin-top: 18px;
}

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

.metric-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.metric-card strong {
  color: var(--emerald);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.process-section {
  color: #fff;
  background:
    linear-gradient(rgba(16, 20, 20, 0.92), rgba(16, 20, 20, 0.94)),
    url("../images/hero-studio.png") center / cover fixed;
}

.align-center {
  text-align: center;
  margin-inline: auto;
}

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

.process-grid article {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.07);
}

.process-grid span {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
}

.process-grid h3 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  padding: 92px 0;
  background: var(--paper-2);
  scroll-margin-top: 88px;
}

.contact-grid h2 {
  color: var(--ink);
}

.contact-grid > div > p:last-child {
  color: var(--muted);
  margin-top: 20px;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.designer-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
}

.contact-card h3 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.contact-card h3 span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.56em;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-link span {
  color: var(--gold-soft);
  white-space: nowrap;
}

.site-footer {
  padding: 50px 0 24px;
  background: #090c0c;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer .brand,
.site-footer .footer-brand {
  position: static;
  inset: auto;
}

.site-footer .brand strong,
.site-footer .brand small {
  display: block;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:not(.brand):hover {
  color: #fff;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px;
    background: rgba(12, 17, 17, 0.98);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

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

  .intro-grid,
  .split-heading,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    transform: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
    position: relative;
    justify-content: center;
  }

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

  .site-header .brand strong,
  .site-header .brand small {
    display: none;
  }

  .site-header .brand {
    position: absolute;
    left: 70px;
    right: auto;
  }

  .site-header .menu-toggle {
    position: absolute;
    left: 14px;
    right: auto;
  }

  html[dir="rtl"] .site-header .brand {
    left: 70px;
    right: auto;
  }

  html[dir="rtl"] .site-header .menu-toggle {
    left: 14px;
    right: auto;
  }

  .site-footer .brand,
  .site-footer .footer-brand,
  html[dir="rtl"] .site-footer .brand,
  html[dir="rtl"] .site-footer .footer-brand {
    position: static;
    inset: auto;
    left: auto;
    right: auto;
  }

  .site-footer .brand strong,
  .site-footer .brand small {
    display: block;
  }

  .site-nav {
    inset-block-start: 68px;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 0 62px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-inline: auto;
    text-align: center;
  }

  .hero-bg {
    object-position: 64% center;
  }

  html[dir="rtl"] .hero-bg {
    object-position: 36% center;
  }

  .hero-overlay,
  html[dir="rtl"] .hero-overlay {
    background: linear-gradient(0deg, rgba(10, 13, 13, 0.92), rgba(10, 13, 13, 0.38));
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    margin-inline: auto;
    max-width: min(310px, 100%);
    line-height: 1.08;
  }

  html[dir="rtl"] .hero h1 {
    font-size: clamp(35px, 10vw, 46px);
    max-width: min(330px, 100%);
  }

  .eyebrow {
    max-width: 320px;
    margin-inline: auto;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    margin-inline: auto;
    max-width: 320px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(320px, 100%);
    margin-inline: auto;
  }

  .hero-proof span:last-child {
    grid-column: 1 / -1;
  }

  .hero-proof span {
    justify-content: center;
    text-align: center;
  }

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

  .button {
    padding-inline: 16px;
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }

  .intro-band {
    padding: 36px 0;
  }

  .metric-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-copy,
  .service-card,
  .proof-panel,
  .metric-card,
  .process-grid article,
  .contact-card {
    padding: 20px;
  }

  .contact-link {
    display: block;
  }

  .contact-link span {
    display: block;
    margin-top: 4px;
  }
}
