/* ==========================================================================
   The Jiddat Initiative — site stylesheet
   Design tokens, layout primitives, components. No frameworks, no build step.
   ========================================================================== */

:root {
  /* Colour */
  --forest: #0E3B2E;
  --forest-deep: #082A21;
  --forest-soft: #16503F;
  --marigold: #F5B82E;
  --marigold-deep: #D99A14;
  --paper: #F7F3EC;
  --ivory: #FFFDF9;
  --ink: #14201B;
  --slate: #5B6B64;
  --mint: #DCEBE2;
  --line: rgba(20, 32, 27, 0.10);
  --line-strong: rgba(20, 32, 27, 0.18);

  /* Type */
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;

  --text-xs: 0.75rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.2rem;
  --text-xl: 1.4rem;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(4rem, 8vw, 7.5rem);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 32, 27, 0.04), 0 12px 32px -12px rgba(20, 32, 27, 0.18);
  --shadow-lg: 0 2px 4px rgba(20, 32, 27, 0.05), 0 32px 64px -24px rgba(20, 32, 27, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; margin: 0 0 0.5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marigold); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1400px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--forest); color: #fff; }
.section--deep { background: var(--forest-deep); color: #fff; }
.section--mint { background: var(--mint); }
.section--ivory { background: var(--ivory); }
.section--gold { background: var(--marigold); color: var(--ink); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split > .order-first { order: -1; }
}

.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure--sm { max-width: 46ch; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--marigold); border-radius: 2px; }
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--marigold); }
.section--dark .eyebrow::before, .section--deep .eyebrow::before { background: var(--marigold); }
.section--gold .eyebrow { color: var(--ink); }
.section--gold .eyebrow::before { background: var(--ink); }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--slate); font-weight: 500; }
.section--dark .lead, .section--deep .lead { color: rgba(255,255,255,0.78); }
.muted { color: var(--slate); }
.section--dark .muted, .section--deep .muted { color: rgba(255,255,255,0.7); }
.small { font-size: var(--text-sm); }
.display { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.highlight { background: linear-gradient(transparent 62%, rgba(245,184,46,0.55) 62%); padding: 0 .1em; }
.urdu { font-family: var(--font-urdu); font-size: 1.4em; direction: rtl; unicode-bidi: isolate; line-height: 1; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 0.98rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-soft); }
.btn--gold { background: var(--marigold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(245,184,46,0.9); }
.btn--gold:hover { background: var(--marigold-deep); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--forest); }
.btn--ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--forest); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow, .section--deep .link-arrow { color: var(--marigold); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(20,32,27,0.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--forest); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand__tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.nav { display: none; align-items: center; gap: 0.25rem; }
.nav a { padding: 0.55rem 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); transition: background .2s var(--ease); }
.nav a:hover { background: rgba(20,32,27,0.06); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--forest); }
.header__cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 2px solid var(--line-strong); border-radius: 999px;
  padding: .55rem .9rem; font-weight: 700; font-size: .9rem;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; } .nav-toggle__bars span:nth-child(2) { top: 5px; } .nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: 99; background: var(--forest-deep); color: #fff;
  padding: 2rem var(--gutter) 3rem; display: none; flex-direction: column; gap: .5rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a[aria-current="page"] { color: var(--marigold); }
.mobile-menu a.btn { margin-top: 1.5rem; align-self: flex-start; font-family: var(--font-text); font-size: 1.05rem; padding: 1rem 1.8rem; border-bottom: 0; letter-spacing: 0; }
.mobile-menu__meta { margin-top: auto; padding-top: 2rem; color: rgba(255,255,255,0.6); font-size: .9rem; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--forest-deep);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,42,33,0.35) 0%, rgba(8,42,33,0.15) 35%, rgba(8,42,33,0.86) 100%),
    linear-gradient(90deg, rgba(8,42,33,0.55) 0%, rgba(8,42,33,0.0) 70%);
}
.hero__inner { padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); width: 100%; }
.hero__eyebrow { color: var(--marigold); margin-bottom: 1.4rem; }
.hero h1 { max-width: 14ch; margin-bottom: 1.2rem; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero__lead { max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(255,255,255,0.88); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.22); font-size: .9rem; color: rgba(255,255,255,0.75); }
.hero__meta strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.01em; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 2rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: none; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
@media (min-width: 900px) { .hero__scroll { display: inline-flex; } }

