/* Herfeh World - landing page styles. Vanilla CSS, self-hosted fonts. */

/* ---------- Fonts (self-hosted woff2, unicode-range subsets) ---------- */
/* Cormorant Garamond - one latin file serves 400/500/600 (weight range). */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500;
  font-display: swap; src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500;
  font-display: swap; src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Jost - one latin file serves 300-600. */
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 300 600;
  font-display: swap; src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 300 600;
  font-display: swap; src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Arabic - Dubai (brand face; serves BOTH display and body).
   Weights: Light 300, Regular 400, Medium 500, Bold 700.
   Source: font.download mirror (official dubaifont.com was unreachable at build time). */
@font-face {
  font-family: 'Dubai'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/dubai-arabic-300.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Dubai'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/dubai-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Dubai'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/dubai-arabic-500.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Dubai'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/dubai-arabic-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F3EBDC; --panel: #F7F0E3; --ink: #2E2A26; --muted: #5F5648;
  --accent: #EC5D2A; --accent-deep: #C9481B; --accent-hover: #A93A12;
  --accent-text: #B23F16;   /* small orange text on cream - ≥4.5:1 */
  --dim-on-dark: #A99B84;   /* secondary text on ink - ≥4.5:1 */
  --peach: #F0B48C; --card-muted: #D9CDB9; --hairline: rgba(46,42,38,.14);
  /* Brand deck: olive + brick. Olive grounds the "what you'll find" band;
     brick is a decorative/accent tone (small text uses --brick-text on cream). */
  --olive: #44513B; --olive-deep: #38432F; --olive-text: #EDE7D8;
  --brick: #7D2A26; --brick-text: #8A3A2E;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1440px; --gutter: 64px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, Segoe UI, sans-serif;
}
html[lang="ar"] {
  --font-display: 'Dubai', 'Segoe UI', 'Tahoma', sans-serif;
  --font-body: 'Dubai', 'Jost', system-ui, 'Segoe UI', 'Tahoma', sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip; color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(243,235,220,.87), rgba(243,235,220,.87)),
    image-set(url('../img/texture-linen.webp') type('image/webp'), url('../img/texture-linen.jpg') type('image/jpeg'));
  background-image: linear-gradient(rgba(243,235,220,.87), rgba(243,235,220,.87)),
    -webkit-image-set(url('../img/texture-linen.webp') type('image/webp'), url('../img/texture-linen.jpg') type('image/jpeg'));
  background-size: cover; background-position: center; background-attachment: fixed;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.7; font-weight: 400; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-decoration: none; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--panel); padding: 12px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }
.section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* decorative scattered tatreez layer */
.decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .1; }
.decor img { position: absolute; width: 130px; height: 130px; transform-origin: 50% 50%; animation: decor-spin 170s linear infinite; }
.decor img:nth-child(1) { left: 3%;  top: 6%;  width: 120px; height: 120px; }
.decor img:nth-child(2) { right: 5%; top: 30%; width: 160px; height: 160px; }
.decor img:nth-child(3) { left: 7%;  top: 45%; width: 100px; height: 100px; }
.decor img:nth-child(4) { right: 8%; top: 60%; width: 130px; height: 130px; }
.decor img:nth-child(5) { left: 6%;  top: 76%; width: 150px; height: 150px; }
.decor img:nth-child(6) { right: 4%; top: 90%; width: 110px; height: 110px; }
.decor img:nth-child(7) { right: 10%; top: 8%; width: 116px; height: 116px; }
/* slow clockwise rotation; a few speeds so the crosses don't spin in lockstep */
.decor img:nth-child(odd) { animation-duration: 150s; }
.decor img:nth-child(3n)  { animation-duration: 190s; }
/* the Arabic home runs taller, which slides two scattered crosses onto the Palestine card; hide those on Arabic */
html[lang="ar"] .decor img:nth-child(4),
html[lang="ar"] .decor img:nth-child(5) { display: none; }
@keyframes decor-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.content { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav-outer { position: sticky; top: 0; z-index: 100; transition: background .25s var(--ease), box-shadow .25s var(--ease), backdrop-filter .25s var(--ease); }
.nav-outer.scrolled {
  background: rgba(243,235,220,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 20px var(--gutter); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .04em; position: relative; display: inline-flex; align-items: center; padding: 12px 6px; margin: -6px -6px; }
.nav-links a::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 8px; height: 1px; background: var(--accent-text); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-text); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-logo { justify-self: center; }
.nav-logo img { height: 72px; width: auto; }
.nav-logo a { display: inline-flex; }

/* language pill - kept LTR in both languages so the slider maths stay physical */
.lang { justify-self: end; }
.lang-pill { direction: ltr; position: relative; display: inline-flex; align-items: center; border: 1px solid rgba(46,42,38,.3); border-radius: 100px; padding: 3px; background: rgba(247,240,227,.4); }
.lang-pill a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 46px; min-height: 34px; padding: 6px 0; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: color .25s var(--ease); }
.lang-pill a.is-active { color: var(--panel); }
.lang-pill a[lang="ar"] { font-family: 'Dubai', var(--font-body); font-size: 14px; letter-spacing: 0; }
.lang-ind { position: absolute; z-index: 0; left: 3px; top: 3px; bottom: 3px; width: 46px; border-radius: 100px; background: var(--ink); transition: transform .25s var(--ease); }
.lang-pill[data-active="en"] .lang-ind { transform: translateX(0); }
.lang-pill[data-active="ar"] .lang-ind { transform: translateX(100%); }

