/* Aalya — site styles. Mobile-first; logical properties so Arabic (RTL) mirrors automatically. */

:root {
  --ivory: #F4EFE7;
  --sand: #D9C8B0;
  --terracotta: #9E5230;
  --olive: #5E6B4E;
  --charcoal: #2B2A27;
  --gold: #FFC020;

  --ink: var(--charcoal);
  --ink-soft: rgba(43, 42, 39, .72);
  --line: rgba(43, 42, 39, .16);
  --line-strong: rgba(43, 42, 39, .34);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track: .2em;
  --caps: uppercase;
  --small: 11.5px;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  --section: clamp(88px, 12vw, 184px);
  --header-h: 80px;
}
html[lang="ar"] {
  --serif: "Amiri", "Noto Naskh Arabic", serif;
  --sans: "Noto Naskh Arabic", "Manrope", system-ui, sans-serif;
  --track: 0;           /* letter-spacing breaks Arabic letter joining */
  --caps: none;
  --small: 14px;
}
@media (min-width: 1100px) { :root { --header-h: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 17px; } }
html[lang="ar"] body { font-size: 17px; line-height: 1.95; }
@media (min-width: 900px) { html[lang="ar"] body { font-size: 18px; } }
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ink); }
h2 { font-size: clamp(2.15rem, 1.4rem + 3.1vw, 4rem); line-height: 1.08; letter-spacing: -.005em; }
h3 { font-size: 1.85rem; font-weight: 400; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 400; line-height: 1.45; letter-spacing: 0; }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; color: var(--terracotta); }
html[lang="ar"] .cta-band h2 em { color: var(--gold); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); }

/* ---------- Type helpers ---------- */
.display {
  font-size: clamp(3rem, 1.6rem + 6.4vw, 7rem);
  line-height: .98;
  letter-spacing: -.015em;
  font-weight: 300;
}
.display--page { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.8rem); }
html[lang="ar"] .display { line-height: 1.3; font-size: clamp(2.6rem, 1.5rem + 5vw, 5.6rem); }
html[lang="ar"] .display--page { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.6rem); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-family: var(--sans); font-size: var(--small); font-weight: 600;
  letter-spacing: var(--track); text-transform: var(--caps);
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: none; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.65; }
.lead--serif { font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); line-height: 1.35; font-weight: 400; margin-bottom: 1em; }
html[lang="ar"] .lead--serif { line-height: 1.8; }
.note { color: var(--ink-soft); font-size: .92rem; }

