/* ==========================================================================
   روزنة هجر — v12: beige & clay, The Year of Handicrafts typeface throughout, Hasawi gypsum ornaments
   ========================================================================== */
/* "The Year of Handicrafts" typeface (Saudi Ministry of Culture) — the exact face of the Hasawi profile the client sent */
@font-face { font-family: "Handicrafts"; src: url("../fonts/handicrafts-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url("../fonts/handicrafts-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url("../fonts/handicrafts-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url("../fonts/handicrafts-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Handicrafts"; src: url("../fonts/handicrafts-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  /* sand & clay, taken from the photos — no pure white anywhere */
  --bg: #efe3cf;
  --bg-2: #e6d5ba;
  --bg-3: #d8c19c;
  --card: #f4eadb;
  --ink: #3a2a1b;
  --ink-2: #67523d;
  --ink-3: #8f7a62;
  --brown: #8b6542;
  --brown-2: #6c4a2e;
  --clay: #a8683c;
  --deep: #3b2a1c;
  --deep-2: #2e2116;
  --cream: #f5ead8;
  --cream-2: rgba(245, 234, 216, .8);
  --cream-3: rgba(245, 234, 216, .55);
  --line: rgba(58, 42, 27, .14);
  --line-d: rgba(245, 234, 216, .16);
  /* place categories */
  --c-nature: #6d7a42;
  --c-heritage: #8b5a32;
  --c-food: #b0603a;
  --c-shop: #a77a2f;

  --display: "Handicrafts", "IBM Plex Sans Arabic", sans-serif;
  --sans: "Handicrafts", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --wrap: min(1240px, 100% - 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.85;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--brown); color: var(--cream); }
section[id] { scroll-margin-top: 76px; }
[hidden] { display: none !important; }

.wrap { width: var(--wrap); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; background: linear-gradient(90deg, var(--bg-3), var(--clay)); transform-origin: right center; transform: scaleX(0); }

/* ---------- Header ---------- */
:root { --edge: clamp(20px, 2.4vw, 44px); }
.header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); color: var(--cream); transition: background-color .4s var(--ease), height .4s var(--ease), color .4s, box-shadow .4s; }
.header.is-solid { --header-h: 72px; color: var(--ink); background: rgba(239, 227, 207, .9); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 12px; width: 100% !important; max-width: none !important; padding-inline: var(--edge) !important; }
.brand { position: relative; display: block; flex: none; }
.brand__logo { display: block; height: 64px; width: auto; transition: height .4s var(--ease), opacity .3s; }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.header.is-solid .brand__logo { height: 50px; }
.header.is-solid .brand__logo--light { opacity: 0; }
.header.is-solid .brand__logo--dark { opacity: 1; }

