:root {
  --petroleum: #12383b;
  --limestone: #f4f1e8;
  --charcoal: #17282c;
  --cyan: #20bed0;
  --muted: #536468;
  --line: rgba(23, 40, 44, .22);
  --heading: 'Noto Kufi Arabic', sans-serif;
  --body: 'Noto Sans Arabic', sans-serif;
  --page-pad: clamp(24px, 4.5vw, 72px);
  --content: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-color: var(--petroleum) var(--limestone); }
body { margin: 0; background: var(--limestone); color: var(--charcoal); font-family: var(--body); font-size: 18px; line-height: 1.8; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.55; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a, button { transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--petroleum); outline-offset: 5px; }
img { display: block; max-width: 100%; }
::selection { background: var(--cyan); color: var(--petroleum); }
.skip-link { position: absolute; top: -100px; inset-inline-start: 24px; z-index: 20; background: var(--petroleum); color: var(--limestone); padding: 12px 24px; }
.skip-link:focus { top: 12px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: absolute; top: 0; inset-inline: 0; z-index: 5; max-width: 1600px; margin: auto; padding: 28px var(--page-pad); }
.brand { flex: 0 0 auto; }
.brand-lockup { width: 190px; height: 80px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; font-size: 16px; padding-block: 12px; }
.desktop-nav a::after { content: ''; position: absolute; height: 1px; inset-inline: 0; bottom: 6px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current='location']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-toggle { min-width: 44px; min-height: 44px; padding: 8px; background: none; border: 0; color: var(--petroleum); font-size: 14px; font-weight: 600; }
.header-contact { display: flex; align-items: center; gap: 18px; padding: 12px 18px; background: var(--petroleum); color: var(--limestone); border: 1px solid var(--petroleum); font-size: 15px; }
.header-contact:hover { background: var(--charcoal); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; border: 0; background: none; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--petroleum); margin-block: 6px; }
.mobile-nav { position: absolute; top: 100%; inset-inline: 0; z-index: 10; padding: 16px var(--page-pad) 24px; background: var(--limestone); border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; }