/* ---------- Eyebrows / shared type ---------- */
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow.on-dark { color: var(--peach); letter-spacing: .26em; }
.eyebrow.on-olive { color: var(--peach); letter-spacing: .26em; }
.eyebrow.on-brick { color: var(--brick-text); }
html[lang="ar"] .eyebrow { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 17px; color: var(--accent-text); }
html[lang="ar"] .eyebrow.on-dark, html[lang="ar"] .eyebrow.on-olive { color: var(--peach); letter-spacing: 0; }
html[lang="ar"] .eyebrow.on-brick { color: var(--brick-text); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 66px; padding-bottom: 16px; }
.hero .eyebrow { color: var(--accent-text); }
html[lang="ar"] .hero .eyebrow { color: var(--accent-text); }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 11vw, 132px); line-height: .92; letter-spacing: -.02em; margin-top: 20px; }
html[lang="ar"] .hero h1 { font-weight: 700; letter-spacing: 0; line-height: 1.15; }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px auto 0; }
.divider .rule { width: 0; height: 1px; background: rgba(46,42,38,.24); }
.divider.grown .rule { width: 64px; }
.divider img { width: 26px; height: 26px; opacity: .9; }
.hero p { max-width: 40rem; margin: 28px auto 0; font-size: 19px; line-height: 1.75; color: var(--muted); font-weight: 300; }
html[lang="ar"] .hero p { font-size: 20px; line-height: 1.9; font-weight: 400; }

/* ---------- Quote ---------- */
.quote { text-align: center; padding-top: 94px; padding-bottom: 82px; max-width: 900px; margin: 0 auto; }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.32; color: var(--ink); }
html[lang="ar"] .quote p { font-style: normal; font-weight: 400; line-height: 1.7; }

/* ---------- Concept intro ---------- */
.concept { text-align: center; padding-bottom: 8px; }
.concept img { width: 56px; height: 56px; margin: 0 auto 20px; }
.concept h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; margin-top: 14px; }
html[lang="ar"] .concept h2 { font-weight: 700; line-height: 1.3; }

/* ---------- Feature cards ---------- */
.card { margin: 56px var(--gutter) 0; border-radius: 12px; padding: 72px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; margin-top: 14px; }
html[lang="ar"] .card h2 { font-weight: 700; line-height: 1.25; }
.card p { max-width: 460px; font-size: 16px; line-height: 1.75; font-weight: 300; margin-top: 18px; }
html[lang="ar"] .card p { font-size: 17px; line-height: 1.9; font-weight: 400; }
.card .undernote { font-size: 13px; margin-top: 16px; letter-spacing: .02em; }