/* Page hero (interior pages) */
.page-hero { position: relative; background: var(--forest-deep); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .55; }
.page-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,42,33,0.92) 0%, rgba(8,42,33,0.75) 50%, rgba(8,42,33,0.35) 100%); }
.page-hero__inner { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.page-hero .lead { color: rgba(255,255,255,0.82); max-width: 56ch; }
.page-hero .eyebrow { color: var(--marigold); }
.page-hero .eyebrow::before { background: var(--marigold); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .stats--4, .stats--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .stats--4, .stats--3 { grid-template-columns: 1fr; } .stat__num { font-size: 2.6rem; } }
.stat { background: var(--forest); padding: clamp(1.5rem, 3vw, 2.5rem); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -0.03em; line-height: 1; color: var(--marigold); margin-bottom: .5rem; }
.stat__label { font-size: .95rem; color: rgba(255,255,255,0.8); line-height: 1.45; max-width: 26ch; }
.stat__tag { display: inline-block; margin-top: .9rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.5); }
.stats--light { background: var(--line); border-color: var(--line); }
.stats--light .stat { background: var(--ivory); }
.stats--light .stat__num { color: var(--forest); }
.stats--light .stat__label { color: var(--ink); }
.stats--light .stat__tag { color: var(--slate); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: flex; flex-direction: column; gap: .9rem; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
a.card { text-decoration: none; color: inherit; }
.card h3 { margin: 0; }
.card p { color: var(--slate); margin: 0; }
.card--dark { background: var(--forest-soft); border-color: rgba(255,255,255,0.1); color: #fff; }
.card--dark p { color: rgba(255,255,255,0.75); }
.card--mint { background: var(--mint); }
.card--gold { background: var(--marigold); border-color: transparent; }
.card--gold p { color: rgba(20,32,27,0.8); }
.card__num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; color: var(--marigold); line-height: 1; }
.card--dark .card__num { color: var(--marigold); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--forest); display: grid; place-items: center; }
.card__icon svg { width: 26px; height: 26px; }
.card--dark .card__icon { background: rgba(255,255,255,0.1); color: var(--marigold); }
.card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.chip { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 999px; background: var(--mint); color: var(--forest); }
.card--dark .chip { background: rgba(255,255,255,0.1); color: #fff; }
.card--gold .chip { background: rgba(20,32,27,0.12); color: var(--ink); }

/* Feature rows (numbered steps) */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--marigold-deep); padding-top: .25rem; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--slate); margin: 0; max-width: 60ch; }
@media (min-width: 900px) { .step { grid-template-columns: 96px 1fr 1.6fr; } .step h3 { margin: 0; } }
.section--dark .steps, .section--dark .step { border-color: rgba(255,255,255,0.14); }
.section--dark .step p { color: rgba(255,255,255,0.75); }
.section--dark .step__num { color: var(--marigold); }

/* Timeline / approach */
.approach { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .approach { grid-template-columns: repeat(3, 1fr); } }
.approach__item { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.approach__item::before { content: ""; position: absolute; top: -2px; left: 0; width: 64px; height: 2px; background: var(--marigold); }
.approach__item .eyebrow { margin-bottom: .6rem; }
.approach__item h3 { margin-bottom: .5rem; }
.approach__item p { color: var(--slate); margin: 0; }

/* Media blocks */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media__caption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(8,42,33,0.78); color: #fff; backdrop-filter: blur(8px); padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .85rem; }
.media--offset { margin-top: 3rem; }
.media-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.media-grid .media:nth-child(2) { margin-top: 3rem; }

/* Pull statement */
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 26ch; }
.statement em { font-style: normal; color: var(--marigold); }

/* Team */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person__photo { aspect-ratio: 1; background: linear-gradient(135deg, var(--mint), #c6dccd); display: grid; place-items: center; position: relative; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--forest); letter-spacing: -0.03em; }
.person__body { padding: 1.1rem 1.25rem 1.35rem; }
.person__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 .15rem; }
.person__role { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold-deep); margin-bottom: .6rem; }
.person__bio { font-size: .93rem; color: var(--slate); margin: 0; }

