:root {
  --charcoal: #252522;
  --charcoal-soft: #34332e;
  --ink: #34342f;
  --ink-soft: #5f5e56;
  --cream: #f0ece3;
  --cream-deep: #e7e1d5;
  --paper: #f6f3ec;
  --brass: #aa8d5d;
  --brass-dark: #8b7045;
  --line-light: rgba(52, 52, 47, .17);
  --line-dark: rgba(240, 236, 227, .2);
  --font-en: "Montserrat", sans-serif;
  --font-ar: "Tajawal", sans-serif;
  --ease: cubic-bezier(.22, .72, .25, 1);
  --wrap: 1320px;
}
* { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink); font-family: var(--font-en); font-size: 14px; font-weight: 300; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
.wrap { width: min(var(--wrap), calc(100% - 100px)); margin-inline: 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; }
.lang-ar { display: none; font-family: var(--font-ar); direction: rtl; }
.lang-en { font-family: var(--font-en); direction: ltr; }
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] .lang-en, html[lang="ar"] .headline-en { display: none !important; }
html[lang="ar"] .lang-ar { display: inline; }
html[lang="ar"] .headline-ar { display: block; }
html[lang="ar"] .dual-title, html[lang="ar"] .section-heading { text-align: right; }
html[lang="ar"] .hero-content { text-align: right; }
html[lang="ar"] .hero-actions { justify-content: flex-start; }
html[lang="ar"] .project-caption, html[lang="ar"] .chapter-copy { text-align: right; }
html[lang="ar"] .visit-details { text-align: right; }