.card--dark { background: var(--ink); color: var(--panel); }
.card--dark p { color: var(--card-muted); }
.card--dark .undernote { color: var(--dim-on-dark); }
.card--dark .corner-motif { position: absolute; top: -30px; right: -30px; width: 150px; height: 150px; opacity: .16; pointer-events: none; }
html[lang="ar"] .card--dark .corner-motif { right: auto; left: -30px; }
/* Palestine card: same corner motif, bottom-right, tucked behind the text so it never sits on the social links */
.card--light .corner-motif { position: absolute; z-index: 0; bottom: -30px; right: -30px; width: 150px; height: 150px; opacity: .14; pointer-events: none; }
html[lang="ar"] .card--light .corner-motif { right: auto; left: -30px; }
.card--light > .card-media, .card--light > .text { position: relative; z-index: 1; }

.card--light { background: var(--panel); border: 1px solid rgba(46,42,38,.16); }
.card--light p { color: var(--muted); }

.card-media { display: flex; justify-content: center; }

/* phone mockup */
.phone { width: 290px; aspect-ratio: 9 / 19; background: #111; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card--light .phone { box-shadow: 0 30px 60px -20px rgba(46,42,38,.4); }
.phone:hover { transform: translateY(-4px); box-shadow: 0 40px 74px -20px rgba(0,0,0,.6); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons / store chips ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip { direction: ltr; display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 20px; border-radius: 10px; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.chip-logo { width: 22px; height: 24px; flex: none; }
.chip-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
html[lang="ar"] .chip-txt { text-align: left; } /* store badge wording stays LTR/EN */
.chip-txt .small { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.chip-txt .big { font-family: 'Jost', var(--font-body); font-weight: 500; font-size: 16px; }
.chip--filled { background: var(--panel); color: var(--ink); }
.chip--filled:hover { box-shadow: 0 12px 26px -14px rgba(0,0,0,.5); }
.chip--filled .small { color: #7c7161; }
.chip--outline { border: 1px solid rgba(247,240,227,.42); color: var(--panel); }
.chip--outline:hover { background: rgba(247,240,227,.08); }
.chip--outline .small { color: #b8ab97; }

/* pill buttons (palestine) */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 13px 30px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
html[lang="ar"] .pill { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 15px; }
.pill--solid { background: var(--accent-deep); color: #fff; }
.pill--solid:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(201,72,27,.6); }
.pill--outline { border: 1px solid rgba(46,42,38,.28); color: var(--ink); }
.pill--outline:hover { border-color: var(--accent-deep); color: var(--accent-text); transform: translateY(-1px); }

/* ---------- Closing ---------- */
.closing { position: relative; z-index: 0; text-align: center; padding-top: 104px; padding-bottom: 96px; max-width: 820px; margin: 0 auto; }
/* faint tatreez cross accent on the start side of the Why Herfeh block; sits behind the text and turns slowly */
.closing-star { position: absolute; z-index: -1; inset-inline-start: -104px; top: 50%; transform: translateY(-50%); width: 122px; height: 122px; opacity: .12; pointer-events: none; }
.closing-star img { display: block; width: 100%; height: 100%; transform-origin: 50% 50%; animation: decor-spin 170s linear infinite; }
.closing .trio { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 30px; }
.closing .trio img { width: 18px; height: 18px; opacity: .55; }
.closing .trio img.mid { width: 26px; height: 26px; opacity: 1; }
.closing .statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 38px); line-height: 1.35; margin-top: 22px; color: var(--ink); }
html[lang="ar"] .closing .statement { font-weight: 400; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer-strip { position: relative; overflow: hidden; height: 44px; background: var(--ink); }
.footer-strip::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -44px; background: url('../img/tatreez-cross-sand.svg') repeat-x center; background-size: 44px 44px; animation: tatreez-drift-left 14s linear infinite; }
.footer { background: var(--ink); color: var(--card-muted); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 44px; flex-wrap: wrap; padding: 46px var(--gutter) 30px; }
.footer-brand img { height: 60px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; margin-top: 14px; color: var(--dim-on-dark); max-width: 320px; line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 44px; }
.footer-col h3 { color: var(--peach); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; margin-bottom: 10px; }
html[lang="ar"] .footer-col h3 { text-transform: none; letter-spacing: 0; font-size: 13px; }
.footer-col a { display: flex; align-items: center; min-height: 44px; color: var(--card-muted); font-size: 13px; }
.footer-col a:hover { color: var(--peach); }
/* venture social links carry a small inline icon before the label */
.footer-social { gap: 9px; }
.footer-social svg { width: 16px; height: 16px; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 0 var(--gutter) 40px; }
.footer-bottom .copy { color: var(--dim-on-dark); font-size: 13px; letter-spacing: .04em; }
.footer-lang { direction: ltr; display: flex; gap: 8px; align-items: center; font-size: 12px; }
.footer-lang a { color: var(--dim-on-dark); display: inline-flex; align-items: center; padding: 13px 8px; margin: -13px -8px; }
.footer-lang a.is-active { color: var(--peach); }
.footer-lang a[lang="ar"] { font-family: 'Dubai', var(--font-body); font-size: 14px; }
.footer-lang .dot { color: #6b6151; }

/* ---------- "What you'll find": deep-olive band ---------- */
.findings { background: var(--olive); color: var(--olive-text); margin-top: 96px; position: relative; overflow: hidden; }
/* tatreez signature: the crisp motif band that carries the eye INTO the olive */
.tatreez-band { position: relative; overflow: hidden; height: 46px; opacity: .8; }
.tatreez-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: -46px; right: 0; background: url('../img/tatreez-cross-sand.svg') repeat-x center; background-size: 46px 46px; animation: tatreez-drift-right 14s linear infinite; }
/* slow ambient drift: translate one full tile per cycle = seamless loop. transform is GPU-composited, so it animates in Safari (background-position is not). */
@keyframes tatreez-drift-right { from { transform: translateX(0); } to { transform: translateX(46px); } }
@keyframes tatreez-drift-left { from { transform: translateX(0); } to { transform: translateX(-44px); } }
.findings-inner { padding-top: 76px; padding-bottom: 80px; text-align: center; }
.findings h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; margin-top: 14px; color: var(--olive-text); }
html[lang="ar"] .findings h2 { font-weight: 700; line-height: 1.3; }
.findings-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px 48px; align-items: start; max-width: 1000px; margin: 44px auto 0; }
.find-group { text-align: start; }
/* mirror the right (Palestine) column so both groups sit symmetric around the centre motif */
.findings-grid .find-group:last-of-type { text-align: end; }
.findings-grid .find-group:last-of-type p { margin-inline-start: auto; }
.find-label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); margin-bottom: 12px; }
html[lang="ar"] .find-label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 17px; }
.find-group p { font-size: 16px; line-height: 1.85; font-weight: 300; color: var(--olive-text); max-width: 42ch; }
html[lang="ar"] .find-group p { font-size: 17px; line-height: 2; font-weight: 400; }
.find-motif { display: flex; align-items: center; justify-content: center; padding-top: 4px; }
.find-motif img { width: 30px; height: 30px; opacity: .55; }