.nav { display: flex; align-items: stretch; gap: clamp(2px, .5vw, 10px); margin-inline-start: auto; }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px 10px; font-size: .88rem; font-weight: 400; line-height: 1.2; white-space: nowrap; text-align: center; opacity: .88; text-shadow: 0 1px 12px rgba(20, 12, 5, .45); transition: opacity .3s; }
.nav a .ic { width: 27px; height: 27px; stroke-width: 1.3; filter: drop-shadow(0 1px 6px rgba(20, 12, 5, .35)); transition: transform .35s var(--ease), color .3s; }
.nav a::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #e2c48f; opacity: 0; transform: scale(0); transition: opacity .3s, transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { opacity: 1; }
.nav a:hover .ic { transform: translateY(-3px); color: #e2c48f; }
.nav a[aria-current="true"] .ic { color: #e2c48f; }
.nav a:hover::after, .nav a[aria-current="true"]::after { opacity: 1; transform: none; }
.header.is-solid .nav a { text-shadow: none; }
.header.is-solid .nav a .ic { filter: none; }
.header.is-solid .nav a:hover .ic, .header.is-solid .nav a[aria-current="true"] .ic { color: var(--clay); }
.header.is-solid .nav a::after { background: var(--clay); }
@media (max-width: 1480px) { .nav a { padding-inline: 8px; font-size: .82rem; } .nav a .ic { width: 25px; height: 25px; } }
@media (max-width: 1320px) { .nav { gap: 0; } .nav a { padding-inline: 6px; font-size: .78rem; } }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; margin-inline-start: 4px; }
.burger span { position: absolute; inset-inline: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: .98rem; font-weight: 500; line-height: 1;
  background: var(--brown); color: var(--cream); border: 1px solid var(--brown);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--brown-2); border-color: var(--brown-2); transform: translateY(-2px); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(-4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn--ghost { background: rgba(245, 234, 216, .1); color: var(--cream); border-color: rgba(245, 234, 216, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(245, 234, 216, .2); border-color: var(--cream); }
.btn--line { background: transparent; color: var(--brown-2); border-color: rgba(108, 74, 46, .4); }
.btn--line:hover { background: rgba(139, 101, 66, .08); border-color: var(--brown-2); color: var(--brown-2); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--cream); overflow: hidden; background: var(--deep); }
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(46, 33, 22, .45) 0%, rgba(46, 33, 22, 0) 22%, rgba(46, 33, 22, .08) 55%, rgba(46, 33, 22, .72) 100%),
    linear-gradient(270deg, rgba(46, 33, 22, .5) 0%, rgba(46, 33, 22, 0) 55%);
}
.hero__content { position: absolute; inset: 0; display: flex; align-items: center; padding-top: 40px; }
.hero__content > .wrap { width: 100%; padding-inline: var(--edge); padding-bottom: 4vh; }
.hero__tag { margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); font-weight: 600; letter-spacing: 0; color: var(--cream); text-shadow: 0 2px 14px rgba(30, 20, 10, .6); display: inline-flex; align-items: center; gap: 14px; }
.hero__tag::before { content: ""; width: 44px; height: 1.5px; background: currentColor; opacity: .8; }
.hero__h1 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--cream); text-shadow: 0 10px 50px rgba(30, 20, 10, .45); }
.hero__name { display: block; font-weight: 400; font-size: clamp(4rem, 2rem + 7.4vw, 8.4rem); line-height: 1.15; }
.hero__sub { display: block; margin-top: clamp(18px, 2.2vw, 34px); font-weight: 500; font-size: clamp(.9rem, .55rem + 1.35vw, 1.55rem); line-height: 1.4; white-space: nowrap; color: #f0dcbc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { position: absolute; inset-inline: 0; bottom: 74px; z-index: 3; }
.hero__bar .wrap { display: flex; justify-content: flex-end; width: 100%; padding-inline: var(--edge); }
.scrollcue { display: inline-flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--cream-2); }
.scrollcue__line { position: relative; width: 1px; height: 42px; background: rgba(245, 234, 216, .25); overflow: hidden; }
.scrollcue__line::after { content: ""; position: absolute; inset: 0; background: var(--bg-3); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__controls { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(46, 33, 22, .42); border: 1px solid rgba(245, 234, 216, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__credit { margin-inline-end: 6px; font-size: .78rem; color: var(--cream-3); white-space: nowrap; transition: color .25s; }
.hero__credit span { font-family: var(--latin); letter-spacing: .03em; direction: ltr; unicode-bidi: isolate; }
.hero__credit:hover { color: var(--cream); }
.vidctl { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; color: var(--cream); background: transparent; transition: background-color .3s, color .3s; }
.vidctl:hover { background: rgba(245, 234, 216, .14); }
.vidctl .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.vidctl .ic--play { display: none; }
.vidctl.is-paused .ic--pause { display: none; }
.vidctl.is-paused .ic--play { display: block; }
.vidctl--sound .ic { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.vidctl--sound .ic--snd { display: none; }
.vidctl--sound.is-on .ic--snd { display: block; }
.vidctl--sound.is-on .ic--mute { display: none; }
.vidctl--sound.is-on { background: var(--bg-3); color: var(--deep); }
.hero [data-in] { opacity: 0; transform: translateY(24px); animation: rise 1.2s var(--ease) forwards; }
.hero [data-in="2"] { animation-delay: .15s; }
.hero [data-in="3"] { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Hasawi gypsum ornaments ----------
   The interlocking-circle lattice of the perforated gypsum windows (الجص المفرّغ) in Qasr Ibrahim
   and the old houses of Al-Ahsa, the triangle borders of the same panels, and their eight-petal rosette. */
.gyp-edge { position: absolute; inset: auto 0 0 0; height: 50px; z-index: 2; pointer-events: none;
  background: #2b221a url("../img/orn/gyp-band-carved.svg") center 5px / 40px 40px repeat-x; }
.band-gyp { height: 30px; background: url("../img/orn/gyp-band.svg") center / 30px 30px repeat-x; opacity: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.orn-ro { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: url("../img/orn/rosette.svg") center / contain no-repeat; mask: url("../img/orn/rosette.svg") center / contain no-repeat; }
.eyebrow::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: url("../img/orn/rosette.svg") center / contain no-repeat; mask: url("../img/orn/rosette.svg") center / contain no-repeat; }
/* a lace frame inside photographs */
.frame-gyp { position: relative; }
.frame-gyp::after { content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none; border-radius: 10px;
  border: 1px solid rgba(245, 234, 216, .55); box-shadow: inset 0 0 0 4px rgba(245, 234, 216, .12); }
/* triangle border on the top edge of cards */
.goal-list li, .svc, .pillar { position: relative; }
.goal-list li::before, .svc::before, .pillar::before { content: ""; position: absolute; top: 0; inset-inline: 22px; height: 8px; opacity: .55;
  background: url("../img/orn/tri.svg") center top / 14px 8px repeat-x; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(76px, 9vw, 130px) 0; }
.sec--alt { background: var(--bg-2); }
.sec--deep { background: var(--deep); color: var(--cream); }
.sec--sand { background: var(--bg-3); }
.sec--sand .eyebrow { color: var(--brown-2); }
.sec--sand .h2 em { color: #874c22; }
.sec--sand .head__note { color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 1.02rem; font-weight: 600; color: var(--clay); }
.eyebrow::after { content: ""; width: 84px; height: 10px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 10'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-opacity='.3'/%3E%3Cstop offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 5l4-4 4 4-4 4z'/%3E%3Crect x='12' y='4.5' width='72' height='1' fill='url(%23g)'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 10'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-opacity='.3'/%3E%3Cstop offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 5l4-4 4 4-4 4z'/%3E%3Crect x='12' y='4.5' width='72' height='1' fill='url(%23g)'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec--deep .eyebrow { color: var(--bg-3); }
.h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.3; letter-spacing: 0; text-wrap: balance; }
.h2 em { font-style: normal; color: var(--clay); }
.sec--deep .h2 em, .banner .h2 em, .booking .h2 em { color: #e2c597; }
.lead { font-size: 1.12rem; font-weight: 300; color: var(--ink-2); text-wrap: pretty; }
.head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 20px 56px; margin-bottom: clamp(36px, 5vw, 60px); }
.head__note { color: var(--ink-2); font-size: 1rem; }
.sec--deep .head__note { color: var(--cream-3); }
.sub-h { margin: clamp(48px, 6vw, 72px) 0 22px; font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--brown-2); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
.js [data-reveal="4"] { transition-delay: .3s; }
.js [data-clip] { clip-path: inset(10% 6% 10% 6% round 14px); transition: clip-path 1.5s var(--ease); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0 round 0); }

/* category colours */
.cat--nature { --cc: var(--c-nature); }
.cat--heritage { --cc: var(--c-heritage); }
.cat--food { --cc: var(--c-food); }
.cat--shop { --cc: var(--c-shop); }

/* ---------- Al-Ahsa + map ---------- */
.ahsa__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 64px; align-items: end; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 5vw, 60px) 0 clamp(36px, 4vw, 48px); border-block: 1px solid var(--line); }
.facts li { padding: 22px 0; padding-inline-end: 18px; }
.facts li + li { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
.facts b { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.2; color: var(--brown-2); }
.facts b small { font-family: var(--sans); font-weight: 400; font-size: .9rem; color: var(--ink-3); }
.facts span { display: block; margin-top: 2px; font-size: .92rem; color: var(--ink-2); }

.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cat { --cc: var(--brown); display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: .95rem; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s; }
.cat .ic { color: var(--cc); width: 21px; height: 21px; }
.cat:hover { border-color: var(--cc); }
.cat.is-on { background: var(--cc); border-color: var(--cc); color: var(--cream); }
.cat.is-on .ic { color: var(--cream); }

.explore { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 18px; height: clamp(540px, 80vh, 740px); }
.places { overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 10px; padding-inline-end: 4px; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; }
.place { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: start; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
button.place:hover, .place.is-active { border-color: var(--brown); box-shadow: 0 14px 30px -20px rgba(58, 42, 27, .5); }
.place img { width: 84px; height: 68px; flex: none; object-fit: cover; border-radius: 10px; background: var(--bg-3); }
.place b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.place small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.6; color: var(--ink-2); }
.place__cat { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--cc); }
.place__cat .ic { width: 14px; height: 14px; }
.place__ic { --cc: var(--brown); display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--cc) 14%, var(--card)); color: var(--cc); }
.place__ic .ic { width: 26px; height: 26px; }

.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ink-3); font-size: .95rem; }
.map__ph .ic { width: 34px; height: 34px; }
/* the map itself lives in atlas.css */

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__lattice { position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none;
  background: url("../img/orn/gyp-faint.svg") center top / 64px 64px repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
.about .wrap { position: relative; }
.poem { position: relative; max-width: 1040px; margin: 0 auto clamp(64px, 8vw, 110px); padding: clamp(30px, 4vw, 48px) clamp(18px, 4vw, 56px);
  text-align: center; background: rgba(244, 234, 219, .75); border-radius: 22px; border: 1px solid var(--line); }
.poem::before, .poem::after { content: ""; position: absolute; inset-inline: 0; height: 22px;
  background: url("../img/orn/gyp-band.svg") center / 22px 22px repeat-x; opacity: .75; }
.poem::before { top: 0; border-radius: 22px 22px 0 0; }
.poem::after { bottom: 0; border-radius: 0 0 22px 22px; }
.poem__orn { display: block; width: 34px; height: 34px; margin: 6px auto 14px; color: var(--clay); background: currentColor;
  -webkit-mask: url("../img/orn/rosette.svg") center / contain no-repeat; mask: url("../img/orn/rosette.svg") center / contain no-repeat; }
.poem blockquote { display: grid; gap: 6px; margin-bottom: 10px; }
.poem p { display: grid; grid-template-columns: 1fr 1fr; gap: 6px clamp(28px, 14vw, 300px); font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, .8rem + 1.6vw, 2.15rem); line-height: 1.75; color: var(--brown-2); }
.poem p span { white-space: nowrap; }
@media (min-width: 981px) {
  .poem { max-width: none; margin-inline: calc((100% - min(1600px, 100vw - 96px)) / 2); padding-inline: clamp(40px, 4vw, 70px); padding-block: clamp(46px, 4.5vw, 64px); }
  /* the rosette sits between the two halves of the verses */
  .poem__orn { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: 0; translate: -50% -50%; }
  .poem blockquote { margin-bottom: 0; }
}
.poem p span:first-child { text-align: start; }
.poem p span:last-child { text-align: end; }
.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about__title { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.6rem); }
@media (min-width: 981px) { .about__title { white-space: nowrap; } }
.statement { margin-top: 26px; font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, .95rem + 1vw, 1.8rem); line-height: 1.85; color: var(--ink); text-wrap: pretty; }
.statement b { font-weight: 700; color: var(--clay); }
.areas { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.areas__h { display: block; font-size: .95rem; font-weight: 600; color: var(--clay); margin-bottom: 14px; }
.areas__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.areas__list li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); text-align: center; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.areas__list li:hover { transform: translateY(-3px); border-color: rgba(168, 104, 60, .35); box-shadow: 0 16px 30px -22px rgba(58, 42, 27, .55); }
.areas__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(168, 104, 60, .12); color: var(--clay); }
.areas__ic .ic { width: 26px; height: 26px; stroke-width: 1.4; }
.areas__p { margin-top: 16px; font-family: var(--display); font-weight: 500; font-size: 1.22rem; line-height: 1.85; color: var(--ink); }
@media (max-width: 600px) { .areas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about__side { display: grid; gap: 18px; }
.about__photo { overflow: hidden; border-radius: 18px; background: var(--bg-3); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about__photo figcaption { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 40px 22px 18px; font-size: .86rem; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(46, 33, 22, .75)); }
.define { position: relative; padding: 26px 28px 26px; border-radius: var(--r); background: linear-gradient(160deg, #fbf4e8, var(--card)); border: 1px solid rgba(168, 104, 60, .22); box-shadow: 0 22px 44px -30px rgba(58, 42, 27, .45); }
.define::before { content: ""; position: absolute; inset-block: 26px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--clay), rgba(168, 104, 60, .2)); }
.define__h { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.3; color: var(--brown-2); }
.define__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(168, 104, 60, .12); color: var(--clay); }
.define__ic .ic { width: 24px; height: 24px; stroke-width: 1.5; }
.define p { margin-top: 14px; font-family: var(--display); font-weight: 500; font-size: 1.18rem; line-height: 1.9; color: var(--ink); }
.about__block { margin-top: clamp(64px, 8vw, 100px); scroll-margin-top: 90px; }
.about__block .sub-h { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.about__block .sub-h .orn-ro { color: var(--clay); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svc::before { display: none; }
.svc:hover { transform: translateY(-4px); border-color: rgba(168, 104, 60, .35); box-shadow: 0 22px 40px -28px rgba(58, 42, 27, .65); }
/* the icon sits in a small pointed arch, a «روزنة» window */
.svc__ic { display: grid; place-items: center; width: 56px; height: 66px; padding-top: 10px; margin-bottom: 6px; color: var(--cream);
  background: linear-gradient(170deg, #b77a4b, var(--brown-2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 76'%3E%3Cpath d='M0 76V30C0 14 18 8 32 0C46 8 64 14 64 30V76Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 76'%3E%3Cpath d='M0 76V30C0 14 18 8 32 0C46 8 64 14 64 30V76Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; transition: background .35s; }
.svc:hover .svc__ic { background: linear-gradient(170deg, var(--clay), #4f3420); }
.svc__ic .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.svc b { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.4; }
.svc p { color: var(--ink-2); font-size: 1rem; line-height: 1.8; }
.svc a { position: static; margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(168, 104, 60, .3); display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--clay); text-decoration: none; }
.svc a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc a .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform .3s var(--ease); }
.svc:hover a .ic { transform: translateX(-4px); }
.svc a:focus-visible { outline: none; }
.svc:focus-within { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(168, 104, 60, .25); }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dest { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 18px; overflow: hidden; background: var(--bg-3); color: var(--cream); text-align: start; isolation: isolate; box-shadow: 0 24px 50px -32px rgba(46, 33, 22, .6); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46, 33, 22, 0) 35%, rgba(46, 33, 22, .55) 62%, rgba(46, 33, 22, .92) 100%); }
.dest:hover img { transform: scale(1.06); }
.dest__body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; }
.dest__cat { --cc: var(--brown); display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 500; background: color-mix(in srgb, var(--cc) 82%, transparent); color: var(--cream); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dest__cat .ic { width: 14px; height: 14px; }
.dest__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1rem + .6vw, 1.6rem); line-height: 1.3; }
.dest__short { font-size: .86rem; line-height: 1.6; color: var(--cream-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* place dialog */
.place-dlg { padding: 0; border: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 40px); border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(46, 33, 22, .7); overflow: hidden; }
.place-dlg::backdrop { background: rgba(46, 33, 22, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.place-dlg[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.place-dlg__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; max-height: calc(100vh - 40px); }
.place-dlg__img { position: relative; background: var(--deep); min-height: 320px; overflow: hidden; touch-action: pan-y; }
.place-dlg__img > img { animation: pgIn .45s ease; }
@keyframes pgIn { from { opacity: .35; } to { opacity: 1; } }
.place-dlg__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 46px 18px 84px; font-size: .86rem; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(46, 33, 22, .78)); pointer-events: none; }
.place-dlg__cap:empty { display: none; }
.pg-btn { position: absolute; top: 50%; z-index: 2; display: none; place-items: center; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; background: rgba(46, 33, 22, .55); color: var(--cream); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.pg-btn:hover { background: rgba(46, 33, 22, .8); }
.pg-prev { right: 12px; } .pg-next { left: 12px; }
.is-multi .pg-btn { display: grid; }
.pg-thumbs { position: absolute; inset-inline: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; padding: 0 12px; }
.pg-thumbs button { width: 56px; height: 42px; flex: none; overflow: hidden; border-radius: 8px; border: 2px solid rgba(245, 234, 216, .45); opacity: .75; transition: opacity .2s, border-color .2s, transform .2s; }
.pg-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs button.is-on { opacity: 1; border-color: var(--cream); transform: translateY(-2px); }
.place-dlg__img img { width: 100%; height: 100%; object-fit: cover; }
.place-dlg__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.place-dlg__body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.3; }
.place-dlg__body p { color: var(--ink-2); font-size: 1.04rem; }
.place-dlg__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.place-dlg__close { position: absolute; top: 14px; left: 14px; background: rgba(46, 33, 22, .55); color: var(--cream); border-color: transparent; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Crafts: large pictures with the words on them ---------- */
.crafts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cpanel { position: relative; overflow: hidden; border-radius: 22px; background: var(--deep); aspect-ratio: 4 / 5; max-height: 92vh; box-shadow: 0 40px 80px -44px rgba(46, 33, 22, .7); }
.cpanel video, .cpanel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cpanel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(46, 33, 22, 0) 38%, rgba(46, 33, 22, .55) 62%, rgba(46, 33, 22, .92) 100%); }
.cpanel__text { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding: clamp(24px, 3.4vw, 46px); color: var(--cream); }
.cpanel__sub { font-size: .92rem; color: #e2c597; }
.cpanel h3 { margin: 2px 0 10px; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.6rem); line-height: 1.15; }
.cpanel blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.6; color: var(--cream-2); }
.cpanel--wide { margin-top: 18px; aspect-ratio: 21 / 9; }
.cpanel--wide > img { object-position: center 58%; }

