/* Sincere Naseeha — site stylesheet
   Layout concept: ivory pages, hairline rules and one cropped rosette per layout;
   ink bands mark the Integrated Mentorship Programme and the footer.
   Palette, type and radius follow Brand Guidelines v1.0 (October 2026). */

:root {
  /* Core palette (07 · Colour) */
  --rose: #D2A79F;        /* fills, never text on light grounds */
  --ink: #030304;         /* headlines, dark bands */
  --clay: #8C5A51;        /* kickers, links, accent text (5.3:1 on ivory) */
  --deep-clay: #6E4039;   /* quotations, emphasis (7.0:1 on blush) */
  --ivory: #FBF7F5;       /* page ground */
  --blush: #F3E6E2;       /* panels, highlighted quotes */
  --petal: #E8CFC9;       /* rules, tags, dividers */
  --charcoal: #2B2726;    /* body text (13.9:1 on ivory) */
  --white: #FFFFFF;
  --muted: #5E5553;       /* secondary text, warm grey (7:1 on ivory) */
  /* Pillar colours: IMP only, always labelled in words */
  --mind: #4D6683; --mind-tint: #E7ECF2;
  --body: #56704F; --body-tint: #E8EEE5;
  --soul: #85622B; --soul-tint: #F3EBDD;

  /* Type (08 · Typography) */
  --f-sans: "Outfit", "Amiri", "Century Gothic", "Calibri", system-ui, sans-serif;
  --f-quote: "Lora", Georgia, "Times New Roman", serif;
  --f-arabic: "Amiri", "Traditional Arabic", "Sakkal Majalla", serif;

  --radius: 8px;
  --hair: 1px solid var(--petal);
  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--f-sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
strong, b { font-weight: 500; }
::selection { background: var(--petal); color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap--narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; }
.display { font-weight: 200; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.01em; }
h1, .h1 { font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.005em; }
h2, .h2 { font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
h3, .h3 { font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
h4 { font-weight: 500; font-size: 1rem; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--charcoal); max-width: 38em; }
.kicker { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.caption { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.quote { font-family: var(--f-quote); font-style: italic; font-weight: 400; color: var(--deep-clay); line-height: 1.45; }
.arabic { font-family: var(--f-arabic); direction: rtl; font-weight: 400; color: var(--ink); line-height: 1.6; letter-spacing: 0; }
.stack > * + * { margin-top: var(--s, 1rem); }
.measure { max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 500 0.95rem/1 var(--f-sans); padding: 0.95em 1.4em; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--line-light { background: transparent; color: var(--ivory); border-color: rgba(251,247,245,.5); }
.btn--line-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rose); padding-bottom: 2px; }
.textlink:hover { color: var(--clay); border-color: var(--clay); }
.textlink::after { content: " →"; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,247,245,.96); border-bottom: var(--hair); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; padding-block: 10px; }
.brand img { width: 150px; height: auto; } /* ≥140px per minimum screen size */
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.nav a.navlink, .nav button.navlink { font: 400 0.95rem/1 var(--f-sans); color: var(--ink); text-decoration: none; padding: 12px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a.navlink:hover, .nav button.navlink:hover, .nav .is-current > .navlink { color: var(--clay); }
.nav .is-current > a.navlink { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 8px; }
.has-menu { position: relative; }
.has-menu svg { transition: transform .2s; }
.has-menu[data-open="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 6px); left: -12px; min-width: 300px; background: var(--white); border: var(--hair); border-radius: var(--radius); padding: 8px; list-style: none; margin: 0; display: none; }
.has-menu[data-open="true"] .submenu { display: block; }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 400; }
.submenu a span { display: block; font-size: .82rem; color: var(--muted); font-weight: 300; }
.submenu a:hover { background: var(--blush); }
.header-cta { margin-left: 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--petal); border-radius: var(--radius); padding: 10px 12px; font: 500 .9rem var(--f-sans); color: var(--ink); cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; gap: 8px; align-items: center; }
  .nav { position: fixed; inset: calc(84px + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--ivory); flex-direction: column; align-items: stretch; padding: 16px var(--gutter-r) 32px var(--gutter); overflow-y: auto; display: none; border-top: var(--hair); }
  .nav[data-open="true"] { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: var(--hair); }
  .nav a.navlink, .nav button.navlink { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.1rem; }
  .submenu { position: static; border: 0; padding: 0 0 12px; min-width: 0; background: transparent; }
  .header-cta { margin: 20px 0 0; }
  .header-cta .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(251,247,245,.86); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink .kicker { color: var(--rose); }
.section--ink a { color: var(--rose); }
.section--rose { background: var(--rose); color: var(--ink); }
.section--rose .kicker { color: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { min-width: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.rule { border: 0; border-top: var(--hair); margin: 0; }
.clip { overflow: hidden; }

/* Rosette device — one per layout */
.rosette { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.rosette--bleed-tr { width: min(520px, 60vw); right: -150px; top: -120px; opacity: .12; }
.rosette--bleed-br { width: min(460px, 70vw); right: -140px; bottom: -160px; opacity: .9; }
.rosette--watermark { width: 380px; right: -90px; top: 40px; opacity: .10; }
.rel { position: relative; z-index: 1; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero-copy > * + * { margin-top: 1.4rem; }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 38% 50%; border-radius: var(--radius); }
.hero-note { position: absolute; left: -28px; bottom: 28px; background: var(--ivory); border: var(--hair); border-radius: var(--radius); padding: 16px 20px; max-width: 300px; }
.hero-note .arabic { font-size: 1.6rem; text-align: right; }
.hero-note .quote { font-size: 1.05rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-note { position: static; margin-top: 12px; max-width: none; }
}
.journey-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); padding-top: 4px; }
.journey-inline span b { color: var(--ink); font-weight: 400; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px); border-bottom: var(--hair); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.page-hero-grid > * { min-width: 0; }
.page-hero-copy > * + * { margin-top: 1.25rem; }
.page-hero-copy .btn-row { margin-top: 1.75rem; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.page-hero--wide .page-hero-media img { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media img { aspect-ratio: 4 / 3; } }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--rose); }

/* ---------- Naseeha / hadith band ---------- */
.naseeha-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.naseeha-grid > * { min-width: 0; }
.source-card { background: var(--ivory); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.section--blush .source-card { background: var(--ivory); }
.source-card .arabic { font-size: clamp(2.2rem, 4vw, 3rem); text-align: right; }
.source-card .quote { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: .5rem; }
.source-card .caption { margin-top: .9rem; }
.practice-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.practice-list li { padding: 14px 0; border-top: var(--hair); display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.practice-list li:last-child { border-bottom: var(--hair); }
.practice-list li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: url("../brand/sn-rosette-rose.png") center/contain no-repeat; }
@media (max-width: 860px) { .naseeha-grid { grid-template-columns: 1fr; } }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.svc-media { overflow: hidden; border-radius: var(--radius); background: var(--petal); }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-media img { transform: scale(1.03); }
.svc .tag { align-self: flex-start; margin-top: 6px; }
.svc h3 { font-size: 1.3rem; font-weight: 400; }
.svc p { color: var(--muted); font-size: 1rem; }
.svc .textlink { align-self: flex-start; margin-top: auto; }
.svc:hover h3 { color: var(--clay); }
.tag { display: inline-block; font: 500 .7rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--petal); padding: 7px 10px; border-radius: 999px; }
.tag--ink { background: var(--rose); }

/* ---------- Journey table ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.journey > * { min-width: 0; }
.journey-rows { list-style: none; margin: 0; padding: 0; }
.journey-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: var(--hair); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 200; color: var(--muted); }
.journey-rows li:first-child { border-top: var(--hair); }
.journey-rows li b { color: var(--ink); font-weight: 300; }
.journey-rows li i { font-style: normal; color: var(--rose); }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } }

/* ---------- IMP band ---------- */
.imp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.imp-grid > * { min-width: 0; }
.imp-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pillar { border-radius: var(--radius); overflow: hidden; background: rgba(251,247,245,.06); }
.pillar b { display: block; color: var(--white); font: 500 .75rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; padding: 12px 14px; }
.pillar p { padding: 12px 14px 16px; font-size: .92rem; color: rgba(251,247,245,.82); }
.pillar--mind b { background: var(--mind); } .pillar--body b { background: var(--body); } .pillar--soul b { background: var(--soul); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.facts li { padding: 12px 0; border-top: 1px solid rgba(232,207,201,.22); font-size: .98rem; }
.facts li b { display: block; color: var(--ivory); font-weight: 400; }
@media (max-width: 860px) { .imp-grid { grid-template-columns: 1fr; } .imp-grid img { aspect-ratio: 4/3; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 24px 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 200; font-size: 2.6rem; line-height: 1; color: var(--clay); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 960px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .art-grid { grid-template-columns: 1fr; } }
.art-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.art-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.art-card h3 { font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.art-card:hover h3 { color: var(--clay); }
.art-card p { color: var(--muted); font-size: .98rem; }
.art-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 400; }
.art-meta .kicker { font-size: .7rem; }
.art-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: var(--hair); margin-bottom: clamp(32px, 5vw, 56px); }
.art-feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.art-feature h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.art-feature:hover h2 { color: var(--clay); }
.art-feature > div > * + * { margin-top: 1rem; }
@media (max-width: 860px) { .art-feature { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { font: 400 .9rem/1 var(--f-sans); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--petal); background: transparent; color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--rose); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Article page ---------- */
.article-head { padding-block: clamp(36px, 5vw, 64px) 28px; }
.article-head > * + * { margin-top: 1.1rem; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.8em 0; padding: 24px 28px; background: var(--blush); border-radius: var(--radius); }
.prose blockquote p { font-family: var(--f-quote); font-style: italic; color: var(--deep-clay); font-size: 1.2rem; line-height: 1.55; }
.prose blockquote .arabic { font-family: var(--f-arabic); font-style: normal; color: var(--ink); font-size: 1.7rem; text-align: right; margin-bottom: .4em; }
.prose blockquote cite { display: block; margin-top: .8em; font: 400 .82rem/1.4 var(--f-sans); font-style: normal; color: var(--muted); }
.this-week { background: var(--white); border: var(--hair); border-radius: var(--radius); padding: 24px 28px; margin-top: 2.2em; }
.this-week .kicker { display: block; margin-bottom: .6em; }
.refs { font-size: .88rem; color: var(--muted); border-top: var(--hair); padding-top: 20px; margin-top: 2.5em; }
.refs ol { padding-left: 1.2em; margin: .6em 0 0; }
.refs li + li { margin-top: .3em; }

/* ---------- Service page blocks ---------- */
.factbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: var(--hair); }
.factbar div { padding: 22px 20px 22px 0; min-width: 0; }
.factbar div + div { padding-left: 20px; border-left: var(--hair); }
.factbar dt { font: 500 .7rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.factbar dd { margin: 0; color: var(--ink); font-weight: 400; }
@media (max-width: 760px) { .factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .factbar div:nth-child(3) { padding-left: 0; border-left: 0; } .factbar div:nth-child(n+3) { border-top: var(--hair); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.two-col > * { min-width: 0; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { padding: 12px 0 12px 30px; border-top: var(--hair); position: relative; }
.ticks li:last-child { border-bottom: var(--hair); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay); transform: rotate(-45deg); }
.grounding { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; text-align: center; gap: 14px; }
.grounding .arabic { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.grounding .quote { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.boundary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.boundary > div { border-radius: var(--radius); padding: 24px 28px; min-width: 0; }
.boundary .b-line { background: var(--blush); }
.boundary .b-line p { font-family: var(--f-quote); font-style: italic; color: var(--deep-clay); font-size: 1.1rem; line-height: 1.5; }
.boundary .b-help { background: var(--white); border: var(--hair); }
.boundary .kicker { display: block; margin-bottom: 10px; }
@media (max-width: 800px) { .boundary { grid-template-columns: 1fr; } }
.faq { border-top: var(--hair); }
.faq details { border-bottom: var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 400; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--charcoal); max-width: 46em; }
.faq details > div > * + * { margin-top: .8em; }

/* Seasons / pillar tables (IMP) */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.season { border: var(--hair); border-radius: var(--radius); padding: 22px; background: var(--white); min-width: 0; }
.season .kicker { display: block; margin-bottom: 10px; }
.season h3 { font-weight: 400; font-size: 1.25rem; margin-bottom: 10px; }
.season ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .seasons { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: var(--hair); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: var(--hair); vertical-align: top; }
table.data thead th { font: 500 .72rem/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); background: var(--ivory); }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody th { font-weight: 500; color: var(--ink); }
table.data td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.flow-mind { box-shadow: inset 4px 0 0 var(--mind); } .flow-body { box-shadow: inset 4px 0 0 var(--body); } .flow-soul { box-shadow: inset 4px 0 0 var(--soul); }
.ptag { display: inline-block; font: 500 .68rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--white); padding: 5px 8px; border-radius: 4px; }
.ptag--mind { background: var(--mind); } .ptag--body { background: var(--body); } .ptag--soul { background: var(--soul); } .ptag--all { background: var(--clay); }

/* Courses */
.course-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.course { border: var(--hair); border-radius: var(--radius); padding: 26px; background: var(--white); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.course h3 { font-weight: 400; font-size: 1.35rem; }
.course p { color: var(--muted); }
.course dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 4px 0 0; font-size: .92rem; }
.course dt { color: var(--clay); font-weight: 500; }
.course dd { margin: 0; }
.course .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .course-list { grid-template-columns: 1fr; } }

/* Values table */
.values { width: 100%; border-collapse: collapse; }
.values th, .values td { text-align: left; padding: 18px 0; border-bottom: var(--hair); vertical-align: top; }
.values th { width: 34%; font-weight: 500; color: var(--ink); padding-right: 20px; }
.values th span { display: block; font-weight: 300; color: var(--muted); font-size: .9rem; }
.values tr:first-child th, .values tr:first-child td { border-top: 1px solid var(--clay); }

/* Comparison */
.compare td:first-child { white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { max-width: 18em; }
.cta-band p { margin-top: .8rem; max-width: 40em; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-shell > * { min-width: 0; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .92rem; color: var(--ink); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: 300 1rem/1.4 var(--f-sans); color: var(--ink); background: var(--white);
  border: 1px solid #D9C2BC; border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(140,90,81,.15); }
.field [aria-invalid="true"] { border-color: #A3322A; }
.field .err { color: #A3322A; font-size: .84rem; font-weight: 400; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 11px 16px; border: 1px solid #D9C2BC; border-radius: var(--radius); background: var(--white); font-size: .95rem; cursor: pointer; }
.choice input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.form-status[data-kind="ok"] { background: var(--body-tint); color: #2F4229; }
.form-status[data-kind="error"] { background: #F6E3E0; color: #7A2620; }
.form-status[data-kind="info"] { background: var(--blush); color: var(--deep-clay); }
.aside-card { border: var(--hair); border-radius: var(--radius); padding: 24px; background: var(--white); }
aside .aside-card + .aside-card { margin-top: 16px; }
.aside-card .kicker { display: block; margin-bottom: 10px; }
.aside-card.blush { background: var(--blush); border-color: var(--blush); }
.copy-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-line code { font: 400 1rem var(--f-sans); color: var(--ink); user-select: all; }
.copy-btn { font: 500 .78rem var(--f-sans); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--petal); background: var(--ivory); cursor: pointer; color: var(--ink); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.booking > * { min-width: 0; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.bstep { border-top: 1px solid var(--ink); padding: 26px 0 34px; }
.bstep-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.bstep-num { font-weight: 200; font-size: 2rem; line-height: 1; color: var(--clay); min-width: 2ch; }
.bstep-head h2 { font-size: 1.5rem; font-weight: 400; }
.bstep[data-state="locked"] { opacity: .45; }
.bstep[data-state="locked"] .bstep-body { display: none; }
.bstep-done { margin-left: auto; font-size: .88rem; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .svc-pick { grid-template-columns: 1fr; } }
.svc-opt { position: relative; }
.svc-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.svc-opt .card { border: 1px solid #D9C2BC; border-radius: var(--radius); padding: 16px 18px; background: var(--white); height: 100%; display: grid; gap: 4px; align-content: start; }
.svc-opt .card b { color: var(--ink); font-weight: 500; }
.svc-opt .card small { color: var(--muted); font-size: .85rem; }
.svc-opt .card em { font-style: normal; font-size: .8rem; color: var(--clay); font-weight: 500; letter-spacing: .04em; }
.svc-opt input:checked + .card { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--ivory); }
.svc-opt input:focus-visible + .card { outline: 2px solid var(--clay); outline-offset: 2px; }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
@media (max-width: 720px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal { background: var(--white); border: var(--hair); border-radius: var(--radius); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-weight: 500; color: var(--ink); }
.cal-nav { background: none; border: 1px solid var(--petal); border-radius: 6px; width: 38px; height: 38px; cursor: pointer; color: var(--ink); font-size: 1.1rem; }
.cal-nav[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-grid .dow { font: 500 .7rem var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 6px; background: transparent; font: 400 .95rem var(--f-sans); color: #B5A8A5; cursor: default; font-variant-numeric: tabular-nums; }
.cal-day.has { color: var(--ink); background: var(--blush); cursor: pointer; font-weight: 500; }
.cal-day.has:hover { background: var(--petal); }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.cal-day.today { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rose); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; align-content: start; }
.slot { font: 400 .95rem var(--f-sans); padding: 12px 6px; border-radius: 6px; border: 1px solid #D9C2BC; background: var(--white); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slots-empty { color: var(--muted); font-size: .95rem; padding: 12px 0; }
.tz-note { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.summary { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); background: var(--white); border: var(--hair); border-radius: var(--radius); padding: 24px; }
.summary dl { margin: 14px 0 0; display: grid; gap: 0; }
.summary dl div { padding: 12px 0; border-top: var(--hair); }
.summary dt { font: 500 .7rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.summary dd { margin: 0; color: var(--ink); font-weight: 400; }
.summary dd.empty { color: #B5A8A5; font-weight: 300; }
.preview-flag { display: inline-block; font: 500 .72rem var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--deep-clay); background: var(--blush); padding: 6px 10px; border-radius: 999px; }
.confirm { background: var(--white); border: var(--hair); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.confirm > * + * { margin-top: 1rem; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(251,247,245,.4); border-top-color: var(--ivory); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.embed-frame { width: 100%; min-height: 760px; border: var(--hair); border-radius: var(--radius); background: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251,247,245,.78); position: relative; overflow: hidden; padding-block: 72px 32px; font-size: .95rem; }
.site-footer a { color: rgba(251,247,245,.86); text-decoration: none; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; position: relative; z-index: 1; }
.foot-grid > * { min-width: 0; }
.foot-grid h3 { color: var(--rose); font: 500 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-brand img { width: 170px; }
.foot-brand .quote { color: var(--petal); margin-top: 20px; font-size: 1.05rem; max-width: 22em; }
.foot-legal { position: relative; z-index: 1; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(232,207,201,.2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; font-size: .84rem; }
.foot-legal p + p { margin-top: .5rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } .foot-legal { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