/* Placeholders for copy still to be supplied */
.ph {
  display: inline; padding: 2px 6px;
  font-family: var(--sans); font-size: .82rem; font-style: normal; letter-spacing: .02em;
  color: var(--terracotta); background: rgba(158, 82, 48, .07);
  border: 1px dashed rgba(158, 82, 48, .55);
}
.ph--block { display: block; padding: 22px 24px; font-size: .95rem; line-height: 1.6; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center;
  letter-spacing: var(--track); text-transform: var(--caps); text-decoration: none;
  border: 1px solid var(--charcoal); border-radius: 0; background: transparent; color: var(--charcoal);
  cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
html[lang="ar"] .btn { font-size: 15px; font-weight: 500; }
.btn--solid { background: var(--terracotta); border-color: var(--terracotta); color: var(--ivory); }
.btn--solid:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.btn--line:hover { background: var(--charcoal); color: var(--ivory); }
.btn--ivory { border-color: var(--ivory); color: var(--ivory); }
.btn--ivory:hover { background: var(--ivory); color: var(--terracotta); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--icon svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 12px; font-weight: 600; letter-spacing: var(--track); text-transform: var(--caps);
  text-decoration: none; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; transition: border-color .3s;
}
html[lang="ar"] .link-arrow { font-size: 15px; font-weight: 500; }
.link-arrow:hover, a:hover .link-arrow { border-bottom-color: var(--gold); }
.arrow { display: inline-block; transition: transform .35s; }
a:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover .arrow, [dir="rtl"] .link-arrow:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .arrow--back { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled, body.menu-open .site-header { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo { height: 54px; width: auto; }
@media (min-width: 1100px) { .logo { height: 68px; } }
.logo--tint { filter: brightness(0) opacity(.86); } /* fallback until a charcoal logo file is supplied */
.logo-ph {
  display: inline-grid; place-items: center;
  width: 108px; height: 42px; border-radius: 50%;
  border: 1px dashed currentColor;
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.logo-ph--charcoal { color: var(--charcoal); }
.logo-ph--yellow { color: var(--gold); width: 140px; height: 54px; }

.nav-main { display: none; }
.nav-main ul { display: flex; gap: clamp(18px, 2.2vw, 40px); }
.nav-main a, .lang-switch a {
  display: block; padding-block: 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s;
}
html[lang="ar"] .nav-main a { font-size: 15px; letter-spacing: 0; }
.nav-main a:hover { border-bottom-color: var(--gold); }
.nav-main a[aria-current="page"] { border-bottom-color: var(--charcoal); }

.header-tools { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; align-items: center; gap: 14px; }
.lang-switch a { color: var(--ink-soft); letter-spacing: .12em; }
.lang-switch a[lang="ar"] { font-family: "Noto Naskh Arabic", var(--sans); font-size: 14px; letter-spacing: 0; padding-block: 4px; }
.lang-switch a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.lang-switch a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.lang-switch--header, .header-cta { display: none; }
@media (min-width: 720px) {
  .lang-switch--header { display: flex; }
  .header-cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
html[lang="ar"] .menu-toggle { font-size: 15px; letter-spacing: 0; }
.menu-toggle__bars { position: relative; width: 22px; height: 7px; border-block: 1px solid currentColor; transition: transform .3s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { height: 1px; border-bottom: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { content: ""; position: absolute; inset: -1px 0 0; border-top: 1px solid currentColor; transform: rotate(-90deg); }

.menu-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ivory); overflow-y: auto;
  padding-block: 24px calc(40px + env(safe-area-inset-bottom));
}
.menu-list { margin-bottom: 40px; }
.menu-list a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 300; line-height: 1.15; text-decoration: none;
}
html[lang="ar"] .menu-list a { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.5; }
.menu-list a[aria-current="page"] { font-style: italic; color: var(--terracotta); }
html[lang="ar"] .menu-list a[aria-current="page"] { font-style: normal; }
.lang-switch--menu { margin-top: 32px; gap: 24px; }
@media (min-width: 1100px) {
  .nav-main { display: block; }
  .menu-toggle, .menu-panel { display: none; }
}

/* ---------- Media & placeholders ---------- */
.media { position: relative; margin: 0; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; background: rgba(43, 42, 39, .06); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.media--ph {
  display: grid; place-items: center; padding: 20px; text-align: center;
  background: rgba(43, 42, 39, .055);
  border: 1px dashed var(--line-strong);
}
.ph-label { display: grid; gap: 8px; max-width: 30ch; font: 12px/1.55 "Manrope", system-ui, sans-serif; color: var(--ink-soft); letter-spacing: .02em; }
.ph-label b { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); }
.ph-label code { font: 10.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .85; direction: ltr; unicode-bidi: isolate; word-break: break-all; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 8vw, 120px) 0; }
.hero-grid { display: grid; gap: 28px; }
.hero-sub { font-size: clamp(1.06rem, .96rem + .45vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 36ch; margin-bottom: 32px; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 64px; }
  .hero-side { padding-bottom: 12px; }
}
.hero h1 { max-width: 11ch; }
html[lang="ar"] .hero h1 { max-width: 13ch; }
.hero-media { margin-top: clamp(40px, 6vw, 88px); }
.media--hero { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .media--hero { aspect-ratio: 3 / 2; } }
@media (min-width: 1100px) { .media--hero { aspect-ratio: 21 / 9; } }
.media--wide { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .media--wide { aspect-ratio: 21 / 9; } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: start; } }
.intro-body { max-width: 56ch; }
.intro-body .link-arrow { margin-top: 12px; }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { max-width: 16ch; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 64px 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 72px 32px; } .cards--two { grid-template-columns: repeat(2, 1fr); gap: 96px 48px; } }
.card > a { display: block; text-decoration: none; }
.card h3, .card-title { margin: 24px 0 8px; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; line-height: 1.1; }
.card-title { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 300; }
.card-kicker { margin: 24px 0 0; font-size: var(--small); font-weight: 600; letter-spacing: var(--track); text-transform: var(--caps); color: var(--ink-soft); }
.card-kicker + .card-title { margin-top: 6px; }
.card p { color: var(--ink-soft); max-width: 36ch; margin-bottom: 18px; }
.card a:hover .media img { transform: scale(1.035); }
.card--soon h3, .card--soon .card-title { color: var(--ink-soft); }
.tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 10.5px; font-weight: 600; letter-spacing: var(--track); text-transform: var(--caps); color: var(--ink-soft); }
html[lang="ar"] .tag { font-size: 13px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 56px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.step::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 56px; height: 2px; background: var(--gold); }
.step-num { display: block; font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300; font-size: 3.6rem; line-height: 1; color: var(--terracotta); }
.step h3 { margin: 20px 0 10px; font-size: 2rem; }
.step p { max-width: 30ch; color: var(--ink-soft); }
.center-actions { margin-top: clamp(56px, 7vw, 96px); text-align: center; }