/* One open poster canvas. The fold is actual, text-free brand artwork. */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-frame { position: relative; min-height: clamp(680px, 49vw, 810px); max-width: 1600px; margin: auto; padding-top: 184px; }
.hero-copy { position: relative; z-index: 2; width: 53%; margin-inline-start: 0; margin-inline-end: auto; padding-inline: var(--page-pad) 24px; }
.hero-title { color: var(--petroleum); font-size: clamp(48px, 5.15vw, 82px); line-height: 1.42; font-weight: 800; letter-spacing: 0; }
.hero-title span { display: block; white-space: nowrap; }
.hero-business { max-width: 620px; margin-top: 20px; font-size: 18px; line-height: 1.85; color: var(--petroleum); }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; gap: 20px; font-size: 16px; line-height: 1.6; border: 1px solid transparent; }
.button-dark { background: var(--petroleum); color: var(--limestone); border-color: var(--petroleum); }
.button-dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.ui-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
html[dir='rtl'] .icon-forward { transform: scaleX(-1); }
.button-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; transition: transform 180ms ease; }
.button:hover .button-arrow { transform: translateX(-3px); }
html[dir='ltr'] .button:hover .button-arrow { transform: translateX(3px); }
.hero-secondary { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; font-size: 16px; color: var(--petroleum); }
.hero-secondary:hover .button-arrow { transform: translateX(-3px); }
html[dir='ltr'] .hero-secondary:hover .button-arrow { transform: translateX(3px); }
.hero-visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.corner-art { position: absolute; left: -2%; bottom: -4px; width: 103%; max-width: none; height: auto; transition: opacity 360ms ease, transform 460ms cubic-bezier(.16, 1, .3, 1); }
.corner-art-plan { opacity: 0; visibility: hidden; transform: translateY(12px); }
.hero[data-view='property'] .corner-art-raised { opacity: 0; visibility: hidden; transform: translateY(12px); }
.hero[data-view='property'] .corner-art-plan { opacity: 1; visibility: visible; transform: none; }
.service-switch { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; max-width: calc(var(--content) + 2 * var(--page-pad)); margin: auto; padding: 0 var(--page-pad); }
.service-choice { display: flex; align-items: center; justify-content: center; gap: 18px; position: relative; min-height: 76px; padding: 16px 24px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--petroleum); font-size: 20px; font-weight: 600; }
.service-choice + .service-choice { border-inline-start: 1px solid var(--line); }
.service-choice::after { content: ''; position: absolute; bottom: 0; inset-inline: 24px; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform 220ms ease; }
.service-choice[aria-pressed='true']::after { transform: scaleX(1); }
.service-choice:hover { background: rgba(18, 56, 59, .035); }
.service-choice .ui-icon { width: 26px; height: 26px; flex-basis: 26px; }
.service-note { max-width: 900px; min-height: 38px; margin: 18px auto 0; padding-inline: var(--page-pad); text-align: center; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero { padding-bottom: 68px; }

/* Shared structural styles; chapter composition is in chapters.css. */
.about-section, .services-section, .gallery-section { max-width: calc(var(--content) + 2 * var(--page-pad)); padding-inline: var(--page-pad); margin-inline: auto; }
.about-section { display: grid; grid-template-columns: 1fr 2.25fr; gap: 64px; padding-block: 40px 88px; align-items: start; }
.about-section h2 { font-family: var(--body); font-size: 23px; font-weight: 600; padding-top: 6px; }
.services-section { padding-bottom: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.section-heading p { color: var(--muted); font-size: 17px; }
.inquiry-section { display: grid; grid-template-columns: 1fr 2.25fr; gap: 64px; padding-top: 48px; }
.inquiry-section > h3 { font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--muted); }
.inquiry-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.inquiry-flow li { position: relative; padding-top: 16px; border-top: 1px solid var(--line); }
.inquiry-flow strong { display: block; font-family: var(--body); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.text-link { display: inline-block; font-size: 16px; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--petroleum); }
.gallery-section { padding-bottom: 96px; }
.gallery-layout { display: grid; grid-template-columns: 1.6fr 1fr; align-items: start; gap: clamp(32px, 4vw, 64px); }
.gallery-portrait { padding-top: 80px; }
.gallery-open { position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery-open img { width: 100%; height: auto; transition: transform 400ms ease; }
.gallery-open:hover img { transform: scale(1.02); }
.gallery-enlarge { position: absolute; top: 16px; inset-inline-end: 16px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--limestone); color: var(--petroleum); }
.gallery-open:hover .gallery-enlarge { background: var(--cyan); }
.gallery-layout figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.contact-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 128px); padding: 80px max(var(--page-pad), calc((100vw - var(--content)) / 2)); background: var(--petroleum); color: var(--limestone); }
.contact-lead h2 { max-width: 640px; font-size: clamp(32px, 3.4vw, 46px); }
.contact-lead > p { margin-top: 20px; max-width: 450px; font-size: 18px; color: rgba(244, 241, 232, .8); }
.button-cyan { background: var(--cyan); color: var(--petroleum); margin-top: 28px; }
.button-cyan:hover { background: var(--limestone); }
.contact-person { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(244, 241, 232, .22); }
.contact-person h3 { font-family: var(--body); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.phone-links { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.phone-links a { font-size: 24px; font-family: var(--body); white-space: nowrap; }
.phone-links a:hover { color: var(--cyan); }
.contact-address strong { font-size: 18px; font-weight: 600; }
.contact-address p { margin-top: 8px; max-width: 480px; font-size: 17px; color: rgba(244, 241, 232, .8); }
.contact-address .text-link { margin-top: 20px; }
.contact-section .text-link:hover { color: var(--cyan); }
.contact-section a:focus-visible { outline-color: var(--limestone); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; max-width: calc(var(--content) + 2 * var(--page-pad)); margin: auto; padding: 28px var(--page-pad); font-size: 13px; }
.site-footer a { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline; text-underline-offset: 5px; }
.gallery-dialog { padding: 48px 28px 24px; width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--petroleum); color: var(--limestone); border: 1px solid rgba(244, 241, 232, .25); }
.gallery-dialog::backdrop { background: rgba(10, 27, 29, .82); }
.gallery-modal-image { max-height: calc(100dvh - 200px); width: auto; height: auto; margin: auto; object-fit: contain; }
.gallery-dialog figcaption { text-align: center; margin-top: 16px; font-size: 15px; }
.gallery-close { display: grid; place-items: center; position: absolute; top: 3px; inset-inline-end: 8px; width: 44px; height: 44px; border: 0; background: none; color: var(--limestone); }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; direction: ltr; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(244, 241, 232, .4); background: none; color: var(--limestone); }
.gallery-controls button:hover, .gallery-close:hover { background: var(--cyan); color: var(--petroleum); }
.gallery-dialog button:focus-visible { outline-color: var(--limestone); }
.gallery-count { font-size: 14px; }

