@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
  --ink: #090909;
  --ink-soft: #111110;
  --paper: #f3efe7;
  --paper-muted: #c6c0b4;
  --gold: #caa96a;
  --gold-light: #edd9aa;
  --line-dark: rgba(243, 239, 231, .16);
  --line-light: rgba(9, 9, 9, .16);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Tajawal', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 300; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { overflow: hidden; }
.section-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(1440px, calc(100% - 96px)); margin-inline: auto; padding: 32px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; direction: ltr; letter-spacing: .12em; white-space: nowrap; }
.wordmark-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 25px; line-height: 1; font-style: italic; letter-spacing: 0; }
.wordmark-text { font-size: 13px; font-weight: 700; }
.wordmark-text em { color: var(--gold); font-style: normal; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-inline-start: auto; }
.main-nav a { position: relative; color: var(--paper-muted); font-size: 12px; transition: color .3s ease; }
.main-nav a::after { content: ''; position: absolute; inset: auto 0 -8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.main-nav a:hover { color: var(--paper); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-light); font-size: 12px; }
.header-cta .arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; font-size: 18px; transition: background .3s ease, color .3s ease; }
.header-cta:hover .arrow { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px; background: var(--gold-light); }

.hero { position: relative; display: flex; align-items: center; min-height: min(860px, 100vh); padding: 160px max(48px, calc((100% - 1240px) / 2)) 120px; isolation: isolate; }
.hero-image, .about-image { position: absolute; inset: 0; background-position: center; background-size: cover; }
.hero-image { background-image: url('/manus-storage/async-images/7S6k9T6g6bRIZBTkjDEZqN/image-1.webp'); background-position: center 40%; z-index: -3; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(9,9,9,.93) 0%, rgba(9,9,9,.55) 45%, rgba(9,9,9,.18) 100%), linear-gradient(0deg, rgba(9,9,9,.62), transparent 45%, rgba(9,9,9,.48)); }
.hero-content { max-width: 670px; }
.eyebrow, .section-kicker, .contact-topline { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: block; width: 42px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .92; }
h1 { max-width: 700px; margin: 36px 0 28px; font-size: clamp(66px, 8.3vw, 126px); letter-spacing: -.04em; }
h1 i, h2 i { color: var(--gold-light); font-style: italic; }
.hero-copy { max-width: 390px; color: var(--paper-muted); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; gap: 28px; padding: 15px 20px; font-size: 12px; transition: all .3s ease; }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: var(--gold-light); transform: translateY(-3px); }
.button-primary span { font-size: 18px; }
.text-link, .underlined-link { color: var(--paper); font-size: 12px; }
.text-link span, .underlined-link span { margin-inline-start: 10px; color: var(--gold); font-size: 18px; }
.text-link:hover, .underlined-link:hover { color: var(--gold-light); }
.hero-caption { position: absolute; left: max(48px, calc((100% - 1240px) / 2)); bottom: 42px; display: flex; align-items: center; gap: 12px; color: var(--paper-muted); font-size: 9px; letter-spacing: .2em; direction: ltr; }
.hero-caption > span:first-child { color: var(--gold); }
.caption-line, .kicker-line, .footer-line { display: inline-block; width: 56px; height: 1px; background: var(--gold); opacity: .7; }
.scroll-hint { position: absolute; right: max(48px, calc((100% - 1240px) / 2)); bottom: 42px; display: flex; align-items: center; gap: 14px; color: var(--paper-muted); font-size: 10px; letter-spacing: .1em; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 62px; background: var(--gold); }

.intro { padding: 144px 0 160px; }
.section-kicker { color: var(--paper-muted); }
.section-kicker > span:first-child { color: var(--gold); font-family: var(--serif); font-size: 17px; letter-spacing: 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 62px; padding-inline-start: 15%; }
h2 { margin-bottom: 0; font-size: clamp(58px, 7vw, 104px); letter-spacing: -.04em; }
.intro-text { max-width: 470px; padding-top: 18px; }
.intro-text .lead { color: var(--paper); font-family: var(--serif); font-size: 29px; line-height: 1.15; }
.intro-text > p:not(.lead) { color: var(--paper-muted); font-size: 14px; line-height: 2.1; }
.underlined-link { display: inline-block; margin-top: 18px; border-bottom: 1px solid var(--gold); padding-bottom: 9px; }

