/* ==========================================================================
   Alojaymi — main stylesheet (front end + editor)
   Brand tokens live in theme.json; aliases below keep this file readable.
   ========================================================================== */

:root {
	--navy: var(--wp--preset--color--navy, #063565);
	--navy-deep: var(--wp--preset--color--navy-deep, #04264a);
	--sky: var(--wp--preset--color--sky, #B1D6FB);
	--haze: var(--wp--preset--color--haze, #E5EFF9);
	--mist: var(--wp--preset--color--mist, #EAEAEA);
	--paper: var(--wp--preset--color--paper, #F9F9F9);
	--white: #fff;
	--orange: var(--wp--preset--color--orange, #E8622F);
	--orange-deep: #cf4f1f;
	/* Accent: burgundy across the site; the workshop section keeps the social orange (see .workshop-section below) */
	--accent: #660606;
	--accent-deep: #4a0303;
	--accent-ink: #fff;
	--ink: var(--wp--preset--color--ink, #1D1D1D);
	--muted: var(--wp--preset--color--muted, #4F5D70);
	--display: var(--wp--preset--font-family--display);
	--body: var(--wp--preset--font-family--body);

	--glass-bg: rgba(255, 255, 255, .62);
	--glass-border: rgba(255, 255, 255, .85);
	--glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 18px 40px -18px rgba(6, 53, 101, 0.11);
	--r-xl: 32px;
	--r-lg: 24px;
	--r-md: 16px;
	--ease: cubic-bezier(.22, .8, .24, 1);

	/* Theme surfaces — light (default). Dark values are below. */
	--bg: var(--paper);
	--bg-soft: var(--haze);
	--surface: #fff;
	--heading: var(--navy);
	--text: var(--ink);
	--text-2: var(--text-2);
	--muted-t: var(--muted);
	--line: #dfe8f3;
	--bar-bg: rgba(255, 255, 255, .72);
	--header-bg: rgba(249, 249, 249, .78);
	--fill-bg: var(--navy);
	--fill-text: #fff;
	--fill-hover: var(--navy-deep);
	--hero-bg: var(--wp--preset--gradient--haze);
	--beam: rgba(255, 255, 255, .95);
	--placeholder-line: rgba(6, 53, 101, .25);
	--logo-light: block;
	--logo-dark: none;
	--footer-mid: var(--sky);
	color-scheme: light;
}

/* ---------- Dark mode: explicit choice, or the system setting when no choice was made ---------- */
:root[data-theme="dark"] {
	--accent: var(--sky);
	--accent-deep: #d3e8fd;
	--accent-ink: var(--navy);
	--bg: #04182f;
	--bg-soft: #072546;
	--surface: #0b2c52;
	--heading: #F2F7FD;
	--text: #D5E2F1;
	--text-2: #B7C8DC;
	--muted-t: #8FA6C1;
	--line: rgba(177, 214, 251, .16);
	--glass-bg: rgba(15, 52, 94, .5);
	--glass-border: rgba(177, 214, 251, .14);
	--glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.275);
	--bar-bg: rgba(6, 30, 58, .74);
	--header-bg: rgba(4, 24, 47, .78);
	--fill-bg: var(--sky);
	--fill-text: var(--navy);
	--fill-hover: #d3e8fd;
	--hero-bg: linear-gradient(180deg, #031327 0%, #05213f 60%, #04182f 100%);
	--beam: rgba(177, 214, 251, .2);
	--placeholder-line: rgba(177, 214, 251, .3);
	--logo-light: none;
	--logo-dark: block;
	--footer-mid: #0a3566;
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--accent: var(--sky);
		--accent-deep: #d3e8fd;
		--accent-ink: var(--navy);
		--bg: #04182f;
		--bg-soft: #072546;
		--surface: #0b2c52;
		--heading: #F2F7FD;
		--text: #D5E2F1;
		--text-2: #B7C8DC;
		--muted-t: #8FA6C1;
		--line: rgba(177, 214, 251, .16);
		--glass-bg: rgba(15, 52, 94, .5);
		--glass-border: rgba(177, 214, 251, .14);
		--glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.275);
		--bar-bg: rgba(6, 30, 58, .74);
		--header-bg: rgba(4, 24, 47, .78);
		--fill-bg: var(--sky);
		--fill-text: var(--navy);
		--fill-hover: #d3e8fd;
		--hero-bg: linear-gradient(180deg, #031327 0%, #05213f 60%, #04182f 100%);
		--beam: rgba(177, 214, 251, .2);
		--placeholder-line: rgba(177, 214, 251, .3);
		--logo-light: none;
		--logo-dark: block;
		--footer-mid: #0a3566;
		color-scheme: dark;
	}
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); transition: background-color .35s var(--ease), color .35s var(--ease); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { text-wrap: balance; }
body h1, body h2, body h3, body h4, body h5, body h6 { color: var(--heading); }
p { text-wrap: pretty; }
:where(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; }

/* Root-level blocks inside <main> manage their own spacing */
.site-main { margin-block-start: 0; }
.site-main > * + * { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Logo (artboard crop) ---------- */
.brand-logo { --w: 140px; display: block; width: var(--w); flex: none; line-height: 0; }
.brand-logo img { display: block; width: 100%; height: auto; }
.brand-logo .logo-on-light { display: var(--logo-light); }
.brand-logo .logo-on-dark { display: var(--logo-dark); }

/* ---------- Header: full-width bar, hairline, active link underline ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
/* The frosted background sits on a layer behind the header: a backdrop-filter on the header itself would trap
   the opened mobile menu (position: fixed) inside the header's box instead of the whole screen. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background-color .35s var(--ease); }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(6, 53, 101, 0.175); }
.header-bar { max-width: 1200px; margin-inline: auto; min-height: 76px; padding-inline: clamp(1rem, 4vw, 2rem); gap: 1.5rem; }
.main-nav { font-size: var(--wp--preset--font-size--m); align-self: stretch; }
.main-nav .wp-block-navigation__container { align-self: stretch; gap: 2rem; }
.main-nav .wp-block-navigation-item { align-self: stretch; display: flex; align-items: center; position: relative; }
.main-nav a { text-decoration: none; color: var(--text); opacity: .8; transition: opacity .2s, color .2s; padding-block: .5rem; }
.main-nav a:hover { opacity: 1; color: var(--heading); }
.main-nav .wp-block-navigation-item::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav .wp-block-navigation-item.is-active::after { transform: scaleX(1); }
.main-nav .wp-block-navigation-item.is-active > a { opacity: 1; color: var(--heading); font-weight: 700; }
.main-nav .is-menu-open .wp-block-navigation-item::after { display: none; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--bg) !important; color: var(--text) !important; padding: clamp(1rem, 4vw, 2rem); }
/* Opened menu: links on the reading side (right), large, in Fatimah, divided by thin rules */
.main-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 3.5rem; max-width: 520px; margin-inline-start: 0; }
.main-nav .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item { justify-content: flex-start; border-bottom: 1px solid var(--line); }
.main-nav .is-menu-open .wp-block-navigation-item > a { width: 100%; padding-block: 1rem !important; font-family: var(--display); font-size: var(--wp--preset--font-size--xl); opacity: 1; color: var(--heading); }
.main-nav .is-menu-open .wp-block-navigation-item.is-active > a { color: var(--accent); }
.main-nav .wp-block-navigation__responsive-container-open, .main-nav .wp-block-navigation__responsive-container-close { color: var(--heading); }
.header-actions { gap: .6rem !important; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.theme-toggle:hover { border-color: var(--heading); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.is-dark .theme-toggle__sun { opacity: 1; transform: none; }
.is-dark .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.header-cta .wp-block-button__link { padding: .6rem 1.3rem; font-size: var(--wp--preset--font-size--s); white-space: nowrap; }
/* Six links don't fit beside the logo and the actions below ~1100px: use the menu button there too
   (core only switches to it below 600px). */
@media (max-width: 1100px) {
	.main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.header-bar .main-nav { margin-inline-start: auto; }
}
@media (max-width: 781px) {
	.header-bar .header-cta { display: none !important; }
	.header-bar { min-height: 64px; gap: .5rem; }
	.header-bar .main-nav { margin-inline-start: auto; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button:not(.is-style-accent):not(.is-style-glass):not(.is-style-outline) .wp-block-button__link { background: var(--fill-bg); color: var(--fill-text); }
.wp-block-button:not(.is-style-accent):not(.is-style-glass):not(.is-style-outline) .wp-block-button__link:hover { background: var(--fill-hover); }
.wp-block-button.is-style-accent .wp-block-button__link { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 40%, transparent); }
.wp-block-button.is-style-accent .wp-block-button__link:hover { background: var(--accent-deep); }
.wp-block-button.is-style-glass .wp-block-button__link { background: var(--glass-bg); color: var(--heading); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--heading); border: 1.5px solid var(--heading); padding: calc(.8rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.has-arrow .wp-block-button__link::before { content: "←"; display: inline-block; margin-inline-end: .55em; transition: transform .25s var(--ease); }
.wp-block-button.has-arrow .wp-block-button__link:hover::before { transform: translateX(-4px); }

/* ---------- Shared bits ---------- */
.section { padding-block: var(--wp--preset--spacing--60); position: relative; }
.section-title { margin-block-end: var(--wp--preset--spacing--50) !important; }
.tag { display: inline-block; width: fit-content; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--wp--preset--font-size--s); line-height: 1.6; padding: .3rem 1rem; border-radius: 10px; }
.tag.has-text-align-center { margin-inline: auto; display: table; }
.tag--tilt { transform: rotate(-4deg); transform-origin: right center; }
.pill { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; padding: .5rem 1.1rem; border-radius: 999px; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); color: var(--heading); font-weight: 500; font-size: var(--wp--preset--font-size--s); }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #27c26c; box-shadow: 0 0 0 4px rgba(39, 194, 108, 0.09); flex: none; }
.lead { color: var(--text-2); font-size: var(--wp--preset--font-size--m); }
.label { font-weight: 700; color: var(--heading); margin-block-end: .25rem !important; }
.is-placeholder { color: var(--muted-t) !important; font-size: var(--wp--preset--font-size--xs); border: 1.5px dashed var(--placeholder-line) !important; background: transparent !important; }

.is-style-glass:where(.wp-block-group),
.service-card, .list-card, .quote-card, .gets .get, .policy, .booking {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
	backdrop-filter: blur(14px) saturate(130%);
	-webkit-backdrop-filter: blur(14px) saturate(130%);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4.5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); margin-top: -77px; padding-top: calc(clamp(4.5rem, 12vw, 9rem) + 77px); background: var(--hero-bg); }
.hero-title { font-size: var(--wp--preset--font-size--display); line-height: 1.32; letter-spacing: -.005em; }
.hero-sub { color: var(--muted-t); font-size: var(--wp--preset--font-size--l); margin-block-start: 1.25rem !important; }
.hero-ctas { margin-block-start: 2.25rem !important; gap: .75rem; }
.hero--page .hero-title { font-size: var(--wp--preset--font-size--xxl); }
.hero--page .tag { margin-block-end: 1rem; }

/* Light beams: soft vertical columns of light, the backdrop of the client's social posts */
.hero > .light-beams { max-width: none !important; margin: 0 !important; }
.light-beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.light-beams span { position: absolute; top: -10%; bottom: -10%; width: var(--bw, 9%); left: var(--bx, 10%); background: linear-gradient(180deg, transparent 0%, var(--beam) 45%, transparent 100%); filter: blur(var(--bb, 18px)); opacity: var(--bo, .8); animation: beam-drift var(--bd, 18s) ease-in-out infinite alternate; }
.light-beams span:nth-child(1) { --bx: 6%; --bw: 7%; --bd: 19s; }
.light-beams span:nth-child(2) { --bx: 24%; --bw: 12%; --bd: 23s; --bo: .55; --bb: 28px; }
.light-beams span:nth-child(3) { --bx: 52%; --bw: 6%; --bd: 17s; }
.light-beams span:nth-child(4) { --bx: 70%; --bw: 14%; --bd: 26s; --bo: .5; --bb: 34px; }
.light-beams span:nth-child(5) { --bx: 88%; --bw: 8%; --bd: 21s; }
.light-beams::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); }
@keyframes beam-drift { from { transform: translateX(-30px) skewX(-6deg); } to { transform: translateX(40px) skewX(-6deg); } }

/* Hero entrance — plays once on load, ends fully visible */
.hero > :not(.light-beams) { animation: rise .9s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .05s; }
.hero > :nth-child(3) { animation-delay: .18s; }
.hero > :nth-child(4) { animation-delay: .3s; }
.hero > :nth-child(5) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Media card (photo + glass bar) ---------- */
.media-card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); box-shadow: 0 30px 60px -30px rgba(6, 53, 101, 0.175); }
.media-card .media-card__img { margin: 0; }
.media-card .media-card__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; transform: scale(calc(1.06 - var(--p, 0) * .06)); transition: transform .1s linear; }
.media-card--wide .media-card__img img { aspect-ratio: 16 / 9; object-position: 50% 50%; }
.media-bar { position: absolute; inset: auto 14px 14px; padding: 10px 10px 10px 18px; border-radius: 22px; background: var(--bar-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); gap: .75rem; }
.media-bar .wp-block-buttons { margin: 0; }
.price { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.75rem; color: var(--heading); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--muted-t); }
.media-card.is-sticky { position: sticky; top: 110px; }
@media (max-width: 600px) {
	.media-bar { position: relative; inset: auto; margin: -28px 10px 10px; flex-wrap: wrap !important; }
	.media-card .media-bar .wp-block-buttons, .media-card .media-bar .wp-block-button, .media-card .media-bar .wp-block-button__link { width: 100%; text-align: center; }
	.media-card:not(.media-card--wide) .media-bar { flex-direction: row-reverse; }
	.media-card:not(.media-card--wide) .media-bar .wp-block-buttons { width: auto; flex: 1; }
}

/* ---------- Consultation ---------- */
.consult-grid { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.consult-text > * + * { margin-block-start: 1.1rem; }
.consult-text h2 { margin-block-start: .5rem !important; }
.gets { gap: .75rem !important; }
.gets .get { margin: 0; min-height: 84px; display: grid; place-items: center; text-align: center; padding: .9rem; border-radius: var(--r-md); color: var(--heading); font-weight: 500; }
.consult-section--page { padding-block-start: var(--wp--preset--spacing--40); }
.policy { border-radius: var(--r-lg); padding: 1.4rem 1.6rem; }
.policy h3 { font-size: var(--wp--preset--font-size--l); margin: 0 0 .4rem; }
.policy ul { margin: 0; padding-inline-start: 1.2rem; }
.policy li::marker { color: var(--accent); }
@media (max-width: 781px) { .gets { grid-template-columns: 1fr !important; } .media-card.is-sticky { position: relative; top: auto; } }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-soft) 60%, var(--bg)); }
.service-grid { gap: 1.25rem !important; }
.service-card { border-radius: var(--r-lg); padding: 2rem 1.75rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow), 0 26px 50px -24px rgba(6, 53, 101, 0.175); }
.service-card h3 { margin: .4rem 0 0; }
.service-card p { margin: 0; color: var(--text-2); font-size: var(--wp--preset--font-size--s); }
.service-card .card-link { margin-top: auto; padding-top: .8rem; }
.service-card .card-link a { color: var(--accent); font-weight: 700; text-decoration: none; }
.service-card .card-link a::after { content: " ←"; transition: margin .25s var(--ease); }
.service-card:hover .card-link a::after { margin-inline-start: 4px; }
.icon-tile { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); color: var(--accent); box-shadow: 0 8px 20px -10px rgba(6, 53, 101, 0.175); }
.icon-tile svg { width: 26px; height: 26px; }