/* ---------- Store chip on a light ground (about page CTA) ---------- */
.chip--dark { background: var(--ink); color: var(--panel); }
.chip--dark:hover { box-shadow: 0 12px 26px -14px rgba(0,0,0,.5); }
.chip--dark .small { color: #b8ab97; }

/* ---------- Sub-pages: about / contact ---------- */
.page-hero { text-align: center; padding-top: 40px; padding-bottom: 8px; max-width: 780px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -.01em; margin-top: 18px; }
html[lang="ar"] .page-hero h1 { font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.page-hero .lead { font-size: 19px; line-height: 1.75; color: var(--muted); font-weight: 300; margin: 24px auto 0; max-width: 42rem; }
html[lang="ar"] .page-hero .lead { font-size: 20px; line-height: 1.9; font-weight: 400; }
.page-hero .divider { margin-top: 24px; }

/* two homes blocks */
.homes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 64px auto 0; }
.home-block { background: var(--panel); border: 1px solid rgba(46,42,38,.16); border-radius: 12px; padding: 40px 36px; }
.block-label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.home-block.is-brick .block-label { color: var(--brick-text); }
html[lang="ar"] .block-label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 17px; }
.home-block h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
html[lang="ar"] .home-block h2 { font-weight: 700; line-height: 1.3; }
.home-block p { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--muted); font-weight: 300; }
html[lang="ar"] .home-block p { font-size: 17px; line-height: 2; font-weight: 400; }