/* ---------- Events ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ev { display: grid; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.ev__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.ev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev:hover .ev__img img { transform: scale(1.04); }
.ev__body { padding: 20px 22px 26px; }
.ev__img--orn { position: relative; display: grid; place-content: center; justify-items: center; gap: 6px; color: #e2c597;
  background: url("../img/orn/gyp-lace-dark.svg") center / 34px 34px repeat, radial-gradient(circle at 50% 45%, #6c4a2e, #2e2116 75%); }
.ev__img--orn .ic { width: 52px; height: 52px; stroke-width: 1.2; }
.ev__img--orn span { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--cream); }
.ev__when { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--clay); }
.ev__when .ic { width: 18px; height: 18px; }
.ev h3 { margin: 6px 0 6px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.15rem + .6vw, 1.75rem); line-height: 1.35; }
.ev p { color: var(--ink-2); font-size: .95rem; line-height: 1.75; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.news:empty { display: none; }
.news__h { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: clamp(40px, 5vw, 64px) 0 0; }
.news__h .orn-ro { color: var(--clay); }
.news__card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.news__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.news__img img { width: 100%; height: 100%; object-fit: cover; }
.news__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news__date { font-size: .85rem; color: var(--clay); }
.news__body h3 { font-family: var(--display); font-size: 1.3rem; line-height: 1.5; }
.news__body p { color: var(--ink-2); font-size: .98rem; }
.news__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brown-2); }

/* ---------- Trips: public / students tabs ---------- */
.trips { padding-top: 0; }
.trips .band-gyp { margin-bottom: clamp(60px, 8vw, 110px); }
#trips, #activities { scroll-margin-top: 90px; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; margin-bottom: clamp(28px, 4vw, 44px); border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink-2); transition: background-color .25s, color .25s; }
.tab .ic { width: 22px; height: 22px; }
.tab.is-on { background: var(--ink); color: var(--cream); }
.tab:not(.is-on):hover { background: var(--bg-2); }
.tpanel { animation: tpIn .5s var(--ease); }
@keyframes tpIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tpanel__k { font-size: .95rem; font-weight: 600; color: var(--clay); }
.tpanel__h { margin: 4px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.3; }
.tpanel__h em { font-style: normal; color: var(--clay); }