/* ---------- Workshop ---------- */
.workshop-body { margin-block-start: var(--wp--preset--spacing--50) !important; gap: clamp(2rem, 5vw, 4rem) !important; }
.workshop-body h2 { margin-block-start: .9rem !important; }
.chips { gap: .5rem !important; margin-block: 1.4rem !important; }
.chip { margin: 0; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--wp--preset--font-size--s); color: var(--heading); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.workshop-lists { display: flex; flex-direction: column; gap: 1rem; }
.list-card { border-radius: var(--r-lg); padding: 1.5rem 1.6rem; margin: 0 !important; }
.list-card h3 { font-size: var(--wp--preset--font-size--l); margin: 0 0 .5rem; }
.list-card ul { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .35rem; color: var(--text-2); }
.list-card li::marker { color: var(--accent); }
.upcoming { margin-block-start: var(--wp--preset--spacing--50) !important; gap: .6rem !important; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.upcoming__label { margin: 0 0 0 .5rem; font-family: var(--display); font-weight: 700; color: var(--heading); font-size: var(--wp--preset--font-size--l); }
.soon { margin: 0; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .5rem .4rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--wp--preset--font-size--s); }
.soon span { font-size: .75rem; color: var(--accent-ink); background: var(--accent); padding: .05rem .6rem; border-radius: 999px; }