html[dir='ltr'] .hero-copy { margin-inline-start: 0; margin-inline-end: auto; padding-inline: var(--page-pad) 24px; }
html[dir='ltr'] .hero-visual { transform: scaleX(-1); }
html[lang='en'] h1 { font-family: var(--body); font-size: clamp(42px, 4.4vw, 68px); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
html[lang='en'] h2, html[lang='en'] h3 { font-family: var(--body); font-weight: 600; }
html[lang='en'] .desktop-nav a::after { transform-origin: left; }

@media (max-width: 1100px) {
  .site-header { padding-block: 20px; gap: 24px; }
  .brand-lockup { width: 174px; height: 74px; }
  .desktop-nav { gap: 22px; }
  .header-actions { gap: 12px; }
  .hero-frame { min-height: 636px; padding-top: 166px; }
  .hero-copy { width: 56%; padding-inline-start: 20px; }
  .hero-title { font-size: clamp(45px, 5.1vw, 58px); }
  .hero-business { font-size: 17px; }
  .hero-cta { gap: 20px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-copy { width: 59%; }
  .hero-frame { min-height: 640px; }
  .corner-art { left: -6%; width: 110%; bottom: 0; }
  .hero-title { font-size: 44px; }
  .hero-cta { gap: 16px; }
  .hero-cta .button { padding-inline: 18px; }
  .hero-secondary { font-size: 15px; gap: 12px; }
  .about-section, .inquiry-section { grid-template-columns: 1fr 2fr; gap: 32px; }
  .inquiry-flow { gap: 24px; }
  .gallery-portrait { padding-top: 48px; }
}
@media (max-width: 680px) {
  :root { --page-pad: 24px; }
  body { font-size: 17px; }
  .site-header { padding-block: 16px; gap: 16px; }
  .brand-lockup { width: 156px; height: 66px; }
  .header-contact { display: none; }
  .header-actions { gap: 4px; }
  .hero-frame { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 126px; }
  .hero-copy { grid-row: 1; width: 100%; margin: 0; padding: 0 var(--page-pad); }
  .hero-title { font-size: clamp(32px, 9.8vw, 49px); line-height: 1.55; }
  .hero-business { font-size: 17px; line-height: 1.9; margin-top: 16px; max-width: 450px; }
  .hero-cta { margin-top: 22px; gap: 16px; flex-wrap: nowrap; }
  .hero-cta .button { min-height: 50px; font-size: 15px; padding: 12px 18px; flex-shrink: 0; }
  .hero-secondary { font-size: 14px; gap: 10px; }
  .hero-secondary .ui-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .hero-visual { grid-row: 2; position: relative; inset: auto; height: clamp(204px, 60vw, 326px); margin-top: 18px; overflow: visible; }
  .corner-art { width: 105%; height: 100%; left: -2.5%; bottom: 0; object-fit: contain; object-position: center bottom; }
  .service-switch { padding-inline: var(--page-pad); }
  .service-choice { min-height: 64px; padding: 14px 8px; font-size: 17px; gap: 12px; }
  .service-choice::after { inset-inline: 8px; }
  .service-choice .ui-icon { width: 23px; height: 23px; flex-basis: 23px; }
  .service-note { font-size: 15px; line-height: 1.8; min-height: 54px; margin-top: 14px; }
  .hero { padding-bottom: 28px; }
  .about-section { grid-template-columns: 1fr; gap: 20px; padding-block: 32px 56px; }
  .about-section h2 { font-size: 22px; padding: 0; }
  .services-section { padding-bottom: 56px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { font-size: 17px; margin-top: 12px; }
  .section-heading > a { margin-top: 16px; }
  .inquiry-section { display: block; padding-top: 36px; }
  .inquiry-section > h3 { margin-bottom: 24px; }
  .inquiry-flow { grid-template-columns: 1fr; gap: 28px; }
  .inquiry-flow strong { font-size: 18px; }
  .gallery-section { padding-bottom: 56px; }
  .gallery-layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery-portrait { padding-top: 0; width: 86%; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; padding-block: 52px; }
  .contact-lead h2 { font-size: 32px; }
  .contact-lead > p { font-size: 17px; }
  .phone-links a { font-size: 24px; }
  .contact-address p { font-size: 17px; }
  .site-footer { flex-wrap: wrap; font-size: 13px; gap: 16px 24px; padding-block: 24px; }
  .site-footer > span:first-child { width: 100%; }
  .gallery-dialog { padding-inline: 16px; }
  html[dir='ltr'] .hero-copy { margin: 0; padding: 0 var(--page-pad); }
  html[lang='en'] h1 { font-size: clamp(27px, 7.6vw, 43px); line-height: 1.25; }
}
@media (max-width: 360px) {
  :root { --page-pad: 20px; }
  .brand-lockup { width: 146px; }
  .hero-title { font-size: 32px; }
  .hero-cta { gap: 12px; }
  .hero-cta .button { padding-inline: 14px; font-size: 14px; }
  .hero-secondary { font-size: 13px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
