:root {
  --ink: #17130f;
  --paper: #f3eee4;
  --paper-deep: #e5dccb;
  --gold: #c69a45;
  --gold-light: #e6c77e;
  --line: rgba(23, 19, 15, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 4vw;
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.2; }
nav { display: flex; gap: clamp(20px, 3vw, 50px); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
nav a { position: relative; }
nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
nav a:hover::after { right: 0; }
.language-toggle { justify-self: end; border: 0; background: none; color: inherit; cursor: pointer; font-weight: 600; letter-spacing: .04em; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 53% 47%;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-copy { align-self: center; padding: 130px 7vw 120px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 28px; font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--gold); }
h1, h2 { margin: 0; font-family: "Playfair Display", serif; font-weight: 500; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 760px; font-size: clamp(54px, 6.4vw, 104px); }
h1 em, h2 em { color: var(--gold-light); font-weight: 500; }
.hero-text { max-width: 560px; margin: 34px 0 0; color: rgba(243, 238, 228, .67); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 26px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(243, 238, 228, .3); transition: .25s ease; }
.button-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.button:hover { transform: translateY(-2px); border-color: var(--gold-light); }
.button-primary:hover { background: var(--gold-light); }

.hero-art { position: relative; overflow: hidden; background: radial-gradient(circle at 60% 40%, #645128 0, #2d261b 34%, #17130f 72%); }
.hero-art::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.hero-art p { position: absolute; z-index: 2; right: 4vw; bottom: 58px; margin: 0; color: rgba(243,238,228,.58); font-size: 11px; line-height: 1.6; letter-spacing: .17em; text-align: right; text-transform: uppercase; }
.art-caption { position: absolute; z-index: 2; top: 25%; left: 14%; display: flex; align-items: flex-start; color: var(--gold-light); }
.art-caption span { font-family: "Playfair Display"; font-size: 70px; }
.art-caption small { margin: 10px 0 0 6px; }
.ring { position: absolute; border-radius: 50%; border: clamp(17px, 2.5vw, 38px) solid transparent; background: linear-gradient(130deg, #6b4815, #f5da8e 35%, #997125 64%, #efd07d) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; box-shadow: 0 40px 70px rgba(0,0,0,.45); }
.ring-one { width: 43vw; height: 43vw; max-width: 670px; max-height: 670px; top: 19%; left: 5%; transform: rotateX(68deg) rotateZ(-18deg); }
.ring-two { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; top: 34%; left: 23%; transform: rotateX(63deg) rotateZ(22deg); }
.ring-three { width: 22vw; height: 22vw; max-width: 340px; max-height: 340px; top: 44%; left: -5%; transform: rotateX(68deg) rotateZ(-7deg); }
.scroll-cue { position: absolute; z-index: 4; left: 4vw; bottom: 30px; display: flex; align-items: center; gap: 14px; color: rgba(243,238,228,.52); font-size: 9px; letter-spacing: .2em; }
.scroll-cue i { width: 44px; height: 1px; background: var(--gold); }

.section { position: relative; padding: 125px 7vw; border-bottom: 1px solid var(--line); }
.section-number { position: absolute; top: 38px; left: 4vw; color: rgba(23,19,15,.45); font-size: 10px; letter-spacing: .12em; }
.section-heading h2, .contact h2 { font-size: clamp(45px, 6vw, 84px); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.story-body { align-self: end; max-width: 610px; padding-top: 120px; }
.story-body p { color: rgba(23,19,15,.62); font-size: 16px; line-height: 1.8; }
.story-body .lead { color: var(--ink); font-family: "Playfair Display", serif; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.45; }
.name-formula { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 50px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.name-formula span { display: flex; flex-direction: column; }
.name-formula strong { font-family: "Playfair Display", serif; font-size: clamp(25px, 3vw, 40px); font-weight: 500; }
.name-formula small { margin-top: 6px; color: rgba(23,19,15,.5); font-size: 9px; letter-spacing: .2em; }
.name-formula b { color: var(--gold); font-size: 30px; font-weight: 400; }

.services { background: var(--paper-deep); }
.services .section-heading { max-width: 900px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.service-grid article { min-height: 300px; padding: 30px 4vw 25px 0; border-right: 1px solid var(--line); }
.service-grid article + article { padding-left: 4vw; }
.service-grid article:last-child { border-right: 0; }
.service-grid article > span { color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.service-grid h3 { margin: 100px 0 16px; font-family: "Playfair Display", serif; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; }
.service-grid p { max-width: 330px; color: rgba(23,19,15,.58); font-size: 14px; line-height: 1.75; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: #211b15; color: var(--paper); }
.contact-intro > p:last-child { max-width: 530px; margin-top: 30px; color: rgba(243,238,228,.56); line-height: 1.75; }
.contact-card { align-self: end; border-top: 1px solid rgba(243,238,228,.2); }
.contact-card > div { padding: 27px 0; border-bottom: 1px solid rgba(243,238,228,.2); }
.contact-card small { display: block; margin-bottom: 9px; color: var(--gold); font-size: 9px; letter-spacing: .2em; }
.contact-card a, .contact-card address { font-family: "Playfair Display", serif; font-size: clamp(21px, 2vw, 28px); font-style: normal; line-height: 1.5; }
.map-link { display: flex; justify-content: space-between; padding-top: 27px; color: var(--gold-light); font-family: "DM Sans", sans-serif !important; font-size: 11px !important; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; padding: 45px 4vw; background: var(--ink); color: var(--paper); }
footer p { margin: 0; color: rgba(243,238,228,.62); font-size: 11px; line-height: 1.8; text-align: center; }
footer > a:last-child { justify-self: end; color: var(--gold-light); font-size: 10px; letter-spacing: .15em; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

html[dir="rtl"] body { font-family: "Noto Kufi Arabic", sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] .story-body .lead, html[dir="rtl"] .name-formula strong, html[dir="rtl"] .service-grid h3, html[dir="rtl"] .contact-card a, html[dir="rtl"] .contact-card address { font-family: "Noto Kufi Arabic", sans-serif; letter-spacing: -.04em; }
html[dir="rtl"] .story, html[dir="rtl"] .contact { direction: rtl; }
html[dir="rtl"] .section-number { left: auto; right: 4vw; }
html[dir="rtl"] .service-grid article { padding: 30px 0 25px 4vw; border-right: 0; border-left: 1px solid var(--line); }
html[dir="rtl"] .service-grid article + article { padding-right: 4vw; }
html[dir="rtl"] .service-grid article:last-child { border-left: 0; }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 72svh; padding: 145px 6vw 80px; }
  .hero-art { min-height: 42svh; }
  .ring-one { width: 90vw; height: 90vw; top: 0; left: 9%; }
  .ring-two { width: 68vw; height: 68vw; top: 22%; left: 35%; }
  .ring-three { width: 54vw; height: 54vw; top: 38%; }
  .scroll-cue { display: none; }
  .section { padding: 100px 6vw; }
  .story, .contact { grid-template-columns: 1fr; gap: 60px; }
  .story-body { padding-top: 0; }
  .service-grid { grid-template-columns: 1fr; margin-top: 55px; }
  .service-grid article, .service-grid article + article { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid h3 { margin: 45px 0 12px; }
  html[dir="rtl"] .service-grid article, html[dir="rtl"] .service-grid article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  footer p { text-align: left; }
  footer > a:last-child { justify-self: start; }
  html[dir="rtl"] footer, html[dir="rtl"] footer p { text-align: right; }
  html[dir="rtl"] footer > a:last-child { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