/* Before / after */
.shift { display: grid; gap: 1rem; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.shift__box { padding: 1.4rem 1.5rem; border-radius: var(--radius-sm); }
.shift__box--before { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); }
.shift__box--after { background: var(--marigold); color: var(--ink); }
.shift__label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; opacity: .8; }
.shift__arrow { display: grid; place-items: center; color: var(--marigold); }
.shift__arrow svg { width: 28px; height: 28px; }
@media (max-width: 639px) { .shift { grid-template-columns: 1fr; } .shift__arrow svg { transform: rotate(90deg); } }

/* Phone mockup (WhatsApp assistant) */
.phone { width: min(340px, 100%); margin-inline: auto; background: var(--forest-deep); border-radius: 40px; padding: 14px; box-shadow: var(--shadow-lg); }
.phone__screen { background: #ECE5DD; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.phone__bar { background: var(--forest); color: #fff; padding: 1rem 1rem .85rem; display: flex; align-items: center; gap: .7rem; }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--marigold); display: grid; place-items: center; color: var(--forest); font-weight: 800; font-family: var(--font-display); }
.phone__bar strong { display: block; font-size: .92rem; line-height: 1.1; }
.phone__bar span { font-size: .72rem; opacity: .75; }
.phone__chat { padding: 1rem .9rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.bubble { max-width: 86%; padding: .6rem .8rem; border-radius: 14px; font-size: .86rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.06); color: var(--ink); }
.bubble--in { background: #fff; border-top-left-radius: 4px; align-self: flex-start; }
.bubble--out { background: #D9FDD3; border-top-right-radius: 4px; align-self: flex-end; }
.bubble--note { align-self: center; background: rgba(8,42,33,0.08); font-size: .72rem; color: var(--forest); padding: .35rem .7rem; border-radius: 999px; box-shadow: none; }
.phone__input { margin: 0 .9rem .9rem; background: #fff; border-radius: 999px; padding: .6rem 1rem; font-size: .85rem; color: var(--slate); display: flex; justify-content: space-between; align-items: center; }

/* Giving tiers */
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.tier--featured { background: var(--forest); color: #fff; border-color: transparent; }
.tier__amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.tier--featured .tier__amount { color: var(--marigold); }
.tier__tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold-deep); }
.tier--featured .tier__tag { color: rgba(255,255,255,.6); }
.tier p { font-size: .93rem; color: var(--slate); margin: 0; }
.tier--featured p { color: rgba(255,255,255,.8); }

/* Contact / form */
.contact-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(14,59,46,0.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--slate); }
.contact-list { display: grid; gap: 1rem; }
.contact-list__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--forest); display: grid; place-items: center; }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__item strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: .2rem; }
.contact-list__item a { font-weight: 600; text-decoration: none; }
.contact-list__item a:hover { text-decoration: underline; }

/* Notice / alert */
.notice { border-left: 4px solid var(--marigold); background: rgba(245,184,46,0.14); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { max-width: 16ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__glow { position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,184,46,0.35), transparent); pointer-events: none; }

/* Marquee-ish strip of values (static) */
.values-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1rem; }
.values-strip span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .55rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.section--dark .values-strip span { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,.85); }

/* FAQ / details */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--marigold-deep); font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--slate); max-width: 70ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--forest-deep); color: rgba(255,255,255,0.78); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer .brand { color: #fff; }
.footer .brand__tag { color: var(--marigold); }
.footer__about { max-width: 38ch; margin-top: 1.25rem; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-text); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul li + li { margin-top: .55rem; }
.footer a { text-decoration: none; color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,0.55); }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; }
.social a:hover { border-color: var(--marigold); color: var(--marigold); text-decoration: none; }
.social svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .link-arrow svg { transition: none; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-gold { width: 64px; height: 3px; background: var(--marigold); border-radius: 3px; margin-bottom: 1.5rem; }


/* --------------------------------------------------------------------------
   Polish (Nov 2026)
   -------------------------------------------------------------------------- */
.phone .card, .phone .card:hover { transform: none; box-shadow: none; }
.notice a { font-weight: 700; color: var(--forest); }
.notice strong { color: var(--ink); }
.card__icon + h3 { margin-top: .25rem; }
.hero__meta div { min-width: 9rem; }
.page-hero .hero__actions { margin-top: 2rem; }
@media (max-width: 639px) {
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .hero { min-height: auto; }
  .hero__inner { padding-top: 7rem; }
  .split { gap: 2.25rem; }
  .media--tall { aspect-ratio: 4 / 3; }
}
