/* =========================================================
   Vaart & Vezel — stylesheet
   Palette: Dutch canal water, northern sky, brick, warm orange
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f6f3ee;
  --bg-alt: #eee9e1;
  --surface: #fffdf9;
  --ink: #18252e;
  --ink-soft: #3d4b55;
  --muted: #5f6b73;
  --line: #ddd6ca;
  --canal: #2b4757;
  --canal-deep: #1d3340;
  --sky: #c5d3dc;
  --brick: #964536;
  --orange: #b0561a;
  --orange-hover: #96480f;
  --on-orange: #ffffff;
  --focus: #b0561a;
  --chip: #e9e3d8;
  --field: #ffffff;
  --shadow: 0 1px 2px rgba(24, 37, 46, .05), 0 12px 32px -12px rgba(24, 37, 46, .18);
  --why-bg: #22394a;
  --why-ink: #eef1f3;
  --why-muted: #b9c7d0;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* No-JS fallback: follow OS preference */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { --bg:#0f171c; --bg-alt:#131d24; --surface:#17232b; --ink:#ebe6dd; --ink-soft:#c9c4bb; --muted:#9aa7af; --line:#26353f; --canal:#8fb1c4; --canal-deep:#0b1318; --sky:#2a3d49; --brick:#d08f78; --orange:#e2803a; --orange-hover:#f0944f; --on-orange:#1a0f06; --focus:#f0944f; --chip:#1f2e37; --field:#111b21; --why-bg:#152530; --why-ink:#eef1f3; --why-muted:#a7b6bf; color-scheme: dark; }
}
:root[data-theme="dark"] {
  --bg: #0f171c;
  --bg-alt: #131d24;
  --surface: #17232b;
  --ink: #ebe6dd;
  --ink-soft: #c9c4bb;
  --muted: #9aa7af;
  --line: #26353f;
  --canal: #8fb1c4;
  --canal-deep: #0b1318;
  --sky: #2a3d49;
  --brick: #d08f78;
  --orange: #e2803a;
  --orange-hover: #f0944f;
  --on-orange: #1a0f06;
  --focus: #f0944f;
  --chip: #1f2e37;
  --field: #111b21;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --why-bg: #152530;
  --why-ink: #eef1f3;
  --why-muted: #a7b6bf;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; font-size: 1.04rem; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg use { pointer-events: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--on-orange); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.flip-rtl { transition: transform .25s var(--ease); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brick);
}
.eyebrow-num { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; letter-spacing: .06em; }
.eyebrow-num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: .7rem; opacity: .6; }
.eyebrow--light { color: #f2c9a4; }
.eyebrow--light .eyebrow-num { color: rgba(255,255,255,.7); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .92rem; }

.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.015em; line-height: 1.08;
  margin-bottom: 1.25rem; text-wrap: balance;
}
html[lang="ar"] .section-title, html[lang="ar"] .hero-title { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.section-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.lead-text { font-size: 1.12rem; color: var(--ink); }
.section { padding-block: var(--section); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 42px; padding: 0 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ico { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 8px 22px -10px rgba(196, 98, 31, .7); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:hover .btn-ico.flip-rtl { transform: translateX(3px); }
[dir="rtl"] .btn-primary:hover .btn-ico.flip-rtl { transform: scaleX(-1) translateX(3px); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; color: inherit; transition: background-color .2s, border-color .2s; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--brick); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(to bottom, rgba(10,18,24,.55), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-solid, .site-header.is-open {
  background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before, .site-header.is-open::before { opacity: 0; }
.site-header.is-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { position: relative; display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark .lm-warp { fill: var(--canal); }
.logo-mark .lm-weft { fill: var(--orange); }
.site-header:not(.is-solid):not(.is-open) .logo-mark .lm-warp { fill: #c5d3dc; }
.logo-text { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.main-nav { display: none; margin-inline: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; transition: opacity .2s, background-color .2s; position: relative; }
.main-nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.main-nav a.is-active { opacity: 1; }
.main-nav a.is-active::after { content: ""; position: absolute; inset-inline: .8rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--orange); }
.header-tools { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
.header-cta { display: none; }

.lang-switch { display: flex; align-items: center; gap: .1rem; font-size: .85rem; font-weight: 600; }
.lang-switch a { text-decoration: none; padding: .35rem .5rem; border-radius: 6px; opacity: .72; transition: opacity .2s, background-color .2s; }
.lang-switch a:hover { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.lang-switch a[aria-current="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-switch .sep { width: 1px; height: 14px; background: currentColor; opacity: .3; }
.lang-switch a[lang="ar"] { font-family: var(--font-ar); }
.lang-switch--full { display: none; }
.lang-switch--compact a { min-width: 30px; text-align: center; padding-inline: .3rem; }
@media (max-width: 559px) { .header-tools .theme-menu { display: none; } .header-inner { gap: .5rem; } .logo-text { font-size: 1.15rem; } }

.theme-menu { position: relative; }
.theme-toggle .ti { display: none; }
html[data-theme-mode="auto"] .theme-toggle .ti-auto,
html[data-theme-mode="light"] .theme-toggle .ti-light,
html[data-theme-mode="dark"] .theme-toggle .ti-dark { display: block; }
.theme-pop {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 230px; padding: .45rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.theme-pop button { display: flex; width: 100%; align-items: center; gap: .65rem; padding: .6rem .7rem; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: start; font-size: .92rem; }
.theme-pop button svg { width: 18px; height: 18px; }
.theme-pop button:hover { background: var(--bg-alt); }
.theme-pop button[aria-checked="true"] { background: var(--bg-alt); font-weight: 600; }
.theme-pop button[aria-checked="true"]::after { content: ""; margin-inline-start: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.theme-hint { font-size: .78rem; color: var(--muted); margin: .35rem .7rem .3rem; line-height: 1.45; }

.theme-inline { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-inline button { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: .82rem; color: var(--muted); }
.theme-inline button svg { width: 16px; height: 16px; }
.theme-inline button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.menu-btn .i-close { display: none; }
.site-header.is-open .menu-btn .i-open { display: none; }
.site-header.is-open .menu-btn .i-close { display: block; }
.drawer { border-top: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.drawer ul { display: grid; margin-bottom: 1.25rem; }
.drawer li a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; }
html[lang="ar"] .drawer li a { font-family: var(--font-ar); font-weight: 600; }
.drawer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.lang-switch--drawer a { font-size: .95rem; }

@media (min-width: 560px) {
  .lang-switch--compact { display: none; }
  .lang-switch--full { display: flex; }
}
@media (min-width: 1100px) {
  :root { --header-h: 80px; }
  .main-nav { display: block; }
  .header-tools { margin-inline-start: 0; }
  .header-cta { display: inline-flex; margin-inline-start: .5rem; }
  .menu-btn { display: none; }
  .drawer { display: none !important; }
}
@media (min-width: 1100px) and (max-width: 1260px) {
  .main-nav a { padding-inline: .55rem; font-size: .9rem; }
  .lang-switch a { padding-inline: .35rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: #1c2f3b; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-poster img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster img { animation: drift 28s var(--ease) infinite alternate; transform-origin: 60% 40%; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(9,17,23,.82) 0%, rgba(9,17,23,.35) 45%, rgba(9,17,23,.15) 70%, rgba(9,17,23,.45) 100%),
  radial-gradient(120% 80% at 0% 100%, rgba(150,69,54,.28), transparent 60%); }
[dir="rtl"] .hero-shade { background:
  linear-gradient(to top, rgba(9,17,23,.82) 0%, rgba(9,17,23,.35) 45%, rgba(9,17,23,.15) 70%, rgba(9,17,23,.45) 100%),
  radial-gradient(120% 80% at 100% 100%, rgba(150,69,54,.28), transparent 60%); }
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 8.4vw, 6rem); line-height: 1.02; letter-spacing: -.025em; max-width: 14ch; margin-bottom: 1.4rem; text-wrap: balance; }
html[lang="ar"] .hero-title { font-size: clamp(2.3rem, 7.4vw, 5rem); max-width: 16ch; }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.86); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.5rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; text-decoration: none; color: rgba(255,255,255,.75); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .scroll-cue { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.scroll-cue svg { width: 36px; height: 36px; padding: 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.video-toggle { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.15); color: #fff; cursor: pointer; }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }
@media (min-width: 900px) {
  .hero-content { padding-bottom: 3.5rem; }
  .hero-foot { padding-bottom: 2.25rem; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-media { position: relative; margin: 0; isolation: isolate; }
.about-media picture { display: block; position: relative; }
.about-media picture::before { content: ""; position: absolute; inset: 7% -3.5% -3.5% 14%; background: var(--brick); opacity: .14; border-radius: var(--radius); z-index: -1; }
[dir="rtl"] .about-media picture::before { inset: 7% 14% -3.5% -3.5%; }
@media (max-width: 559px) { .about-media picture::before { inset: 6% -10px -10px 18%; } [dir="rtl"] .about-media picture::before { inset: 6% 18% -10px -10px; } }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.audiences { display: grid; gap: .75rem; margin-top: 2rem; }
.audience { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, transform .25s var(--ease); }
.audience:hover { border-color: color-mix(in srgb, var(--brick) 45%, var(--line)); transform: translateY(-2px); }
.audience-ico { width: 34px; height: 34px; flex: none; color: var(--brick); margin-top: .1rem; }
.audience h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .2rem; }
.audience p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 5fr 6fr; }
}

/* ---------- Fabrics ---------- */
.fabrics { background: var(--bg-alt); }
.fabrics::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--line); }
.fabric-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.fabric-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fabric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fabric-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--chip); }
.fabric-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.fabric-card:hover .fabric-media img { transform: scale(1.06); }
.fabric-index { position: absolute; inset-block-start: .9rem; inset-inline-start: .9rem; font: 600 .75rem/1 var(--font-body); letter-spacing: .1em; color: #fff; background: rgba(15,23,28,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: .45rem .6rem; border-radius: 999px; }
.fabric-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.fabric-body h3 { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: .55rem; letter-spacing: -.01em; }
html[lang="ar"] .fabric-body h3 { font-family: var(--font-ar); font-weight: 700; font-size: 1.4rem; }
.fabric-body p { color: var(--muted); font-size: .97rem; }
.fabric-uses { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 0 !important; padding-top: .4rem; }
.chip { display: inline-block; font-size: .78rem; font-weight: 500; color: var(--ink-soft); background: var(--chip); padding: .3rem .65rem; border-radius: 999px; }
.fabrics-note { margin: clamp(2rem, 4vw, 3rem) 0 0; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
@media (min-width: 680px) { .fabric-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fabric-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.service-list { counter-reset: s; margin-top: 2rem; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.service-num { font: 600 .82rem/1.9 var(--font-body); color: var(--orange); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.service h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .3rem; }
.service p { margin: 0; color: var(--muted); }
.services-media { margin: 0; }
.services-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .services-grid { grid-template-columns: 6fr 5fr; } }

/* ---------- Why ---------- */
.why { background: var(--why-bg); color: var(--why-ink); overflow: hidden; }
.why-weave { position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 75%); }
.why .section-title { color: #fff; }
.why-grid { display: grid; gap: 1rem; position: relative; }
.why-item { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.why-item:hover { background: rgba(255,255,255,.07); border-color: rgba(242,201,164,.35); transform: translateY(-3px); }
.why-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(242,201,164,.4); color: #f2c9a4; margin-bottom: 1.2rem; }
.why-ico svg { width: 30px; height: 30px; }
.why-item h3 { font-size: 1.15rem; font-family: var(--font-body); margin-bottom: .5rem; color: #fff; }
.why-item p { margin: 0; color: var(--why-muted); font-size: .96rem; }
@media (min-width: 680px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.visit-card { margin-top: 2rem; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.visit-card h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 1rem; }
html[lang="ar"] .visit-card h3 { font-family: var(--font-ar); }
.visit-line { display: flex; gap: .8rem; align-items: flex-start; margin: 0 0 1rem; }
.visit-line > svg { width: 20px; height: 20px; flex: none; color: var(--brick); margin-top: .2rem; }
.visit-line .hours { flex: 1; margin: 0; }
.visit-note { font-size: .92rem; color: var(--muted); padding-top: 1rem; border-top: 1px dashed var(--line); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.hours { display: grid; gap: .3rem; margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--ink-soft); }
.hours dd { white-space: nowrap; margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; text-align: end; }

.contact-form { padding: clamp(1.4rem, 3.5vw, 2.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.form-title { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1.4rem; }
html[lang="ar"] .form-title { font-family: var(--font-ar); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .4rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--field); color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field ::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--canal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--canal) 18%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field-error { margin: .35rem 0 0; font-size: .84rem; color: #c0392b; min-height: 0; }
:root[data-theme="dark"] .field-error { color: #f08a7c; }
:root[data-theme="dark"] .field.has-error input, :root[data-theme="dark"] .field.has-error select, :root[data-theme="dark"] .field.has-error textarea { border-color: #f08a7c; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.6rem; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; inset-inline-end: 1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--orange); }
.field-check label { font-weight: 400; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn-submit { margin-top: .6rem; --h: 56px; }
.btn-submit[aria-busy="true"] { opacity: .75; pointer-events: none; }
.form-status { margin: 1rem 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: .9rem 1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, #2e7d5b 12%, var(--surface)); color: color-mix(in srgb, #2e7d5b 70%, var(--ink)); border: 1px solid color-mix(in srgb, #2e7d5b 30%, transparent); }
.form-status.is-error { padding: .9rem 1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, #c0392b 10%, var(--surface)); color: color-mix(in srgb, #c0392b 75%, var(--ink)); border: 1px solid color-mix(in srgb, #c0392b 30%, transparent); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 5fr 6fr; }
  .contact-info { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--canal-deep); color: #d6dde1; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { color: #aebbc3; max-width: 32ch; margin-top: 1rem; }
.logo--footer { color: #fff; }
.logo--footer .logo-mark .lm-warp { fill: #c5d3dc; }
.footer-col h2 { font: 600 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #f2c9a4; margin: 0 0 1rem; }
html[lang="ar"] .footer-col h2 { letter-spacing: 0; font-size: .95rem; font-family: var(--font-ar); }
.footer-col h2:not(:first-child) { margin-top: 1.75rem; }
.footer-list li + li { margin-top: .5rem; }
.footer-list a { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; }
.footer-list a:hover { color: #f2c9a4; }
.footer-list svg { width: 18px; height: 18px; color: #8fb1c4; }
address { font-style: normal; color: #d6dde1; }
.site-footer .hours dt { color: #aebbc3; }
.site-footer .hours dd { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: border-color .2s, background-color .2s; }
.social svg { width: 20px; height: 20px; }
.social:hover { border-color: #f2c9a4; background: rgba(255,255,255,.06); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: #22394a; margin-bottom: .9rem; border: 1px solid rgba(255,255,255,.12); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; text-align: center; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-canal { fill: none; stroke: #3c5a6d; stroke-width: 10; }
.m-street { fill: none; stroke: #2c4757; stroke-width: 3; }
.m-pin { fill: rgba(226,128,58,.25); stroke: #e2803a; stroke-width: 1.5; }
.m-pin-dot { fill: #e2803a; }
.map-load { position: relative; margin-top: 2.5rem; background: rgba(15,23,28,.7); color: #fff; border-color: rgba(255,255,255,.3); }
.map-load:hover { border-color: #fff; }
.map-note { position: relative; font-size: .72rem; line-height: 1.4; color: #c6d1d7; margin: 0; max-width: 34ch; background: rgba(15,23,28,.55); padding: .3rem .5rem; border-radius: 6px; }
.site-footer .text-link { color: #f2c9a4; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #9fb0ba; }
.footer-bottom p { margin: 0; }
.footer-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.site-footer .theme-inline { background: transparent; border-color: rgba(255,255,255,.18); }
.site-footer .theme-inline button { color: #aebbc3; }
.site-footer .theme-inline button[aria-pressed="true"] { background: #fff; color: #0f171c; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }

/* ---------- 404 ---------- */
.page-404 .nf { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1rem; padding: 2rem var(--gutter); max-width: 640px; margin: 0 auto; }
.page-404 .logo { margin-bottom: 2rem; }

/* ---------- Reveal on scroll ---------- */
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-poster img { animation: none; transform: scale(1.04); }
}

@media print {
  .site-header, .hero-media, .hero-shade, .contact-form, .map, .footer-tools { display: none !important; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero-lead { color: #000; }
}
