/* Ranya Aly — shared styles for the Arabic (rtl) and English (ltr) pages */
:root {
  --cream: #f7f1e6;
  --paper: #fffcf6;
  --beige: #ece3d2;
  --ink: #23302a;
  --muted: #6b6a60;
  --forest: #2f4a3a;
  --forest-deep: #1d2e25;
  --gold: #b08d4f;
  --gold-soft: #d9c08e;
  --clay: #bf7f62;
  --line: #e2d6c2;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(29, 46, 37, .09);
  --head: "Amiri", "Traditional Arabic", serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}
html[lang="en"] {
  --head: "Cormorant Garamond", Georgia, serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.85; font-size: 17px; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.35; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .7rem; }
h3 { font-size: 1.4rem; margin-bottom: .35rem; }
html[lang="en"] h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
html[lang="en"] h3 { font-size: 1.6rem; }
em { font-style: normal; color: var(--gold); }
html[lang="en"] em { font-style: italic; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 680px; margin-inline: auto; text-align: center; }
.section { padding: 104px 0; }
.tint { background: var(--beige); }
.dark { background: var(--forest-deep); color: var(--cream); }
.dark .muted, .dark p { color: rgba(247, 241, 230, .78); }
.eyebrow { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: .8rem; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.head { text-align: center; margin-bottom: 52px; }
.head p { max-width: 36em; margin-inline: auto; }

/* buttons */
.btn {
  display: inline-block; background: var(--forest); color: var(--cream);
  border: 2px solid var(--forest); padding: .8em 1.7em; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #977641; border-color: #977641; }
.btn-small { padding: .45em 1.15em; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 230, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { font-family: var(--head); font-size: 1.6rem; font-weight: 700; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--gold); }
.menu .btn { color: var(--cream); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { border: 1.5px solid var(--ink); border-radius: 999px; padding: .25em .95em; font-weight: 600; font-size: .85rem; font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif; }
.lang:hover { background: var(--ink); color: var(--cream); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* hero */
.hero { padding: 64px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 em { display: inline-block; }
.hero .lead { margin-top: 1.4rem; max-width: 32em; }
.hero-photo { position: relative; padding: 16px; }
.arch { border-radius: 999px 999px 10px 10px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: relative; z-index: 1; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-line { position: absolute; inset: 0; border: 1.5px solid var(--gold); border-radius: 999px 999px 10px 10px; transform: translate(14px, 14px); }
[dir="rtl"] .arch-line { transform: translate(-14px, 14px); }
.tagline-small { margin-top: 1.1rem; font-family: var(--head); font-size: 1.25rem; color: var(--forest); }
html[lang="en"] .tagline-small { font-style: italic; font-size: 1.35rem; }

/* feelings */
.feelings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feeling { background: var(--paper); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); position: relative; padding-inline-start: 58px; }
.feeling::before { content: "✦"; position: absolute; inset-inline-start: 26px; top: 26px; color: var(--gold); }
.closing-line { text-align: center; margin-top: 44px; font-family: var(--head); font-size: 1.5rem; color: var(--forest); }
html[lang="en"] .closing-line { font-style: italic; font-size: 1.7rem; }

/* gift */
.gift { position: relative; color: #fff; padding: 100px 0 330px; background: #2b2118 url("images/site/journey.jpg") center bottom / cover no-repeat; }
.gift::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 46, 37, .72), rgba(29, 46, 37, .5) 70%, rgba(29, 46, 37, .2)); }
.gift .container { position: relative; }
.gift p { color: rgba(255, 255, 255, .88); }
.gift .eyebrow { color: var(--gold-soft); }
.gift-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 2rem; }
.gift-form input { font: inherit; padding: .85em 1.2em; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .95); min-width: 0; }
.fine { font-size: .82rem; margin-top: .9rem; opacity: .8; }
.thanks { margin-top: 1.6rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); padding: 22px; }
.thanks .btn { margin-top: .8rem; }

/* journal */
.journal-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.cover { box-shadow: 0 30px 60px rgba(20, 30, 40, .3); border-radius: 4px 10px 10px 4px; max-width: 360px; margin-inline: auto; }
.checks { list-style: none; display: grid; gap: 12px; margin: 1.6rem 0; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: var(--gold); }
.story-note { border-inline-start: 3px solid var(--gold); padding-inline-start: 18px; font-size: .95rem; color: var(--muted); }

/* approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border: 1px solid rgba(217, 192, 142, .35); border-radius: var(--radius); padding: 34px; }
.step-num { font-family: var(--head); font-size: 2.4rem; color: var(--gold-soft); line-height: 1; display: block; margin-bottom: .8rem; }
.step h3 { color: var(--cream); }

/* split sections (about, sessions, contact) */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.split.flip { grid-template-columns: 1.15fr .85fr; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.split p + p { margin-top: 1rem; }
.creds { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.creds li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .3em 1em; font-size: .86rem; }

.options { list-style: none; margin: 1.6rem 0; display: grid; gap: 12px; }
.options li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.options strong { display: block; font-family: var(--head); font-size: 1.2rem; }
html[lang="en"] .options strong { font-size: 1.35rem; }
.options span { color: var(--muted); font-size: .95rem; }

/* soon */
.soon { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.soon span { border: 1px dashed var(--gold); border-radius: 999px; padding: .4em 1.2em; color: var(--forest); }

/* articles */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card .tag { color: var(--gold); font-size: .8rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* contact */
.contact-form { display: grid; gap: 12px; margin-top: 1.6rem; }
.contact-form label { display: grid; gap: 4px; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: .7em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 1.4rem; font-weight: 600; }
.links a { border-bottom: 1.5px solid var(--gold); }

/* footer */
.site-footer { background: var(--forest-deep); color: rgba(247, 241, 230, .8); padding: 44px 0; font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer .logo { color: var(--cream); }

.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .journal-grid, .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > :first-child { order: 0; }
  .hero-photo, .photo, .cover { max-width: 380px; margin-inline: auto; width: 100%; }
  .steps, .cards { grid-template-columns: 1fr; }
  .burger { display: block; }
  .menu { position: fixed; top: 74px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .menu.open { max-height: 520px; }
  .menu a { padding: 13px 0; width: 100%; text-align: center; }
  .menu .btn { width: auto; margin: 8px 0 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 36px 0 72px; }
  .feelings, .gift-form { grid-template-columns: 1fr; }
  .gift { padding: 72px 0 240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* journal interest box */
.interest { margin-top: 1.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.interest-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 1rem; }
.interest-form input { font: inherit; padding: .75em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); min-width: 0; }
.interest-thanks { margin-top: .6rem; color: var(--forest); font-weight: 600; }

/* session prices */
.options li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.options li strong, .options li span { grid-column: 1; }
.options .price { grid-column: 2; grid-row: 1 / span 2; font-family: var(--head); font-size: 1.35rem; color: var(--forest); white-space: nowrap; text-align: center; line-height: 1.2; }
.options .price small { display: block; font-family: var(--body); font-size: .75rem; font-weight: 400; color: var(--muted); }

/* an odd last feeling takes the full row */
.feeling:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .interest-form { grid-template-columns: 1fr; }
  .options li { grid-template-columns: 1fr; }
  .options .price { grid-column: 1; grid-row: auto; text-align: start; margin-top: .4rem; }
}
.options .price[hidden] { display: none; }
#sessions .actions { margin-top: 1.4rem; }

/* ===== self-care quiz (opens over the page) ===== */
.quiz { position: fixed; inset: 0; z-index: 100; background: rgba(29, 46, 37, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.quiz[hidden] { display: none; }
.quiz-box { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--cream); border-radius: 22px; padding: 44px 34px 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.quiz-close { position: absolute; top: 12px; inset-inline-end: 16px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.quiz-hello { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.quiz-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.quiz-part { font-weight: 600; color: var(--forest); }
.quiz-prog { height: 8px; background: var(--beige); border-radius: 8px; overflow: hidden; margin-bottom: 26px; }
.quiz-prog span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s; }
.quiz-q { font-family: var(--head); font-size: 1.5rem; line-height: 1.6; min-height: 4.6em; margin-bottom: 16px; }
html[lang="en"] .quiz-q { font-size: 1.65rem; line-height: 1.3; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { font: inherit; text-align: start; background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 12px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-opt:hover { border-color: var(--gold); }
.quiz-opt.sel { border-color: var(--forest); background: var(--beige); }
.quiz-link { background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; margin-top: 14px; }
.quiz [data-screen="r"] h2 { text-align: center; }
.quiz-batt { display: flex; align-items: center; gap: 6px; margin: 18px auto 4px; max-width: 360px; }
.quiz-batt-body { flex: 1; height: 64px; border: 3px solid var(--ink); border-radius: 12px; padding: 5px; }
.quiz-batt-fill { height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--forest), var(--gold)); transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.quiz-batt-tip { width: 9px; height: 24px; background: var(--ink); border-radius: 0 3px 3px 0; }
[dir="rtl"] .quiz-batt-tip { border-radius: 3px 0 0 3px; }
.quiz-pct { text-align: center; font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: var(--forest); line-height: 1.2; }
.quiz-band { text-align: center; color: var(--gold); margin-bottom: .6rem; }
.quiz-areas { display: grid; gap: 12px; margin: 22px 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.quiz-area { display: grid; grid-template-columns: 8.5em 1fr 3em; gap: 10px; align-items: center; font-size: .95rem; }
.quiz-bar { height: 12px; background: var(--beige); border-radius: 10px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 0; border-radius: 10px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.bar-b { background: #6f8f5e; } .bar-m { background: var(--forest); } .bar-s { background: var(--gold); }
.quiz-tip { border-inline-start: 4px solid var(--gold); padding: 4px 16px; margin: 12px 0 18px; }
.quiz-note { color: var(--muted); font-size: .9rem; }
.quiz-cta { margin: 24px 0 6px; padding: 22px; border-radius: 16px; background: var(--forest-deep); color: var(--cream); }
.quiz-cta p { color: rgba(247, 241, 230, .85); margin: .3rem 0 1rem; }
@media (max-width: 640px) {
  .quiz { padding: 0; }
  .quiz-box { max-height: 100vh; height: 100%; border-radius: 0; padding: 48px 20px 28px; }
  .quiz-area { grid-template-columns: 7em 1fr 2.8em; font-size: .88rem; }
}

/* ===== guide page ===== */
.guide { padding: 72px 0 96px; }
.guide-wrap { max-width: 760px; }
.guide h1 { margin-bottom: 1rem; }
.guide .term { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; direction: ltr; unicode-bidi: isolate; }
.guide-steps { list-style: none; display: grid; gap: 22px; margin: 44px 0; }
.guide-steps > li { background: var(--paper); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); border-inline-start: 4px solid var(--gold); }
.guide-steps h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.step-label { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.guide .example { color: var(--clay); }
.needs { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 1rem; background: var(--beige); border-radius: 14px; padding: 18px 22px; }
.needs li::before { content: "· "; color: var(--gold); font-weight: 700; }
.guide-end { background: var(--forest-deep); color: var(--cream); border-radius: var(--radius); padding: 30px; }
.guide-end p + p { margin-top: .8rem; }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(247, 241, 230, .6); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.card-link { display: block; transition: transform .25s; }
.card-link:hover { transform: translateY(-4px); }
.card .more { display: inline-block; margin-top: .8rem; color: var(--forest); font-weight: 600; border-bottom: 1.5px solid var(--gold); }

/* ===== videos page ===== */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 10px 0 48px; }
.video { margin: 0; }
.video-thumb, .video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; box-shadow: var(--shadow); }
.video-thumb { position: relative; cursor: pointer; background: var(--forest-deep) center / cover no-repeat; }
.video-thumb::after { content: ""; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(180deg, transparent 55%, rgba(29, 46, 37, .45)); }
.play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(247, 241, 230, .92); transition: transform .2s; }
.play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--forest); }
.video-thumb:hover .play { transform: scale(1.08); }
.video figcaption { margin-top: 10px; font-weight: 600; font-size: .95rem; line-height: 1.6; }
@media (max-width: 960px) { .videos { grid-template-columns: repeat(2, 1fr); } }

/* social icons */
.social { display: flex; gap: 10px; margin-top: 1.4rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--forest); transition: background .2s, color .2s; }
.social a:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.site-footer .social { margin-top: 0; }
.site-footer .social a { color: var(--cream); border-color: rgba(217, 192, 142, .5); }
.site-footer .social a:hover { background: var(--gold); border-color: var(--gold); }

/* ===== article page ===== */
.article { max-width: 720px; }
.article h1 { margin-bottom: .4rem; }
.byline { color: var(--muted); margin-bottom: 2.4rem; }
.article > p { font-size: 1.12rem; line-height: 2.05; margin-bottom: 1.3rem; }
.article > p.first { font-size: 1.25rem; color: var(--forest); }
.article > h2 { font-size: 1.75rem; margin: 2.6rem 0 1rem; color: var(--forest); }
.article blockquote { font-family: var(--head); font-size: 1.7rem; line-height: 1.6; color: var(--forest); text-align: center; margin: 2.4rem 0; padding: 1.4rem 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.article-videos { margin: 3rem 0 2.4rem; }
.article .guide-end { margin-top: 2.4rem; }
.videos-2 { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