.work-section { padding: 130px 0 140px; background: var(--paper); color: var(--ink); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading-row .section-kicker, .contact-card .contact-topline { color: #6c665c; }
.section-heading-row h2 { margin-top: 56px; }
.section-heading-row h2 i { color: #a5844d; }
.section-heading-row > p { margin-bottom: 10px; color: #736e66; font-size: 13px; line-height: 1.9; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 62px 0 28px; border-bottom: 1px solid var(--line-light); padding-bottom: 18px; }
.filter-button { border: 0; background: transparent; color: #777168; cursor: pointer; font-size: 12px; padding: 7px 13px; transition: all .25s ease; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.gallery-card { position: relative; overflow: hidden; min-height: 230px; cursor: pointer; background: #d6d0c5; animation: reveal .6s both; }
.gallery-card:nth-child(1) { grid-column: span 7; aspect-ratio: 1.48; }
.gallery-card:nth-child(2) { grid-column: span 5; aspect-ratio: .94; margin-top: 48px; }
.gallery-card:nth-child(3) { grid-column: span 4; aspect-ratio: .85; }
.gallery-card:nth-child(4) { grid-column: span 4; aspect-ratio: 1.1; margin-top: 56px; }
.gallery-card:nth-child(5) { grid-column: span 4; aspect-ratio: .85; }
.gallery-card:nth-child(n+6) { grid-column: span 4; aspect-ratio: 1; }
.gallery-card[hidden] { display: none; }
.gallery-card img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.75); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery-card:hover img { transform: scale(1.06); filter: saturate(1); }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.62)); pointer-events: none; }
.gallery-info { position: absolute; inset: auto 20px 18px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; color: var(--paper); }
.gallery-info h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.gallery-info small { color: var(--gold-light); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.gallery-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(243,239,231,.7); border-radius: 50%; font-size: 17px; }
.gallery-footer { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #777168; direction: ltr; font-size: 9px; letter-spacing: .15em; }
.gallery-footer .gallery-count { color: #a5844d; }
.gallery-footer .footer-line { background: #a5844d; }

.services { padding: 145px 0; }
.services-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; margin-top: 70px; }
.services-title p { max-width: 290px; margin-top: 34px; color: var(--paper-muted); font-size: 14px; line-height: 2; }
.service-list { border-top: 1px solid var(--line-dark); }
.service-item { display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 22px; border-bottom: 1px solid var(--line-dark); padding: 28px 0; transition: padding .3s ease; }
.service-item:hover { padding-inline: 14px; background: rgba(202,169,106,.06); }
.service-number { align-self: start; color: var(--gold); font-family: var(--serif); font-size: 20px; }
.service-item h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.service-item p { margin: 0; color: var(--paper-muted); font-size: 13px; }
.service-icon { color: var(--gold); font-size: 21px; transition: transform .3s ease; }
.service-item:hover .service-icon { transform: translate(5px, -5px); }

.about-section { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: #d5d0c6; color: var(--ink); }
.about-image { position: relative; min-height: 580px; background-image: url('/manus-storage/async-images/7S6k9T6g6bRIZBTkjDEZqN/image-4.webp'); filter: saturate(.72); }
.about-copy { padding: 105px max(54px, calc((100vw - 1240px) / 2)) 100px 90px; }
.about-copy .section-kicker { color: #6c665c; }
.about-copy h2 { margin: 60px 0 30px; }
.about-copy h2 i { color: #a5844d; }
.about-copy p { max-width: 410px; color: #656058; font-size: 14px; line-height: 2; }
.signature { margin-top: 56px; color: #a5844d; font-family: var(--serif); font-size: 24px; letter-spacing: .13em; direction: ltr; }
.signature span { color: #83765f; margin: 0 12px; }

.contact-section { padding: 145px 0 125px; }
.contact-card { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 62px 0 72px; text-align: center; }
.contact-topline { justify-content: center; }
.contact-card h2 { margin: 53px 0 22px; font-size: clamp(58px, 8vw, 118px); }
.contact-card p { color: var(--paper-muted); font-size: 14px; }
.contact-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.contact-button { display: flex; align-items: center; justify-content: space-between; gap: 50px; min-width: 190px; border: 1px solid var(--line-dark); padding: 16px 19px; font-size: 12px; transition: all .3s ease; }
.contact-button span:last-child { color: var(--gold); font-size: 18px; }
.contact-button:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-button-gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.contact-button-gold span:last-child { color: var(--ink); }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 34px; direction: rtl; }
.contact-details > div { display: flex; flex-direction: column; gap: 10px; }
.contact-details span { color: var(--paper-muted); font-size: 10px; }
.contact-details a, .contact-details p { margin: 0; color: var(--gold-light); font-family: var(--serif); font-size: 22px; direction: ltr; text-align: right; }
.contact-details p { direction: rtl; text-align: right; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, calc(100% - 96px)); margin-inline: auto; border-top: 1px solid var(--line-dark); padding: 32px 0 40px; color: var(--paper-muted); font-size: 10px; }
.footer-wordmark { color: var(--paper); transform: scale(.86); transform-origin: right; }
.back-to-top { color: var(--gold); }

.lightbox { width: min(920px, calc(100% - 40px)); border: 1px solid rgba(202,169,106,.6); padding: 0; background: #0b0b0b; color: var(--paper); box-shadow: 0 25px 100px rgba(0,0,0,.8); }
.lightbox::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(8px); }
.lightbox img { display: block; width: 100%; max-height: 76vh; object-fit: contain; background: #151515; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; left: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(243,239,231,.6); border-radius: 50%; background: rgba(9,9,9,.4); color: var(--paper); cursor: pointer; font-size: 24px; line-height: 1; }
.lightbox-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 22px 20px; direction: rtl; }
.lightbox-meta span { color: var(--gold); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.lightbox-meta strong { margin-inline-start: auto; font-family: var(--serif); font-size: 27px; font-weight: 500; }

@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
  .section-wrap, .site-footer { width: min(100% - 48px, 680px); }
  .site-header { width: calc(100% - 48px); padding-top: 22px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .main-nav { position: absolute; inset: 78px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; border-top: 1px solid var(--line-dark); background: rgba(9,9,9,.96); }
  .site-header.menu-open .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .hero { min-height: 760px; padding: 150px 24px 120px; }
  .hero-image { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(9,9,9,.88), rgba(9,9,9,.32)), linear-gradient(0deg, rgba(9,9,9,.72), transparent 55%, rgba(9,9,9,.45)); }
  h1 { font-size: clamp(62px, 16vw, 104px); }
  .scroll-hint { display: none; }
  .intro { padding: 100px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 45px; padding-inline-start: 0; }
  .intro-text { padding-top: 0; }
  .section-heading-row { display: block; }
  .section-heading-row h2 { margin-top: 45px; }
  .section-heading-row > p { margin-top: 24px; }
  .filter-row { margin-top: 42px; overflow-x: auto; flex-wrap: nowrap; }
  .filter-button { white-space: nowrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-card:nth-child(n) { grid-column: span 1; margin-top: 0; aspect-ratio: .82; }
  .gallery-card:first-child { grid-column: span 2; aspect-ratio: 1.4; }
  .gallery-info { inset-inline: 13px; bottom: 13px; }
  .gallery-info h3 { font-size: 22px; }
  .services { padding: 100px 0; }
  .services-layout { grid-template-columns: 1fr; gap: 54px; margin-top: 48px; }
  .services-title p { margin-top: 22px; }
  .service-item { grid-template-columns: 38px 1fr 22px; gap: 12px; padding: 22px 0; }
  .service-item h3 { font-size: 25px; }
  .service-item p { line-height: 1.8; }
  .about-section { grid-template-columns: 1fr; }
  .about-image { min-height: 460px; }
  .about-copy { padding: 78px 24px 85px; }
  .about-copy h2 { margin-top: 45px; }
  .contact-section { padding: 100px 0 85px; }
  .contact-details { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { flex-wrap: wrap; }
  .footer-wordmark { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .section-wrap, .site-footer { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); }
  .wordmark-text { font-size: 11px; }
  .hero { min-height: 700px; padding-inline: 18px; }
  .hero-caption { left: 18px; bottom: 27px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .gallery-card:first-child { aspect-ratio: 1.05; }
  .gallery-info h3 { font-size: 19px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-button { min-width: 0; }
  .contact-details a, .contact-details p { font-size: 19px; }
}