/* ---------- Settings tiles ---------- */
.settings { display: grid; gap: 40px 24px; }
@media (min-width: 640px) {
  .settings { grid-template-columns: repeat(2, 1fr); }
  .settings > :nth-child(even) { margin-top: clamp(48px, 9vw, 160px); }
}
.tile { display: block; text-decoration: none; }
.tile:hover .media img { transform: scale(1.035); }
.tile-caption { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; }
.tile-caption .arrow { font-family: var(--sans); font-size: 1rem; margin-inline-start: auto; }
.tile-num { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--terracotta); }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.insta a { display: block; text-decoration: none; }
.insta .media--ph { padding: 8px; }
.insta .ph-label code { display: none; }
@media (min-width: 900px) { .insta .ph-label code { display: block; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--terracotta); color: var(--ivory); text-align: center; }
.cta-band h2 { color: var(--ivory); margin-bottom: 20px; }
.cta-band p { max-width: 44ch; margin: 0 auto 40px; opacity: .88; font-size: 1.08rem; }
.rule { display: block; width: 48px; height: 1px; margin: 0 auto 36px; background: var(--gold); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(48px, 9vw, 140px) clamp(48px, 6vw, 96px); }
.page-hero--tall { min-height: 60vh; }
.page-intro { max-width: 52ch; margin-top: 28px; font-size: clamp(1.06rem, .96rem + .45vw, 1.3rem); color: var(--ink-soft); }
.back-link { display: inline-flex; gap: 10px; margin-bottom: 40px; font-size: var(--small); font-weight: 600; letter-spacing: var(--track); text-transform: var(--caps); text-decoration: none; color: var(--ink-soft); }
.back-link:hover { color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); font-size: .9rem; text-decoration: none; transition: background-color .3s, color .3s; }
.jump a:hover { background: var(--charcoal); color: var(--ivory); }

/* ---------- Collection detail ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery .media { aspect-ratio: 1 / 1; }
.gallery > :first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
  .gallery > :first-child { grid-column: 1; grid-row: span 2; aspect-ratio: auto; height: 100%; }
}
.details { display: grid; gap: 64px; }
@media (min-width: 900px) { .details { grid-template-columns: 7fr 5fr; gap: clamp(48px, 8vw, 128px); } }
.details .btn { margin-top: 16px; }
.spec .eyebrow { margin-top: 0; }
.spec-list { margin-bottom: 48px; border-top: 1px solid var(--line); }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; }
html[lang="ar"] .spec-list li { font-size: 1.25rem; line-height: 1.7; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.pager-link { text-decoration: none; }
.pager-link .eyebrow { margin-bottom: 8px; }
.pager-name { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2.5vw, 4rem); font-weight: 300; line-height: 1; display: inline-flex; gap: 20px; align-items: center; }
.pager-name .arrow { font-family: var(--sans); font-size: 1.4rem; }

/* ---------- Spaces ---------- */
.space-grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .space-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
  .space-text { position: sticky; top: calc(var(--header-h) + 48px); }
  .space--alt .space-text { order: 2; }
}
.space-text h2 { margin: 18px 0 32px; }
.space-text p:not(.eyebrow) { max-width: 46ch; }
.space-text .link-arrow { margin-top: 12px; }
.space-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.space-media > :first-child { grid-column: 1 / -1; }
@media (min-width: 960px) { .space-media { gap: 16px; } .space-media > :nth-child(3) { margin-top: 64px; } }

/* ---------- Hospitality ---------- */
.audience { display: grid; gap: 40px; }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; gap: 96px; align-items: end; } }
.audience-list { border-top: 1px solid var(--line-strong); }
.audience-list li { padding: 18px 0; border-bottom: 1px solid var(--line-strong); font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.25; }