/* ---------- Testimonials (two marquee rows built by motion.js) ---------- */
.testimonials { overflow: hidden; }
.quote-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 1200px; margin-inline: auto !important; padding-inline: clamp(1rem, 4vw, 2rem); }
.quote-card { border-radius: var(--r-lg); padding: 1.5rem; margin: 0 !important; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 190px; }
.quote-card .quote-text { margin: 0; padding: .75rem; border-radius: 12px; }
.quote-card .quote-name { margin: 0; font-weight: 700; color: var(--heading); font-size: var(--wp--preset--font-size--s); }
.quote-track.is-marquee { display: flex; flex-direction: column; gap: 1rem; max-width: none; padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; gap: 1rem; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee-row.is-reverse { animation-direction: reverse; }
.marquee-row .quote-card { width: 320px; flex: none; }
@media (hover: hover) { .quote-track.is-marquee:hover .marquee-row { animation-play-state: paused; } }
@media (max-width: 781px) { .quote-track:not(.is-marquee) { grid-template-columns: 1fr; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Booking ---------- */
.booking { border-radius: var(--r-xl); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.booking__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.booking__label { font-weight: 700; color: var(--heading); min-width: 4.5rem; }
.booking__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.booking__chip, .booking__day { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--heading); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.booking__chip { padding: .4rem 1rem; border-radius: 999px; font-size: var(--wp--preset--font-size--s); }
.booking__chip:hover, .booking__day:not(:disabled):hover { border-color: var(--heading); transform: translateY(-1px); }
.booking__chip[aria-pressed="true"], .booking__day[aria-pressed="true"] { background: var(--fill-bg); color: var(--fill-text); border-color: var(--fill-bg); }
.booking__weekdays, .booking__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.booking__weekdays span { text-align: center; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.booking__day { height: 52px; border-radius: 12px; font-variant-numeric: tabular-nums; position: relative; }
.booking__day.is-open::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.booking__day[aria-pressed="true"]::after { background: var(--fill-text); }
.booking__day:disabled { cursor: default; opacity: .35; background: transparent; }
.booking__day.is-empty { visibility: hidden; }
.booking__hint { color: var(--muted-t); font-size: var(--wp--preset--font-size--s); }
.booking__summary { padding: .8rem 1rem; border-radius: 14px; background: var(--bg-soft); color: var(--heading); font-size: var(--wp--preset--font-size--s); }
.booking__submit { font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 16px; padding: 1rem; background: var(--accent); color: var(--accent-ink); font-size: var(--wp--preset--font-size--l); transition: background .2s, opacity .2s; }
.booking__submit:disabled { opacity: .45; cursor: not-allowed; }
.booking__submit:not(:disabled):hover { background: var(--accent-deep); }
.booking__note { margin: 0; text-align: center; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }

/* ---------- Closing quote (consultations) ---------- */
.closing-quote__text { font-family: var(--display); font-weight: 500; color: var(--heading); font-size: var(--wp--preset--font-size--xl); line-height: 1.8; }
.closing-quote__text strong { font-weight: 700; color: var(--accent); }

/* ---------- Footer scene ---------- */
.footer-scene { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 18%, var(--footer-mid) 42%, var(--navy) 78%, var(--navy-deep) 100%); padding-top: clamp(9rem, 20vw, 15rem); color: rgba(255, 255, 255, .82); }
.mesh-wave { position: absolute; inset: 0 0 auto; width: 100%; height: 70%; z-index: -1; pointer-events: none; }
.footer-inner { padding-bottom: 2rem; }
.footer-grid { gap: 2rem !important; }
.footer-vision { margin-top: 1rem; font-family: var(--display); font-size: var(--wp--preset--font-size--l); color: var(--white); line-height: 1.6; }
.footer-title { font-family: var(--body); font-size: var(--wp--preset--font-size--m); color: var(--white); margin: 0 0 .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: var(--wp--preset--font-size--s); }
.footer-links a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-copy { margin-top: 2.5rem !important; padding-top: 1.25rem; border-top: 1px solid rgba(177, 214, 251, .2); font-size: var(--wp--preset--font-size--xs); color: rgba(255, 255, 255, .6); }
.footer-brand .brand-logo { --w: 170px; }

/* ---------- Scroll reveal (only below-the-fold elements; JS adds .pre) ---------- */
.js .reveal.pre, .js .reveal-stagger.pre > * { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in, .js .reveal-stagger.is-in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Generic page ---------- */
.page-default { padding-block: var(--wp--preset--spacing--60); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal.pre, .js .reveal-stagger.pre > * { opacity: 1; transform: none; }
}

/* ---------- Workshop banner: the client's social banner rebuilt as live motion ---------- */
:root { --banner-bg: linear-gradient(180deg, #F5F9FD 0%, #E6EFF9 60%, #DCE8F6 100%); }
:root[data-theme="dark"] { --banner-bg: linear-gradient(180deg, #072a50 0%, #05213f 60%, #04182f 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --banner-bg: linear-gradient(180deg, #072a50 0%, #05213f 60%, #04182f 100%); } }

.wbanner { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; isolation: isolate; background: var(--banner-bg); }
.wbanner .light-beams::after { display: none; }
.wbanner__logo { --w: 13cqw; position: absolute; top: 6.5%; left: 50%; transform: translateX(-50%); z-index: 2; }
.wbanner__title { position: absolute; inset: 19% 0 auto; display: flex; flex-direction: column; align-items: center; z-index: 2; font-family: var(--display); font-weight: 700; color: var(--heading); line-height: 1.02; }
.wbanner__line { display: block; font-size: 13.5cqw; white-space: nowrap; }
.wbanner__line--2 { margin-top: -1.2cqw; }
.wbanner__tag { position: absolute; top: -1.5cqw; left: 26%; z-index: 3; font-size: 3.3cqw; line-height: 1.5; padding: .1em .7em .25em; border-radius: .45em; background: var(--accent); color: var(--accent-ink); transform: rotate(-8deg); box-shadow: 0 1.2cqw 2.4cqw -1.4cqw color-mix(in srgb, var(--accent) 40%, transparent); }
.wbanner__pill { position: absolute; top: 71%; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; font-size: 2.35cqw; font-weight: 500; line-height: 1.5; padding: .45em 1.2em .55em; border-radius: .7em; background: var(--accent); color: var(--accent-ink); }
.wbanner__hanger { position: absolute; z-index: 1; width: var(--hw, 22cqw); opacity: var(--ho, .9); filter: blur(var(--hb, 1.5px)); transform: rotate(var(--hr, 0deg)); }
.wbanner__hanger svg { display: block; width: 100%; height: auto; animation: hanger-float var(--hd, 8s) ease-in-out infinite alternate; }
.wbanner__hanger--a { --hw: 24cqw; --hr: -16deg; --hd: 8s; top: 17%; right: -5%; }
.wbanner__hanger--b { --hw: 18cqw; --hr: 22deg; --hd: 9.5s; --hb: 2.5px; top: 52%; left: -5%; }
.wbanner__hanger--c { --hw: 11cqw; --hr: -8deg; --hd: 7s; --hb: 4px; --ho: .55; top: 10%; left: 9%; }
@keyframes hanger-float { from { transform: translateY(-1.2cqw) rotate(-3deg); } to { transform: translateY(1.2cqw) rotate(4deg); } }

/* Entrance order: «ورشة» → «المشاعر» → «والعلاقات» → the tagline. Starts when the banner scrolls into view (motion.js adds .is-play) */
.js .wbanner:not(.is-play) :is(.wbanner__logo, .wbanner__line, .wbanner__tag, .wbanner__pill, .wbanner__hanger) { opacity: 0; }
.wbanner.is-play .wbanner__logo { animation: wb-fade .8s var(--ease) both; }
.wbanner.is-play .wbanner__line { animation: wb-write 1.2s var(--ease) both; }
.wbanner.is-play .wbanner__line--1 { animation-delay: .55s; }
.wbanner.is-play .wbanner__line--2 { animation-delay: .9s; }
.wbanner.is-play .wbanner__tag { animation: wb-drop .8s cubic-bezier(.34, 1.56, .64, 1) .1s both; }
.wbanner.is-play .wbanner__pill { animation: wb-rise .9s var(--ease) 1.75s both; }
.wbanner.is-play .wbanner__hanger { animation: wb-fade 1.4s var(--ease) both; }
.wbanner.is-play .wbanner__hanger--b { animation-delay: .25s; }
.wbanner.is-play .wbanner__hanger--c { animation-delay: .5s; }
/* Arabic is written right to left, so the words reveal from the right edge */
@keyframes wb-write { from { clip-path: inset(-20% 0 -20% 100%); filter: blur(8px); opacity: .2; } to { clip-path: inset(-20% 0 -20% 0); filter: none; opacity: 1; } }
@keyframes wb-drop { from { opacity: 0; transform: translateY(-4cqw) rotate(-28deg) scale(.8); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes wb-rise { from { opacity: 0; transform: translate(-50%, 2cqw); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes wb-fade { from { opacity: 0; } to { opacity: var(--ho, 1); } }
.wbanner__logo { --ho: 1; }
@media (max-width: 600px) {
	.wbanner { aspect-ratio: 1 / 1; }
	.wbanner__logo { --w: 22cqw; top: 7%; }
	.wbanner__title { inset: 20% 0 auto; }
	.wbanner__line { font-size: 18cqw; }
	.wbanner__tag { font-size: 5cqw; left: 12%; top: -3cqw; }
	.wbanner__pill { top: auto; bottom: 17%; width: max-content; max-width: 88%; white-space: normal; text-align: center; font-size: 3.7cqw; padding: .4em 1em .5em; }
	.wbanner__hanger--a { --hw: 30cqw; top: 22%; right: -12%; }
	.wbanner__hanger--b { --hw: 24cqw; top: 58%; left: -11%; }
}

/* Phone: compact bar under photo cards — one line per button, no oversized pills */
@media (max-width: 600px) {
	.media-card .media-bar { gap: .5rem !important; padding: 8px; border-radius: 18px; }
	.media-card .media-bar .wp-block-button__link { font-size: .9375rem; padding: .7rem 1rem; white-space: nowrap; box-shadow: none; }
	.media-card--wide .media-bar .is-style-glass .wp-block-button__link { padding-block: .55rem; background: transparent; border-color: var(--line); }
}

/* Phone: the banner flows top-to-bottom so the tagline sits right under the title */
@media (max-width: 600px) {
	.wbanner { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; padding: 7cqw 4cqw 16cqw; }
	.wbanner__logo { position: relative; top: auto; left: auto; transform: none; }
	.wbanner__title { position: relative; inset: auto; margin-top: 10cqw; }
	.wbanner__tag { top: -7cqw; left: 8%; }
	.wbanner__pill { position: relative; top: auto; bottom: auto; left: auto; transform: none; margin-top: 5cqw; }
	.wbanner.is-play .wbanner__pill { animation-name: wb-rise-flow; }
	.wbanner__hanger--a { top: 26%; }
	.wbanner__hanger--b { top: 56%; }
}
@keyframes wb-rise-flow { from { opacity: 0; transform: translateY(3cqw); } to { opacity: 1; transform: none; } }

/* Banner buttons come in after the tagline; the booking button gets its own pop and a light sweep */
.js .media-card:has([data-wbanner]):not(.is-play) :is(.media-bar, .media-bar .wp-block-button) { opacity: 0; }
.media-card.is-play:has([data-wbanner]) .media-bar { animation: wb-rise-flow .6s var(--ease) 2.1s both; }
.media-card.is-play .media-bar .wp-block-button { animation: wb-rise-flow .7s var(--ease) 2.6s both; }
.media-card.is-play .media-bar .is-style-accent { animation: wb-pop .75s cubic-bezier(.34, 1.56, .64, 1) 2.35s both; }
.media-bar .is-style-accent .wp-block-button__link { position: relative; overflow: hidden; isolation: isolate; }
.media-bar .is-style-accent .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; pointer-events: none; }
.media-card.is-play .media-bar .is-style-accent .wp-block-button__link::after { animation: wb-sweep 6s ease-in-out 3s infinite; }
@keyframes wb-pop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes wb-sweep { 0%, 70% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

/* Phone header: admin bar is not fixed on small screens, and a smaller logo */
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 781px) { .header-bar .brand-logo { --w: 104px; } .theme-toggle { width: 40px; height: 40px; } }

/* ---------- Consultation v2: editorial text + cut-out portrait ---------- */
:root { --glow: rgba(177, 214, 251, .75); }
:root[data-theme="dark"] { --glow: rgba(177, 214, 251, .16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --glow: rgba(177, 214, 251, .16); } }

/* Duration line: an editorial dek with an orange rule, numbers set in the display face */
.dek { display: block; margin: .25rem 0 0; line-height: 2; color: var(--text-2); font-weight: 500; font-size: var(--wp--preset--font-size--m); }
.dek::before { content: ""; display: inline-block; vertical-align: middle; width: 2.25rem; height: 2px; margin-inline-end: .75rem; border-radius: 2px; background: var(--accent); }
.dek strong { font-family: var(--display); font-weight: 700; font-size: 1.35em; line-height: 1; color: var(--heading); font-variant-numeric: tabular-nums; }

/* What you get: a numbered list with hairlines instead of three boxes */
.gets-list { list-style: none; counter-reset: get; margin: .25rem 0 0 !important; padding: 0; border-top: 1px solid var(--line); }
.gets-list li { counter-increment: get; display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.gets-list li::before { content: counter(get, arabic-indic); flex: none; width: 1.5rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--accent); }
.gets-list li.is-placeholder { border: 0 !important; border-bottom: 1px solid var(--line) !important; background: none !important; font-size: var(--wp--preset--font-size--s); }

/* Booking row: the one call to action, with the price beside it */
.book-row { gap: 1.25rem !important; margin-top: 1.75rem !important; }
.book-row .price { font-size: 2rem; }

/* Portrait: cut-out photo fading into the page, a soft sky glow behind */
.portrait-col { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.portrait-col::before { content: ""; position: absolute; inset: 8% -6% 0; z-index: 0; background: radial-gradient(55% 52% at 50% 58%, var(--glow), transparent 72%); pointer-events: none; }
.portrait { position: relative; z-index: 1; margin: 0 !important; width: 100%; }
.portrait img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 97%); mask-image: linear-gradient(180deg, #000 58%, transparent 97%); }
@media (max-width: 781px) {
	.portrait-col { order: -1; justify-content: center; }
	.portrait { max-width: 420px; margin-inline: auto !important; }
}
.consult-text .policy { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; border-radius: 0; margin-top: 1.5rem !important; }

/* Portrait v2: larger, bleeding toward the page edge, with two real figures beside it */
.consult-section { overflow-x: clip; }
.portrait-col { min-height: 100%; }
.portrait { width: calc(100% + 7vw) !important; max-width: none; margin-inline-end: -7vw !important; }
.portrait-col::before { inset: 4% -14% 0 -2%; background: radial-gradient(58% 55% at 46% 56%, var(--glow), transparent 72%); }
.portrait-stats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.portrait-stat { position: absolute; margin: 0; display: flex; flex-direction: column; gap: .1rem; padding: .85rem 1.15rem .75rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(6, 53, 101, 0.225); }
.portrait-stat strong { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: var(--heading); font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.portrait-stat span { font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.portrait-stat--a { inset-inline-start: 2%; top: 30%; border-inline-start: 3px solid var(--accent); }
.portrait-stat--b { inset-inline-end: -3vw; bottom: 16%; }
/* Narrower screens have no side margin for it to hang into */
@media (max-width: 1280px) { .portrait-stat--b { inset-inline-end: 0; } }
@media (max-width: 781px) {
	.portrait { width: 100% !important; margin-inline-end: 0 !important; }
	.portrait-stat { padding: .6rem .85rem .55rem; }
	.portrait-stat strong { font-size: 1.35rem; }
	.portrait-stat--a { inset-inline-start: 0; top: 22%; }
	.portrait-stat--b { inset-inline-end: 0; bottom: 18%; }
}

/* «استشارة خاصة»: an underlined label instead of a filled box */
.consult-text .tag, .hero--page .tag { background: none; color: var(--accent); padding: 0 0 .3rem; border-radius: 0; font-weight: 700; font-size: var(--wp--preset--font-size--m); letter-spacing: .01em; border-bottom: 2px solid var(--accent); }

/* «استشارة خاصة» v3: brand icon tile (as on the social posts) + the label in the heading color */
.consult-text .tag, .hero--page .tag { display: inline-flex; align-items: center; gap: .65rem; border: 0; padding: 0; color: var(--heading); font-weight: 700; font-size: var(--wp--preset--font-size--m); }
.hero--page .tag.has-text-align-center { display: flex; width: fit-content; }
.consult-text .tag::before, .hero--page .tag::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18.5V6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v7a2.5 2.5 0 0 1-2.5 2.5H8z'/%3E%3Cpath d='M8.5 8.5h7M8.5 12h4.5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 8px 20px -10px rgba(6, 53, 101, 0.175); border: 1px solid var(--line); }

/* Duration line: a small clock instead of the decorative rule */
.dek::before { width: 1.15em; height: 1.15em; border-radius: 0; margin-inline-end: .5rem; vertical-align: -.2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Workshop body v2: same editorial language as the consultation section ---------- */
.workshop-body { align-items: flex-start !important; }
.workshop-intro > * + * { margin-block-start: 1.1rem; }
.tag--workshop { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; background: none; padding: 0; border-radius: 0; transform: none; color: var(--heading); font-weight: 700; font-size: var(--wp--preset--font-size--m); }
.tag--workshop::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(6, 53, 101, 0.175); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M10 8.6v5l4.3-2.5z'/%3E%3Cpath d='M8 20.5h8'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* Facts: the four promises from the social post, as icon tiles in a 2x2 grid (no pills) */
.facts { gap: 1rem 1.5rem !important; margin-block: 1.6rem !important; }
.fact { margin: 0; display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--heading); font-size: var(--wp--preset--font-size--s); }
.fact::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface) var(--icon) center / 20px no-repeat; box-shadow: 0 8px 20px -12px rgba(6, 53, 101, 0.175); }
.fact--place { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E"); }
.fact--instant { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 5 13.5h6l-1 8 8-11h-6z'/%3E%3C/svg%3E"); }
.fact--time { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.fact--parts { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 4.5-9 4.5-9-4.5z'/%3E%3Cpath d='m3 12 9 4.5 9-4.5M3 16.5 12 21l9-4.5'/%3E%3C/svg%3E"); }

/* Lists: no cards, numbered rows with hairlines (same as «بعد الجلسة تحصل على») */
.workshop-lists { display: flex; flex-direction: column; gap: 2rem; padding-top: 3.35rem; }
.list-block { margin: 0 !important; }
.list-block .label { margin: 0 0 .5rem; }
@media (max-width: 781px) { .workshop-lists { padding-top: 0; } .facts { grid-template-columns: 1fr 1fr !important; gap: .9rem 1rem !important; } }

/* ---------- Upcoming workshops: paper notes pinned to the page ---------- */
:root { --paper-note: #fffefb; }
:root[data-theme="dark"] { --paper-note: #0d3360; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper-note: #0d3360; } }
.upcoming-board { margin-block-start: var(--wp--preset--spacing--60) !important; }
.upcoming-board .upcoming__label { margin: 0 0 1.75rem; text-align: center; font-size: var(--wp--preset--font-size--xl); }
.notes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; padding-top: .75rem; }
.note-card { position: relative; margin: 0 !important; min-height: 180px; padding: 2rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; background: var(--paper-note); border-radius: 4px 4px 14px 4px; box-shadow: 0 1px 0 rgba(6, 53, 101, 0.025), 0 14px 26px -16px rgba(6, 53, 101, 0.225), inset 0 -18px 30px -24px rgba(6, 53, 101, 0.125); transform: rotate(var(--tilt, 0deg)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.note-card::before { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 40%, #fff) 0 18%, var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000) 100%); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.175); z-index: 2; }
.note-card::after { content: ""; position: absolute; top: 4px; left: 50%; width: 10px; height: 6px; margin-left: -2px; border-radius: 50%; background: rgba(6, 53, 101, .18); filter: blur(2px); }
.note-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 1px 0 rgba(6, 53, 101, 0.025), 0 24px 36px -18px rgba(6, 53, 101, 0.25); }
.note-card--a { --tilt: -3deg; }
.note-card--b { --tilt: 2deg; }
.note-card--c { --tilt: -1.5deg; }
.note-card--d { --tilt: 2.5deg; }
.note-card--e { --tilt: -2deg; }
.note-card__kicker { margin: 0; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.note-card__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.35; color: var(--heading); }
.note-card__stamp { margin: auto 0 0 !important; align-self: flex-end; padding: .1rem .7rem; border: 1.5px solid var(--accent); border-radius: 6px; color: var(--accent); font-weight: 700; font-size: var(--wp--preset--font-size--xs); transform: rotate(-8deg); opacity: .9; }
@media (max-width: 1000px) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; } .note-card { min-height: 150px; } }
@media (max-width: 600px) {
	.notes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding: 1rem .25rem 1.5rem; margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-inline: clamp(1rem, 4vw, 2rem); scrollbar-width: none; }
	.notes::-webkit-scrollbar { display: none; }
	.note-card { flex: 0 0 58%; scroll-snap-align: center; }
}

/* ---------- Workshop balance + notes v2 ---------- */
.workshop-body { align-items: center !important; }
.workshop-lists { padding-top: 0; gap: 1.5rem; }
.workshop-lists .gets-list li { padding: .65rem 0; }

/* Tilt uses the individual `rotate` property so the reveal transform never cancels it */
.note-card { transform: none; rotate: var(--tilt, 0deg); min-height: 0; padding: 1.75rem 1.25rem 1.1rem; gap: 0;
	background:
		repeating-linear-gradient(180deg, transparent 0 27px, var(--note-rule) 27px 28px) 0 4.4rem / 100% calc(100% - 5.6rem) no-repeat,
		var(--paper-note);
	transition: rotate .45s var(--ease), translate .45s var(--ease), box-shadow .45s var(--ease); }
.note-card:hover { transform: none; rotate: 0deg; translate: 0 -6px; }
.note-card__title { min-height: 2.6em; display: flex; align-items: flex-start; }
.note-card__stamp { margin-top: 1.4rem !important; }
:root { --note-rule: rgba(6, 53, 101, .08); }
:root[data-theme="dark"] { --note-rule: rgba(177, 214, 251, .1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --note-rule: rgba(177, 214, 251, .1); } }

/* ---------- Workshop on phones: icons above text, lists as tap-to-open rows, buttons last ---------- */
@media (max-width: 781px) {
	.workshop-body { flex-direction: column; align-items: stretch !important; gap: 0 !important; }
	.workshop-body > .workshop-intro, .workshop-body > .workshop-lists { display: contents; }
	.workshop-intro > * { margin-block-start: 1rem; }
	.workshop-intro > .wp-block-buttons { order: 10; margin-block-start: 1.5rem; }
	.workshop-lists .list-block { order: 5; margin-block-start: 0 !important; }
	.workshop-lists .list-block:first-child { margin-block-start: 1.25rem !important; border-top: 1px solid var(--line); }

	.facts { grid-template-columns: 1fr 1fr !important; gap: 1.1rem .9rem !important; margin-block: 1.4rem .25rem !important; }
	.fact { flex-direction: column; align-items: flex-start; gap: .55rem; line-height: 1.5; }
	.fact::before { width: 38px; height: 38px; }

	.list-block .label { margin: 0; padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; border-bottom: 1px solid var(--line); -webkit-tap-highlight-color: transparent; }
	.list-block .label::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
	.list-block.is-open .label::after { transform: translateY(2px) rotate(-135deg); }
	.list-block .gets-list { border-top: 0; display: none; }
	.list-block.is-open .gets-list { display: block; }
	.list-block .gets-list li:last-child { border-bottom: 0; }
	.list-block.is-open { border-bottom: 1px solid var(--line); }
}

/* Phones: centered feature tiles, full-width buttons */
@media (max-width: 781px) {
	.fact { align-items: center; text-align: center; }
	.workshop-intro > .wp-block-buttons { flex-direction: column; align-items: stretch; gap: .6rem; }
	.workshop-intro > .wp-block-buttons .wp-block-button { width: 100%; }
	.workshop-intro > .wp-block-buttons .wp-block-button__link { display: block; width: 100%; text-align: center; }
}

/* Notes v3: shorter — the stamp moves to the top corner, the title no longer reserves two lines */
.note-card { padding: 1.5rem 1.1rem 1.6rem; background:
	repeating-linear-gradient(180deg, transparent 0 23px, var(--note-rule) 23px 24px) 0 4.1rem / 100% calc(100% - 4.4rem) no-repeat,
	var(--paper-note); }
.note-card__title { min-height: 0; font-size: 1.25rem; }
.note-card__stamp { position: absolute; top: 1.35rem; inset-inline-end: .9rem; margin: 0 !important; }
.notes { gap: 1.25rem; }
.upcoming-board { margin-block-start: var(--wp--preset--spacing--50) !important; }
.upcoming-board .upcoming__label { margin-bottom: 1.25rem; }

/* Sequenced reveal (workshop section): motion.js sets the order through --d */
.js .seq.pre { opacity: 0; translate: 0 18px; }
.js .seq.is-in { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .js .seq.pre { opacity: 1; translate: none; } }

/* Phones: the banner's button bar takes no space until its turn, then opens like a drawer */
@media (max-width: 600px) {
	.js .media-card:has([data-wbanner]):not(.is-play) .media-bar { max-height: 0; margin-top: 0; margin-bottom: 0; padding-block: 0 !important; border-width: 0; overflow: hidden; }
	.media-card.is-play:has([data-wbanner]) .media-bar { overflow: hidden; animation: wb-drawer .75s var(--ease) 2.1s both; }
}
@keyframes wb-drawer {
	from { max-height: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; opacity: 0; }
	to { max-height: 240px; margin-top: -28px; margin-bottom: 10px; padding-top: 8px; padding-bottom: 8px; border-width: 1px; opacity: 1; }
}

/* ---------- Upcoming workshops: swipe hint (phones only) ---------- */
.notes-hint, .notes-dots { display: none; }
@media (max-width: 600px) {
	.notes-hint { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: -.5rem 0 .25rem; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); transition: opacity .4s var(--ease); }
	.notes-hint svg { width: 16px; height: 16px; color: var(--accent); animation: hint-swipe 1.6s ease-in-out infinite; }
	.is-swiped .notes-hint { opacity: 0; }
	.notes-dots { display: flex; justify-content: center; gap: .4rem; margin-top: -.25rem; }
	.notes-dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
	.notes-dots span.is-on { width: 18px; background: var(--accent); }
	.notes.is-nudge .note-card { animation: notes-nudge 1.1s var(--ease) 1; }
}
/* In RTL the hidden cards sit to the left, so the hint and the nudge both move left */
@keyframes hint-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@keyframes notes-nudge { 0%, 100% { translate: 0 0; } 45% { translate: -34px 0; } }

/* ---------- Testimonials v2: a wall of real words (masonry), no glass, no marquee ---------- */
.t-wall { columns: 3 300px; column-gap: 1.25rem; }
.t-card { break-inside: avoid; margin: 0 0 1.25rem !important; padding: 1.6rem 1.5rem 1.25rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 16px 34px -26px rgba(6, 53, 101, 0.225); display: flex; flex-direction: column; gap: .75rem; }
.t-highlight { position: relative; margin: 0; padding-top: 1.6rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.55; color: var(--heading); }
.t-highlight::before { content: "”"; position: absolute; top: -.35rem; right: -.1rem; font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--accent); }
.t-body { margin: 0; color: var(--text-2); font-size: var(--wp--preset--font-size--s); line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.t-card.is-open .t-body { -webkit-line-clamp: unset; display: block; }
.t-more { align-self: flex-start; margin: -.25rem 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: var(--wp--preset--font-size--xs); font-weight: 700; color: var(--accent); cursor: pointer; }
.t-who { margin: .25rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.t-who strong { display: block; font-size: var(--wp--preset--font-size--s); color: var(--heading); }
.t-all { display: none; }
@media (max-width: 600px) {
	.t-wall { columns: 1; }
	.t-wall.is-collapsed .t-card:nth-child(n+4) { display: none; }
	.t-all { display: block; width: 100%; margin-top: .25rem; padding: .8rem 1rem; border-radius: 999px; border: 1.5px solid var(--heading); background: transparent; color: var(--heading); font: inherit; font-weight: 700; cursor: pointer; }
}

/* Testimonials: six on desktop, three on phones, the rest behind «اعرض كل الآراء» */
.t-wall.is-collapsed .t-card:nth-child(n+7) { display: none; }
.t-all { display: block; width: fit-content; margin: .5rem auto 0; padding: .75rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--heading); background: transparent; color: var(--heading); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.t-all:hover { background: var(--heading); color: var(--bg); }
@media (max-width: 600px) { .t-all { width: 100%; } }

/* ---------- Testimonials v3: equal cards, two rows drifting in opposite directions ---------- */
.testimonials { overflow: hidden; }
.t-wall.t-marquee { columns: auto; display: flex; flex-direction: column; gap: 1.25rem; width: 100vw; max-width: none !important; margin-inline: calc(50% - 50vw) !important;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.t-row { overflow: hidden; padding-block: .5rem; }
.t-track { display: flex; gap: 1.25rem; width: max-content; animation: t-drift var(--dur, 70s) linear infinite; }
.t-row.is-reverse .t-track { animation-direction: reverse; }
@media (hover: hover) { .t-row:hover .t-track { animation-play-state: paused; } }
.t-row:focus-within .t-track { animation-play-state: paused; }
@keyframes t-drift { from { transform: translateX(0); } to { transform: translateX(50%); } }

.t-marquee .t-card { flex: none; width: 360px; height: 300px; margin: 0 !important; transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.t-marquee .t-highlight { font-size: 1.15rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.55em + 1.6rem); }
.t-marquee .t-body { -webkit-line-clamp: 3; }
.t-marquee .t-who { margin-top: auto; }
@media (hover: hover) {
	.t-row:hover .t-card { opacity: .5; }
	.t-row .t-card:hover { opacity: 1; transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(6, 53, 101, 0.275); }
}
.t-row .t-card:focus-within { opacity: 1; transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(6, 53, 101, 0.275); }
.t-more { margin: 0; }

/* Reduced motion: no drift, a sideways scroll row instead */
.t-marquee.is-still .t-row { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 1.5rem; }
.t-marquee.is-still .t-track { animation: none; }
.t-marquee.is-still .t-card { scroll-snap-align: center; }

@media (max-width: 600px) {
	.t-marquee .t-card { width: 82vw; max-width: 320px; height: 290px; }
}

/* Full story dialog */
.t-dialog { width: min(640px, calc(100% - 2rem)); max-height: min(80vh, 720px); padding: 2.25rem 2rem 1.75rem; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(4, 24, 47, 0.3); overflow: auto; }
.t-dialog::backdrop { background: rgba(4, 24, 47, .45); backdrop-filter: blur(4px); }
.t-dialog[open] { animation: t-pop .35s var(--ease); }
@keyframes t-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.t-dialog .t-highlight { font-size: 1.45rem; }
.t-dialog__body { margin: 1rem 0 0; line-height: 2; color: var(--text-2); }
.t-dialog .t-who { margin-top: 1.25rem; }
.t-dialog__close { position: absolute; top: .75rem; left: .75rem; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Marquee cards: fixed size, nothing shrinks, quote mark on the card so clamping can't clip it */
.t-marquee .t-card { position: relative; height: 340px; padding: 2.6rem 1.5rem 1.2rem; gap: .65rem; }
.t-marquee .t-card > * { flex-shrink: 0; }
.t-marquee .t-card::before { content: "”"; position: absolute; top: .55rem; right: 1.4rem; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--accent); }
.t-marquee .t-highlight { padding-top: 0; min-height: calc(2 * 1.55em); }
.t-marquee .t-highlight::before { content: none; }
.t-marquee .t-body { -webkit-line-clamp: 3; max-height: calc(3 * 1.9em); }
@media (max-width: 600px) { .t-marquee .t-card { height: 350px; } }

/* Quote mark: a large, faint watermark behind the highlight instead of a small mark at the top edge */
.t-marquee .t-card { padding-top: 1.75rem; overflow: hidden; isolation: isolate; }
.t-marquee .t-card::before { top: -.9rem; right: .6rem; z-index: -1; font-size: 9rem; color: var(--accent); opacity: .13; }
.t-dialog { isolation: isolate; }
.t-dialog .t-highlight { padding-top: 0; }
.t-dialog .t-highlight::before { content: "”"; position: absolute; top: -2.4rem; right: -.6rem; z-index: -1; font-size: 9rem; opacity: .13; }
.t-marquee .t-card::before { top: .35rem; right: .9rem; }
.t-dialog .t-highlight::before { top: -1.1rem; right: -.4rem; }
.t-marquee .t-card::before { top: 1.7rem; right: .9rem; }
.t-dialog .t-highlight::before { top: .1rem; right: -.4rem; }
.is-dark .t-marquee .t-card::before, .is-dark .t-dialog .t-highlight::before { opacity: .2; }
.t-dialog .t-highlight::before { top: 1.3rem; }

/* Quote mark as a badge sitting on the card's top edge, half outside */
.t-row { padding-block: 1.9rem .75rem; }
.t-marquee .t-card { overflow: visible; padding-top: 2.1rem; }
.t-marquee .t-card::before { content: "”"; top: -24px; right: 1.4rem; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; padding-top: 18px; box-sizing: border-box; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 2.6rem; line-height: 1; opacity: 1; box-shadow: 0 0 0 5px var(--bg), 0 10px 20px -8px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform .35s var(--ease); }
.is-dark .t-marquee .t-card::before { opacity: 1; }
.t-row .t-card:hover::before { transform: rotate(-10deg) scale(1.06); }

/* Testimonial rows enter from their own side (row 1 from the right, row 2 from the left) */
.js .t-row.seq.pre { opacity: 0; translate: 80px 0; }
.js .t-row.is-reverse.seq.pre { translate: -80px 0; }
.js .t-row.seq.is-in { transition-duration: 1s; }

/* ---------- Footer: the light-to-navy blend happens only in the wave band; all text sits on solid navy ---------- */
.footer-scene { --wave-h: clamp(200px, 22vw, 300px); padding-top: calc(var(--wave-h) + 1.5rem);
	background: linear-gradient(180deg,
		var(--bg) 0,
		var(--bg-soft) calc(var(--wave-h) * .22),
		var(--footer-mid) calc(var(--wave-h) * .55),
		var(--navy) var(--wave-h),
		var(--navy-deep) 100%); }
.is-dark .footer-scene { background: linear-gradient(180deg, var(--bg) 0, #06284d calc(var(--wave-h) * .6), #05213f var(--wave-h), #031327 100%); }
/* Waves live in the blend band and fade out before the content starts */
.mesh-wave { height: calc(var(--wave-h) + 40px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 70%, transparent 100%); }

/* Contrast on navy */
.footer-vision { color: #fff; }
.footer-title { color: #fff; font-weight: 700; }
.footer-links, .footer-links a { color: #c9dcf2; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(201, 220, 242, .65); border-top-color: rgba(177, 214, 251, .16); }

/* ---------- The fade to navy starts halfway through the testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--bg) 0, var(--bg) 42%, var(--bg-soft) 72%, var(--footer-mid) 100%); padding-bottom: clamp(3rem, 6vw, 5rem); }
.is-dark .testimonials { background: linear-gradient(180deg, var(--bg) 0, var(--bg) 42%, #05213f 100%); }
/* Badge ring blends with any background now that the section is a gradient */
.t-marquee .t-card::before { box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--accent) 35%, transparent); }

/* Footer picks up where the testimonials end: a short blend into solid navy */
.footer-scene { --wave-h: 120px; padding-top: calc(var(--wave-h) + 2.5rem);
	background: linear-gradient(180deg, var(--footer-mid) 0, var(--navy) var(--wave-h), var(--navy-deep) 100%); }
.is-dark .footer-scene { background: linear-gradient(180deg, #05213f 0, #04182f 100%); }

/* Footer animation canvas: lines stay in the top band; breath and light cover the footer behind the text */
.mesh-wave { opacity: .9; }
.mesh-wave[data-fx="lines"] { height: 260px; }
.mesh-wave[data-fx="breath"], .mesh-wave[data-fx="light"] { height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%); }

/* Wave lines cover the whole footer, fading in at the top */
.mesh-wave, .mesh-wave[data-fx="lines"] { inset: 0; height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 100%); }

/* Wave lines show in dark mode only; light mode keeps a clean navy footer */
html:not(.is-dark) .mesh-wave { display: none; }

/* ---------- One long, eased blend from the page into navy (testimonials → footer) ---------- */
.testimonials { background: linear-gradient(180deg,
	var(--bg) 0%, var(--bg) 38%,
	#eef4fb 55%, #e2edf9 68%, #d2e5f9 80%, #c3dcf8 91%, var(--sky) 100%); }
.footer-scene { --wave-h: 0px; padding-top: clamp(13rem, 20vw, 17rem);
	background: linear-gradient(180deg,
		var(--sky) 0%,
		#a3c7ec 9%,
		#7fa8d5 18%,
		#5784b8 27%,
		#33639a 36%,
		#164a80 45%,
		var(--navy) 54%,
		#05305c 75%,
		var(--navy-deep) 100%); }

/* Lines: soft white waves riding through the blend band, gone before the text */
html:not(.is-dark) .mesh-wave { display: block; opacity: .75;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 34%, transparent 52%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 34%, transparent 52%); }

/* Dark mode keeps the same long ease, in deeper tones */
.is-dark .testimonials { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, #04203d 75%, #062a52 100%); }
.is-dark .footer-scene { background: linear-gradient(180deg, #062a52 0%, #05254a 25%, #041d3b 50%, #031327 100%); }
/* Blend stops measured from the top of the footer (not %), so tall mobile footers reach navy before the text */
.footer-scene { --blend: clamp(12rem, 20vw, 17rem); padding-top: calc(var(--blend) + 1.5rem);
	background: linear-gradient(180deg,
		var(--sky) 0,
		#a3c7ec calc(var(--blend) * .16),
		#7fa8d5 calc(var(--blend) * .33),
		#5784b8 calc(var(--blend) * .5),
		#33639a calc(var(--blend) * .66),
		#164a80 calc(var(--blend) * .83),
		var(--navy) var(--blend),
		#05305c calc(var(--blend) + 40%),
		var(--navy-deep) 100%); }
html:not(.is-dark) .mesh-wave { height: calc(var(--blend) * 1.1);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 60%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 60%, transparent 100%); }
/* Tighter hand-off from testimonials to footer: shorter blend, no extra section padding */
.testimonials { padding-bottom: var(--wp--preset--spacing--50); }
.footer-scene { --blend: clamp(7rem, 11vw, 10rem); margin-top: 0; padding-top: calc(var(--blend) + 1rem); }
/* Softer sky-to-blue hand-off: testimonials already end in a light blue, footer continues with small steps */
.testimonials { padding-bottom: var(--wp--preset--spacing--40);
	background: linear-gradient(in oklab 180deg, var(--bg) 0%, var(--bg) 38%, #edf4fc 56%, #dbe9f9 70%, #c6ddf7 83%, #b1d1f3 93%, #a4c8ee 100%); }
.footer-scene { --blend: clamp(5.5rem, 8vw, 7.5rem); padding-top: calc(var(--blend) + 1rem);
	background: linear-gradient(in oklab 180deg,
		#a4c8ee 0,
		#93bbe6 calc(var(--blend) * .14),
		#80abdb calc(var(--blend) * .28),
		#6b98cd calc(var(--blend) * .42),
		#5483bc calc(var(--blend) * .56),
		#3d6ea8 calc(var(--blend) * .7),
		#285a94 calc(var(--blend) * .84),
		#164a80 var(--blend),
		var(--navy) calc(var(--blend) * 1.35),
		#05305c calc(var(--blend) + 40%),
		var(--navy-deep) 100%); }

/* ---------- Booking v2: current month calendar + two daily sessions ---------- */
.booking { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; padding: 0; overflow: hidden; }
.booking__cal, .booking__side { padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.booking__side { border-inline-start: 1px solid var(--line); background: color-mix(in srgb, var(--bg-soft) 45%, transparent); }
.booking__cal-head { display: flex; align-items: center; gap: .85rem; }
.booking__step { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.booking__title { margin: 0; font-weight: 700; color: var(--heading); line-height: 1.4; }
.booking__month { margin: 0; font-size: var(--wp--preset--font-size--s); color: var(--muted-t); line-height: 1.5; }
.booking__weekdays { margin-top: .25rem; }
.booking__day { height: 46px; border-radius: 12px; font-size: var(--wp--preset--font-size--s); }
.booking__day:disabled { opacity: .35; }
.booking__day.is-off { opacity: 1; background: transparent; border-style: dashed; color: var(--muted-t); position: relative; }
.booking__day.is-off::before { content: ""; position: absolute; inset: 50% 22%; height: 1px; background: var(--muted-t); opacity: .5; }
.booking__day.is-today { border-color: var(--accent); }
.booking__legend { margin: 0; display: flex; gap: 1.25rem; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.booking__legend span { display: inline-flex; align-items: center; gap: .4rem; }
.booking__legend span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); }
.booking__legend .is-open::before { box-shadow: inset 0 -3px 0 -1px var(--accent); }
.booking__legend .is-off::before { background: transparent; border-style: dashed; }

.booking__slots { display: grid; gap: .75rem; }
.booking__slot { font: inherit; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); text-align: start; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.booking__slot:not(:disabled):hover { border-color: var(--heading); transform: translateY(-1px); }
.booking__slot:disabled { cursor: not-allowed; opacity: .45; }
.booking__slot[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.booking__slot-time { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; }
.booking__slot-meta { display: flex; flex-direction: column; font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); line-height: 1.5; }
.booking__slot-meta b { color: var(--heading); font-size: var(--wp--preset--font-size--s); }
.booking__slot::after { content: ""; margin-inline-start: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.booking__slot[aria-checked="true"]::after { border: 6px solid var(--accent); }

.booking__confirm { margin-top: auto; display: grid; gap: .75rem; padding-top: .5rem; }
.booking__summary { margin: 0; min-height: 1.6em; padding: 0; background: none; font-size: var(--wp--preset--font-size--s); color: var(--text-2); }
.booking__summary strong { color: var(--heading); }
.booking__submit { border-radius: 999px; padding: .9rem 1rem; font-size: var(--wp--preset--font-size--m); }
.booking__submit:disabled { opacity: 1; background: var(--bg-soft); color: var(--muted-t); }
.booking__note { display: none; }

/* Booking steps in one card: pick (calendar) -> details -> pay (Moyasar) -> result */
:root { --success: #133900; --error: #660606; }
:root[data-theme="dark"] { --success: #a8d98f; --error: #f0a8a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --success: #a8d98f; --error: #f0a8a8; } }
.booking__day.is-full { opacity: .35; }
.booking__slot.is-taken .booking__slot-time { text-decoration: line-through; text-decoration-thickness: 1px; }
.booking[data-step]:not([data-step="pick"]) > .booking__cal, .booking[data-step]:not([data-step="pick"]) > .booking__side { display: none; }
.booking__panel, .booking__result { grid-column: 1 / -1; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; align-content: start; }
.booking__panel[hidden], .booking__result[hidden] { display: none; }
.booking__result { text-align: center; justify-items: center; padding-block: clamp(2rem, 5vw, 3rem); }
.booking__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; /* start: the note under the email field must not push the other fields down */ }
.booking__form .booking__error, .booking__form .booking__actions { grid-column: 1 / -1; }
.booking__field { display: grid; gap: .4rem; font-size: var(--wp--preset--font-size--s); font-weight: 700; color: var(--heading); }
.booking__field input { font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; min-width: 0; transition: border-color .2s; }
.booking__field input:focus { outline: none; border-color: var(--accent); }
.booking__field input[dir="ltr"] { text-align: right; }
/* Under the booking email fields: why it must be right */
.booking__field-note { color: var(--muted, var(--text)); opacity: .8; font-size: .8rem; line-height: 1.6; font-weight: 400; }
/* Under Moyasar's «name on the card» field: names go in English letters (booking.js) */
.booking__card-hint { margin: .45rem 0 0; color: var(--accent); font-size: .85rem; line-height: 1.6; text-align: right; }
.booking__card-hint[hidden] { display: none; }
.booking__agree { display: flex; align-items: center; gap: .6rem; font-size: var(--wp--preset--font-size--s); color: var(--text); cursor: pointer; }
.booking__agree input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
.booking__agree a { color: var(--accent); font-weight: 700; }
.booking__error { margin: 0; color: var(--error); font-size: var(--wp--preset--font-size--s); }
.booking__error[hidden] { display: none; }
.booking__mysr { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); padding: clamp(.75rem, 2vw, 1.25rem); color: var(--ink); max-width: 560px; width: 100%; justify-self: center; }
.booking__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
/* Same height for both buttons; only the width differs. RTL: continue on the right, back on the left. */
.booking__actions .booking__submit, .booking__actions .booking__back { box-sizing: border-box; height: 3.25rem; padding-block: 0; display: inline-flex; align-items: center; justify-content: center; font-size: var(--wp--preset--font-size--m); line-height: 1.2; }
.booking__actions .booking__submit { flex: 1 1 16rem; max-width: 28rem; }
.booking__actions .booking__back { margin-inline-start: auto; }
.booking__back { font: inherit; font-weight: 700; cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: .8rem 1.75rem; color: var(--heading); font-size: var(--wp--preset--font-size--s); transition: border-color .2s; }
.booking__back:hover:not(:disabled) { border-color: var(--heading); }
.booking__back:disabled { opacity: .5; cursor: default; }
.booking__submit[aria-busy="true"] { cursor: progress; }
.booking__actions .booking__submit:disabled[aria-busy="true"] { background: var(--accent); color: var(--accent-ink); opacity: .85; }
.booking__spinner { display: inline-block; flex: none; width: 1em; height: 1em; margin-inline-end: .6rem; vertical-align: -.15em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: booking-spin .7s linear infinite; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
/* Steps swap inside the card: the card eases to its new height and the new step fades in */
.booking.is-resizing { transition: height .38s var(--ease); }
.booking__panel:not([hidden]), .booking__result:not([hidden]), .booking[data-step="pick"] > .booking__cal, .booking[data-step="pick"] > .booking__side { animation: booking-in .35s var(--ease); }
@keyframes booking-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.booking__spinner { animation-duration: 2s; }
	.booking__panel:not([hidden]), .booking__result:not([hidden]), .booking[data-step="pick"] > .booking__cal, .booking[data-step="pick"] > .booking__side { animation: none; }
}
.booking__result p { margin: 0; color: var(--text-2); }
.booking__result strong { color: var(--heading); }
.booking__result-title { font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--xl); color: var(--heading) !important; }
.booking__result-title.is-ok { color: var(--success) !important; }
.booking__result-title.is-error { color: var(--error) !important; }
.booking__result-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin-top: .5rem; }
.booking__result-actions .booking__submit { padding-inline: 2rem; }

@media (max-width: 781px) {
	.booking__form { grid-template-columns: 1fr; }
	.booking__actions { flex-direction: column; align-items: stretch; }
	.booking__actions .booking__submit { flex: none; max-width: none; }
	.booking__actions .booking__back { margin-inline-start: 0; }
	.booking { grid-template-columns: 1fr; }
	.booking__side { border-inline-start: 0; border-top: 1px solid var(--line); }
	.booking__day { height: 42px; }
}
/* Legend swatches look exactly like the calendar cells they describe */
.booking__legend { gap: 1.5rem; font-size: var(--wp--preset--font-size--s); }
.booking__legend span { gap: .55rem; }
.booking__legend span::before { width: 26px; height: 26px; border-radius: 8px; flex: none; box-shadow: none; }
.booking__legend .is-open::before { background: var(--surface) radial-gradient(circle at 50% 76%, var(--accent) 0 2.5px, transparent 3px); box-shadow: none; }
.booking__legend .is-off::before { background: linear-gradient(var(--muted-t), var(--muted-t)) center / 12px 1px no-repeat; border: 1px dashed var(--muted-t); opacity: .8; }
/* Booking: Friday note instead of a legend; session-length note in the side panel */
.booking__legend { display: none; }
.booking__offday { margin: 0; font-size: var(--wp--preset--font-size--s); color: var(--muted-t); }
.booking__about { margin: .25rem 0 0; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: var(--wp--preset--font-size--s); line-height: 1.9; color: var(--text-2); }
.booking__about::before { content: ""; display: inline-block; width: 1.15em; height: 1.15em; margin-inline-end: .45rem; vertical-align: -.22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.booking__about strong { font-family: var(--display); font-size: 1.15em; color: var(--heading); }
.booking__about--focus { margin-top: auto; }
.booking__about--focus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.8' fill='%23660606'/%3E%3C/svg%3E"); }

/* The blend into the footer belongs to whichever section ends the page, not to the testimonials */
.testimonials { background: none; }
.is-dark .testimonials { background: none; }
.site-main > :last-child { padding-bottom: var(--wp--preset--spacing--40);
	background: linear-gradient(in oklab 180deg, var(--bg) 0%, var(--bg) 38%, #edf4fc 56%, #dbe9f9 70%, #c6ddf7 83%, #b1d1f3 93%, #a4c8ee 100%); }
.is-dark .site-main > :last-child { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, #04203d 75%, #062a52 100%); }
/* A short closing section gets more room so the blend stays gentle */
.site-main > .closing-quote:last-child { padding-bottom: var(--wp--preset--spacing--60); }

/* Portrait mirrored so he faces the text (homepage and consultations) */
.consult-section .portrait img { transform: scaleX(-1); }

/* Blend measured up from the bottom of the last section, so tall sections keep their content on the page color.
   Each stop is max(px from the bottom, the same share of a 440px band): a section shorter than the band
   starts on the page color at its very top instead of halfway through the blend (no hard edge). */
.site-main > :last-child { background: linear-gradient(in oklab 180deg, var(--bg) 0, var(--bg) max(100% - 440px, 0%), #edf4fc max(100% - 320px, 27.3%), #dbe9f9 max(100% - 230px, 47.7%), #c6ddf7 max(100% - 140px, 68.2%), #b1d1f3 max(100% - 60px, 86.4%), #a4c8ee 100%); }
.is-dark .site-main > :last-child { background: linear-gradient(180deg, var(--bg) 0, var(--bg) max(100% - 420px, 0%), #04203d max(100% - 160px, 61.9%), #062a52 100%); }

/* ==========================================================================
   About page (نبذه عني)
   ========================================================================== */
:root { --story-w: 720px; }

/* Bio: one comfortable reading column */
.about-bio > p { font-size: 1.125rem; line-height: 2.05; color: var(--text); margin-block: 0 1.4rem; }
.about-bio__close { font-family: var(--display); font-weight: 500; font-size: var(--wp--preset--font-size--l) !important; color: var(--heading) !important; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.creds-strip { list-style: none; margin-block: 0 2.25rem !important; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds-strip li { padding: .4rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font-size: var(--wp--preset--font-size--xs); font-weight: 500; }

/* Nature placeholders (replaced by real photos later) */
.nature-ph { position: relative; display: grid; place-items: end start; padding: 1rem; color: rgba(255, 255, 255, .9); font-size: var(--wp--preset--font-size--xs); overflow: hidden; }
.nature-ph--aerial { background: radial-gradient(120% 70% at 30% 110%, #6d8f6a 0%, transparent 55%), radial-gradient(90% 60% at 80% 100%, #8aa38a 0%, transparent 60%), linear-gradient(180deg, #cfe2f6 0%, #a7c6e6 40%, #7f9f8c 72%, #556f5d 100%); }
.nature-ph--aerial::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46%, rgba(244, 236, 220, .55) 46% 48%, transparent 48% 100%); background-size: 100% 100%; opacity: .7; }
.nature-ph--tree { background: radial-gradient(circle at 50% 50%, #e9f3fd 0 32%, transparent 33%), radial-gradient(circle at 50% 50%, #9fbf8f 0 58%, #5e7d55 100%); }
.nature-ph__note { position: relative; z-index: 1; max-width: 30ch; padding: .45rem .7rem; border-radius: 10px; background: rgba(4, 24, 47, .55); line-height: 1.6; }

/* Start: full-bleed aerial band with the title over it */
.nature-band { position: relative; height: clamp(360px, 52vw, 620px); overflow: hidden; display: grid; place-items: end center; }
.nature-band__img { position: absolute; inset: -8% 0; transform: translateY(var(--py, 0)); will-change: transform; }
.nature-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 24, 47, 0) 35%, rgba(4, 24, 47, .55) 100%); pointer-events: none; }
.nature-band__title { position: relative; z-index: 2; margin: 0 0 clamp(2rem, 5vw, 3.5rem); color: #fff !important; font-size: var(--wp--preset--font-size--display); text-shadow: 0 6px 30px rgba(4, 24, 47, .35); }
.about-story > p { font-size: 1.125rem; line-height: 2.05; }
.about-story__kicker { font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--xl) !important; color: var(--accent) !important; margin-bottom: .25rem !important; }
.why-list { list-style: none; padding: 0; margin-block: 2rem !important; border-top: 1px solid var(--line); }
.why-list li { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.6; color: var(--heading); padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.turn-line { margin-block: 2.5rem !important; padding: 1.75rem 0; border-block: 1px solid var(--line); display: grid; gap: .5rem; }
.turn-line p { margin: 0; font-size: var(--wp--preset--font-size--l); color: var(--text-2); }
.turn-line s { color: var(--muted-t); text-decoration-thickness: 2px; }
.turn-line strong { display: block; margin-top: .25rem; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.45; color: var(--accent); }
.about-story__end { font-family: var(--display); font-weight: 500; color: var(--heading) !important; font-size: var(--wp--preset--font-size--l) !important; }

/* Journey: text beside a circle of sky */
.about-journey__grid { gap: clamp(2rem, 6vw, 5rem) !important; }
.about-journey__text > * + * { margin-block-start: 1.2rem; }
.about-journey__text > p { font-size: 1.125rem; line-height: 2.05; }
.how-list { list-style: none; padding: 0; margin-block: 1.75rem !important; display: grid; gap: .9rem; }
.how-list li { position: relative; padding-inline-start: 1.5rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.6; color: var(--heading); }
.how-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }
.about-journey__end { padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--text-2); }
.sky-circle { aspect-ratio: 1; max-width: 460px; margin-inline: auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px var(--line); }
.sky-circle .nature-ph { width: 100%; height: 100%; place-items: center; text-align: center; }
@media (max-width: 781px) { .about-journey__photo { order: -1; } .sky-circle { max-width: 300px; } }

/* Vision */
.about-label { margin: 0 0 1rem !important; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.vision-line { font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.35; font-weight: 300; }
.vision-line span { font-weight: 700; }
.mission-grid { margin-top: clamp(2.5rem, 6vw, 4rem) !important; gap: clamp(1.5rem, 4vw, 3.5rem) !important; }
.mission-col { padding-top: 1.25rem; border-top: 2px solid var(--heading); }
.mission-col h3 { font-size: var(--wp--preset--font-size--xl); margin: 0 0 .75rem; }
.mission-col p { font-size: 1.0625rem; line-height: 2; color: var(--text-2); margin: 0 0 1rem; }
.mission-col .mission-col__accent { font-family: var(--display); font-weight: 500; font-size: var(--wp--preset--font-size--l); color: var(--heading); line-height: 1.7; }

/* Values: numbered rows, two columns */
.values-list { list-style: none; counter-reset: val; padding: 0; margin-block: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.values-list li { counter-increment: val; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .75rem; row-gap: .2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.values-list li::before { content: counter(val, arabic-indic); grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--accent); }
.values-list strong { font-family: var(--display); font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.values-list span { color: var(--text-2); line-height: 1.9; }
@media (max-width: 781px) { .values-list { grid-template-columns: 1fr; } }

/* Terms */
.ayah { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.5; color: var(--heading); margin-block: 0 2rem !important; }
.about-terms > p:not(.ayah):not(.about-label):not(.terms-close) { font-size: 1.125rem; line-height: 2.05; }
.terms-close { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem) !important; color: var(--accent) !important; margin-block: 2.5rem 0 !important; }
.about-cta { margin-top: 2.5rem !important; gap: .75rem; }

/* About v2: credentials in the hero, the Hamer paragraph in three parts, chapter index */
.creds { margin-top: 1.75rem !important; }
.creds__label { margin: 0 0 .6rem; font-size: var(--wp--preset--font-size--xs); font-weight: 700; color: var(--muted-t); }
.creds .creds-strip { margin: 0 !important; justify-content: flex-start; }
.bio-study { margin-block: 0 1.4rem !important; }
.bio-study p { font-size: 1.125rem; line-height: 2.05; margin: 0 0 1rem; color: var(--text); }
.bio-study__lead { font-family: var(--display); font-weight: 500; font-size: var(--wp--preset--font-size--l) !important; color: var(--heading) !important; line-height: 1.8 !important; }
.bio-study__core { padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--bg-soft); color: var(--text-2) !important; }


/* About page motion, same language as the homepage */
.creds-strip li { animation: rise .6s var(--ease) both; }
.creds-strip li:nth-child(1) { animation-delay: .5s; } .creds-strip li:nth-child(2) { animation-delay: .55s; } .creds-strip li:nth-child(3) { animation-delay: .6s; }
.creds-strip li:nth-child(4) { animation-delay: .65s; } .creds-strip li:nth-child(5) { animation-delay: .7s; } .creds-strip li:nth-child(6) { animation-delay: .75s; } .creds-strip li:nth-child(7) { animation-delay: .8s; }
.js .nature-band.pre .nature-band__title { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.nature-band.is-in .nature-band__title { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .sky-circle.reveal.pre { transform: scale(.92); }
.js .turn-line.is-in s { text-decoration-color: currentColor; animation: strike .9s var(--ease) .3s both; }
@keyframes strike { from { text-decoration-color: transparent; } to { text-decoration-color: currentColor; } }
.js .turn-line.is-in strong { animation: rise .9s var(--ease) .7s both; }
.bio-text > p { margin-block: 0 1.4rem; }
.bio-text .bio-study { margin-block: 1.6rem 1.4rem !important; }

/* About v4: readable expertise cards */
.bio-text .bio-card { margin-block: 0 1rem; padding: 1.3rem 1.5rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); line-height: 2.1; }
.bio-text .bio-card strong { color: var(--heading); font-weight: 700; }
.bio-text .en { display: inline; color: var(--muted-t); font-size: .85em; unicode-bidi: isolate; }
.bio-text #bio-schools { margin-bottom: 1.6rem; }

/* Section titles: vision and terms read like «القيم» */
.title-note { font-weight: 500; font-size: .6em; color: var(--muted-t); }
.vision-line { margin-block: 0 !important; font-family: var(--display); color: var(--heading); font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.4; font-weight: 300; }
.vision-line span { font-weight: 700; }

/* Visual rhythm: alternate full-width bands, and a short orange mark under every section title */
.about-story, .about-vision { background: var(--bg-soft); }
.about-journey, .about-values { background: var(--bg); }
.about-page .section-title::after { content: ""; display: block; width: 44px; height: 3px; margin: .9rem auto 0; border-radius: 3px; background: var(--accent); }
.about-journey h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .9rem; border-radius: 3px; background: var(--accent); }
.about-story__kicker::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .6rem; border-radius: 3px; background: var(--accent); }
.about-page .section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.about-terms::before { content: ""; display: block; width: min(1100px, 100%); height: 1px; margin: 0 auto clamp(3rem, 6vw, 4.5rem); background: var(--line); }

/* About v5 ------------------------------------------------------------ */
/* «وقد درس» lead centered */
.bio-study__lead { text-align: center; }

/* Closing bio paragraph on paper (same paper as the upcoming-workshop notes), figures marked */
.bio-text .paper-note { position: relative; margin-top: 2.25rem !important; padding: 2.2rem 1.8rem 1.6rem; border: 0; border-radius: 4px 4px 16px 4px; rotate: -.6deg; text-align: center;
	background: repeating-linear-gradient(180deg, transparent 0 39px, var(--note-rule) 39px 40px) 0 1.4rem / 100% calc(100% - 2rem) no-repeat, var(--paper-note);
	box-shadow: 0 1px 0 rgba(6, 53, 101, .03), 0 14px 26px -16px rgba(6, 53, 101, .25), inset 0 -18px 30px -24px rgba(6, 53, 101, .12);
	line-height: 40px !important; }
.bio-text .paper-note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 40%, #fff) 0 18%, var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000) 100%); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .18); }
.fig { font-family: var(--display); font-size: 1.6em; font-weight: 700; color: var(--accent); padding-inline: .1em; vertical-align: -.08em; }
.about-bio__close { border-top: 0 !important; }

/* Terms: no mark under its title; the verse in a framed panel */
.about-terms .section-title::after { display: none; }
.ayah-panel { position: relative; margin: 0 auto 2.5rem !important; max-width: 640px; padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem); text-align: center; border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, var(--surface), transparent 70%); }
.ayah-panel::before, .ayah-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--line); pointer-events: none; }
.ayah-panel::after { inset: 10px; border-radius: 20px; border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.ayah-panel .ayah { margin: 0 !important; padding: 0; border: 0; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.5; color: var(--heading); }

/* No gap between the aerial band and its story */
.about-start > * { margin-block: 0 !important; }

/* Section separators: brand wave lines instead of colored bands */
.about-story, .about-vision { background: none; }
.about-journey, .about-vision, .about-values, .about-terms { position: relative; }
.about-journey::before, .about-vision::before, .about-values::before, .about-terms::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 46px; max-width: none !important; margin: 0 !important; pointer-events: none; opacity: .9;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='46' viewBox='0 0 600 46' fill='none' stroke='%23B1D6FB' stroke-width='1.2'%3E%3Cpath d='M0 23c50-14 100-14 150 0s100 14 150 0 100-14 150 0 100 14 150 0'/%3E%3Cpath d='M0 30c50-14 100-14 150 0s100 14 150 0 100-14 150 0 100 14 150 0' opacity='.6'/%3E%3Cpath d='M0 16c50-14 100-14 150 0s100 14 150 0 100-14 150 0 100 14 150 0' opacity='.35'/%3E%3C/svg%3E") center / 600px 46px repeat-x;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.about-terms::before { width: auto; }

/* ==== About v6 ======================================================== */
/* CV rows (used in v1 for the expertise block, and for the whole sheet in v2) */
.cv-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.75rem; padding-block: 1.6rem; border-top: 1px solid var(--line); margin: 0 !important; position: relative; }
.cv-row:last-child { border-bottom: 1px solid var(--line); }
.cv-label { margin: 0 !important; padding-top: .35rem; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); line-height: 1.5; color: var(--accent); }
.cv-body > p { margin: 0 0 1rem !important; font-size: 1.0625rem; line-height: 2.05; color: var(--text); }
.cv-body > p:last-child { margin-bottom: 0 !important; }
.cv-body strong { color: var(--heading); }
.cv-body .en { display: inline; color: var(--muted-t); font-size: .85em; unicode-bidi: isolate; }
.bio-text .cv-row + p, .bio-text .cv-row + .bio-study { margin-top: 1.8rem !important; }
@media (max-width: 700px) { .cv-row { grid-template-columns: 1fr; row-gap: .4rem; } }

/* Verse: smaller, ornamental brackets, a small star ornament each side */
.ayah-panel { display: none; }
.ayah-line { margin: 0 auto 2.5rem !important; display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.ayah-line .ayah { margin: 0 !important; padding: 0; border: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.6; color: var(--heading); display: inline-flex; align-items: center; gap: .45em; }
.ayah-br { font-size: 0; display: inline-block; width: .55em; height: 1.25em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 50' fill='none' stroke='%23660606' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M16 3C6 12 6 38 16 47'/%3E%3Cpath d='M12 25h6M15 22l3 3-3 3' /%3E%3Ccircle cx='17' cy='8' r='1.6' fill='%23660606' stroke='none'/%3E%3Ccircle cx='17' cy='42' r='1.6' fill='%23660606' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.ayah-br:last-child { transform: scaleX(-1); }
.ayah-orn { flex: 1 1 0; max-width: 120px; height: 14px; background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0l1.8 5.2L14 7l-5.2 1.8L7 14l-1.8-5.2L0 7l5.2-1.8z' fill='%23660606' opacity='.85'/%3E%3C/svg%3E") center / 14px no-repeat,
	linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; }

/* ---- Version 2: Arabic CV sheet ---- */
.about-cv { position: relative; overflow: hidden; isolation: isolate; margin-top: -77px; padding: calc(77px + clamp(2rem, 5vw, 3.5rem)) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem); background: var(--hero-bg); }
.about-cv > .light-beams { max-width: none; }
.cv-sheet { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "head head" "main side"; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(6, 53, 101, .35); }
.cv-head { grid-area: head; position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 3rem) clamp(2.25rem, 5vw, 3.5rem); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.cv-head .cv-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; -webkit-mask-image: none; mask-image: none; display: block !important; }
.cv-head__tag { margin: 0 0 .5rem; display: inline-block; padding: .2rem .8rem; border-radius: 8px; background: var(--accent); font-weight: 700; font-size: var(--wp--preset--font-size--s); rotate: -3deg; }
.cv-head__name { margin: 0; color: #fff !important; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.15; letter-spacing: -.01em; }
.cv-head__role { margin: .6rem 0 0; max-width: 34em; font-size: var(--wp--preset--font-size--l); color: #cfe1f5; }

.cv-side { grid-area: side; padding: 0 1.75rem 2rem; border-inline-start: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 1.1rem; }
.cv-photo { margin: -70px auto 0; width: 190px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--surface); background: var(--sky); box-shadow: 0 16px 30px -18px rgba(6, 53, 101, .45); position: relative; z-index: 1; }
.cv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scaleX(-1) scale(1.25); transform-origin: 50% 25%; }
.cv-figs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cv-figs p { margin: 0; padding: .9rem .5rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; }
.cv-figs strong { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: var(--accent); direction: ltr; }
.cv-figs span { font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); }
.cv-side__title { margin: .5rem 0 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.cv-creds { list-style: none; margin: 0; padding: 0; display: grid; }
.cv-creds li { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.cv-creds li span { font-weight: 700; color: var(--heading); font-size: var(--wp--preset--font-size--s); line-height: 1.6; }
.cv-creds bdi { font-size: var(--wp--preset--font-size--xs); color: var(--muted-t); text-align: right; }

.cv-main { grid-area: main; padding: clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem); }
.cv-main .cv-row:first-child { border-top: 0; }
.cv-main .cv-row:last-child { border-bottom: 0; }
.cv-lead { font-family: var(--display); font-weight: 500; font-size: var(--wp--preset--font-size--l) !important; color: var(--heading) !important; line-height: 1.85 !important; }
.cv-strong { font-weight: 700; color: var(--heading) !important; }
.cv-note { padding: 1rem 1.2rem; border-radius: 14px; background: var(--bg-soft); color: var(--text-2) !important; }
.cv-impact .fig { font-size: 1.5em; }
@media (max-width: 900px) {
	.cv-sheet { grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; }
	.cv-side { border-inline-start: 0; border-bottom: 1px solid var(--line); }
	/* The photo is centred here and rises 70px into the header: keep the role line clear of it */
	.cv-sheet:not(.cv-sheet--timeline) .cv-head { padding-bottom: calc(70px + 1.5rem); }
}
/* v2 page: the sheet carries its own entrance */
.about-page--cv .cv-sheet { animation: rise 1s var(--ease) both; }
.ayah-br { font-size: inherit; color: transparent; overflow: hidden; text-indent: -999px; width: .5em; height: 1.3em; flex: none; }
.cv-photo img { object-position: 50% 50%; transform: none; }

.nature-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.nature-band__img img { object-position: 50% 88%; }
/* Zoom toward the walker and lift him above the title */
.nature-band__img img { object-position: 50% 50%; transform: scale(1.3); transform-origin: 50% 100%; }
/* HD image is already framed on the walker: no extra zoom */
.nature-band__img img { transform: none; object-position: 50% 50%; }
.nature-band__title { margin-bottom: clamp(1rem, 2.5vw, 1.75rem); }
.sky-circle__img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* «إلى أين تتجه؟» photo: soft square instead of a circle */
.sky-circle { aspect-ratio: 1; max-width: 480px; border-radius: 28px; overflow: visible; box-shadow: none; position: relative; isolation: isolate; }
.sky-circle .sky-circle__img { border-radius: 28px; box-shadow: 0 30px 60px -36px rgba(6, 53, 101, .45); }
.sky-circle::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 32px; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); translate: 16px 16px; }
@media (max-width: 781px) { .sky-circle { max-width: 320px; } .sky-circle::before { translate: 10px 10px; } }

/* Variation for the paper CV page (about-v3): a pinned instant photo */
.about-page--paper .sky-circle { padding: 14px 14px 56px; border-radius: 4px; background: var(--paper-note); rotate: 2.2deg; aspect-ratio: auto;
	box-shadow: 0 1px 0 rgba(6, 53, 101, .04), 0 26px 44px -26px rgba(6, 53, 101, .45); transition: rotate .5s var(--ease); }
.about-page--paper .sky-circle:hover { rotate: 0deg; }
.about-page--paper .sky-circle::before { border: 0; translate: none; inset: auto; top: -10px; left: 50%; width: 20px; height: 20px; margin-left: -10px; z-index: 2; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 40%, #fff) 0 18%, var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000) 100%); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .2); }
.about-page--paper .sky-circle .sky-circle__img { aspect-ratio: 1; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }

/* Variation for /about-v2/: a navy pencil sketch of the same scene behind the photo */
.about-page--sketch .sky-circle { margin-block: 3rem; }
.about-page--sketch .sky-circle::before { border: 0; inset: -14% -18% -14% -18%; translate: none; z-index: -1; border-radius: 0;
	background: url("../images/journey-heading-sketch.webp") center / contain no-repeat; opacity: .55;
	-webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
	transform: rotate(-4deg) scale(1.05); }
.about-page--sketch .sky-circle .sky-circle__img { transform: rotate(2deg); }
.is-dark .about-page--sketch .sky-circle::before { filter: invert(1) hue-rotate(180deg); opacity: .35; }
/* Sketch fills the frame; the photo sits smaller in front, offset toward the text, so the drawing reads */
.about-page--sketch .sky-circle { aspect-ratio: 1; max-width: 520px; }
.about-page--sketch .sky-circle::before { inset: 0; transform: none; opacity: .75;
	-webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%); }
.about-page--sketch .sky-circle .sky-circle__img { position: absolute; width: 64%; height: 64%; inset-inline-start: 0; bottom: 4%; transform: rotate(-2.5deg); border: 6px solid var(--surface); box-shadow: 0 24px 50px -28px rgba(6, 53, 101, .55); }
.about-page--sketch .sky-circle::before { -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }



/* /about/ photo frame: the brand wave lines around the photo, like the section separators */
.about-page:not(.about-page--cv) .sky-circle::before { inset: -14px; translate: none; border: 0; border-radius: 40px; z-index: -1;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16' fill='none' stroke='%23B1D6FB' stroke-width='1.3'%3E%3Cpath d='M0 8c15-6 30-6 45 0s30 6 45 0 30-6 30 0'/%3E%3Cpath d='M0 12c15-6 30-6 45 0s30 6 45 0 30-6 30 0' opacity='.55'/%3E%3C/svg%3E") top / 120px 16px repeat-x,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16' fill='none' stroke='%23B1D6FB' stroke-width='1.3'%3E%3Cpath d='M0 8c15-6 30-6 45 0s30 6 45 0 30-6 30 0'/%3E%3Cpath d='M0 4c15-6 30-6 45 0s30 6 45 0 30-6 30 0' opacity='.55'/%3E%3C/svg%3E") bottom / 120px 16px repeat-x;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.about-page:not(.about-page--cv) .sky-circle::after { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 40px; pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='120' viewBox='0 0 16 120' fill='none' stroke='%23B1D6FB' stroke-width='1.3'%3E%3Cpath d='M8 0c-6 15-6 30 0 45s6 30 0 45-6 30 0 30'/%3E%3Cpath d='M12 0c-6 15-6 30 0 45s6 30 0 45-6 30 0 30' opacity='.55'/%3E%3C/svg%3E") left / 16px 120px repeat-y,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='120' viewBox='0 0 16 120' fill='none' stroke='%23B1D6FB' stroke-width='1.3'%3E%3Cpath d='M8 0c-6 15-6 30 0 45s6 30 0 45-6 30 0 30'/%3E%3Cpath d='M4 0c-6 15-6 30 0 45s6 30 0 45-6 30 0 30' opacity='.55'/%3E%3C/svg%3E") right / 16px 120px repeat-y;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }

/* Homepage + about: front-facing arms-crossed cutout (07886), no mirroring; the consultation page keeps its own photo */
/* The photos face the camera now (consultations: photo shoot, 2026-11-14): no mirroring, same frame on both pages */
.consult-section .portrait img, .about-hero__photo .portrait img { transform: none; }
.consult-section .portrait, .about-hero__photo .portrait { width: 100% !important; max-width: 520px; margin-inline: auto !important; }
.consult-section .portrait img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }

/* /about-v2/: show only the pencil sketch, no photo */
.about-page--sketch .sky-circle .sky-circle__img { display: none; }
.about-page--sketch .sky-circle::before { opacity: 1; inset: 0;
	-webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }

/* Homepage: the workshop testimonials sit inside the workshop section, above «الورش القادمة», with the same heading */
.workshop-reviews { margin-block-start: var(--wp--preset--spacing--50) !important; }
.workshop-reviews .upcoming__label { margin: 0 0 1.25rem; text-align: center; font-size: var(--wp--preset--font-size--xl); }
.workshop-section { overflow-x: clip; }

/* ==== Accent: burgundy site-wide; the workshop section (and what sits in it) keeps the social orange ==== */
.workshop-section { --accent: var(--orange); --accent-deep: var(--orange-deep); --accent-ink: #fff; }
/* Icons drawn in the accent colour: burgundy, and the brand sky in dark mode */
:root[data-theme="dark"] .consult-text .tag::before, :root[data-theme="dark"] .hero--page .tag::before { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18.5V6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v7a2.5 2.5 0 0 1-2.5 2.5H8z'/%3E%3Cpath d='M8.5 8.5h7M8.5 12h4.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
:root[data-theme="dark"] .dek::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-theme="dark"] .booking__about::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-theme="dark"] .booking__about--focus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.8' fill='%23B1D6FB'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .tag--about::before { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / 22px no-repeat; }
:root[data-theme="dark"] .ayah-br { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 50' fill='none' stroke='%23B1D6FB' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M16 3C6 12 6 38 16 47'/%3E%3Cpath d='M12 25h6M15 22l3 3-3 3' /%3E%3Ccircle cx='17' cy='8' r='1.6' fill='%23B1D6FB' stroke='none'/%3E%3Ccircle cx='17' cy='42' r='1.6' fill='%23B1D6FB' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-theme="dark"] .ayah-orn { background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0l1.8 5.2L14 7l-5.2 1.8L7 14l-1.8-5.2L0 7l5.2-1.8z' fill='%23B1D6FB' opacity='.85'/%3E%3C/svg%3E") center / 14px no-repeat,
	linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .consult-text .tag::before, :root:not([data-theme="light"]) .hero--page .tag::before { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18.5V6.5A2.5 2.5 0 0 1 6.5 4h11A2.5 2.5 0 0 1 20 6.5v7a2.5 2.5 0 0 1-2.5 2.5H8z'/%3E%3Cpath d='M8.5 8.5h7M8.5 12h4.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
	:root:not([data-theme="light"]) .dek::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
	:root:not([data-theme="light"]) .booking__about::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
	:root:not([data-theme="light"]) .booking__about--focus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.8' fill='%23B1D6FB'/%3E%3C/svg%3E"); }
	:root:not([data-theme="light"]) .tag--about::before { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / 22px no-repeat; }
	:root:not([data-theme="light"]) .ayah-br { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 50' fill='none' stroke='%23B1D6FB' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M16 3C6 12 6 38 16 47'/%3E%3Cpath d='M12 25h6M15 22l3 3-3 3' /%3E%3Ccircle cx='17' cy='8' r='1.6' fill='%23B1D6FB' stroke='none'/%3E%3Ccircle cx='17' cy='42' r='1.6' fill='%23B1D6FB' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat; }
	:root:not([data-theme="light"]) .ayah-orn { background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0l1.8 5.2L14 7l-5.2 1.8L7 14l-1.8-5.2L0 7l5.2-1.8z' fill='%23B1D6FB' opacity='.85'/%3E%3C/svg%3E") center / 14px no-repeat,
	linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; }
}

/* ==== Behind the portrait: the hero's lighting (sky haze + soft light beams) so the white thobe doesn't melt into the page.
   Light mode only; dark mode keeps its glow. ==== */
:root {
	/* Vertical columns of light like the hero's beams: deeper sky between white beams */
	--portrait-bg: linear-gradient(90deg,
		transparent 0%,
		color-mix(in srgb, var(--sky) 88%, var(--navy)) 12%,
		rgba(255, 255, 255, .92) 24%,
		var(--sky) 36%,
		color-mix(in srgb, var(--sky) 84%, var(--navy)) 50%,
		rgba(255, 255, 255, .88) 63%,
		var(--sky) 76%,
		rgba(255, 255, 255, .7) 88%,
		transparent 100%);
	--portrait-blur: blur(20px);
	--portrait-skew: skewX(-6deg);
}
:root[data-theme="dark"] { --portrait-bg: radial-gradient(58% 55% at 46% 56%, var(--glow), transparent 72%); --portrait-blur: none; --portrait-skew: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --portrait-bg: radial-gradient(58% 55% at 46% 56%, var(--glow), transparent 72%); --portrait-blur: none; --portrait-skew: none; } }
/* The columns fade out at the top, bottom and sides, so they never end on a straight line */
.portrait-col::before { inset: -4% -20% 0 4%; background: var(--portrait-bg); filter: var(--portrait-blur); transform: var(--portrait-skew);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
	mask-composite: intersect; }

/* ==== Page change: a thin accent bar across the top, and the clicked button dimmed with a small spinner (motion.js) ==== */
html.is-navigating::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100000; background: var(--accent); transform-origin: right; animation: nav-progress 8s cubic-bezier(.1, .7, .2, 1) forwards; box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes nav-progress { from { transform: scaleX(0); } 20% { transform: scaleX(.45); } to { transform: scaleX(.92); } }
html.is-navigating, html.is-navigating a { cursor: progress; }
.wp-block-button__link[aria-busy="true"] { opacity: .75; pointer-events: none; }
.wp-block-button__link[aria-busy="true"]:not(.media-bar .wp-block-button__link)::after { content: ""; position: static; display: inline-block; width: .9em; height: .9em; margin-inline-start: .5rem; vertical-align: -.12em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: booking-spin .7s linear infinite; }
@media (prefers-reduced-motion: reduce) {
	html.is-navigating::before { animation: none; transform: scaleX(.6); }
	.wp-block-button__link[aria-busy="true"]:not(.media-bar .wp-block-button__link)::after { animation-duration: 2s; }
}

/* ==== Upcoming workshops look not-yet-active: the pins and «قريبًا» stamps lose most of their orange, the notes fade a little ==== */
/* The fade is in the filter, not opacity: the scroll reveal sets the cards' opacity itself */
.upcoming-board .note-card { filter: saturate(.25) opacity(.8); }
.upcoming-board .note-card__title { color: color-mix(in srgb, var(--heading) 75%, var(--muted-t)); }
.upcoming-board .note-card:hover { filter: saturate(.6) opacity(1); }

/* ==== Booking: «طلب استثناء الوقت» (an option after the sessions) and its dialogs ==== */
.booking__slot--custom { border-style: dashed; background: transparent; }
.booking__slot--custom[aria-checked="true"] { border-style: solid; }
.booking__slot-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.booking__slot--custom .booking__slot-meta b { font-family: var(--display); font-size: var(--wp--preset--font-size--m); }
.booking-dialog { width: min(92vw, 460px); max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -30px rgba(4, 24, 47, .45); }
.booking-dialog::backdrop { background: color-mix(in srgb, var(--navy-deep) 45%, transparent); backdrop-filter: blur(3px); }
.booking-dialog[open] { animation: booking-in .25s var(--ease); }
.booking-dialog__body { display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 1.75rem); }
.booking-dialog__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.booking-dialog__text { margin: 0; color: var(--text-2); font-size: var(--wp--preset--font-size--s); line-height: 1.9; }
.booking-dialog__day { margin: 0; padding: .6rem .9rem; border-radius: 12px; background: var(--bg-soft); color: var(--heading); font-weight: 700; font-size: var(--wp--preset--font-size--s); }
.booking-dialog textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; resize: vertical; min-height: 5.5rem; }
.booking-dialog textarea:focus { outline: none; border-color: var(--accent); }
.booking-dialog__choices { display: grid; gap: .6rem; }
.booking-dialog__choices .booking__submit, .booking-dialog__choices .booking__back { height: 3.25rem; padding-block: 0; display: inline-flex; align-items: center; justify-content: center; font-size: var(--wp--preset--font-size--m); }
.booking-dialog__close { font: inherit; justify-self: center; background: none; border: 0; padding: .25rem; cursor: pointer; color: var(--muted-t); text-decoration: underline; text-underline-offset: .3em; }
@media (prefers-reduced-motion: reduce) { .booking-dialog[open] { animation: none; } }
.booking__field small { font-weight: 400; color: var(--muted-t); font-size: var(--wp--preset--font-size--xs); }
.booking__field small[hidden] { display: none; }

/* About: «كيف بدأت الرحلة؟» has a wide drawing for desktop and a square one for phones (<picture>) */
.nature-band__img picture { display: block; width: 100%; height: 100%; }

/* /about/ (CV version): «إلى أين تتجه؟» is the puzzle drawing itself, its sky background fading into the page */
.about-page--sketch .sky-circle::before { content: none; }
.about-page--sketch .sky-circle .sky-circle__img { display: block; position: static; width: 100%; height: 100%; transform: none; border: 0; border-radius: 28px; box-shadow: none;
	-webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
/* The drawing is light: no dark overlay; a soft light fade behind a navy title instead (same in dark mode, since the drawing doesn't change) */
.about-start .nature-band::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .8) 100%); }
.about-start .nature-band__title { color: var(--navy) !important; text-shadow: 0 2px 18px rgba(255, 255, 255, .9); }

/* «قيمنا وأهدافنا» (/values/): the about page's vision, values and terms, plus goals, philosophy and the puzzle drawing */
.values-page__title { margin: 0 !important; padding: clamp(3rem, 7vw, 5rem) 1rem 0; font-size: var(--wp--preset--font-size--display); }
.values-page .about-vision { padding-top: clamp(2rem, 4vw, 3rem); }
.values-page .about-vision::before { content: none; }
/* Light pencil drawings: a soft light fade behind a navy title instead of the dark overlay */
.nature-band--sketch::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .8) 100%); }
.nature-band--sketch .nature-band__title { color: var(--navy) !important; text-shadow: 0 2px 18px rgba(255, 255, 255, .9); }
.about-goals > * { margin-block: 0 !important; }
.goals-grid { gap: clamp(1.5rem, 4vw, 3.5rem) !important; }
.goals-col h3 { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--xl); }
.goals-list { list-style: none; counter-reset: goal; padding: 0; margin: 0 !important; }
.goals-list li { counter-increment: goal; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--text-2); line-height: 1.9; }
.goals-list li::before { content: counter(goal, arabic-indic); font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.3; color: var(--accent); }
.about-philosophy { position: relative; }
.philosophy-line { margin-block: 1.5rem 0 !important; font-family: var(--display); font-weight: 500; color: var(--heading); font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.8; }

/* ==== Workshops page (/workshops/): the workshop section in full, FAQ, then buying it (orange accent throughout) ==== */
.workshops-main { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

/* Version 1 workshops page («قريبًا»): the banner leads to the consultation; a stamped note says the workshop is coming */
.workshops-soon .media-bar { justify-content: center !important; }
/* «قريبًا» page: the whole white bar under the banner is the booking button (no orange pill floating inside it) */
.workshops-soon .media-bar { padding: 0 !important; overflow: hidden; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.workshops-soon .media-bar .wp-block-buttons, .workshops-soon .media-bar .wp-block-button { width: 100%; margin: 0; }
.workshops-soon .media-bar .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 68px; padding: 1rem 1.5rem; border: 0; border-radius: inherit; background: transparent !important; color: var(--accent) !important; box-shadow: none !important; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; }
.workshops-soon .media-bar .wp-block-button__link::after { display: none; }
.workshops-soon .media-bar:hover, .workshops-soon .media-bar:focus-within { background: color-mix(in srgb, var(--accent) 9%, var(--bar-bg)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.workshops-soon .media-bar .wp-block-button__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.ws-soon { display: flex; align-items: center; gap: 1.25rem; margin-block-start: 1.75rem !important; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: 0 20px 40px -28px rgba(6, 53, 101, .25); }
.ws-soon__stamp { flex: none; margin: 0 !important; padding: .15rem .9rem; border: 2px solid var(--accent); border-radius: 8px; color: var(--accent); font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); transform: rotate(-6deg); }
.ws-soon__text { margin: 0 !important; color: var(--heading); font-weight: 700; }
.crumb { position: absolute; z-index: 3; top: clamp(.9rem, 2vw, 1.4rem); inset-inline-start: clamp(.9rem, 2vw, 1.4rem); margin: 0; padding: .35rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font-weight: 700; font-size: var(--wp--preset--font-size--s); box-shadow: 0 8px 20px -12px rgba(6, 53, 101, .25); }
/* Placeholder until the clip (video or PDF pages) arrives */
.media-ph { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: .75rem; padding: clamp(1.25rem, 4vw, 3rem); text-align: center; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--accent) 6%, transparent) 14px 15px), var(--bg-soft); border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.media-ph__icon { width: 56px; height: 56px; color: var(--accent); }
.media-ph__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--xl); color: var(--heading); }
.media-ph__note { margin: 0; max-width: 36rem; color: var(--text-2); font-size: var(--wp--preset--font-size--s); line-height: 1.9; }
.media-ph__note strong { color: var(--accent); }
@media (max-width: 781px) { .media-ph { aspect-ratio: auto; min-height: 320px; } }
/* FAQ */
.faq { display: grid; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; color: var(--heading); font-size: var(--wp--preset--font-size--m); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); font-family: var(--display); font-size: 1.3rem; line-height: 1; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 1.25rem; color: var(--text-2); line-height: 1.9; }

/* Workshop details: title and lead beside the description, the four facts in one strip, the two lists as matching cards */
.ws-about { margin-block: clamp(3rem, 7vw, 5rem) 0 !important; gap: clamp(1.5rem, 5vw, 4.5rem) !important; align-items: flex-end !important; }
.ws-about__head > * + * { margin-block-start: 1rem !important; }
.ws-about__head h1 { margin-block-start: .9rem !important; font-size: var(--wp--preset--font-size--xxl); line-height: 1.3; }
.ws-about__lead { margin-block-end: 0 !important; font-family: var(--display); font-weight: 500; font-size: var(--wp--preset--font-size--l); line-height: 1.8; color: var(--heading); }
.ws-about__body p { color: var(--text-2); line-height: 2; }
.ws-about__body p:last-child { margin-bottom: 0; }
.ws-facts { margin-block: clamp(2rem, 4vw, 2.75rem) 0 !important; padding: 1.25rem clamp(1rem, 3vw, 1.75rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); gap: 1rem 1.5rem !important; }
.ws-lists { margin-block: clamp(1.5rem, 3vw, 2rem) 0 !important; gap: clamp(1rem, 3vw, 1.75rem) !important; }
.ws-list { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-soft) 60%, transparent); }
.ws-list__title { margin: 0 !important; font-size: var(--wp--preset--font-size--xl); }
.ws-list__intro { margin: .35rem 0 1rem !important; color: var(--muted-t); font-size: var(--wp--preset--font-size--s); }
.ws-list .gets-list li:last-child { border-bottom: 0; }
.ws-cta { margin-block-start: clamp(1.75rem, 4vw, 2.5rem) !important; }
@media (max-width: 781px) { .ws-facts { grid-template-columns: 1fr 1fr !important; } }

/* Buying the workshop: an orange summary beside the card (details -> pay -> result), on a soft orange band so it stands out */
.workshops-enroll { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 9%, var(--bg)) 22%, color-mix(in srgb, var(--accent) 9%, var(--bg)) 78%, transparent); }
.enroll { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-top: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: 0 24px 48px -32px color-mix(in srgb, var(--accent) 30%, transparent); }
.enroll__summary { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(160deg, var(--accent), var(--accent-deep)); color: var(--accent-ink); overflow: hidden; }
.enroll__summary::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); pointer-events: none; }
.enroll__kicker { margin: 0; font-size: var(--wp--preset--font-size--s); opacity: .85; }
.enroll__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--xl); line-height: 1.4; }
.enroll__price { margin: .5rem 0 1rem; font-weight: 700; }
.enroll__price strong { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; margin-inline-end: .3rem; }
.enroll__includes { list-style: none; margin: auto 0 0; padding: 1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .3); display: grid; gap: .65rem; }
.enroll__includes li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.enroll__includes li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.booking--enroll { grid-template-columns: 1fr; border: 0; border-radius: 0; box-shadow: none; background: none; }
.booking--enroll .booking__form { grid-template-columns: 1fr 1fr; }
.booking--enroll .booking__field:nth-of-type(3) { grid-column: 1 / -1; }
.booking--enroll .booking__actions .booking__submit { flex: 1 1 100%; max-width: none; }
@media (max-width: 781px) {
	.enroll { grid-template-columns: 1fr; }
	.enroll__includes { grid-template-columns: 1fr 1fr; font-size: var(--wp--preset--font-size--s); }
	.booking--enroll .booking__form { grid-template-columns: 1fr; }
}

/* «الفلسفة الأساسية» beside the square puzzle drawing: text and title mark on the start side */
.about-philosophy--split .section-title::after { margin-inline: 0 !important; }
.about-philosophy--split .philosophy-line { text-align: start; }
/* No frame around the puzzle drawing: its sky fades and blends into the page; less space after the goals */
.values-page .goals { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.about-philosophy--split { padding-top: clamp(1rem, 2vw, 1.5rem) !important; }
.about-philosophy--split .sky-circle { margin-block: 0; }
.about-philosophy--split .sky-circle::before, .about-philosophy--split .sky-circle::after { content: none !important; }
.about-philosophy--split .sky-circle .sky-circle__img { border-radius: 0; -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); }
:root:not([data-theme="dark"]) .about-philosophy--split .sky-circle .sky-circle__img { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .about-philosophy--split .sky-circle .sky-circle__img { mix-blend-mode: normal; } }
.about-philosophy--split .sky-circle { max-width: 584px; }

/* ==== Contact, FAQ and terms pages (version 1) ==== */
.contact-page, .faq-page, .legal-page { padding-top: clamp(2rem, 6vw, 4rem); }
.contact-lead { margin: .75rem auto 0; max-width: 34em; text-align: center; color: var(--text-2); font-size: var(--wp--preset--font-size--l); line-height: 1.9; }
.contact-dummy { margin: 1.25rem auto 0; max-width: 40em; padding: .75rem 1rem; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: var(--r-md); background: var(--bg-soft); color: var(--text-2); font-size: var(--wp--preset--font-size--s); text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: inherit; text-decoration: none; box-shadow: 0 20px 40px -30px rgba(6, 53, 101, .25); transition: transform .25s var(--ease), border-color .25s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact-card .icon-tile { margin-bottom: .5rem; }
.contact-card .icon-tile svg { width: 22px; height: 22px; }
.contact-card__title { font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.contact-card__value { font-weight: 700; color: var(--accent); font-size: var(--wp--preset--font-size--m); unicode-bidi: isolate; }
.contact-card__note { font-size: var(--wp--preset--font-size--s); color: var(--muted-t); }
.contact-social.contact-social--main { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.contact-social--main .contact-social__text bdi { color: var(--accent); font-weight: 700; font-size: var(--wp--preset--font-size--m); }
.contact-social__icon svg[stroke] { fill: none; }
.contact-social-block { margin-top: clamp(2rem, 5vw, 3rem); }
.contact-social-block__title { margin: 0 0 1.1rem; text-align: center; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--xl); color: var(--heading); }
.contact-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-social a { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .25s var(--ease), border-color .25s; }
.contact-social a:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-social__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--accent); }
.contact-social__icon svg { width: 22px; height: 22px; }
.contact-social__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.contact-social__text b { font-weight: 700; color: var(--heading); }
.contact-social__text bdi { color: var(--muted-t); font-size: var(--wp--preset--font-size--s); }
.contact-social a:hover bdi { color: var(--accent); }
.contact-actions { margin-top: clamp(2rem, 5vw, 3rem) !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-social { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .contact-social.contact-social--main { grid-template-columns: 1fr; } .contact-social--main a { flex-direction: row !important; align-items: center !important; } .contact-social a { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; } }

.faq-group { margin-top: clamp(2rem, 5vw, 3rem); }
.faq-group__title { margin: 0; font-family: var(--display); font-size: var(--wp--preset--font-size--xl); color: var(--heading); }
.faq-group .faq { margin-top: .75rem; }
.faq__item p a { color: var(--accent); font-weight: 700; }

.legal-intro { margin: 1.75rem 0 0; color: var(--text-2); line-height: 2; }
.legal-draft { margin: 1.5rem 0 0; padding: .9rem 1.15rem; border-radius: 14px; border: 1px dashed var(--accent); background: var(--bg-soft); color: var(--text-2); font-size: var(--wp--preset--font-size--s); line-height: 1.9; }
.legal-draft strong { color: var(--accent); }
.legal-list { margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: clause; }
.legal-clause { counter-increment: clause; padding: 1.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-clause h2 { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .75rem; font-family: var(--display); font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.legal-clause h2::before { content: counter(clause); font-family: var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.legal-clause p, .legal-clause li { margin: 0 0 .6rem; color: var(--text-2); line-height: 2; }
.legal-clause ul { margin: .25rem 0 .75rem; padding-inline-start: 1.25rem; }
.legal-clause li::marker { color: var(--accent); }
.legal-clause strong { color: var(--heading); }
.ph { padding: 0 .35em; border-radius: 6px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 700; }

/* ==== Booking: individual or couple sessions ==== */
.booking__kind { grid-column: 1 / -1; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 0; display: grid; gap: .9rem; }
.booking[data-step]:not([data-step="pick"]) > .booking__kind { display: none; }
.booking__kind-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.booking__kind-opt { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .9rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); text-align: start; transition: border-color .2s, background-color .2s; }
.booking__kind-opt b { font-family: var(--display); font-size: var(--wp--preset--font-size--l); }
.booking__kind-opt span { font-size: var(--wp--preset--font-size--s); color: var(--muted-t); }
.booking__kind-opt:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.booking__kind-opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.booking__kind-opt[aria-checked="true"] span { color: var(--accent); font-weight: 700; }
.booking__kind-note { margin: 0; padding: .85rem 1.1rem; border-radius: 14px; background: var(--bg-soft); color: var(--text-2); font-size: var(--wp--preset--font-size--s); line-height: 1.9; }
.booking__phones-note { grid-column: 1 / -1; margin: 0; padding: .85rem 1.1rem; border-radius: 14px; border: 1px solid var(--accent); background: var(--bg-soft); color: var(--heading); font-size: var(--wp--preset--font-size--s); line-height: 1.9; }
.booking__phones-note strong { color: var(--accent); }
.booking__slot--couple { cursor: default; }
.booking__slot--couple::after { display: none; }
.booking__slot--couple.is-idle { opacity: .55; }
.booking__slot--couple .booking__slot-meta b { font-family: var(--display); font-size: var(--wp--preset--font-size--m); color: var(--heading); }
.booking__who { grid-column: 1 / -1; margin: 0; padding: 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.booking__wife { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; margin: .5rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.booking__wife[hidden] { display: none; }
.booking__wife legend { float: right; width: 100%; margin-bottom: .25rem; }
.booking__result-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.booking__result-list li { font-weight: 700; color: var(--heading); }
@media (max-width: 781px) {
	.booking__wife { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.booking__kind-opts { grid-template-columns: 1fr; }
}

/* Session type: room before the calendar, and two clearly different cards (a person / two people) so the couple option isn't missed */
.booking__kind { padding-bottom: clamp(1.25rem, 3vw, 1.75rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(.5rem, 2vw, 1rem); }
.booking__kind-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--wp--preset--font-size--l); color: var(--heading); }
.booking__kind-note { margin-top: .15rem; }
.booking__kind-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .9rem; align-items: center; background: var(--bg-soft); }
.booking__kind-opt b, .booking__kind-opt span { grid-column: 2; }
.booking__kind-opt::before { content: ""; grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / 24px no-repeat; }
.booking__kind-opt[data-kind="couple"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660606' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8' r='3.3'/%3E%3Cpath d='M2 20.5c.9-3.7 3.5-5.8 6.5-5.8s5.6 2.1 6.5 5.8'/%3E%3Ccircle cx='16.5' cy='8.8' r='2.7'/%3E%3Cpath d='M15.6 14.4c3.1.2 5.4 2.2 6.2 5.6'/%3E%3C/svg%3E"); }
.booking__kind-opt[aria-checked="true"] { border-width: 2px; box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--accent) 70%, transparent); }
:root[data-theme="dark"] .booking__kind-opt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .booking__kind-opt[data-kind="couple"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8' r='3.3'/%3E%3Cpath d='M2 20.5c.9-3.7 3.5-5.8 6.5-5.8s5.6 2.1 6.5 5.8'/%3E%3Ccircle cx='16.5' cy='8.8' r='2.7'/%3E%3Cpath d='M15.6 14.4c3.1.2 5.4 2.2 6.2 5.6'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .booking__kind-opt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
	:root:not([data-theme="light"]) .booking__kind-opt[data-kind="couple"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D6FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8' r='3.3'/%3E%3Cpath d='M2 20.5c.9-3.7 3.5-5.8 6.5-5.8s5.6 2.1 6.5 5.8'/%3E%3Ccircle cx='16.5' cy='8.8' r='2.7'/%3E%3Cpath d='M15.6 14.4c3.1.2 5.4 2.2 6.2 5.6'/%3E%3C/svg%3E"); }
}

/* ==== About and values without the pencil drawings (removed on the client's request, 2026-11-14) ====
   The journey and philosophy columns are text only: one readable column in the middle. */
.about-journey__grid:not(:has(.about-journey__photo)) { max-width: 760px; margin-inline: auto !important; }
.about-journey__grid:not(:has(.about-journey__photo)) > .wp-block-column { flex-basis: 100% !important; }
.about-philosophy--split .philosophy__text { text-align: center; }
.about-story > .section-title, .goals > .section-title { margin-block-end: clamp(1.25rem, 3vw, 2rem); }

/* Workshop reviews heading stays out when there is no visible workshop review (reviews come from /dashboard/reviews) */
.workshop-reviews:not(:has(.t-card)) { display: none; }

/* Payment logos under the booking buttons: each on a white chip so the artwork reads in light and dark mode */
.pay-logos { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.pay-logos li { display: grid; place-items: center; height: 34px; padding: 0 .5rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.pay-logos img { display: block; height: 26px; width: auto; }
.booking__confirm .pay-logos { justify-content: center; }
.book-row + .pay-logos, .book-row ~ .pay-logos { margin-top: .75rem; }

/* /about/: less empty space between the CV card and «كيف بدأت الرحلة؟» (was ~180px on desktop) */
.about-cv { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.about-start > .about-story:first-child { padding-top: clamp(2rem, 4vw, 3.5rem); }
/* A softer, shorter shadow that fades out inside the section (the long one was cut off at its edge) */
.about-cv .cv-sheet { box-shadow: 0 18px 40px -18px rgba(6, 53, 101, .22); }

/* ==== Phones: lighter effects (Lighthouse spent ~2.5s painting them on a mid-range phone).
   Same look, cheaper to draw: 3 still beams instead of 5 drifting ones, a smaller blur, and the light behind
   the portrait drawn with its gradient alone (no blur filter over a large masked area). Desktop is unchanged. ==== */
@media (max-width: 781px) {
	.light-beams span { animation: none; filter: blur(10px); transform: skewX(-6deg); }
	.light-beams span:nth-child(2), .light-beams span:nth-child(4) { display: none; }
	.light-beams span:nth-child(1) { --bw: 12%; }
	.light-beams span:nth-child(3) { --bw: 14%; }
	.light-beams span:nth-child(5) { --bw: 12%; }
	.portrait-col::before { filter: none; }
	/* The hero's entrance without the blur: animating filter repaints the whole hero every frame */
	.hero > :not(.light-beams) { animation-name: rise-lite; }
}
@keyframes rise-lite { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Payment link (?offer=…) on the booking card */
.booking__offer { grid-column: 1 / -1; margin: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 2rem) 0; padding: .85rem 1.1rem; border-radius: 14px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--heading); line-height: 1.9; }
.booking__offer strong { color: var(--accent); }
.booking__offer.is-error { border-color: var(--line); background: var(--bg-soft); color: var(--text-2); }
.booking__kind-opt[hidden] { display: none; }

/* ==== Phone review (2026-11-15) ==== */
@media (max-width: 781px) {
	/* About: the CV card starts right under the header (the desktop space for the overlapping header isn't needed) */
	.about-cv { padding-top: 1.25rem; }
	/* Values: no double section gap before «الأهداف» */
	.about-goals > .goals { padding-top: 0; }
	/* Footer: centred */
	.footer-grid, .footer-copy { text-align: center; }
	.footer-brand .brand-logo { margin-inline: auto; }
	.footer-links { justify-items: center; }
	/* Behind the portrait: paler columns spread over the whole width instead of dense stripes */
	:root { --portrait-bg: linear-gradient(90deg,
		transparent 0%,
		color-mix(in srgb, var(--sky) 55%, transparent) 14%,
		rgba(255, 255, 255, .55) 32%,
		color-mix(in srgb, var(--sky) 45%, transparent) 50%,
		rgba(255, 255, 255, .55) 68%,
		color-mix(in srgb, var(--sky) 55%, transparent) 86%,
		transparent 100%); }
	.portrait-col::before { inset: -2% -8% 0 -8%; }
}
@media (max-width: 600px) {
	/* Stacked button pairs share one width */
	.about-cta, .contact-actions { flex-direction: column; align-items: center; }
	.about-cta .wp-block-button, .contact-actions .wp-block-button { width: min(100%, 18rem); }
	.about-cta .wp-block-button__link, .contact-actions .wp-block-button__link { display: flex; width: 100%; justify-content: center; }
	/* Payment logos on one line (4 of them for now) */
	.pay-logos { flex-wrap: nowrap; justify-content: center; gap: .35rem; }
	.pay-logos li { height: 32px; padding: 0 .4rem; flex: 0 1 auto; min-width: 0; }
	.pay-logos img { height: 22px; max-width: 100%; object-fit: contain; }
}
@media (max-width: 480px) {
	/* Social cards: icon beside the platform name, the account under the name */
	.contact-social a { flex-direction: row; align-items: center; gap: .6rem; padding: .8rem; }
	.contact-social__icon { width: 40px; height: 40px; border-radius: 10px; }
	.contact-social__text bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 781px) {
	/* Heroes (home, consultations): the header doesn't overlap them on phones, so no room is kept for it */
	.hero { padding-top: 3rem; }
	.hero > :not(.light-beams):first-of-type, .hero > .light-beams + * { margin-top: 0; }
}

/* Consultations: the questions under the booking (patterns/consult-faq.php) */
.consult-faq .faq { margin-top: clamp(1.25rem, 3vw, 2rem); }
.consult-faq__more { margin: 1.25rem 0 0; text-align: center; }
.consult-faq__more a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