/* beliefs (on the olive band) */
.beliefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; max-width: 920px; margin: 44px auto 0; text-align: start; }
.belief h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.2; color: var(--olive-text); }
html[lang="ar"] .belief h3 { font-weight: 700; }
.belief p { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--olive-text); font-weight: 300; }
html[lang="ar"] .belief p { font-size: 16px; line-height: 1.95; font-weight: 400; }

/* our story */
.story { max-width: 720px; margin: 80px auto 0; text-align: center; }
.story h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
html[lang="ar"] .story h2 { font-weight: 700; line-height: 1.3; }
.story p { margin-top: 22px; font-size: 18px; line-height: 1.85; color: var(--muted); font-weight: 300; text-align: start; }
html[lang="ar"] .story p { font-size: 19px; line-height: 2; font-weight: 400; }

/* about CTA + shared centered button row */
.about-cta { text-align: center; margin: 72px auto 0; }
.about-cta .btn-row { justify-content: center; }

/* contact channels */
.channels { max-width: 620px; margin: 56px auto 72px; display: flex; flex-direction: column; gap: 16px; }
.channel { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 14px; background: var(--panel); border: 1px solid rgba(46,42,38,.16); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
a.channel:hover, a.channel:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(46,42,38,.5); border-color: var(--accent-deep); }
.channel-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--panel); }
.channel-icon svg { width: 24px; height: 24px; }
.channel-text { display: flex; flex-direction: column; gap: 3px; text-align: start; }
.c-label { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .c-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.c-handle { font-size: 17px; color: var(--ink); font-weight: 400; }
a.channel .c-handle { color: var(--accent-text); }
.channel--soon { opacity: .75; }
.channel--soon .channel-icon { background: var(--card-muted); color: var(--muted); }
.channel--soon .c-handle { color: var(--muted); font-style: italic; }

/* contact: two venture groups + email */
.channel-group { display: flex; flex-direction: column; gap: 16px; }
.channel-group + .channel-group { margin-top: 8px; }
.channel-group-title { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 2px; text-align: start; }
html[lang="ar"] .channel-group-title { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 16px; }

/* ---------- Social icon links on feature cards ---------- */
.social-row { display: flex; align-items: center; gap: 6px; margin-top: 24px; }
.social-label { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-inline-end: 4px; }
html[lang="ar"] .social-label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); transition: color .2s var(--ease), background-color .25s var(--ease); }
.social-link svg { width: 21px; height: 21px; }
.social-link:hover, .social-link:focus-visible { color: var(--accent-deep); background-color: rgba(201, 72, 27, .10); }
/* dark (Jordan) card: cream/peach icons on ink */
.card--dark .social-label { color: var(--dim-on-dark); }
.card--dark .social-link { color: var(--card-muted); }
.card--dark .social-link:hover, .card--dark .social-link:focus-visible { color: var(--peach); background-color: rgba(247, 240, 227, .12); }
/* light (Palestine) card: ink/muted -> accent */
.card--light .social-link { color: var(--muted); }
.card--light .social-link:hover, .card--light .social-link:focus-visible { color: var(--accent-deep); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-i="1"] { transition-delay: .08s; }
.reveal[data-i="2"] { transition-delay: .16s; }
.reveal[data-i="3"] { transition-delay: .24s; }
.reveal[data-i="4"] { transition-delay: .32s; }
/* "What you'll find" columns drift in toward the centre motif (settles under reduced-motion) */
.findings-grid .find-group.reveal { transition-delay: .12s; }
.findings-grid .find-group.reveal:not(.in) { transform: translateX(-28px); }
.findings-grid .find-group:last-of-type.reveal:not(.in) { transform: translateX(28px); }
html[lang="ar"] .findings-grid .find-group.reveal:not(.in) { transform: translateX(28px); }
html[lang="ar"] .findings-grid .find-group:last-of-type.reveal:not(.in) { transform: translateX(-28px); }
.reveal-scale { transform: translateY(16px) scale(1.02); }
.reveal-scale.in { transform: none; }
.reveal-phone { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) .12s, transform .7s var(--ease) .12s; }
.reveal-phone.in { opacity: 1; transform: none; }