.site-nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 clamp(24px, 5.5vw, 88px); direction: ltr; color: var(--cream); border-bottom: 1px solid rgba(240,236,227,.2); background: rgba(37,37,34,.07); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-nav.is-scrolled { background: rgba(37,37,34,.97); border-color: transparent; box-shadow: 0 8px 28px rgba(31,30,27,.12); }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand-name { display: block; color: var(--cream); font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .2em; }
.brand-name span { display: block; margin-top: 7px; color: #c4aa7c; font-size: 8px; font-weight: 400; letter-spacing: .36em; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
html[lang="ar"] .nav-links { direction: rtl; }
html[lang="ar"] .lang-toggle { direction: ltr; }
.nav-links > a:not(.nav-book) { color: rgba(240,236,227,.9); font-size: 10px; font-weight: 400; letter-spacing: .08em; transition: color .2s ease; }
.nav-links > a:hover { color: #d1b685; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; cursor: pointer; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-brass { background: var(--brass); color: #252522; }
.button-brass:hover { background: #c0a474; }
.button-outline { border-color: var(--brass); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--brass); color: var(--charcoal); }
.nav-book { min-height: 39px; padding: 0 16px; font-size: 9px; }
.button .lang-ar { font-size: 14px; letter-spacing: 0; text-transform: none; }
.lang-toggle { display: flex; gap: 2px; align-items: center; border-inline-start: 1px solid rgba(240,236,227,.25); padding-inline-start: 14px; }
.lang-toggle button { padding: 8px 5px; border: 0; background: transparent; color: rgba(240,236,227,.65); font-size: 10px; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { color: #d1b685; }
.nav-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 125px; background: #34332f; color: var(--cream); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; opacity: .74; transition: opacity .6s ease; }
.hero-image.is-loaded { opacity: .74; }
.hero-image.is-missing { display: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,27,25,.9), rgba(27,27,25,.16) 76%), linear-gradient(90deg, rgba(30,30,27,.28), transparent 78%); }
.hero-content { position: relative; z-index: 1; width: min(var(--wrap), calc(100% - 100px)); margin: 0 auto; }
.eyebrow { margin: 0 0 20px; color: #d1b685; font-size: 9px; font-weight: 500; line-height: 1.6; letter-spacing: .23em; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 21px; }
.dual-title { margin: 0; color: inherit; font-size: clamp(25px, 3vw, 39px); font-weight: 300; line-height: 1.32; letter-spacing: .08em; }
.hero .dual-title { max-width: 960px; font-size: clamp(39px, 7vw, 88px); line-height: 1.09; letter-spacing: .045em; }
.headline-ar { display: none; font-family: var(--font-ar); font-size: .8em; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.hero .headline-ar { font-size: .72em; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.text-link:hover { color: #d1b685; }
.text-link .lang-ar { font-size: 14px; letter-spacing: 0; text-transform: none; }
.text-link span[aria-hidden] { color: #d1b685; font-size: 16px; }

.section { position: relative; padding: clamp(86px, 10vw, 148px) 0; }
.section-heading { margin-bottom: clamp(35px, 5vw, 64px); }
.section-heading .eyebrow { color: var(--brass-dark); }
.section-heading .dual-title { font-size: clamp(30px, 4vw, 52px); letter-spacing: .025em; }
.section-intro { max-width: 620px; margin: 18px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.section-intro .lang-ar { font-size: 17px; }
.projects-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 56px); align-items: start; }
.project-card { display: block; min-width: 0; }
.project-details > summary { list-style: none; cursor: pointer; }
.project-details > summary::-webkit-details-marker { display: none; }
.project-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(145deg, #3a3934, #292925 70%, #33322d); }
.project-image img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .5s ease, transform .8s var(--ease); }
.project-image img.is-loaded { opacity: 1; }
.project-image img.is-missing { display: none; }
.project-details summary:hover img.is-loaded, .project-coming:hover img.is-loaded { transform: scale(1.018); }
.project-caption { display: flex; flex-direction: column; gap: 4px; padding: 19px 0 0; }
.project-name { color: var(--ink); font-size: clamp(14px, 1.5vw, 18px); font-weight: 500; letter-spacing: .03em; }
.project-name .lang-ar { font-size: 20px; font-weight: 500; }
.project-location { color: var(--ink-soft); font-size: 11px; letter-spacing: .04em; }
.project-location .lang-ar { font-size: 15px; }
.project-status { color: var(--brass-dark); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.project-status .lang-ar { font-size: 14px; letter-spacing: 0; }
.project-details[open] { grid-column: 1 / -1; }
.project-details[open] > summary { width: calc((100% - clamp(22px, 4vw, 56px)) / 2); }
.project-story { padding: clamp(55px, 8vw, 112px) 0 16px; scroll-margin-top: 92px; }
.story-kicker { margin: 0 0 16px; color: var(--brass-dark); font-size: 9px; letter-spacing: .19em; }
.project-story > .dual-title { font-size: clamp(27px, 3.7vw, 46px); }
.ibn-firnas-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px, 2vw, 26px); margin-top: 36px; }
.ibn-firnas-card { min-width: 0; margin: 0; }
.ibn-firnas-card .photo-media { aspect-ratio: 9 / 16; background: var(--charcoal); }
.ibn-firnas-card .photo-media img { object-fit: contain; }
.ibn-firnas-card figcaption { padding-top: 10px; color: var(--ink-soft); font-size: 10px; line-height: 1.65; }
.ibn-firnas-card figcaption .lang-ar { font-size: 14px; }
.story-list { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 116px); margin-top: 48px; }
.story-chapter { display: grid; grid-template-columns: .38fr 1.62fr; gap: clamp(22px, 4vw, 60px); align-items: start; }
.chapter-number { display: block; margin-bottom: 12px; color: var(--brass-dark); font-size: 11px; letter-spacing: .13em; }
.story-chapter h3, .story-factory h3 { max-width: 290px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.7; letter-spacing: .025em; }
.story-chapter h3 .lang-ar, .story-factory h3 .lang-ar { font-size: 19px; }
.chapter-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px, 2vw, 28px); }
.chapter-photos figure { margin: 0; min-width: 0; }
.chapter-photos .photo-media { aspect-ratio: 1 / 1; }
.photo-media { position: relative; overflow: hidden; background: linear-gradient(145deg, #3a3934, #292925 72%, #33322d); }
.photo-media img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .5s ease; }
.photo-media img.is-loaded { opacity: 1; }
.photo-media img.is-missing { display: none; }
.chapter-photos figcaption { padding-top: 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.chapter-photos figcaption .lang-ar { font-size: 14px; }
.materials-chapter { grid-template-columns: .7fr 1.3fr; align-items: center; }
.materials-chapter .photo-media { aspect-ratio: 1 / .74; }
.materials-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 22px; padding: 0; margin: 22px 0 0; list-style: none; }
.materials-list li { position: relative; padding-inline-start: 14px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.materials-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 4px; height: 4px; background: var(--brass); }
.materials-list .lang-ar { font-size: 14px; }
.story-factory { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(25px, 6vw, 90px); align-items: center; }
.story-factory .photo-media { aspect-ratio: 1.25 / 1; }
.story-factory-copy p { max-width: 400px; margin: 15px 0 0; color: var(--ink-soft); font-size: 13px; }

.factory-section { background: var(--cream); }
.factory-films { margin-top: 48px; }
.films-heading { margin: 0; padding-bottom: 17px; border-bottom: 1px solid var(--line-light); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.films-heading .lang-ar { font-size: 20px; letter-spacing: 0; text-transform: none; }
.factory-film-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px, 3vw, 42px); padding-top: 25px; }
.factory-film { min-width: 0; }
.factory-film-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: linear-gradient(145deg, #3a3934, #292925 72%, #33322d); cursor: pointer; }
.factory-film-poster, .factory-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.factory-film-poster { z-index: 0; transition: opacity .3s ease; }
.factory-film-poster.is-missing { display: none; }
.factory-film video { z-index: 1; opacity: 0; }
.factory-film.is-ready video, .factory-film.is-playing video { opacity: 1; }
.film-play-mark { position: absolute; z-index: 2; inset: auto 16px 16px auto; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(240,236,227,.8); color: var(--cream); font-size: 11px; transition: opacity .2s ease; }
.factory-film.is-playing .film-play-mark { opacity: 0; }
.factory-film h3 { margin: 14px 0 9px; color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.factory-film h3 .lang-ar { font-size: 18px; letter-spacing: 0; text-transform: none; }
.factory-film-toggle { min-height: 34px; padding: 0 10px; border: 1px solid rgba(139,112,69,.55); background: transparent; color: var(--brass-dark); cursor: pointer; font-size: 9px; letter-spacing: .08em; }
.factory-film-toggle:hover { background: rgba(170,141,93,.1); }
.film-play-ar, .film-pause-ar, .film-play-en, .film-pause-en { display: none; }
html[lang="en"] .factory-film-toggle[aria-pressed="false"] .film-play-en,
html[lang="en"] .factory-film-toggle[aria-pressed="true"] .film-pause-en,
html[lang="ar"] .factory-film-toggle[aria-pressed="false"] .film-play-ar,
html[lang="ar"] .factory-film-toggle[aria-pressed="true"] .film-pause-ar { display: inline; }
.film-play-ar, .film-pause-ar { font: 14px var(--font-ar); }
.factory-film-unavailable { margin: 8px 0 0; color: #8a4b40; font-size: 11px; }
.factory-film-unavailable[hidden] { display: none; }
.craft-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin-top: clamp(48px, 7vw, 92px); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.craft-point { min-width: 0; padding: 21px 18px 24px 0; border-inline-end: 1px solid var(--line-light); }
.craft-point + .craft-point { padding-inline-start: 18px; }
.craft-point:last-child { border-inline-end: 0; }
.craft-index { display: block; margin-bottom: 14px; color: var(--brass-dark); font-size: 10px; letter-spacing: .1em; }
.craft-point h3 { margin: 0 0 8px; color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.6; }
.craft-point h3 .lang-ar { font-size: 16px; }
.craft-point p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.craft-point p .lang-ar { font-size: 14px; }

.process-section { background: var(--paper); }
.process-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.5vw, 34px); padding: 0; margin: 0; list-style: none; }
.process-step { min-width: 0; }
.process-card-link { display: block; color: inherit; }
.process-card { margin: 0; }
.process-photo { aspect-ratio: 9 / 16; background: var(--charcoal); }
.process-photo img { object-fit: contain; }
.process-card figcaption { padding-top: 14px; }
.step-number { display: block; margin-bottom: 5px; color: var(--brass-dark); font-size: 10px; letter-spacing: .1em; }
.process-step h3 { margin: 0 0 6px; font-size: 12px; font-weight: 500; line-height: 1.65; }
.process-step h3 .lang-ar { font-size: 17px; }
.process-step p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.process-step p .lang-ar { font-size: 14px; }
.why-section { padding: clamp(55px, 7vw, 88px) 0; background: var(--charcoal); color: var(--cream); }
.why-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 50px; align-items: center; }
.why-layout h2 { margin: 0; color: #d1b685; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.why-layout h2 .lang-ar { font-size: 21px; letter-spacing: 0; text-transform: none; }
.why-layout ul { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.why-layout li { display: flex; flex-direction: column; gap: 10px; color: var(--cream); font-size: 12px; font-weight: 400; }
.why-layout li .lang-ar { font-size: 17px; }
.why-number { color: #c0a474; font-size: 9px; letter-spacing: .1em; }

.visit-section { background: var(--cream-deep); }
.visit-section .section-heading { margin-bottom: 38px; }
.visit-layout { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(42px, 8vw, 112px); align-items: start; }
.appointment-form { padding-top: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.form-field label { color: var(--ink-soft); font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.form-field label .lang-ar { font-size: 15px; letter-spacing: 0; text-transform: none; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid rgba(52,52,47,.26); background: rgba(246,243,236,.72); color: var(--ink); outline: none; font-size: 13px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #817f75; opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brass-dark); box-shadow: 0 0 0 1px var(--brass-dark); }
.field-wide { grid-column: 1 / -1; }
.form-field textarea { min-height: 98px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.form-feedback { min-height: 20px; color: var(--brass-dark); font-size: 11px; }
.visit-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.contact-block, .contact-links { padding: 0 0 19px; border-bottom: 1px solid var(--line-light); }
.contact-block h3, .contact-links h3 { margin: 0 0 8px; color: var(--brass-dark); font-size: 9px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.contact-block h3 .lang-ar, .contact-links h3 .lang-ar { font-size: 14px; letter-spacing: 0; text-transform: none; }
.contact-block p, .contact-links a { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.contact-block p .lang-ar { font-size: 14px; }
.contact-links { display: flex; flex-direction: column; gap: 3px; grid-column: 1 / -1; padding-top: 16px; }
.contact-links a:hover, .footer-contact a:hover { color: var(--brass-dark); }
.visit-map { grid-column: 1 / -1; width: 100%; height: 250px; margin-top: 24px; border: 0; filter: saturate(.62) sepia(.12); background: #d5cec1; }
.anchor-alias { position: relative; top: -90px; display: block; height: 0; visibility: hidden; }
.site-footer { padding: 29px 0; background: var(--charcoal); color: var(--cream); }
.footer-inner { width: min(var(--wrap), calc(100% - 100px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; }
.footer-inner .brand-name { font-size: 12px; }
.footer-inner .brand-name span { font-size: 7px; }
.footer-craft, .footer-inner small { margin: 0; color: rgba(240,236,227,.65); font-size: 9px; letter-spacing: .04em; }
.footer-craft .lang-ar, .footer-inner small .lang-ar { font-size: 13px; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; color: var(--cream); font-size: 9px; }
.footer-phones { display: flex; gap: 8px; direction: ltr; }
.footer-contact a { transition: color .2s ease; }
.footer-inner small { text-align: end; }

:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 4px; }
.site-nav :focus-visible, .site-footer :focus-visible { outline-color: #d1b685; }
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .wrap, .hero-content, .footer-inner { width: calc(100% - 64px); }
  .site-nav { padding-inline: 32px; }
  .nav-links { gap: 17px; }
  .nav-links > a:not(.nav-book) { font-size: 9px; }
  .craft-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .craft-point:nth-child(3n) { border-inline-end: 0; }
  .craft-point:nth-child(n+4) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 760px) {
  .wrap, .hero-content, .footer-inner { width: calc(100% - 40px); }
  .site-nav { height: 72px; padding-inline: 20px; }
  .nav-toggle { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(240,236,227,.3); background: transparent; color: var(--cream); cursor: pointer; }
  .menu-glyph, .menu-glyph::before, .menu-glyph::after { display: block; width: 17px; height: 1px; background: var(--cream); }
  .menu-glyph { position: relative; }
  .menu-glyph::before, .menu-glyph::after { position: absolute; left: 0; content: ""; }
  .menu-glyph::before { top: -5px; }.menu-glyph::after { top: 5px; }
  .nav-links { position: absolute; inset: 72px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line-dark); background: rgba(37,37,34,.98); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-book) { padding: 12px 2px; border-bottom: 1px solid var(--line-dark); font-size: 11px; }
  .nav-links .nav-book { align-self: flex-start; margin-top: 14px; }
  .lang-toggle { align-self: flex-start; margin-top: 8px; border: 0; padding: 0; }
  .lang-toggle button { padding: 8px 11px; border: 1px solid var(--line-dark); }
  .hero { min-height: 100svh; padding: 140px 0 82px; }
  .hero .dual-title { font-size: clamp(38px, 11vw, 64px); letter-spacing: .015em; }
  .hero .headline-ar { font-size: .82em; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; margin-top: 27px; }
  .hero-actions .button { min-width: 170px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading .dual-title { font-size: clamp(28px, 8vw, 39px); }
  .project-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-details[open] > summary { width: 100%; }
  .project-name { font-size: 16px; }
  .project-story { padding-top: 55px; }
  .ibn-firnas-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; margin-top: 28px; }
  .story-list { gap: 58px; margin-top: 34px; }
  .story-chapter, .materials-chapter, .story-factory { grid-template-columns: 1fr; gap: 18px; }
  .chapter-photos { gap: 12px; }
  .story-chapter h3, .story-factory h3 { max-width: 100%; }
  .materials-list { gap: 8px 12px; margin-top: 16px; }
  .factory-films { margin-top: 32px; }
  .factory-film-list { grid-template-columns: 1fr; gap: 30px; padding-top: 20px; }
  .factory-film-frame { aspect-ratio: 9 / 16; }
  .craft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 44px; }
  .craft-point, .craft-point + .craft-point { padding: 18px 14px 20px 0; }
  .craft-point:nth-child(2n) { padding-inline-start: 14px; border-inline-end: 0; }
  .craft-point:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .craft-point:nth-child(3) { border-inline-end: 1px solid var(--line-light); }
  .process-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .process-step { scroll-snap-align: start; }
  .process-card figcaption { padding-top: 10px; }
  .why-layout { grid-template-columns: 1fr; gap: 24px; }
  .why-layout ul { grid-template-columns: 1fr; gap: 16px; }
  .why-layout li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
  .visit-layout { grid-template-columns: 1fr; gap: 42px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .field-wide, .form-actions { grid-column: auto; }
  .form-actions { flex-direction: column; }
  .form-actions .button { width: 100%; }
  .visit-details { gap: 0 16px; }
  .visit-map { height: 225px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  .footer-craft { order: 3; width: 100%; }
  .footer-inner small { max-width: 150px; font-size: 8px; }
}
@media (max-width: 390px) {
  .chapter-photos { grid-template-columns: 1fr; }
  .materials-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Batch 1 additions (Ahmed, 22 Nov 2026, task #51) ---- */
.hero-sub { max-width: 560px; margin: 18px 0 0; color: rgba(238,233,223,.88); font-size: 14px; line-height: 1.8; }
.hero-sub .lang-ar { font-size: 18px; line-height: 1.9; }
html[lang="ar"] .hero-sub { margin-left: auto; }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); margin-top: clamp(36px, 5vw, 64px); }
.design-card { margin: 0; }
.design-card .project-caption { padding-top: 14px; }
.design-label { display: inline-block; align-self: flex-start; margin-top: 6px; padding: 3px 9px; border: 1px solid var(--brass-dark); border-radius: 999px; }
html[lang="ar"] .design-label { align-self: flex-end; }
.why-layout ul { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.faq-section { background: var(--cream, #eee9df); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.faq-item { border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 15px; list-style: none; position: relative; padding-inline-end: 26px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 0; color: var(--brass-dark); font-size: 18px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary .lang-ar { font-size: 18px; }
.faq-item p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.faq-item p .lang-ar { font-size: 17px; }
html[lang="ar"] .faq-item { text-align: right; }
@media (max-width: 900px) { .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .design-grid, .faq-list { grid-template-columns: 1fr; } }

/* ---- Batch 2 (Ahmed, 23 Nov 2026, task #51) ---- */
.hero-sub { font-size: 16px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.6); max-width: 600px; }
.hero-shade { background: linear-gradient(0deg, rgba(20,20,18,.94), rgba(20,20,18,.35) 60%, rgba(20,20,18,.16) 80%), linear-gradient(90deg, rgba(20,20,18,.55), transparent 70%); }
html[lang="ar"] .hero-shade { background: linear-gradient(0deg, rgba(20,20,18,.94), rgba(20,20,18,.35) 60%, rgba(20,20,18,.16) 80%), linear-gradient(270deg, rgba(20,20,18,.55), transparent 70%); }
.craft-grid-tight { margin-top: clamp(28px, 4vw, 48px); }
.factory-section { padding-bottom: clamp(60px, 7vw, 100px); }
button.design-card { appearance: none; border: 0; padding: 0; background: none; text-align: inherit; color: inherit; font: inherit; cursor: pointer; width: 100%; position: relative; }
button.design-card:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 4px; }
.design-card .project-image img { transition: transform .6s var(--ease, ease); }
.design-card:hover .project-image img { transform: scale(1.03); }
.gallery-badge { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(20,20,18,.65); color: #fff; display: grid; place-items: center; font-size: 15px; pointer-events: none; }
body.gallery-open { overflow: hidden; }
.gallery-box { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,13,.95); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr; align-items: center; }
.gallery-box[hidden] { display: none; }
.gallery-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 14px 20px; color: #eee9df; }
.gallery-title { margin: 0; flex: 1; font-size: 16px; }
html[lang="ar"] .gallery-title { font-family: var(--font-ar); font-size: 19px; }
.gallery-count { font-size: 13px; opacity: .8; direction: ltr; }
.gallery-close { border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; padding: 0 6px; }
.gallery-stage { margin: 0; height: calc(100vh - 80px); display: grid; place-items: center; }
.gallery-stage { min-height: 0; overflow: hidden; }
.gallery-stage img { max-width: 100%; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); width: auto; height: auto; object-fit: contain; }
.gallery-nav { border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 38px; width: 48px; height: 64px; border-radius: 8px; cursor: pointer; justify-self: center; }
.gallery-nav:hover { background: rgba(255,255,255,.18); }
.gallery-nav[hidden] { visibility: hidden; display: block; }
html[lang="ar"] .gallery-prev { order: 3; } html[lang="ar"] .gallery-next { order: 1; }
html[lang="ar"] .gallery-stage { order: 2; }
@media (max-width: 600px) {
  .gallery-box { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .gallery-stage { height: calc(100vh - 150px); grid-row: 2; }
  .gallery-stage img { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); }
  .gallery-nav { grid-row: 3; position: static; width: 46%; height: 52px; margin-bottom: 14px; }
  .gallery-prev { justify-self: start; margin-inline-start: 4%; } .gallery-next { justify-self: end; margin-inline-end: 4%; grid-column: 1; }
  .hero-sub { font-size: 15px; }
}

/* ---- Batch 3 (Ahmed, 23 Nov 2026): real project + factory photos ---- */
.story-card .project-image, .factory-photo.fit-contain .project-image { aspect-ratio: 4 / 5; background: #1d1c19; }
.story-card .project-image img, .factory-photo.fit-contain .project-image img { object-fit: contain; }
.story-card:hover .project-image img { transform: none; }
.factory-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.factory-photo { margin: 0; }
.factory-photo.fit-cover .project-image { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .factory-photos { grid-template-columns: 1fr 1fr; } .factory-photo.fit-cover { grid-column: 1 / -1; } .factory-photo.fit-cover .project-image { aspect-ratio: 16 / 10; } }

.real-projects { margin-top: clamp(40px, 6vw, 80px); }

.design-group-title { margin: clamp(48px, 6vw, 80px) 0 clamp(18px, 2.5vw, 28px); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); }

/* ---- All-black theme (Marwan via Jumana, 23 Nov 2026, task #57) ---- */
:root { --paper: #0a0a09; --cream-deep: #121211; --charcoal: #0f0f0e; --charcoal-soft: #1b1b19; --ink: #ece7dd; --ink-soft: #b8b2a6; --brass-dark: #c9ab78; --line-light: rgba(240,236,227,.16); }
body, .projects-section, .process-section, .factory-section, .why-section, .site-footer, .visit-section, .faq-section { background: #0a0a09 !important; color: var(--ink); }
.faq-section, .visit-section { border-top: 1px solid rgba(240,236,227,.08); }
.factory-section, .why-section, .site-footer { color: #eee9df; }
body::before { opacity: .03; }
.form-field input, .form-field select, .form-field textarea { background: rgba(255,255,255,.06) !important; color: #ece7dd !important; border-color: rgba(240,236,227,.25) !important; }
.form-field select option { background: #141413; color: #ece7dd; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8f8a80 !important; }
.visit-map { background: #1a1a18 !important; }
.project-image { background: #161614; }
.design-group-title, .section-heading h2, h2, h3 { color: #f1ece2; }
.project-name { color: #ece7dd; } .project-location { color: #a9a397; }
.faq-item summary, .faq-item p { color: #e6e1d7; }
.button-outline { color: #ece7dd; border-color: rgba(240,236,227,.45); }
.button-outline:hover { background: #ece7dd; color: #0a0a09; }

/* Taweela #73 (23 Nov): one-roof tagline under the hero title */
.hero-tagline { max-width: 600px; margin: 14px 0 0; color: rgba(238,233,223,.78); font-size: 15px; letter-spacing: .02em; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hero-tagline .lang-ar { font-size: 19px; }
html[lang="ar"] .hero-tagline { margin-left: auto; }

/* Taweela #76 (23 Nov): Google reviews at the end of the home page */
.reviews-section { border-top: 1px solid var(--line-dark, rgba(240,236,227,.14)); }
.reviews-summary { margin: 0 0 26px; font-size: 15px; color: var(--ink-soft, #b8b2a6); }
.reviews-summary strong { color: var(--ink, #ece7dd); font-weight: 500; font-size: 18px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 30px; }
.review-card { margin: 0; padding: 22px 22px 18px; border: 1px solid rgba(240,236,227,.14); background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #d9cfbf; letter-spacing: .12em; font-size: 14px; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink, #ece7dd); }
.review-card figcaption { margin-top: auto; font-size: 12px; letter-spacing: .06em; color: var(--ink-soft, #b8b2a6); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; }