/* ---------- About ---------- */
.story { display: grid; gap: 48px; }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: center; } }
.story-text { max-width: 58ch; }
.principles { margin-top: 40px; border-top: 1px solid var(--line); }
.principles li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; }
html[lang="ar"] .principles li { font-style: normal; font-size: 1.25rem; line-height: 1.7; }
.founder { display: grid; gap: 48px; }
@media (min-width: 900px) { .founder { grid-template-columns: 4fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: center; } }
.founder-note { margin: 0; }
.founder-note footer { margin-top: 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 80px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: clamp(64px, 8vw, 128px); align-items: start; } }
.form { display: grid; gap: 48px; }
.form-group { display: grid; gap: 36px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form-group > legend { padding: 0; margin-bottom: 4px; float: inline-start; width: 100%; }
.form-row { display: grid; gap: 36px; }
@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row--3 { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
.field { min-width: 0; }
.field label, .field-label {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: var(--caps); color: var(--ink-soft);
}
html[lang="ar"] .field label, html[lang="ar"] .field-label { font-size: 14px; letter-spacing: 0; font-weight: 500; }
.req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { padding: 14px 16px; border: 1px solid var(--line-strong); resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 1px 0 var(--terracotta); }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field ::placeholder { color: rgba(43, 42, 39, .42); }
.field select {
  padding-inline-end: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232B2A27' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
[dir="rtl"] .field select { background-position: left 2px center; }

.field label.chip { display: block; margin: 0; font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); font-size: .94rem; line-height: 1.3; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover span { border-color: var(--charcoal); }
.chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.55; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--charcoal); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.check input:checked { background: var(--terracotta); border-color: var(--terracotta); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--ivory); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.check--feature { padding: 22px 24px; background: rgba(217, 200, 176, .5); font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; align-items: center; }
html[lang="ar"] .check--feature { font-size: 1.25rem; }
.check--feature input { margin: 0; }
.check a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.check a:hover { text-decoration-color: var(--gold); }
.form > .check:not(.check--feature) { margin-top: -24px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.form-required { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.form-status { margin: 0; padding: 18px 22px; border-inline-start: 2px solid var(--olive); background: rgba(94, 107, 78, .08); }
.form-status.is-error { border-color: var(--terracotta); background: rgba(158, 82, 48, .07); }
.form.is-sent .form-group, .form.is-sent > .check, .form.is-sent .form-actions { display: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-aside { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 40px); } }
.contact-label { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: var(--caps); color: var(--ink-soft); }
html[lang="ar"] .contact-label { font-size: 14px; letter-spacing: 0; }
.contact-big { font-family: "Cormorant Garamond", serif; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .3s; word-break: break-word; }
.contact-big:hover { border-bottom-color: var(--gold); }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 12px; font-size: 1.9rem; font-weight: 400; }
.prose h2:first-child { margin-top: 0; }
.prose a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding-block: clamp(72px, 9vw, 128px) calc(32px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer-logo { display: inline-block; }
.footer-logo .logo { height: 56px; }
.footer-tagline { margin-top: 24px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); line-height: 1.2; max-width: 14ch; }
html[lang="ar"] .footer-tagline { font-style: normal; line-height: 1.6; }
.footer-h { margin: 0 0 18px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: var(--caps); color: rgba(244, 239, 231, .55); }
html[lang="ar"] .footer-h { font-size: 14px; letter-spacing: 0; }
.footer-h--spaced { margin-top: 36px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .lang-switch a { color: rgba(244, 239, 231, .7); }
.site-footer .lang-switch a[aria-current="true"], .site-footer .lang-switch a:hover { color: var(--ivory); border-bottom-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(244, 239, 231, .14); font-size: 12.5px; color: rgba(244, 239, 231, .58); }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45;
  inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--olive); color: var(--ivory);
  box-shadow: 0 8px 28px rgba(43, 42, 39, .2);
  transition: background-color .3s, color .3s, transform .3s;
}
.wa-float:hover { background: var(--charcoal); color: var(--gold); transform: translateY(-2px); }
@media (min-width: 900px) { .wa-float { inset-inline-end: 28px; bottom: 28px; width: 58px; height: 58px; } }
body.menu-open .wa-float { display: none; }

/* ---------- Reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
  .media img, .arrow { transition: none; }
}
.spec-list li.spec-muted { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); }
.founder--solo { grid-template-columns: 1fr; max-width: 820px; }
.founder-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.35; margin-bottom: 0; }
html[lang="ar"] .founder-quote { font-style: normal; font-weight: 400; line-height: 1.8; }
.founder-sign { font-size: var(--small); font-weight: 600; letter-spacing: var(--track); text-transform: var(--caps); color: var(--ink-soft); }
