:root {
  --bg: #120909;
  --bg-soft: #1c0f0f;
  --paper: #f7eee8;
  --paper-2: #eee2da;
  --ink: #1d1715;
  --text: #fff8f2;
  --muted: #cbb9af;
  --accent: #ff5b22;
  --accent-2: #b5122c;
  --gold: #ffb11b;
  --border: rgba(255,255,255,.13);
  --max: 1440px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: white; }

.skip-link { position: fixed; left: 16px; top: -50px; z-index: 9999; background: white; color: black; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled { background: rgba(18,9,9,.78); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; line-height: 1; min-height: 48px; }
.brand-logo { display: block; width: clamp(150px, 16vw, 230px); height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.desktop-nav { display: flex; gap: 34px; align-items: center; }
.desktop-nav a { font-size: .88rem; color: rgba(255,255,255,.78); position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--accent); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.lang-toggle, .menu-toggle { border: 1px solid var(--border); background: rgba(255,255,255,.04); border-radius: 999px; cursor: pointer; }
.lang-toggle { min-width: 44px; height: 44px; font-weight: 700; font-size: .8rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0 11px; }
.menu-toggle span { display: block; height: 1px; background: white; margin: 6px 0; transition: .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 84px 0 auto; z-index: 999; padding: 32px; background: rgba(18,9,9,.96); backdrop-filter: blur(18px); display: grid; gap: 16px; transform: translateY(-140%); transition: transform .35s ease; border-bottom: 1px solid var(--border); }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { font-family: Georgia, serif; font-size: 2rem; padding: 6px 0; }

.hero {
  min-height: 100svh;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  background: #12080b;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,6,8,.18) 0%, rgba(12,6,8,0) 36%, rgba(12,6,8,.14) 100%), linear-gradient(0deg, rgba(12,6,8,.24), rgba(12,6,8,.08)); pointer-events: none; z-index: 2; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .28; pointer-events: none; z-index: 2; }
.hero-glow-one { width: 420px; height: 420px; background: #ff9c44; left: -160px; top: 12%; }
.hero-glow-two { width: 360px; height: 360px; background: #8d0d36; right: -100px; top: 8%; }
.hero-copy { position: relative; z-index: 3; min-height: 100svh; width: min(52%, 780px); display: flex; flex-direction: column; justify-content: center; padding: 150px clamp(28px, 6vw, 118px) 110px; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; color: var(--gold); }
.hero h1 { margin: 0; max-width: 790px; font-size: clamp(3.65rem, 6.5vw, 7.7rem); line-height: .88; letter-spacing: -.065em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; font-size: .78em; margin-top: .18em; letter-spacing: -.045em; }
.hero-lede { max-width: 630px; font-size: clamp(1.05rem, 1.45vw, 1.38rem); color: rgba(255,255,255,.8); margin: 34px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; font-size: .88rem; font-weight: 800; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: white; color: #1f0d0b; }
.button-ghost { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.05); }
.hero-visual { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(232,76,29,.18) 0%, rgba(232,76,29,.04) 18%, transparent 36%), linear-gradient(0deg, rgba(15,5,8,.5), rgba(15,5,8,.04) 42%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(1.02) contrast(1.02); }
.hero-caption { position: absolute; z-index: 3; left: 56%; right: 7%; bottom: 42px; display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px 14px; align-items: center; font-size: .74rem; }
.hero-caption span:nth-child(odd) { color: var(--gold); font-weight: 900; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; width: 1px; height: 54px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 20px; background: white; animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { from { transform: translateY(-24px); } to { transform: translateY(60px); } }

.stats-band { max-width: var(--max); margin: 0 auto; padding: 54px clamp(24px,5vw,74px); display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.stat { padding: 18px 24px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; }
.stat span { color: var(--muted); font-size: .85rem; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 150px) clamp(24px,5vw,74px); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; margin-bottom: 54px; }
.section-heading h2, .about-copy h2, .contact-content h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .98; letter-spacing: -.045em; margin: 0; }
.section-heading > p { color: var(--muted); max-width: 600px; margin: 0; font-size: 1.02rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter { border: 1px solid var(--border); border-radius: 999px; background: transparent; padding: 10px 18px; color: var(--muted); cursor: pointer; transition: .25s ease; }
.filter:hover, .filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { position: relative; display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); min-height: 280px; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); cursor: pointer; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 40px rgba(0,0,0,.12); opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.project-card.is-visible { opacity: 1; transform: none; }
.project-card[hidden] { display: none; }
.project-card:hover { border-color: rgba(255,255,255,.22); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); box-shadow: 0 18px 46px rgba(0,0,0,.18); }
.project-card-photo { position: relative; min-height: 100%; overflow: hidden; background: linear-gradient(180deg, rgba(233,73,32,.15), rgba(0,0,0,.05)); }
.project-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,8,11,.08), rgba(233,73,32,.12)); }
.project-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--project-image-position, center center); filter: saturate(1.04); transform: scale(1.01); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-card-photo img { transform: scale(1.05); }
.project-card-content { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; }
.project-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.project-tag { display: inline-flex; max-width: fit-content; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.project-index { font-family: Georgia, serif; font-size: 1.2rem; color: rgba(255,255,255,.42); }
.project-card h3 { margin: 4px 0 0; font-size: clamp(1.45rem,2vw,2rem); line-height: 1.08; }
.project-client { margin: 0; color: white; opacity: .88; font-size: .96rem; }
.project-summary { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project-link { color: white; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.project-open { flex: 0 0 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-items: center; transition: .25s ease; }
.project-card:hover .project-open { background: white; color: #1a090b; transform: rotate(45deg); }

html[dir="rtl"] .project-card { grid-template-columns: minmax(0, 1fr) minmax(180px, 230px); }
html[dir="rtl"] .project-card-top,
html[dir="rtl"] .project-card-footer { flex-direction: row-reverse; }
html[dir="rtl"] .project-tag,
html[dir="rtl"] .project-link { letter-spacing: 0; }

.client-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0 44px; overflow: hidden; }
.client-strip > p { padding: 0 clamp(24px,5vw,74px); max-width: var(--max); margin-inline: auto; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track { width: max-content; display: flex; gap: 56px; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: Georgia, serif; font-size: clamp(1.7rem,3vw,3.4rem); white-space: nowrap; color: rgba(255,255,255,.74); }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

.services-section { background: var(--paper); color: var(--ink); max-width: none; }
.services-section > * { max-width: calc(var(--max) - 148px); margin-inline: auto; }
.services-section .eyebrow { color: #b83a1c; }
.services-section .section-heading > p { color: #6e615b; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.service-card { min-height: 330px; border: 1px solid rgba(29,23,21,.16); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: .3s ease; background: rgba(255,255,255,.22); }
.service-card:hover { transform: translateY(-8px); background: white; box-shadow: 0 24px 55px rgba(65,33,20,.12); }
.service-number { font-family: Georgia, serif; font-size: 1.1rem; color: #be3f20; }
.service-card h3 { margin: auto 0 16px; font-size: 1.48rem; }
.service-card p { margin: 0; color: #6e615b; font-size: .93rem; }

.about-section { max-width: var(--max); margin: 0 auto; min-height: 760px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 8%; align-items: center; padding: clamp(90px,10vw,150px) clamp(24px,5vw,74px); }
.about-visual { height: 650px; border-radius: var(--radius); overflow: hidden; position: relative; }
.about-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(25,5,8,.45); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; max-width: 680px; }
.about-copy h2 { margin-bottom: 32px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skills span { border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-size: .78rem; color: var(--muted); }

.contact-section { position: relative; min-height: 760px; display: grid; place-items: center; padding: 100px 24px; background: radial-gradient(circle at 18% 22%, rgba(255,148,70,.22), transparent 28%), radial-gradient(circle at 78% 18%, rgba(122,12,42,.3), transparent 24%), linear-gradient(120deg, #d73a20 0%, #ef5421 36%, #94172a 72%, #1a0810 100%); overflow: hidden; }
.contact-section::before { content: ""; position: absolute; inset: -10% -5%; background: radial-gradient(circle at 30% 75%, rgba(255,205,120,.12), transparent 22%), radial-gradient(circle at 72% 48%, rgba(255,255,255,.08), transparent 18%), radial-gradient(circle at 85% 84%, rgba(120,10,36,.22), transparent 20%); filter: blur(12px); pointer-events: none; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(208,52,27,.2) 0%, rgba(208,52,27,.08) 34%, rgba(35,8,14,.18) 70%, rgba(12,4,8,.28)); }
.contact-content { position: relative; z-index: 1; max-width: 860px; text-align: center; }
.contact-content .eyebrow { color: white; }
.contact-content h2 { font-size: clamp(3.7rem,7vw,7rem); }
.contact-content > p:not(.eyebrow) { max-width: 680px; margin: 26px auto 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.contact-links { margin-top: 50px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.contact-links a { min-height: 118px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: .25s ease; }
.contact-links a:hover { background: white; color: #2a0b0b; transform: translateY(-5px); }
.contact-links svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-links strong { font-size: 2rem; line-height: 1; }
.contact-links span { font-size: .78rem; }

footer { max-width: var(--max); margin: 0 auto; padding: 30px clamp(24px,5vw,74px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .78rem; }
.footer-brand { color: white; display: flex; align-items: center; }
.footer-logo { display: block; width: clamp(145px, 15vw, 210px); height: auto; }
footer p { margin: 0; }
footer a:hover { color: white; }

.project-modal { width: min(1180px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #120a0a; color: white; box-shadow: var(--shadow); overflow: auto; }
.project-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(12px); }
.modal-close { position: sticky; float: right; top: 14px; right: 14px; z-index: 5; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; background: rgba(18,9,9,.72); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.modal-media { clear: both; padding: 12px 12px 0; }
.modal-media img { width: 100%; border-radius: 15px; }
.modal-copy { padding: 34px 42px 42px; }
.modal-meta { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 800; }
.modal-copy h2 { font-family: Georgia, serif; font-size: clamp(2.4rem,5vw,4.5rem); font-weight: 400; margin: 10px 0 16px; line-height: 1; }
.modal-description { color: var(--muted); max-width: 820px; }
.modal-nav { margin-top: 24px; display: flex; gap: 8px; }
.modal-nav button { width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: transparent; cursor: pointer; }
.modal-nav button:hover { background: white; color: #190909; }

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

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .hero h1, html[dir="rtl"] .section-heading h2, html[dir="rtl"] .about-copy h2, html[dir="rtl"] .contact-content h2 { letter-spacing: -.03em; }
html[dir="rtl"] .hero h1 em { font-family: Tahoma, Arial, sans-serif; font-style: normal; }
html[dir="rtl"] .hero-visual::before { background: linear-gradient(90deg, rgba(232,76,29,.18) 0%, rgba(232,76,29,.04) 18%, transparent 36%), linear-gradient(0deg, rgba(15,5,8,.5), rgba(15,5,8,.04) 42%); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; }
  .hero-copy { width: min(72%, 760px); min-height: 88svh; padding-top: 150px; padding-bottom: 90px; }
  .hero-visual { min-height: 720px; }
  .hero-visual::before { background: linear-gradient(90deg, rgba(12,6,8,.28) 0%, transparent 34%), linear-gradient(0deg, rgba(18,4,8,.72), transparent 55%); }
  .hero-caption { left: 6%; right: 6%; }
  .scroll-cue { display: none; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 1fr; }
  .about-visual { height: 620px; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding-inline: 18px; }
  .mobile-menu { inset: 72px 0 auto; }
  .brand-logo { width: 150px; }
  .footer-logo { width: 140px; }
  .hero-copy { width: min(100%, 620px); padding: 130px 22px 70px; min-height: 82svh; }
  .hero h1 { font-size: clamp(3.3rem,15vw,5.7rem); }
  .hero-lede { font-size: 1rem; }
  .hero-visual { min-height: 570px; }
  .hero-caption { left: 22px; right: 22px; grid-template-columns: auto 1fr; bottom: 20px; }
  .stats-band { padding: 30px 18px; }
  .stat { padding: 15px 12px; }
  .section { padding: 88px 18px; }
  .project-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .project-card { grid-template-columns: 1fr; min-height: auto; margin-bottom: 0; }
  .project-card-photo { min-height: 250px; }
  .project-card-content { padding: 22px 20px 20px; }
  .services-section > * { max-width: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .about-section { padding: 88px 18px; }
  .about-visual { height: 500px; }
  .contact-section { min-height: 720px; }
  .contact-links { grid-template-columns: repeat(2,1fr); }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 18px; }
  .modal-copy { padding: 28px 22px 34px; }
}

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