/* hero entrance (on load) */
.hero .h-anim { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero.loaded .h-anim { opacity: 1; transform: none; }
.hero .h-anim.d1 { transition-delay: 0s; }
.hero .h-anim.d2 { transition-delay: .09s; }
.hero .h-anim.d3 { transition-delay: .18s; }
.hero .h-anim.d4 { transition-delay: .27s; }
.divider .rule { transition: width .9s var(--ease) .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .card { margin-left: 40px; margin-right: 40px; padding: 60px 48px; gap: 44px; }
  /* decorative tatreez crosses use %-based positions that can overlap text at
     intermediate widths (~690px), and add little at small sizes - hide below desktop */
  .decor { display: none; }
  .closing-star { display: none; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  /* header scrolls away on mobile - no sticky slab, no backdrop blur */
  .nav-outer { position: static; }
  .nav-outer.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 8px; padding: 12px 24px; }
  .nav-logo { flex-basis: 100%; order: -1; display: flex; justify-content: center; }
  .nav-logo img { height: 50px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; padding: 13px 6px; margin: -13px -6px; }
  .lang { justify-self: auto; }
  /* compact language pill on mobile */
  .lang-pill a { width: 40px; min-height: 38px; font-size: 11px; }
  .lang-pill a[lang="ar"] { font-size: 13px; }
  .lang-ind { width: 40px; }
  .card { grid-template-columns: 1fr; gap: 40px; padding: 52px 32px; }
  .card-media { order: 2; }
  .card .text { order: 1; }
  .quote { padding-top: 72px; padding-bottom: 64px; }
  .closing { padding-top: 80px; padding-bottom: 76px; }
  html[lang="ar"] body { font-size: 17px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .card { margin-left: 16px; margin-right: 16px; padding: 44px 24px; }
  .hero { padding-top: 48px; }
  .hero .eyebrow { font-size: 12.5px; letter-spacing: .2em; }
  .hero p { font-size: 17px; }
  .phone { width: 260px; }
  .btn-row { gap: 10px; }
  .footer-main { gap: 28px; }
  .footer-cols { gap: 32px; }
}

/* ---------- Responsive: new sections ---------- */
@media (max-width: 768px) {
  .findings { margin-top: 72px; }
  .findings-inner { padding-top: 58px; padding-bottom: 62px; }
  .findings-grid { grid-template-columns: 1fr; gap: 26px; max-width: 460px; }
  .findings-grid .find-group:last-of-type { text-align: start; }
  .findings-grid .find-group:last-of-type p { margin-inline-start: 0; }
  .homes { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .home-block { padding: 34px 30px; }
  .beliefs-grid { grid-template-columns: 1fr; gap: 30px; }
  .story { margin-top: 60px; }
  .about-cta { margin-top: 56px; }
  .channel { padding: 18px 20px; gap: 16px; }
}
@media (max-width: 480px) {
  .findings-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .page-hero { padding-top: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; transition-delay: 0s !important; animation-duration: .001ms !important; }
  .reveal, .reveal-scale, .reveal-phone, .hero .h-anim { opacity: 1 !important; transform: none !important; }
  .tatreez-band::before, .footer-strip::before { animation: none !important; transform: none !important; }
  .decor img, .closing-star img { animation: none !important; transform: none !important; }
  .divider .rule { width: 64px; }
}

/* ---------- Cookie consent: small, unobtrusive card in the start-side corner ---------- */
.consent {
  position: fixed; z-index: 100;
  inset-inline-start: 20px; inset-block-end: 20px;
  max-width: 330px;
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 12px;
  box-shadow: 0 18px 44px -26px rgba(46, 42, 38, .55);
  padding: 15px 17px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.consent.in { opacity: 1; transform: none; }
.consent p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent button {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 8px 15px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.consent .accept { background: var(--accent); color: #fff; }
.consent .accept:hover, .consent .accept:focus-visible { background: var(--accent-deep); }
.consent .decline { background: transparent; color: var(--muted); border-color: var(--hairline); }
.consent .decline:hover, .consent .decline:focus-visible { color: var(--ink); border-color: var(--ink); }
@media (max-width: 480px) {
  .consent { inset-inline: 12px; inset-block-end: 12px; max-width: none; }
}