/* ---------- Initiative: school trips ---------- */
.init__top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px clamp(36px, 6vw, 90px); align-items: center; }
.init__text .lead { margin-top: 16px; }
.fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fields li { padding: 7px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--brown-2); }
.init__note { margin-top: 18px; color: var(--ink-2); }
.init__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.init__photo { overflow: hidden; border-radius: 22px; background: var(--bg-3); }
.init__photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
#activities { display: flex; align-items: center; gap: 12px; scroll-margin-top: 90px; }
#activities .orn-ro { color: var(--clay); }
.acts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.act { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.act:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(46, 33, 22, .55); }
.act__ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: var(--bg-2); color: var(--brown-2); }
.act__ic .ic { width: 28px; height: 28px; stroke-width: 1.4; }
.act b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.35; }
.act span:last-child { font-size: .9rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- Identity ---------- */
.banner { position: relative; height: clamp(460px, 80vh, 760px); overflow: hidden; color: var(--cream); background: var(--deep); }
.banner__img { position: absolute; inset: -12% 0; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: sepia(.18) brightness(.92); }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 33, 22, .35) 0%, rgba(46, 33, 22, .12) 40%, rgba(46, 33, 22, .85) 100%); }
.banner__content { position: absolute; inset-inline: 0; bottom: clamp(48px, 8vh, 100px); }
.banner .eyebrow { color: #e2c597; }
.banner .h2 { color: var(--cream); font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.2rem); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1060px; margin-inline: auto; }
.pillar { padding: 24px 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pillar__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); color: var(--clay); }
.pillar__ic .ic { width: 22px; height: 22px; stroke-width: 1.5; }
.pillar h3 { margin: 10px 0 4px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.pillar p { color: var(--ink-2); font-size: .88rem; line-height: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 20vw, 300px); grid-auto-flow: dense; gap: 12px; margin-top: 20px; }
.gallery button { position: relative; overflow: hidden; border-radius: 16px; background: var(--bg-3); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery__zoom { position: absolute; bottom: 14px; inset-inline-start: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(46, 33, 22, .6); color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.gallery button:hover .gallery__zoom { opacity: 1; transform: none; }

/* ---------- Goals ---------- */
.goal-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
/* each goal is a small plaque crowned with the carved gypsum band chosen for the site */
.goal-list li { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 52px 22px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.goal-list li::before { inset: 0 0 auto 0; height: 30px; opacity: 1; background: #2b221a url("../img/orn/gyp-band-carved.svg") center 3px / 24px 24px repeat-x; }
.goal-list li:hover { transform: translateY(-4px); border-color: rgba(168, 104, 60, .3); box-shadow: 0 20px 36px -26px rgba(58, 42, 27, .6); }
.goal__n { display: block; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--clay); }
.goal-list p { font-family: var(--display); font-weight: 500; font-size: 1.14rem; line-height: 1.7; }

/* ---------- Booking ---------- */
.booking { position: relative; overflow: hidden; padding-bottom: 0; color: var(--cream); background: var(--deep); }
.booking__img { position: absolute; inset: -10% 0; }
.booking__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.booking__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46, 33, 22, .15) 0%, rgba(46, 33, 22, .55) 45%, rgba(46, 33, 22, .92) 100%); }
.booking__in { position: relative; padding: clamp(100px, 14vw, 190px) 0; }
.booking__box { max-width: 560px; }
.booking .eyebrow { color: #e2c597; }
.booking .h2 { color: var(--cream); }
.booking .lead { margin-top: 14px; color: var(--cream-2); }
.booking__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.booking .btn { background: var(--bg-3); border-color: var(--bg-3); color: var(--deep); }
.booking .btn:hover { background: var(--cream); border-color: var(--cream); }
.booking__hint { margin-top: 16px; font-size: .88rem; color: var(--cream-3); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--deep); color: var(--cream-2); padding: clamp(80px, 10vw, 120px) 0 30px; }
.footer__mark { position: absolute; inset-inline-start: -8%; bottom: -14%; width: min(1100px, 120vw); height: auto; opacity: .04; pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 44px; }
.footer__logo img { display: block; width: min(280px, 70vw); height: auto; }
.footer__tag { display: block; margin-top: 14px; font-family: var(--latin); letter-spacing: .42em; font-size: .74rem; color: var(--cream-3); }
.footer h4 { margin: 0 0 16px; font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: #e2c597; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { transition: color .25s; }
.footer ul a:hover { color: var(--cream); }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact .ic { color: #e2c597; }
.contact a { direction: ltr; unicode-bidi: isolate; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); transition: border-color .3s, color .3s; }
.social a:hover { border-color: #e2c597; color: #e2c597; }
.credits { position: relative; margin-top: 44px; font-size: .85rem; color: var(--cream-3); }
.credits summary { cursor: pointer; width: fit-content; color: var(--cream-2); }
.credits p { margin: 12px 0 8px; }
.credits ul { display: grid; gap: 6px; }
.credits a { text-decoration: underline; text-underline-offset: 3px; }
.credits a:hover { color: #e2c597; }
.footer__bottom { position: relative; margin-top: clamp(50px, 7vw, 90px); padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .85rem; color: var(--cream-3); }

/* ---------- Floating WhatsApp ---------- */
.wa { position: fixed; z-index: 80; left: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #2f9d5a; color: var(--cream); box-shadow: 0 16px 34px -12px rgba(46, 33, 22, .55); opacity: 0; pointer-events: none; transform: translateY(16px) scale(.9); transition: transform .4s var(--ease), opacity .4s; }
.wa.is-on { opacity: 1; pointer-events: auto; transform: none; }
.wa.is-on:hover { transform: scale(1.08); }
.wa .ic { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(36, 26, 17, .95); color: var(--cream); }
.lightbox::backdrop { background: rgba(36, 26, 17, .95); }
.lightbox[open] { display: grid; place-items: center; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { max-width: min(92vw, 1100px); max-height: 86vh; }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--cream-3); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(245, 234, 216, .3); color: var(--cream); transition: background-color .25s; }
.lb-btn:hover { background: rgba(245, 234, 216, .12); }
.lb-close { top: 22px; left: 22px; }
.lb-prev { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Mobile menu ---------- */
/* a calm list: one section per row, the icon beside its name, the booking button kept within thumb reach */
.menu { position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; padding: calc(var(--header-h) + env(safe-area-inset-top) + 8px) 20px calc(18px + env(safe-area-inset-bottom)); background: var(--bg); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; overscroll-behavior: contain; }
.menu::before { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; opacity: .55;
  background: url("../img/orn/gyp-faint.svg") center bottom / 64px 64px repeat;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__list { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); margin-inline: auto; border-top: 1px solid var(--line); }
.menu__list a { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.22rem; line-height: 1.35; color: var(--ink);
  opacity: 0; transform: translateX(14px); transition: opacity .4s var(--ease), transform .45s var(--ease), background-color .2s; }
.menu__list a > .ic { width: 23px; height: 23px; flex: none; color: var(--clay); stroke-width: 1.5; }
.menu__list a span { flex: 1; }
.menu__list .menu__go { width: 18px; height: 18px; color: var(--ink-3); stroke-width: 1.8; transition: transform .25s var(--ease), color .2s; }
.menu__list a:hover .menu__go, .menu__list a:active .menu__go { color: var(--clay); transform: translateX(-4px); }
.menu__list a:active { background: rgba(139, 101, 66, .08); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list a:nth-child(2) { transition-delay: 0.030s; }
.menu.is-open .menu__list a:nth-child(3) { transition-delay: 0.060s; }
.menu.is-open .menu__list a:nth-child(4) { transition-delay: 0.090s; }
.menu.is-open .menu__list a:nth-child(5) { transition-delay: 0.120s; }
.menu.is-open .menu__list a:nth-child(6) { transition-delay: 0.150s; }
.menu.is-open .menu__list a:nth-child(7) { transition-delay: 0.180s; }
.menu.is-open .menu__list a:nth-child(8) { transition-delay: 0.210s; }
.menu.is-open .menu__list a:nth-child(9) { transition-delay: 0.240s; }
.menu__foot { position: relative; width: min(560px, 100%); margin: auto auto 0; padding-top: 22px; }
.menu__foot .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
.menu-open .rz-ai-launch, .menu-open .wa { opacity: 0; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: block; }
  .burger { margin-inline-start: auto; }
  .dest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ahsa__head, .about__grid, .init__top { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 12px; font-size: 1rem; }
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpanel--wide { aspect-ratio: 16 / 10; }
  .head { grid-template-columns: 1fr; }
  .explore { grid-template-columns: 1fr; height: auto; }
  .map { order: -1; height: min(74vh, 560px); }
  .places { max-height: none; overflow: visible; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .place { scroll-snap-align: start; }
  .dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; }
  .goal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-list li:last-child { grid-column: 1 / -1; }
  .place-dlg__in { grid-template-columns: 1fr; overflow-y: auto; }
  .place-dlg__img { min-height: 0; aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .booking__shade { background: linear-gradient(180deg, rgba(46, 33, 22, .3) 0%, rgba(46, 33, 22, .9) 70%); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 38vw, 280px); }
}
@media (max-width: 600px) {
  :root { --wrap: min(1240px, 100% - 32px); --header-h: 70px; --edge: 16px; }
  body { font-size: 16px; }
  .brand__logo { height: 36px; }
  .burger { margin-inline-start: auto; }
  .hero__content { align-items: flex-end; padding-top: 0; padding-bottom: 128px; }
  .hero__content > .wrap { padding-bottom: 0; }
  .hero__name { font-size: clamp(2.9rem, 14vw, 3.6rem); line-height: 1.1; }
  .hero__sub { margin-top: 10px; }
  .hero__tag { margin-top: 10px; }
  .hero__shade { background: linear-gradient(180deg, rgba(46, 33, 22, .4) 0%, rgba(46, 33, 22, 0) 18%, rgba(46, 33, 22, 0) 45%, rgba(46, 33, 22, .55) 70%, rgba(46, 33, 22, .85) 100%); }
  .hero__sub { font-size: min(.9rem, 3.75vw); }
  .hero__tag { font-size: 1rem; gap: 10px; }
  .hero__tag::before { width: 28px; }
  .hero__bar { bottom: 54px; }
  .vidctl { width: 36px; height: 36px; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dest { border-radius: 14px; }
  .dest__body { padding: 12px 12px 14px; }
  .dest__short { display: none; }
  .dest__cat { font-size: .7rem; padding: 3px 8px; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .act { padding: 18px 14px 20px; }
  .pillars { grid-template-columns: 1fr; }
  .cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: none; min-height: 42px; padding: 0 14px; font-size: .9rem; }
  .crafts2 { grid-template-columns: 1fr; }
  .cpanel, .cpanel--wide { aspect-ratio: 4 / 5; }
  .svc-grid, .ev-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pillar { padding: 18px 14px 16px; }
  .pillar h3 { font-size: 1.15rem; }
  .pillar p { font-size: .82rem; }
  .poem p { grid-template-columns: 1fr; gap: 0; }
  .poem p span { white-space: normal; }
  .poem p span:first-child, .poem p span:last-child { text-align: center; }
  .poem p + p { margin-top: 14px; }
  .gyp-edge { height: 38px; background-size: 30px 30px; background-position: center 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .wa { width: 52px; height: 52px; left: 16px; bottom: 16px; }
  .place-dlg { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 18px; }
  .place-dlg__actions .btn { flex: 1 1 auto; }
}
@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 [data-reveal], .hero [data-in] { opacity: 1; transform: none; }
  .js [data-clip] { clip-path: none; }
}
@media (max-height: 720px) {
  .menu__list a { min-height: 50px; font-size: 1.14rem; }
  .menu__foot { padding-top: 16px; }
}

@media (max-width: 600px) { .goal-list { grid-template-columns: 1fr; } .goal-list li { padding-top: 48px; } }

/* ---------- Discover Al-Ahsa: trips, live experiences, the education initiative ---------- */
.trip-feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px clamp(36px, 6vw, 90px); align-items: center; }
.trip-feature__photo { order: 2; overflow: hidden; border-radius: 26px; background: var(--bg-3); box-shadow: 0 30px 60px -40px rgba(46, 33, 22, .7); }
.trip-feature__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.trip-feature__text .lead { margin-top: 16px; }
.trip-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.trip-kinds li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1rem; text-align: center; }
.trip-kinds__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(168, 104, 60, .12); color: var(--clay); }
.trip-kinds__ic .ic { width: 22px; height: 22px; stroke-width: 1.5; }

.live-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin: clamp(48px, 6vw, 72px) 0 22px; }
.live-head .sub-h { margin: 0; display: flex; align-items: center; gap: 12px; }
.live-head .sub-h .orn-ro { color: var(--clay); }
.live-head p { color: var(--ink-2); }
.live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.live__card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s; }
.live__card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(46, 33, 22, .7); }
.live__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.live__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.live__card:hover .live__img img { transform: scale(1.05); }
.live__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 20px 22px; }
.live__ic { position: absolute; top: -24px; inset-inline-start: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brown-2); color: var(--cream); box-shadow: 0 0 0 4px var(--card); }
.live__ic .ic { width: 24px; height: 24px; stroke-width: 1.5; }
.live__body b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.live__body p { color: var(--ink-2); font-size: .97rem; line-height: 1.8; }

.edu { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 26px; margin-top: clamp(48px, 6vw, 72px); padding: 26px 30px; border-radius: 24px;
  background: linear-gradient(120deg, #3b2a1c, #5b3d24); color: var(--cream); box-shadow: 0 30px 60px -40px rgba(46, 33, 22, .8); scroll-margin-top: 100px; }
.edu__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(226, 197, 151, .14); border: 1px solid rgba(226, 197, 151, .4); color: #e2c597; }
.edu__ic .ic { width: 30px; height: 30px; stroke-width: 1.4; }
.edu .tpanel__k { color: #e2c597; }
.edu h3 { margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); line-height: 1.35; }
.edu h3 em { font-style: normal; color: #e2c597; }
.edu__text > p:last-child { margin-top: 6px; color: var(--cream-2); font-size: .98rem; line-height: 1.8; max-width: 52em; }
.edu .btn { background: var(--cream); color: var(--deep); border-color: var(--cream); white-space: nowrap; }
.edu .btn:hover { background: #fff; border-color: #fff; }

@media (max-width: 1100px) { .live { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .trip-feature { grid-template-columns: 1fr; }
  .trip-feature__photo { order: 0; }
  .edu { grid-template-columns: auto 1fr; }
  .edu .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .trip-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live { grid-template-columns: 1fr; }
  .edu { grid-template-columns: 1fr; padding: 24px 20px; }
}

/* ---------- crafts: one even grid of nine ---------- */
.kraft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kraft__card { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; border-radius: 22px; background: var(--deep); box-shadow: 0 30px 60px -40px rgba(46, 33, 22, .7); }
.kraft__card img, .kraft__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.kraft__card::before { content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none; border-radius: 14px; border: 1px solid rgba(245, 234, 216, .4); }
.kraft__card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(46, 33, 22, 0) 40%, rgba(46, 33, 22, .62) 66%, rgba(46, 33, 22, .95) 100%); }
.kraft__card:hover img, .kraft__card:hover video { transform: scale(1.05); }
.kraft__t { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding: 26px 28px 28px; color: var(--cream); }
.kraft__sub { font-size: .86rem; font-weight: 500; color: #e2c597; }
.kraft__t b { display: block; margin: 4px 0 8px; font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.15; }
.kraft__t span { display: block; font-size: 1rem; line-height: 1.75; color: var(--cream-2); }
@media (max-width: 980px) { .kraft { gap: 14px; } .kraft__t { padding: 20px 20px 22px; } .kraft__t span { font-size: .92rem; } }
@media (max-width: 760px) { .kraft { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kraft__card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
@media (max-width: 480px) { .kraft { grid-template-columns: 1fr; } .kraft__card, .kraft__card:last-child { aspect-ratio: 4 / 3.6; } }

/* ---------- seasons: nine even cards, the date sits on the photo ---------- */
.ev { position: relative; box-shadow: 0 24px 48px -36px rgba(46, 33, 22, .55); transition: transform .35s var(--ease), box-shadow .35s; }
.ev:hover { transform: translateY(-4px); box-shadow: 0 28px 52px -34px rgba(46, 33, 22, .7); }
.ev__img, .ev__img--orn { aspect-ratio: 16 / 10; }
.ev__body { display: flex; flex-direction: column; padding: 18px 22px 24px; }
.ev__when { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(249, 242, 230, .95);
  box-shadow: 0 8px 18px -10px rgba(46, 33, 22, .6); font-size: .82rem; font-weight: 600; color: var(--brown-2); }
.ev h3 { margin: 0 0 8px; font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); }
.ev p { font-size: .96rem; line-height: 1.8; }

/* ---------- craft cards are buttons that open the story window ---------- */
.kraft__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.kraft__btn img, .kraft__btn video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kraft__btn .kb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.kraft__btn .kb.is-on { opacity: 1; }
.kraft__card::after { pointer-events: none; }
.kraft__card.is-moving img { animation: kbZoom 9s ease-in-out infinite alternate; }
@keyframes kbZoom { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.kraft__t .kraft__sub { display: block; font-size: .86rem; font-weight: 500; color: #e2c597; }
.kraft__t .kraft__s { display: block; font-size: 1rem; line-height: 1.75; color: var(--cream-2); }
.kraft__t .kraft__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(245, 234, 216, .45);
  font-size: .85rem; font-weight: 600; color: var(--cream); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease), background-color .3s; }
.kraft__card:hover .kraft__more, .kraft__btn:focus-visible .kraft__more { opacity: 1; transform: none; }
.kraft__btn:focus-visible { outline: 3px solid #e2c597; outline-offset: -6px; border-radius: 22px; }
@media (hover: none) { .kraft__more { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kraft__card.is-moving img { animation: none; } .kraft__btn .kb { transition: none; } }

/* the story window shows video too */
.place-dlg__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs button { position: relative; }
.pg-play { position: absolute; inset: 0; display: grid; place-content: center; font-style: normal; font-size: .75rem; color: #fff; background: rgba(46, 33, 22, .35); }

/* featured season across the grid */
.ev--feat { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; grid-template-rows: none; }
.ev--feat .ev__img { aspect-ratio: auto; min-height: 340px; position: relative; }
.ev--feat .ev__img img { position: absolute; inset: 0; }
.ev--feat .ev__img img.kb { opacity: 0; transition: opacity 1.4s ease; }
.ev--feat .ev__img img.kb.is-on { opacity: 1; }
.ev--feat .ev__body { justify-content: center; padding: 34px 36px; }
.ev--feat h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
.ev__k { font-size: .9rem; font-weight: 600; color: var(--clay); margin-bottom: 4px; }
@media (max-width: 980px) { .ev--feat { grid-template-columns: 1fr; } .ev--feat .ev__img { min-height: 0; aspect-ratio: 16 / 9; } }

/* event cards with their own photo reels */
.ev__img--gal { position: relative; }
.ev__img--gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev__img--gal img.kb { opacity: 0; transition: opacity 1.4s ease; }
.ev__img--gal img.kb.is-on { opacity: 1; }

/* ============ Heritage topics: interactive cards + story window ============ */
html.dlg-lock { overflow: hidden; }
.pillar { --px: 18px; --py: 24px; display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: var(--py) var(--px) 18px; text-align: start; overflow: hidden; isolation: isolate; color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s, border-color .4s; }
.pillar::before { z-index: 1; }
.pillar__t { margin: 10px 0 4px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.5; }
.pillar__p { color: var(--ink-2); font-size: .88rem; line-height: 1.7; transition: color .4s; }
.pillar__ic { transition: background-color .4s, color .4s; }
.pillar__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: .84rem; font-weight: 700; color: var(--clay); transition: color .4s; }
.pillar__go .ic { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.pillar__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; background: var(--deep); transition: opacity .6s var(--ease); }
.pillar__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.pillar__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 26, 17, .35), rgba(36, 26, 17, .86) 70%); }
@media (hover: hover) {
  .pillar:hover, .pillar:focus-visible { color: var(--cream); transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 50px -28px rgba(46, 33, 22, .75); }
  .pillar:hover .pillar__bg, .pillar:focus-visible .pillar__bg { opacity: 1; }
  .pillar:hover .pillar__bg img, .pillar:focus-visible .pillar__bg img { transform: scale(1); }
  .pillar:hover .pillar__p, .pillar:focus-visible .pillar__p { color: var(--cream-2); }
  .pillar:hover .pillar__ic, .pillar:focus-visible .pillar__ic { background: rgba(245, 234, 216, .16); color: var(--cream); }
  .pillar:hover .pillar__go, .pillar:focus-visible .pillar__go { color: #e9c79a; }
  .pillar:hover .pillar__go .ic, .pillar:focus-visible .pillar__go .ic { transform: translateX(-5px); }
}
/* touch screens have no hover, so the photo sits on top of the card */
@media (hover: none) {
  .pillar__bg { position: relative; inset: auto; z-index: 0; display: block; width: calc(100% + 2 * var(--px)); height: 104px; margin: calc(-1 * var(--py)) calc(-1 * var(--px)) 0; opacity: 1; }
  .pillar__bg img { transform: none; }
  .pillar__bg::after { background: linear-gradient(180deg, transparent 40%, rgba(36, 26, 17, .35)); }
  .pillar__ic { position: relative; z-index: 1; margin-top: -20px; background: var(--card); box-shadow: 0 6px 16px -8px rgba(46, 33, 22, .5); }
  .pillar:active { transform: scale(.98); }
}
@media (max-width: 600px) { .pillar { --px: 14px; --py: 18px; } .pillar__t { font-size: 1.15rem; } .pillar__p { font-size: .82rem; } .pillar__bg { height: 92px; } }

.tdlg { padding: 0; border: 0; width: min(1180px, calc(100vw - 32px)); height: min(780px, calc(100vh - 40px)); max-width: none; max-height: none; border-radius: 24px; background: var(--card); color: var(--ink); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(20, 14, 8, .8); }
.tdlg::backdrop { background: rgba(30, 22, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tdlg[open] { animation: dlgIn .55s var(--ease); }
.tdlg__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); height: 100%; }
.tdlg__stage { position: relative; overflow: hidden; background: #1d150e; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tdlg__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 14, 8, .5), transparent 22%, transparent 55%, rgba(20, 14, 8, .82)); }
.tdlg__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.tdlg__layer.is-on { opacity: 1; }
.tdlg__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tdlg__layer.is-on img { animation: tdKb 12s ease-out both; }
@keyframes tdKb { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.tdlg__blur { display: none; position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(34px) brightness(.45) saturate(.8); }
.tdlg__layer.is-archive .tdlg__blur { display: block; }
.tdlg__layer.is-archive img { inset: 9% 8% 22%; width: 84%; height: 69%; object-fit: contain; filter: sepia(.2) drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }
.tdlg__layer.is-archive.is-on img { animation: none; }
.tdlg__word { position: absolute; inset: 0; display: none; place-items: center; background: var(--deep); }
.tdlg__word::before { content: ""; position: absolute; inset: 0; opacity: .12; background: url("../img/orn/gyp-band-carved.svg") center / 72px 72px repeat; }
.tdlg__word::after { content: ""; position: absolute; width: min(62%, 320px); aspect-ratio: 1; border-radius: 50% 50% 0 0 / 38% 38% 0 0; border: 1px solid rgba(233, 199, 154, .35); box-shadow: inset 0 0 0 10px rgba(233, 199, 154, .05); }
.tdlg__word b { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem); color: #e9c79a; animation: tpIn .7s var(--ease); }
.tdlg__stage.is-word .tdlg__word { display: grid; }
.tdlg__bars { position: absolute; z-index: 2; top: 20px; inset-inline: 22px; display: flex; gap: 6px; }
.tdlg__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(245, 234, 216, .25); overflow: hidden; position: relative; }
.tdlg__bars i::after { content: ""; position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.tdlg__bars i.is-done::after, .tdlg__bars i.is-on::after { transform: scaleX(1); }
.tdlg__bars i.is-done::after { opacity: .55; }
.tdlg__bars i.is-done { background: rgba(245, 234, 216, .4); }
.tdlg__cap { position: absolute; z-index: 2; inset-inline: 24px; bottom: 78px; color: var(--cream-2); font-size: .92rem; line-height: 1.6; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.tdlg__nav { position: absolute; z-index: 2; bottom: 20px; inset-inline: 22px; display: flex; align-items: center; gap: 12px; color: var(--cream); }
.tdlg__nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(245, 234, 216, .32); background: rgba(36, 26, 17, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, transform .25s; }
.tdlg__nav button:hover { background: rgba(245, 234, 216, .16); }
.tdlg__nav button:active { transform: scale(.92); }
.tdlg__nav .ic { width: 20px; height: 20px; }
.tdlg__count { font-size: .9rem; color: var(--cream-3); letter-spacing: .04em; min-width: 64px; text-align: center; }
.tdlg__count b { font-size: 1.25rem; color: var(--cream); font-weight: 700; }
.tdlg__body { display: flex; flex-direction: column; padding: clamp(30px, 3.4vw, 48px) clamp(24px, 3vw, 44px) clamp(22px, 2.6vw, 34px); overflow-y: auto; overscroll-behavior: contain; }
.tdlg__body > * { flex-shrink: 0; }
.tdlg__body.is-in > * { animation: tpIn .6s var(--ease) both; }
.tdlg__body.is-in > :nth-child(2) { animation-delay: .05s; }
.tdlg__body.is-in > :nth-child(3) { animation-delay: .1s; }
.tdlg__body.is-in > :nth-child(4) { animation-delay: .16s; }
.tdlg__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--clay); font-size: .86rem; font-weight: 700; }
.tdlg__eyebrow .ic { width: 20px; height: 20px; stroke-width: 1.5; }
.tdlg__body h3 { margin: 4px 0 6px; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.1rem); line-height: 1.25; }
.tdlg__intro { color: var(--ink-2); font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.tdlg__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tdlg__list li { position: relative; border-bottom: 1px solid var(--line); }
.tdlg__list li::before { content: ""; position: absolute; inset-block: -1px; inset-inline-start: -14px; width: 3px; border-radius: 3px; background: var(--clay); transform: scaleY(0); transition: transform .45s var(--ease); }
.tdlg__list li.is-on::before { transform: scaleY(1); }
.tdlg__list button { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 11px 2px; text-align: start; }
.tdlg__n { font-size: .82rem; color: var(--ink-3); font-weight: 700; transition: color .3s; }
.tdlg__t { font-family: var(--display); font-weight: 700; font-size: 1.16rem; line-height: 1.4; transition: color .3s; }
.tdlg__list button img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; opacity: .7; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.tdlg__dot { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-2) url("../img/orn/gyp-band-carved.svg") center / 23px 23px repeat; opacity: .55; }
.tdlg__list button:hover .tdlg__t { color: var(--clay); }
.tdlg__list button:hover img { opacity: 1; }
.tdlg__list li.is-on .tdlg__n, .tdlg__list li.is-on .tdlg__t { color: var(--clay); }
.tdlg__list li.is-on img { opacity: 1; outline-color: var(--clay); }
.tdlg__d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.tdlg__d > p { min-height: 0; overflow: hidden; padding-inline-start: 42px; color: var(--ink-2); font-size: .98rem; line-height: 1.85; opacity: 0; transition: opacity .4s, padding .5s var(--ease); }
.tdlg__list li.is-on .tdlg__d { grid-template-rows: 1fr; }
.tdlg__list li.is-on .tdlg__d > p { opacity: 1; padding-bottom: 16px; transition-delay: .1s; }
.tdlg__topics { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: auto calc(-1 * clamp(24px, 3vw, 44px)) calc(-1 * clamp(22px, 2.6vw, 34px)); padding: 26px clamp(24px, 3vw, 44px) clamp(18px, 2.2vw, 28px); background: linear-gradient(180deg, rgba(244, 234, 219, 0), var(--card) 34%); }
.tdlg__topics button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px 8px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s; }
.tdlg__topics .ic { width: 17px; height: 17px; stroke-width: 1.6; }
.tdlg__topics button:hover { border-color: var(--brown); color: var(--ink); }
.tdlg__topics button.is-on { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.tdlg__close { top: 16px; left: 16px; z-index: 3; color: var(--ink); border-color: var(--line); background: rgba(244, 234, 219, .85); }
.tdlg__close:hover { background: var(--bg-2); }
@media (max-width: 900px) {
  .tdlg { inset: 0; margin: 0; width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
  .tdlg__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(260px, 44dvh) minmax(0, 1fr); }
  .tdlg__bars { inset-inline-end: 80px; top: 26px; }
  .tdlg__close { color: var(--cream); border-color: rgba(245, 234, 216, .32); background: rgba(36, 26, 17, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .tdlg__cap { bottom: 74px; font-size: .86rem; }
  .tdlg__body { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); }
  .tdlg__list li::before { inset-inline-start: -20px; }
  .tdlg__topics { margin: auto -20px calc(-18px - env(safe-area-inset-bottom)); padding: 18px 20px calc(14px + env(safe-area-inset-bottom)); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tdlg__topics button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tdlg__layer.is-on img { animation: none; }
  .tdlg__layer, .tdlg__d, .tdlg__d > p, .pillar, .pillar__bg, .pillar__bg img { transition-duration: .01s; }
  .tdlg__body.is-in > * { animation: none; }
}

/* ==========================================================================
   v2 — «انضم إلينا» + admin links
   ========================================================================== */
.join-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 42px; padding: 0 16px 0 18px; margin-inline-start: clamp(6px, 1vw, 16px);
  border-radius: 999px; border: 1px solid rgba(245, 234, 216, .55); background: rgba(245, 234, 216, .12); color: var(--cream);
  font-size: .9rem; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.join-btn .ic { width: 19px; height: 19px; stroke-width: 1.7; }
.join-btn:hover { background: var(--cream); color: var(--deep); border-color: var(--cream); transform: translateY(-1px); }
.header.is-solid .join-btn { background: var(--brown); border-color: var(--brown); color: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.is-solid .join-btn:hover { background: var(--brown-2); border-color: var(--brown-2); }
@media (max-width: 1320px) and (min-width: 1241px) { .join-btn span { display: none; } .join-btn { padding: 0; width: 42px; justify-content: center; } }
@media (max-width: 1240px) { .join-btn { margin-inline-start: auto; } }
@media (max-width: 420px) { .join-btn { min-height: 38px; padding: 0 12px; font-size: .84rem; gap: 6px; } .join-btn .ic { width: 17px; height: 17px; } }

.menu__admin, .footer__admin { display: inline-flex; align-items: center; gap: 7px; }
.menu__admin { width: 100%; justify-content: center; margin-top: 14px; min-height: 44px; font-size: .9rem; color: var(--ink-3); }
.menu__admin:hover { color: var(--clay); }
.menu__admin .ic, .footer__admin .ic { width: 16px; height: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__legal a { color: var(--cream-3); transition: color .25s; min-height: 32px; display: inline-flex; align-items: center; }
.footer__legal a:hover { color: var(--cream); }

/* ---- join window ---- */
.jdlg { padding: 0; border: 0; width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); border-radius: 24px;
  background: var(--card); color: var(--ink); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(20, 14, 8, .8); }
.jdlg::backdrop { background: rgba(30, 22, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jdlg[open] { animation: dlgIn .5s var(--ease); }
.jdlg__in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-height: calc(100dvh - 32px); }
.jdlg__art { position: relative; min-height: 100%; background: var(--deep); overflow: hidden; }
.jdlg__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jdlg__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 20, 11, .88) 0%, rgba(30, 20, 11, .2) 55%, rgba(30, 20, 11, 0) 100%); }
.jdlg__artcap { position: absolute; z-index: 1; inset: auto 0 0 0; padding: 30px 32px 34px; color: var(--cream); }
.jdlg__latin { display: block; font-family: var(--latin); font-size: .82rem; letter-spacing: .32em; color: #e2c48f; margin-bottom: 10px; direction: ltr; text-align: right; }
.jdlg__artcap p { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; max-width: 15em; }
.jdlg__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 46px) clamp(22px, 4vw, 48px) clamp(26px, 3.5vw, 40px); }
.jdlg__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--clay); }
.jdlg__eyebrow .ic { width: 19px; height: 19px; }
.jdlg__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.2; margin: 8px 0 8px; color: var(--deep); }
.jdlg__lead { color: var(--ink-2); font-size: .98rem; line-height: 1.8; margin-bottom: 22px; max-width: 34em; }
.jdlg__close { top: 14px; left: 14px; z-index: 3; width: 44px; height: 44px; color: var(--ink); border-color: var(--line); background: rgba(244, 234, 219, .9); }
.jdlg__close:hover { background: var(--bg-2); }

.jf { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.jf > label, .jf legend { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; }
.jf legend span { font-weight: 400; color: var(--ink-3); }
.jf input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(58, 42, 27, .22); background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.jf input[dir="ltr"] { text-align: left; }
.jf input[dir="ltr"]:placeholder-shown { text-align: right; }
.jf input::placeholder { color: var(--ink-3); opacity: .75; }
.jf input:hover { border-color: rgba(58, 42, 27, .38); }
.jf input:focus { outline: none; border-color: var(--clay); background: #f8efe1; box-shadow: 0 0 0 4px rgba(168, 104, 60, .16); }
.jf.has-err input { border-color: #a4402a; box-shadow: 0 0 0 3px rgba(164, 64, 42, .12); }
.jf__err { display: block; min-height: 0; font-size: .82rem; line-height: 1.5; color: #9a3a25; margin-top: 4px; }
.jf__err:empty { display: none; }

.jf--chips { margin-top: 6px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.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: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(58, 42, 27, .2);
  font-size: .86rem; color: var(--ink-2); background: transparent; transition: background-color .2s, color .2s, border-color .2s; user-select: none; }
.chip:hover span { border-color: var(--brown); color: var(--ink); }
.chip input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.jconsent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--bg-2);
  font-size: .86rem; line-height: 1.75; color: var(--ink-2); cursor: pointer; }
.jconsent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jconsent__box { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 7px; border: 1.5px solid var(--brown); background: var(--card); transition: background-color .2s, border-color .2s; }
.jconsent__box .ic { width: 16px; height: 16px; stroke-width: 2.4; color: var(--cream); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.jconsent input:checked + .jconsent__box { background: var(--brown); }
.jconsent input:checked + .jconsent__box .ic { opacity: 1; transform: none; }
.jconsent input:focus-visible + .jconsent__box { outline: 2px solid var(--clay); outline-offset: 3px; }
.jconsent a { color: var(--brown-2); text-decoration: underline; text-underline-offset: 3px; }
.jconsent + .jf__err { margin-top: 6px; }

.jform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jform__msg { min-height: 0; margin: 10px 0 0; font-size: .88rem; color: #9a3a25; }
.jform__msg:empty { display: none; }
.jform__send { width: 100%; min-height: 54px; margin-top: 18px; font-size: 1.05rem; font-weight: 700; }
.jform__send:hover .ic--arrow { transform: translateX(-4px); }
.jform__send.is-busy { opacity: .7; pointer-events: none; }
.jform__send.is-busy span::after { content: "…"; }

.jdone { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; padding-block: 30px; outline: none; }
.jdone[hidden] { display: none; }
.jdone__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--deep); color: #e2c48f; margin-bottom: 14px; animation: jPop .6s var(--ease); }
.jdone__mark .ic { width: 30px; height: 30px; stroke-width: 2; }
@keyframes jPop { from { transform: scale(.5); opacity: 0; } }

@media (max-width: 760px) {
  .jdlg { inset: 0; margin: 0; width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
  .jdlg__in { grid-template-columns: 1fr; grid-template-rows: 150px minmax(0, 1fr); height: 100%; max-height: 100dvh; }
  .jdlg__artcap { padding: 18px 20px 16px; }
  .jdlg__artcap p { font-size: 1.1rem; }
  .jdlg__latin { font-size: .7rem; margin-bottom: 4px; }
  .jdlg__body { padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }
  .jdlg__close { top: calc(12px + env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) { .jdlg[open], .jdone__mark { animation: none; } }
